summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-ib62x0.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-07-16 12:48:20 +0200
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 16:50:10 +0200
commitc06c7ca77c85396f19a9f364e2d10d7aa1fafaa5 (patch)
treeb1de6b753fe026ce4f8c8fdc7b340756283f43dd /arch/arm/boot/dts/kirkwood-ib62x0.dts
parentbb53d8272609f13028ed7ef07a1597022db5adcd (diff)
ARM: Kirkwood: Describe IB62x0 gpio-keys in DT.
Now that the GPIO controllers have been converted over to DT, described the gpio-keys in DT. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Simon Baatz <gmbnomis@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-ib62x0.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-ib62x0.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts b/arch/arm/boot/dts/kirkwood-ib62x0.dts
index f7b95806643..3724687fc9c 100644
--- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
+++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
@@ -46,4 +46,20 @@
};
};
+
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button@1 {
+ label = "USB Copy";
+ linux,code = <133>;
+ gpios = <&gpio0 29 1>;
+ };
+ button@2 {
+ label = "Reset";
+ linux,code = <0x198>;
+ gpios = <&gpio0 28 1>;
+ };
+ };
};