sandbox: dtsi: add buttons

Adds two buttons on sandbox so button framework may be tested.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
This commit is contained in:
Philippe Reynes 2020-07-24 18:19:48 +02:00 committed by Simon Glass
parent 325141a6ea
commit bd3e4882c7

View file

@ -15,6 +15,20 @@
#sound-dai-cells = <1>;
};
buttons {
compatible = "gpio-keys";
summer {
gpios = <&gpio_a 3 0>;
label = "summer";
};
christmas {
gpios = <&gpio_a 4 0>;
label = "christmas";
};
};
gpio_a: gpios@0 {
u-boot,dm-pre-reloc;
gpio-controller;