summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-netxbig.dtsi
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-04-03 04:03:43 +0200
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-04-14 19:04:45 +0200
commit395c755fb874e8af1d3f5eff69a954093002c9d8 (patch)
treec45032f334a19e37feba0615240f0d9df15bde6c /arch/arm/boot/dts/kirkwood-netxbig.dtsi
parent9ec423ed62b8278412400fae6c064edb6ce1bb51 (diff)
ARM: dts: kirkwood: Remove button address and fixup names
The DT compiler is now warning about unit names with addresses but not reg property. Fix all the gpio-key buttons which causes warnings. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-netxbig.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-netxbig.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/kirkwood-netxbig.dtsi b/arch/arm/boot/dts/kirkwood-netxbig.dtsi
index 62515a8b99b9..52b58fe0c4fe 100644
--- a/arch/arm/boot/dts/kirkwood-netxbig.dtsi
+++ b/arch/arm/boot/dts/kirkwood-netxbig.dtsi
@@ -59,22 +59,22 @@
#size-cells = <0>;
/*
- * button@1 and button@2 represent a three position rocker
+ * esc and power represent a three position rocker
* switch. Thus the conventional KEY_POWER does not fit
*/
- button@1 {
+ exc {
label = "Back power switch (on|auto)";
linux,code = <KEY_ESC>;
linux,input-type = <5>;
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
- button@2 {
+ power {
label = "Back power switch (auto|off)";
linux,code = <KEY_1>;
linux,input-type = <5>;
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
};
- button@3 {
+ option {
label = "Function button";
linux,code = <KEY_OPTION>;
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;