Skip to content

Commit b468cae

Browse files
robherringnoglitch
authored andcommitted
arm: dts: fix unit-address leading 0s
Fix dtc warnings for 'simple_bus_reg' due to leading 0s. Converted using the following command: perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find arch/arm/boot/dts -type -f -name '*.dts*' Dropped changes to ARM, Ltd. boards LED nodes and manually fixed up some occurrences of uppercase hex. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 702e594 commit b468cae

203 files changed

Lines changed: 1249 additions & 1249 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

arch/arm/boot/dts/armada-370-synology-ds213j.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,32 +316,32 @@
316316
* change the default environment, unless you know
317317
* what you are doing.
318318
*/
319-
partition@00000000 { /* u-boot */
319+
partition@0 { /* u-boot */
320320
label = "RedBoot";
321321
reg = <0x00000000 0x000c0000>; /* 768KB */
322322
};
323323

324-
partition@000c0000 { /* uImage */
324+
partition@c0000 { /* uImage */
325325
label = "zImage";
326326
reg = <0x000c0000 0x002d0000>; /* 2880KB */
327327
};
328328

329-
partition@00390000 { /* uInitramfs */
329+
partition@390000 { /* uInitramfs */
330330
label = "rd.gz";
331331
reg = <0x00390000 0x00440000>; /* 4250KB */
332332
};
333333

334-
partition@007d0000 { /* MAC address and serial number */
334+
partition@7d0000 { /* MAC address and serial number */
335335
label = "vendor";
336336
reg = <0x007d0000 0x00010000>; /* 64KB */
337337
};
338338

339-
partition@007e0000 {
339+
partition@7e0000 {
340340
label = "RedBoot config";
341341
reg = <0x007e0000 0x00010000>; /* 64KB */
342342
};
343343

344-
partition@007f0000 {
344+
partition@7f0000 {
345345
label = "FIS directory";
346346
reg = <0x007f0000 0x00010000>; /* 64KB */
347347
};

arch/arm/boot/dts/armada-385-synology-ds116.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,35 +267,35 @@
267267
* enumerated. The MAC address and the serial number are listed
268268
* in the "vendor" partition.
269269
*/
270-
partition@00000000 {
270+
partition@0 {
271271
label = "RedBoot";
272272
reg = <0x00000000 0x000f0000>;
273273
read-only;
274274
};
275275

276-
partition@000c0000 {
276+
partition@c0000 {
277277
label = "zImage";
278278
reg = <0x000f0000 0x002d0000>;
279279
};
280280

281-
partition@00390000 {
281+
partition@390000 {
282282
label = "rd.gz";
283283
reg = <0x003c0000 0x00410000>;
284284
};
285285

286-
partition@007d0000 {
286+
partition@7d0000 {
287287
label = "vendor";
288288
reg = <0x007d0000 0x00010000>;
289289
read-only;
290290
};
291291

292-
partition@007e0000 {
292+
partition@7e0000 {
293293
label = "RedBoot config";
294294
reg = <0x007e0000 0x00010000>;
295295
read-only;
296296
};
297297

298-
partition@007f0000 {
298+
partition@7f0000 {
299299
label = "FIS directory";
300300
reg = <0x007f0000 0x00010000>;
301301
read-only;

arch/arm/boot/dts/armada-xp-synology-ds414.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,32 +332,32 @@
332332
* change the default environment, unless you know
333333
* what you are doing.
334334
*/
335-
partition@00000000 { /* u-boot */
335+
partition@0 { /* u-boot */
336336
label = "RedBoot";
337337
reg = <0x00000000 0x000d0000>; /* 832KB */
338338
};
339339

340-
partition@000c0000 { /* uImage */
340+
partition@c0000 { /* uImage */
341341
label = "zImage";
342342
reg = <0x000d0000 0x002d0000>; /* 2880KB */
343343
};
344344

345-
partition@003a0000 { /* uInitramfs */
345+
partition@3a0000 { /* uInitramfs */
346346
label = "rd.gz";
347347
reg = <0x003a0000 0x00430000>; /* 4250KB */
348348
};
349349

350-
partition@007d0000 { /* MAC address and serial number */
350+
partition@7d0000 { /* MAC address and serial number */
351351
label = "vendor";
352352
reg = <0x007d0000 0x00010000>; /* 64KB */
353353
};
354354

355-
partition@007e0000 {
355+
partition@7e0000 {
356356
label = "RedBoot config";
357357
reg = <0x007e0000 0x00010000>; /* 64KB */
358358
};
359359

360-
partition@007f0000 {
360+
partition@7f0000 {
361361
label = "FIS directory";
362362
reg = <0x007f0000 0x00010000>; /* 64KB */
363363
};

arch/arm/boot/dts/aspeed-g4.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
clock-frequency = <192000000>;
111111
};
112112

113-
clk_apb: clk_apb@08 {
113+
clk_apb: clk_apb@8 {
114114
#clock-cells = <0>;
115115
compatible = "aspeed,g4-apb-clock", "fixed-clock";
116116
reg = <0x08>;

arch/arm/boot/dts/aspeed-g5.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
clock-frequency = <198000000>;
146146
};
147147

148-
clk_apb: clk_apb@08 {
148+
clk_apb: clk_apb@8 {
149149
#clock-cells = <0>;
150150
compatible = "aspeed,g5-apb-clock", "fixed-clock";
151151
reg = <0x08>;

arch/arm/boot/dts/at91-ariag25.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@
159159
};
160160
};
161161

162-
usb0: ohci@00600000 {
162+
usb0: ohci@600000 {
163163
status = "okay";
164164
num-ports = <3>;
165165
};
166166

167-
usb1: ehci@00700000 {
167+
usb1: ehci@700000 {
168168
status = "okay";
169169
};
170170
};

arch/arm/boot/dts/at91-ariettag25.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
};
7272
};
7373

74-
usb0: ohci@00600000 {
74+
usb0: ohci@600000 {
7575
status = "okay";
7676
num-ports = <3>;
7777
};
7878

79-
usb1: ehci@00700000 {
79+
usb1: ehci@700000 {
8080
status = "okay";
8181
};
8282
};

arch/arm/boot/dts/at91-cosino_mega2560.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
};
6363
};
6464

65-
usb0: ohci@00600000 {
65+
usb0: ohci@600000 {
6666
status = "okay";
6767
num-ports = <3>;
6868
atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
@@ -71,7 +71,7 @@
7171
>;
7272
};
7373

74-
usb1: ehci@00700000 {
74+
usb1: ehci@700000 {
7575
status = "okay";
7676
};
7777
};

arch/arm/boot/dts/at91-kizbox2.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@
145145
};
146146
};
147147

148-
usb1: ohci@00600000 {
148+
usb1: ohci@600000 {
149149
status = "okay";
150150
};
151151

152-
usb2: ehci@00700000 {
152+
usb2: ehci@700000 {
153153
status = "okay";
154154
};
155155

arch/arm/boot/dts/at91-kizboxmini.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
};
7272
};
7373

74-
usb0: ohci@00600000 {
74+
usb0: ohci@600000 {
7575
num-ports = <1>;
7676
status = "okay";
7777
};
7878

79-
usb1: ehci@00700000 {
79+
usb1: ehci@700000 {
8080
status = "okay";
8181
};
8282

0 commit comments

Comments
 (0)