summaryrefslogtreecommitdiff
path: root/arch/sandbox/dts/sandbox.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox/dts/sandbox.dtsi')
-rw-r--r--arch/sandbox/dts/sandbox.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index e1f68cd552..c76ecc013c 100644
--- a/arch/sandbox/dts/sandbox.dtsi
+++ b/arch/sandbox/dts/sandbox.dtsi
@@ -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;