summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-nsa3x0-common.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-nsa3x0-common.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-nsa3x0-common.dtsi')
-rw-r--r--arch/arm/boot/dts/kirkwood-nsa3x0-common.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa3x0-common.dtsi b/arch/arm/boot/dts/kirkwood-nsa3x0-common.dtsi
index 2075a2e828f1..5ccc46190079 100644
--- a/arch/arm/boot/dts/kirkwood-nsa3x0-common.dtsi
+++ b/arch/arm/boot/dts/kirkwood-nsa3x0-common.dtsi
@@ -77,17 +77,17 @@
pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
pinctrl-names = "default";
- button@1 {
+ power {
label = "Power Button";
linux,code = <KEY_POWER>;
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
- button@2 {
+ copy {
label = "Copy Button";
linux,code = <KEY_COPY>;
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
- button@3 {
+ reset {
label = "Reset Button";
linux,code = <KEY_RESTART>;
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;