summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-lsxl.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-lsxl.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-lsxl.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-lsxl.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/kirkwood-lsxl.dtsi b/arch/arm/boot/dts/kirkwood-lsxl.dtsi
index 1d6528d82969..2869c5dbc1ad 100644
--- a/arch/arm/boot/dts/kirkwood-lsxl.dtsi
+++ b/arch/arm/boot/dts/kirkwood-lsxl.dtsi
@@ -107,18 +107,18 @@
&pmx_power_auto_switch>;
pinctrl-names = "default";
- button@1 {
+ option {
label = "Function Button";
linux,code = <KEY_OPTION>;
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
- button@2 {
+ reserved {
label = "Power-on Switch";
linux,code = <KEY_RESERVED>;
linux,input-type = <5>;
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
};
- button@3 {
+ power {
label = "Power-auto Switch";
linux,code = <KEY_ESC>;
linux,input-type = <5>;