summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-ts219-6282.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-05-12 12:57:59 (GMT)
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 14:48:52 (GMT)
commit9eb61f473601c047a4c0c84269d0c25493e45277 (patch)
tree2d86f210620e5637f1a95ed7c633a5a10c7b4555 /arch/arm/boot/dts/kirkwood-ts219-6282.dts
parent97b414e119ccc7216e29c3bd62fe1a1797f21404 (diff)
downloadlinux-9eb61f473601c047a4c0c84269d0c25493e45277.tar.xz
ARM: Kirkwood: Add basic device tree support for QNAP TS219.
The two different variants of QNAP TS devices, varying by SoC, put the GPIO keys on different GPIO lines. Hence we need two different DT board descriptions, which share the same board-ts219.c file. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-ts219-6282.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-ts219-6282.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ts219-6282.dts b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
new file mode 100644
index 0000000..fbe9932
--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
@@ -0,0 +1,21 @@
+/dts-v1/;
+
+/include/ "kirkwood-ts219.dtsi"
+
+/ {
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ button@1 {
+ label = "USB Copy";
+ linux,code = <133>;
+ gpios = <&gpio1 11 1>;
+ };
+ button@2 {
+ label = "Reset";
+ linux,code = <0x198>;
+ gpios = <&gpio1 5 1>;
+ };
+ };
+}; \ No newline at end of file