]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: armada-370-xp: Remove button address and fixup names
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Sun, 6 Nov 2016 09:59:19 +0000 (10:59 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Sat, 19 Nov 2016 08:16:46 +0000 (09:16 +0100)
The gpio-key nodes do not have a reg property, so remove the address from
the unit name.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-370-rd.dts
arch/arm/boot/dts/armada-370-seagate-nas-xbay.dtsi
arch/arm/boot/dts/armada-370-seagate-personal-cloud.dtsi
arch/arm/boot/dts/armada-xp-axpwifiap.dts
arch/arm/boot/dts/armada-xp-linksys-mamba.dts
arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

index e2ba4bd52ecf1add967ce60c258a13d70c90199f..c3fd6e49212ff5edea6df2f521bf2f527d7e9d66 100644 (file)
                                compatible = "gpio-keys";
                                #address-cells = <1>;
                                #size-cells = <0>;
-                               button@1 {
+                               button {
                                        label = "Software Button";
                                        linux,code = <KEY_POWER>;
                                        gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
index 4aec32c9b6dfefa7ff65b61ced8d12ab52f16014..e9a5b952afc08db906d1def5814ce1c7d5d026c0 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               button@1 {
+               power {
                        label = "Power button";
                        linux,code = <KEY_POWER>;
                        gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
                        debounce-interval = <100>;
                };
-               button@2 {
+               backup {
                        label = "Backup button";
                        linux,code = <KEY_OPTION>;
                        gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
                        debounce-interval = <100>;
                };
-               button@3 {
+               reset {
                        label = "Reset Button";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
index 75ad77b26a47070b9798d486bc9c07af3bc212da..d079a89ee5a290b021dfe413f21dc8c7c959a08e 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               button@1 {
+               power {
                        label = "Power button";
                        linux,code = <KEY_POWER>;
                        gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
                        debounce-interval = <100>;
                };
-               button@2 {
+               reset {
                        label = "Reset Button";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
                        debounce-interval = <100>;
                };
-               button@3 {
+               button {
                        label = "USB VBUS error";
                        linux,code = <KEY_UNKNOWN>;
                        gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
index e7b306ad84e84db8f47b5e7603d5c057dfab3e8f..1e1fc4fccbadab268569c1aa5e4bed44cdd3102b 100644 (file)
                pinctrl-0 = <&keys_pin>;
                pinctrl-names = "default";
 
-               button@1 {
+               reset {
                        label = "Factory Reset Button";
                        linux,code = <KEY_SETUP>;
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
index 7c8cd7b450e5a7171cdbb3d1a508bed2ab2413bb..83ac884c0f8ae52fc2f564bfcf2cc31c68c1f7e2 100644 (file)
                pinctrl-0 = <&keys_pin>;
                pinctrl-names = "default";
 
-               button@1 {
+               wps {
                        label = "WPS";
                        linux,code = <KEY_WPS_BUTTON>;
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
 
-               button@2 {
+               reset {
                        label = "Factory Reset Button";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
index 8a14b32c70e13a518c3db1286ab769f2c55f18dc..b577c9fb03a45aa2f0f256ca90fab4b16a67a56e 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <0>;
 
-                               button@1 {
+                               init {
                                        label = "Init Button";
                                        linux,code = <KEY_POWER>;
                                        gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;