mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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:
parent
325141a6ea
commit
bd3e4882c7
1 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue