diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-07-16 12:48:20 +0200 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2012-07-27 16:50:10 +0200 |
commit | c06c7ca77c85396f19a9f364e2d10d7aa1fafaa5 (patch) | |
tree | b1de6b753fe026ce4f8c8fdc7b340756283f43dd /arch/arm/boot/dts/kirkwood-ib62x0.dts | |
parent | ARM: Kirkwood: Describe DNS32? gpio-keys in DT. (diff) | |
download | linux-c06c7ca77c85396f19a9f364e2d10d7aa1fafaa5.tar.xz linux-c06c7ca77c85396f19a9f364e2d10d7aa1fafaa5.zip |
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.dts | 16 |
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 f7b958066437..3724687fc9c9 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>; + }; + }; }; |