diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-04-02 22:03:43 -0400 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-04-14 13:04:45 -0400 |
commit | 395c755fb874e8af1d3f5eff69a954093002c9d8 (patch) | |
tree | c45032f334a19e37feba0615240f0d9df15bde6c | |
parent | 9ec423ed62b8278412400fae6c064edb6ce1bb51 (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>
-rw-r--r-- | arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-cloudbox.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-dnskw.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ib62x0.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-iconnect.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-laplug.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-lsxl.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-netxbig.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ns2-common.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-nsa3x0-common.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-openblocks_a7.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-t5325.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts219-6281.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts219-6282.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts419.dtsi | 4 |
18 files changed, 34 insertions, 34 deletions
diff --git a/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts b/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts index fa02a9aff05e..f16a73e49a88 100644 --- a/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts +++ b/arch/arm/boot/dts/kirkwood-blackarmor-nas220.dts | |||
@@ -36,13 +36,13 @@ | |||
36 | gpio_keys { | 36 | gpio_keys { |
37 | compatible = "gpio-keys"; | 37 | compatible = "gpio-keys"; |
38 | 38 | ||
39 | button@1{ | 39 | reset { |
40 | label = "Reset"; | 40 | label = "Reset"; |
41 | linux,code = <KEY_POWER>; | 41 | linux,code = <KEY_POWER>; |
42 | gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; | 42 | gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; |
43 | }; | 43 | }; |
44 | 44 | ||
45 | button@2{ | 45 | button { |
46 | label = "Power"; | 46 | label = "Power"; |
47 | linux,code = <KEY_SLEEP>; | 47 | linux,code = <KEY_SLEEP>; |
48 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; | 48 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts index 7ec76566acf2..555b7e4c58a5 100644 --- a/arch/arm/boot/dts/kirkwood-cloudbox.dts +++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts | |||
@@ -60,7 +60,7 @@ | |||
60 | #address-cells = <1>; | 60 | #address-cells = <1>; |
61 | #size-cells = <0>; | 61 | #size-cells = <0>; |
62 | 62 | ||
63 | button@1 { | 63 | power { |
64 | label = "Power push button"; | 64 | label = "Power push button"; |
65 | linux,code = <KEY_POWER>; | 65 | linux,code = <KEY_POWER>; |
66 | gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; | 66 | gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-dnskw.dtsi b/arch/arm/boot/dts/kirkwood-dnskw.dtsi index 113dcf056dcf..d8fca9db46d0 100644 --- a/arch/arm/boot/dts/kirkwood-dnskw.dtsi +++ b/arch/arm/boot/dts/kirkwood-dnskw.dtsi | |||
@@ -13,17 +13,17 @@ | |||
13 | &pmx_button_reset>; | 13 | &pmx_button_reset>; |
14 | pinctrl-names = "default"; | 14 | pinctrl-names = "default"; |
15 | 15 | ||
16 | button@1 { | 16 | power { |
17 | label = "Power button"; | 17 | label = "Power button"; |
18 | linux,code = <KEY_POWER>; | 18 | linux,code = <KEY_POWER>; |
19 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; | 19 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
20 | }; | 20 | }; |
21 | button@2 { | 21 | eject { |
22 | label = "USB unmount button"; | 22 | label = "USB unmount button"; |
23 | linux,code = <KEY_EJECTCD>; | 23 | linux,code = <KEY_EJECTCD>; |
24 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; | 24 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
25 | }; | 25 | }; |
26 | button@3 { | 26 | reset { |
27 | label = "Reset button"; | 27 | label = "Reset button"; |
28 | linux,code = <KEY_RESTART>; | 28 | linux,code = <KEY_RESTART>; |
29 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; | 29 | gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts b/arch/arm/boot/dts/kirkwood-ib62x0.dts index bfa5edde179c..ef84d8699a76 100644 --- a/arch/arm/boot/dts/kirkwood-ib62x0.dts +++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts | |||
@@ -62,12 +62,12 @@ | |||
62 | pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; | 62 | pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>; |
63 | pinctrl-names = "default"; | 63 | pinctrl-names = "default"; |
64 | 64 | ||
65 | button@1 { | 65 | copy { |
66 | label = "USB Copy"; | 66 | label = "USB Copy"; |
67 | linux,code = <KEY_COPY>; | 67 | linux,code = <KEY_COPY>; |
68 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; | 68 | gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; |
69 | }; | 69 | }; |
70 | button@2 { | 70 | reset { |
71 | label = "Reset"; | 71 | label = "Reset"; |
72 | linux,code = <KEY_RESTART>; | 72 | linux,code = <KEY_RESTART>; |
73 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; | 73 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-iconnect.dts b/arch/arm/boot/dts/kirkwood-iconnect.dts index 38e31d15a62d..674306746dec 100644 --- a/arch/arm/boot/dts/kirkwood-iconnect.dts +++ b/arch/arm/boot/dts/kirkwood-iconnect.dts | |||
@@ -136,13 +136,13 @@ | |||
136 | pinctrl-0 = < &pmx_button_reset &pmx_button_otb >; | 136 | pinctrl-0 = < &pmx_button_reset &pmx_button_otb >; |
137 | pinctrl-names = "default"; | 137 | pinctrl-names = "default"; |
138 | 138 | ||
139 | button@1 { | 139 | otb { |
140 | label = "OTB Button"; | 140 | label = "OTB Button"; |
141 | linux,code = <KEY_COPY>; | 141 | linux,code = <KEY_COPY>; |
142 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; | 142 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; |
143 | debounce-interval = <100>; | 143 | debounce-interval = <100>; |
144 | }; | 144 | }; |
145 | button@2 { | 145 | reset { |
146 | label = "Reset"; | 146 | label = "Reset"; |
147 | linux,code = <KEY_RESTART>; | 147 | linux,code = <KEY_RESTART>; |
148 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; | 148 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-laplug.dts b/arch/arm/boot/dts/kirkwood-laplug.dts index 24425660e973..c39e17a89f4e 100644 --- a/arch/arm/boot/dts/kirkwood-laplug.dts +++ b/arch/arm/boot/dts/kirkwood-laplug.dts | |||
@@ -62,7 +62,7 @@ | |||
62 | gpio_keys { | 62 | gpio_keys { |
63 | compatible = "gpio-keys"; | 63 | compatible = "gpio-keys"; |
64 | 64 | ||
65 | button@1{ | 65 | power { |
66 | label = "Power push button"; | 66 | label = "Power push button"; |
67 | linux,code = <KEY_POWER>; | 67 | linux,code = <KEY_POWER>; |
68 | gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; | 68 | gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; |
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 @@ | |||
107 | &pmx_power_auto_switch>; | 107 | &pmx_power_auto_switch>; |
108 | pinctrl-names = "default"; | 108 | pinctrl-names = "default"; |
109 | 109 | ||
110 | button@1 { | 110 | option { |
111 | label = "Function Button"; | 111 | label = "Function Button"; |
112 | linux,code = <KEY_OPTION>; | 112 | linux,code = <KEY_OPTION>; |
113 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; | 113 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
114 | }; | 114 | }; |
115 | button@2 { | 115 | reserved { |
116 | label = "Power-on Switch"; | 116 | label = "Power-on Switch"; |
117 | linux,code = <KEY_RESERVED>; | 117 | linux,code = <KEY_RESERVED>; |
118 | linux,input-type = <5>; | 118 | linux,input-type = <5>; |
119 | gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; | 119 | gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
120 | }; | 120 | }; |
121 | button@3 { | 121 | power { |
122 | label = "Power-auto Switch"; | 122 | label = "Power-auto Switch"; |
123 | linux,code = <KEY_ESC>; | 123 | linux,code = <KEY_ESC>; |
124 | linux,input-type = <5>; | 124 | linux,input-type = <5>; |
diff --git a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts index b7e7d78c484e..6a8f59acb539 100644 --- a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts +++ b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | |||
@@ -109,12 +109,12 @@ | |||
109 | pinctrl-0 = <&pmx_keys>; | 109 | pinctrl-0 = <&pmx_keys>; |
110 | pinctrl-names = "default"; | 110 | pinctrl-names = "default"; |
111 | 111 | ||
112 | button@1 { | 112 | restart { |
113 | label = "SWR Button"; | 113 | label = "SWR Button"; |
114 | linux,code = <KEY_RESTART>; | 114 | linux,code = <KEY_RESTART>; |
115 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; | 115 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
116 | }; | 116 | }; |
117 | button@2 { | 117 | wps { |
118 | label = "WPS Button"; | 118 | label = "WPS Button"; |
119 | linux,code = <KEY_WPS_BUTTON>; | 119 | linux,code = <KEY_WPS_BUTTON>; |
120 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; | 120 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
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 @@ | |||
59 | #size-cells = <0>; | 59 | #size-cells = <0>; |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * button@1 and button@2 represent a three position rocker | 62 | * esc and power represent a three position rocker |
63 | * switch. Thus the conventional KEY_POWER does not fit | 63 | * switch. Thus the conventional KEY_POWER does not fit |
64 | */ | 64 | */ |
65 | button@1 { | 65 | exc { |
66 | label = "Back power switch (on|auto)"; | 66 | label = "Back power switch (on|auto)"; |
67 | linux,code = <KEY_ESC>; | 67 | linux,code = <KEY_ESC>; |
68 | linux,input-type = <5>; | 68 | linux,input-type = <5>; |
69 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; | 69 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
70 | }; | 70 | }; |
71 | button@2 { | 71 | power { |
72 | label = "Back power switch (auto|off)"; | 72 | label = "Back power switch (auto|off)"; |
73 | linux,code = <KEY_1>; | 73 | linux,code = <KEY_1>; |
74 | linux,input-type = <5>; | 74 | linux,input-type = <5>; |
75 | gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; | 75 | gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; |
76 | }; | 76 | }; |
77 | button@3 { | 77 | option { |
78 | label = "Function button"; | 78 | label = "Function button"; |
79 | linux,code = <KEY_OPTION>; | 79 | linux,code = <KEY_OPTION>; |
80 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; | 80 | gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi index e832b6320264..b4d59261eddc 100644 --- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi +++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi | |||
@@ -57,7 +57,7 @@ | |||
57 | #address-cells = <1>; | 57 | #address-cells = <1>; |
58 | #size-cells = <0>; | 58 | #size-cells = <0>; |
59 | 59 | ||
60 | button@1 { | 60 | power { |
61 | label = "Power push button"; | 61 | label = "Power push button"; |
62 | linux,code = <KEY_POWER>; | 62 | linux,code = <KEY_POWER>; |
63 | gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; | 63 | gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; |
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 @@ | |||
77 | pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>; | 77 | pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>; |
78 | pinctrl-names = "default"; | 78 | pinctrl-names = "default"; |
79 | 79 | ||
80 | button@1 { | 80 | power { |
81 | label = "Power Button"; | 81 | label = "Power Button"; |
82 | linux,code = <KEY_POWER>; | 82 | linux,code = <KEY_POWER>; |
83 | gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; | 83 | gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; |
84 | }; | 84 | }; |
85 | button@2 { | 85 | copy { |
86 | label = "Copy Button"; | 86 | label = "Copy Button"; |
87 | linux,code = <KEY_COPY>; | 87 | linux,code = <KEY_COPY>; |
88 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; | 88 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
89 | }; | 89 | }; |
90 | button@3 { | 90 | reset { |
91 | label = "Reset Button"; | 91 | label = "Reset Button"; |
92 | linux,code = <KEY_RESTART>; | 92 | linux,code = <KEY_RESTART>; |
93 | gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; | 93 | gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts index fb9dc227255d..0db0e3edc88f 100644 --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts | |||
@@ -117,7 +117,7 @@ | |||
117 | #address-cells = <1>; | 117 | #address-cells = <1>; |
118 | #size-cells = <0>; | 118 | #size-cells = <0>; |
119 | 119 | ||
120 | button@1 { | 120 | power { |
121 | label = "Init Button"; | 121 | label = "Init Button"; |
122 | linux,code = <KEY_POWER>; | 122 | linux,code = <KEY_POWER>; |
123 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; | 123 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts index d5e3bc518968..cf2f5240e176 100644 --- a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts +++ b/arch/arm/boot/dts/kirkwood-openblocks_a7.dts | |||
@@ -135,7 +135,7 @@ | |||
135 | #address-cells = <1>; | 135 | #address-cells = <1>; |
136 | #size-cells = <0>; | 136 | #size-cells = <0>; |
137 | 137 | ||
138 | button@1 { | 138 | button { |
139 | label = "Init Button"; | 139 | label = "Init Button"; |
140 | linux,code = <KEY_POWER>; | 140 | linux,code = <KEY_POWER>; |
141 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; | 141 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
diff --git a/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts b/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts index 8082d64266a3..b2f26239d298 100644 --- a/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts +++ b/arch/arm/boot/dts/kirkwood-pogoplug-series-4.dts | |||
@@ -33,7 +33,7 @@ | |||
33 | pinctrl-0 = <&pmx_button_eject>; | 33 | pinctrl-0 = <&pmx_button_eject>; |
34 | pinctrl-names = "default"; | 34 | pinctrl-names = "default"; |
35 | 35 | ||
36 | button@1 { | 36 | eject { |
37 | debounce_interval = <50>; | 37 | debounce_interval = <50>; |
38 | wakeup-source; | 38 | wakeup-source; |
39 | linux,code = <KEY_EJECTCD>; | 39 | linux,code = <KEY_EJECTCD>; |
diff --git a/arch/arm/boot/dts/kirkwood-t5325.dts b/arch/arm/boot/dts/kirkwood-t5325.dts index ed956b849a71..af5ce85b2c38 100644 --- a/arch/arm/boot/dts/kirkwood-t5325.dts +++ b/arch/arm/boot/dts/kirkwood-t5325.dts | |||
@@ -173,7 +173,7 @@ | |||
173 | pinctrl-0 = <&pmx_button_power>; | 173 | pinctrl-0 = <&pmx_button_power>; |
174 | pinctrl-names = "default"; | 174 | pinctrl-names = "default"; |
175 | 175 | ||
176 | button@1 { | 176 | power { |
177 | label = "Power Button"; | 177 | label = "Power Button"; |
178 | linux,code = <KEY_POWER>; | 178 | linux,code = <KEY_POWER>; |
179 | gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; | 179 | gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
diff --git a/arch/arm/boot/dts/kirkwood-ts219-6281.dts b/arch/arm/boot/dts/kirkwood-ts219-6281.dts index 9767d73f3857..ee62204e4ecd 100644 --- a/arch/arm/boot/dts/kirkwood-ts219-6281.dts +++ b/arch/arm/boot/dts/kirkwood-ts219-6281.dts | |||
@@ -39,12 +39,12 @@ | |||
39 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; | 39 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; |
40 | pinctrl-names = "default"; | 40 | pinctrl-names = "default"; |
41 | 41 | ||
42 | button@1 { | 42 | copy { |
43 | label = "USB Copy"; | 43 | label = "USB Copy"; |
44 | linux,code = <KEY_COPY>; | 44 | linux,code = <KEY_COPY>; |
45 | gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; | 45 | gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; |
46 | }; | 46 | }; |
47 | button@2 { | 47 | reset { |
48 | label = "Reset"; | 48 | label = "Reset"; |
49 | linux,code = <KEY_RESTART>; | 49 | linux,code = <KEY_RESTART>; |
50 | gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; | 50 | gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-ts219-6282.dts b/arch/arm/boot/dts/kirkwood-ts219-6282.dts index bfc1a32d4e42..1d291f620869 100644 --- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts +++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts | |||
@@ -49,12 +49,12 @@ | |||
49 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; | 49 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; |
50 | pinctrl-names = "default"; | 50 | pinctrl-names = "default"; |
51 | 51 | ||
52 | button@1 { | 52 | copy { |
53 | label = "USB Copy"; | 53 | label = "USB Copy"; |
54 | linux,code = <KEY_COPY>; | 54 | linux,code = <KEY_COPY>; |
55 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; | 55 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
56 | }; | 56 | }; |
57 | button@2 { | 57 | reset { |
58 | label = "Reset"; | 58 | label = "Reset"; |
59 | linux,code = <KEY_RESTART>; | 59 | linux,code = <KEY_RESTART>; |
60 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; | 60 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |
diff --git a/arch/arm/boot/dts/kirkwood-ts419.dtsi b/arch/arm/boot/dts/kirkwood-ts419.dtsi index 30ab93bfb1e4..02bd53762705 100644 --- a/arch/arm/boot/dts/kirkwood-ts419.dtsi +++ b/arch/arm/boot/dts/kirkwood-ts419.dtsi | |||
@@ -45,12 +45,12 @@ | |||
45 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; | 45 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; |
46 | pinctrl-names = "default"; | 46 | pinctrl-names = "default"; |
47 | 47 | ||
48 | button@1 { | 48 | copy { |
49 | label = "USB Copy"; | 49 | label = "USB Copy"; |
50 | linux,code = <KEY_COPY>; | 50 | linux,code = <KEY_COPY>; |
51 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; | 51 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
52 | }; | 52 | }; |
53 | button@2 { | 53 | reset { |
54 | label = "Reset"; | 54 | label = "Reset"; |
55 | linux,code = <KEY_RESTART>; | 55 | linux,code = <KEY_RESTART>; |
56 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; | 56 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; |