Skip to content

Commit 55fb5a9

Browse files
krzkConchuOD
authored andcommitted
arm64: dts: microchip: sparx5_pcb134: drop LED unit addresses
GPIO leds should not have unit addresses (no "reg" property), as reported by dtc W=1 warnings: sparx5_pcb134_board.dtsi:18.9-21.5: Warning (unit_address_vs_reg): /leds/led@0: node has a unit name, but no reg or ranges property Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent b0d5a3c commit 55fb5a9

1 file changed

Lines changed: 48 additions & 48 deletions

File tree

arch/arm64/boot/dts/microchip/sparx5_pcb134_board.dtsi

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -15,234 +15,234 @@
1515

1616
leds {
1717
compatible = "gpio-leds";
18-
led@0 {
18+
led-0 {
1919
label = "twr0:green";
2020
gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>;
2121
};
22-
led@1 {
22+
led-1 {
2323
label = "twr0:yellow";
2424
gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>;
2525
};
26-
led@2 {
26+
led-2 {
2727
label = "twr1:green";
2828
gpios = <&sgpio_out0 9 0 GPIO_ACTIVE_LOW>;
2929
};
30-
led@3 {
30+
led-3 {
3131
label = "twr1:yellow";
3232
gpios = <&sgpio_out0 9 1 GPIO_ACTIVE_LOW>;
3333
};
34-
led@4 {
34+
led-4 {
3535
label = "twr2:green";
3636
gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>;
3737
};
38-
led@5 {
38+
led-5 {
3939
label = "twr2:yellow";
4040
gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>;
4141
};
42-
led@6 {
42+
led-6 {
4343
label = "twr3:green";
4444
gpios = <&sgpio_out0 11 0 GPIO_ACTIVE_LOW>;
4545
};
46-
led@7 {
46+
led-7 {
4747
label = "twr3:yellow";
4848
gpios = <&sgpio_out0 11 1 GPIO_ACTIVE_LOW>;
4949
};
50-
led@8 {
50+
led-8 {
5151
label = "eth12:green";
5252
gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>;
5353
default-state = "off";
5454
};
55-
led@9 {
55+
led-9 {
5656
label = "eth12:yellow";
5757
gpios = <&sgpio_out0 12 1 GPIO_ACTIVE_HIGH>;
5858
default-state = "off";
5959
};
60-
led@10 {
60+
led-10 {
6161
label = "eth13:green";
6262
gpios = <&sgpio_out0 13 0 GPIO_ACTIVE_HIGH>;
6363
default-state = "off";
6464
};
65-
led@11 {
65+
led-11 {
6666
label = "eth13:yellow";
6767
gpios = <&sgpio_out0 13 1 GPIO_ACTIVE_HIGH>;
6868
default-state = "off";
6969
};
70-
led@12 {
70+
led-12 {
7171
label = "eth14:green";
7272
gpios = <&sgpio_out0 14 0 GPIO_ACTIVE_HIGH>;
7373
default-state = "off";
7474
};
75-
led@13 {
75+
led-13 {
7676
label = "eth14:yellow";
7777
gpios = <&sgpio_out0 14 1 GPIO_ACTIVE_HIGH>;
7878
default-state = "off";
7979
};
80-
led@14 {
80+
led-14 {
8181
label = "eth15:green";
8282
gpios = <&sgpio_out0 15 0 GPIO_ACTIVE_HIGH>;
8383
default-state = "off";
8484
};
85-
led@15 {
85+
led-15 {
8686
label = "eth15:yellow";
8787
gpios = <&sgpio_out0 15 1 GPIO_ACTIVE_HIGH>;
8888
default-state = "off";
8989
};
90-
led@16 {
90+
led-16 {
9191
label = "eth48:green";
9292
gpios = <&sgpio_out1 16 0 GPIO_ACTIVE_HIGH>;
9393
default-state = "off";
9494
};
95-
led@17 {
95+
led-17 {
9696
label = "eth48:yellow";
9797
gpios = <&sgpio_out1 16 1 GPIO_ACTIVE_HIGH>;
9898
default-state = "off";
9999
};
100-
led@18 {
100+
led-18 {
101101
label = "eth49:green";
102102
gpios = <&sgpio_out1 17 0 GPIO_ACTIVE_HIGH>;
103103
default-state = "off";
104104
};
105-
led@19 {
105+
led-19 {
106106
label = "eth49:yellow";
107107
gpios = <&sgpio_out1 17 1 GPIO_ACTIVE_HIGH>;
108108
default-state = "off";
109109
};
110-
led@20 {
110+
led-20 {
111111
label = "eth50:green";
112112
gpios = <&sgpio_out1 18 0 GPIO_ACTIVE_HIGH>;
113113
default-state = "off";
114114
};
115-
led@21 {
115+
led-21 {
116116
label = "eth50:yellow";
117117
gpios = <&sgpio_out1 18 1 GPIO_ACTIVE_HIGH>;
118118
default-state = "off";
119119
};
120-
led@22 {
120+
led-22 {
121121
label = "eth51:green";
122122
gpios = <&sgpio_out1 19 0 GPIO_ACTIVE_HIGH>;
123123
default-state = "off";
124124
};
125-
led@23 {
125+
led-23 {
126126
label = "eth51:yellow";
127127
gpios = <&sgpio_out1 19 1 GPIO_ACTIVE_HIGH>;
128128
default-state = "off";
129129
};
130-
led@24 {
130+
led-24 {
131131
label = "eth52:green";
132132
gpios = <&sgpio_out1 20 0 GPIO_ACTIVE_HIGH>;
133133
default-state = "off";
134134
};
135-
led@25 {
135+
led-25 {
136136
label = "eth52:yellow";
137137
gpios = <&sgpio_out1 20 1 GPIO_ACTIVE_HIGH>;
138138
default-state = "off";
139139
};
140-
led@26 {
140+
led-26 {
141141
label = "eth53:green";
142142
gpios = <&sgpio_out1 21 0 GPIO_ACTIVE_HIGH>;
143143
default-state = "off";
144144
};
145-
led@27 {
145+
led-27 {
146146
label = "eth53:yellow";
147147
gpios = <&sgpio_out1 21 1 GPIO_ACTIVE_HIGH>;
148148
default-state = "off";
149149
};
150-
led@28 {
150+
led-28 {
151151
label = "eth54:green";
152152
gpios = <&sgpio_out1 22 0 GPIO_ACTIVE_HIGH>;
153153
default-state = "off";
154154
};
155-
led@29 {
155+
led-29 {
156156
label = "eth54:yellow";
157157
gpios = <&sgpio_out1 22 1 GPIO_ACTIVE_HIGH>;
158158
default-state = "off";
159159
};
160-
led@30 {
160+
led-30 {
161161
label = "eth55:green";
162162
gpios = <&sgpio_out1 23 0 GPIO_ACTIVE_HIGH>;
163163
default-state = "off";
164164
};
165-
led@31 {
165+
led-31 {
166166
label = "eth55:yellow";
167167
gpios = <&sgpio_out1 23 1 GPIO_ACTIVE_HIGH>;
168168
default-state = "off";
169169
};
170-
led@32 {
170+
led-32 {
171171
label = "eth56:green";
172172
gpios = <&sgpio_out1 24 0 GPIO_ACTIVE_HIGH>;
173173
default-state = "off";
174174
};
175-
led@33 {
175+
led-33 {
176176
label = "eth56:yellow";
177177
gpios = <&sgpio_out1 24 1 GPIO_ACTIVE_HIGH>;
178178
default-state = "off";
179179
};
180-
led@34 {
180+
led-34 {
181181
label = "eth57:green";
182182
gpios = <&sgpio_out1 25 0 GPIO_ACTIVE_HIGH>;
183183
default-state = "off";
184184
};
185-
led@35 {
185+
led-35 {
186186
label = "eth57:yellow";
187187
gpios = <&sgpio_out1 25 1 GPIO_ACTIVE_HIGH>;
188188
default-state = "off";
189189
};
190-
led@36 {
190+
led-36 {
191191
label = "eth58:green";
192192
gpios = <&sgpio_out1 26 0 GPIO_ACTIVE_HIGH>;
193193
default-state = "off";
194194
};
195-
led@37 {
195+
led-37 {
196196
label = "eth58:yellow";
197197
gpios = <&sgpio_out1 26 1 GPIO_ACTIVE_HIGH>;
198198
default-state = "off";
199199
};
200-
led@38 {
200+
led-38 {
201201
label = "eth59:green";
202202
gpios = <&sgpio_out1 27 0 GPIO_ACTIVE_HIGH>;
203203
default-state = "off";
204204
};
205-
led@39 {
205+
led-39 {
206206
label = "eth59:yellow";
207207
gpios = <&sgpio_out1 27 1 GPIO_ACTIVE_HIGH>;
208208
default-state = "off";
209209
};
210-
led@40 {
210+
led-40 {
211211
label = "eth60:green";
212212
gpios = <&sgpio_out1 28 0 GPIO_ACTIVE_HIGH>;
213213
default-state = "off";
214214
};
215-
led@41 {
215+
led-41 {
216216
label = "eth60:yellow";
217217
gpios = <&sgpio_out1 28 1 GPIO_ACTIVE_HIGH>;
218218
default-state = "off";
219219
};
220-
led@42 {
220+
led-42 {
221221
label = "eth61:green";
222222
gpios = <&sgpio_out1 29 0 GPIO_ACTIVE_HIGH>;
223223
default-state = "off";
224224
};
225-
led@43 {
225+
led-43 {
226226
label = "eth61:yellow";
227227
gpios = <&sgpio_out1 29 1 GPIO_ACTIVE_HIGH>;
228228
default-state = "off";
229229
};
230-
led@44 {
230+
led-44 {
231231
label = "eth62:green";
232232
gpios = <&sgpio_out1 30 0 GPIO_ACTIVE_HIGH>;
233233
default-state = "off";
234234
};
235-
led@45 {
235+
led-45 {
236236
label = "eth62:yellow";
237237
gpios = <&sgpio_out1 30 1 GPIO_ACTIVE_HIGH>;
238238
default-state = "off";
239239
};
240-
led@46 {
240+
led-46 {
241241
label = "eth63:green";
242242
gpios = <&sgpio_out1 31 0 GPIO_ACTIVE_HIGH>;
243243
default-state = "off";
244244
};
245-
led@47 {
245+
led-47 {
246246
label = "eth63:yellow";
247247
gpios = <&sgpio_out1 31 1 GPIO_ACTIVE_HIGH>;
248248
default-state = "off";

0 commit comments

Comments
 (0)