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:
committed by
Simon Glass
parent
325141a6ea
commit
bd3e4882c7
@@ -15,6 +15,20 @@
|
|||||||
#sound-dai-cells = <1>;
|
#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 {
|
gpio_a: gpios@0 {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
|||||||
Reference in New Issue
Block a user