diff options
author | Jamie Lentin <jm@lentin.co.uk> | 2012-07-19 21:31:00 +0100 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2012-07-27 16:50:02 +0200 |
commit | bb53d8272609f13028ed7ef07a1597022db5adcd (patch) | |
tree | 6cd2696264b4b322ede489c336e980b5be27f5ce /arch/arm/boot | |
parent | 5b60c1453d8cf1ac39e897878cfc090181d9a229 (diff) | |
download | linux-bb53d8272609f13028ed7ef07a1597022db5adcd.tar.gz linux-bb53d8272609f13028ed7ef07a1597022db5adcd.tar.bz2 linux-bb53d8272609f13028ed7ef07a1597022db5adcd.zip |
ARM: Kirkwood: Describe DNS32? gpio-keys in DT.
Move description of GPIO keys on both the DNS320 and DNS325 into DT.
Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-dnskw.dtsi | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-dnskw.dtsi b/arch/arm/boot/dts/kirkwood-dnskw.dtsi index 067672cff320..2bad626524db 100644 --- a/arch/arm/boot/dts/kirkwood-dnskw.dtsi +++ b/arch/arm/boot/dts/kirkwood-dnskw.dtsi @@ -4,6 +4,27 @@ model = "D-Link DNS NASes (kirkwood-based)"; compatible = "dlink,dns-kirkwood", "mrvl,kirkwood-88f6281", "mrvl,kirkwood"; + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + button@1 { + label = "Power button"; + linux,code = <116>; + gpios = <&gpio1 2 1>; + }; + button@2 { + label = "USB unmount button"; + linux,code = <161>; + gpios = <&gpio1 15 1>; + }; + button@3 { + label = "Reset button"; + linux,code = <0x198>; + gpios = <&gpio1 16 1>; + }; + }; + ocp@f1000000 { sata@80000 { status = "okay"; |