Commit 8dccafaa authored by Rob Herring's avatar Rob Herring Committed by Arnd Bergmann
Browse files

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 59b63087
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -316,32 +316,32 @@
		 * change the default environment, unless you know
		 * what you are doing.
		 */
		partition@00000000 { /* u-boot */
		partition@0 { /* u-boot */
			label = "RedBoot";
			reg = <0x00000000 0x000c0000>; /* 768KB */
		};

		partition@000c0000 { /* uImage */
		partition@c0000 { /* uImage */
			label = "zImage";
			reg = <0x000c0000 0x002d0000>; /* 2880KB */
		};

		partition@00390000 { /* uInitramfs */
		partition@390000 { /* uInitramfs */
			label = "rd.gz";
			reg = <0x00390000 0x00440000>; /* 4250KB */
		};

		partition@007d0000 { /* MAC address and serial number */
		partition@7d0000 { /* MAC address and serial number */
			label = "vendor";
			reg = <0x007d0000 0x00010000>; /* 64KB */
		};

		partition@007e0000 {
		partition@7e0000 {
			label = "RedBoot config";
			reg = <0x007e0000 0x00010000>; /* 64KB */
		};

		partition@007f0000 {
		partition@7f0000 {
			label = "FIS directory";
			reg = <0x007f0000 0x00010000>; /* 64KB */
		};
+6 −6
Original line number Diff line number Diff line
@@ -267,35 +267,35 @@
		 * enumerated. The MAC address and the serial number are listed
		 * in the "vendor" partition.
		 */
		partition@00000000 {
		partition@0 {
			label = "RedBoot";
			reg = <0x00000000 0x000f0000>;
			read-only;
		};

		partition@000c0000 {
		partition@c0000 {
			label = "zImage";
			reg = <0x000f0000 0x002d0000>;
		};

		partition@00390000 {
		partition@390000 {
			label = "rd.gz";
			reg = <0x003c0000 0x00410000>;
		};

		partition@007d0000 {
		partition@7d0000 {
			label = "vendor";
			reg = <0x007d0000 0x00010000>;
			read-only;
		};

		partition@007e0000 {
		partition@7e0000 {
			label = "RedBoot config";
			reg = <0x007e0000 0x00010000>;
			read-only;
		};

		partition@007f0000 {
		partition@7f0000 {
			label = "FIS directory";
			reg = <0x007f0000 0x00010000>;
			read-only;
+6 −6
Original line number Diff line number Diff line
@@ -332,32 +332,32 @@
		 * change the default environment, unless you know
		 * what you are doing.
		 */
		partition@00000000 { /* u-boot */
		partition@0 { /* u-boot */
			label = "RedBoot";
			reg = <0x00000000 0x000d0000>; /* 832KB */
		};

		partition@000c0000 { /* uImage */
		partition@c0000 { /* uImage */
			label = "zImage";
			reg = <0x000d0000 0x002d0000>; /* 2880KB */
		};

		partition@003a0000 { /* uInitramfs */
		partition@3a0000 { /* uInitramfs */
			label = "rd.gz";
			reg = <0x003a0000 0x00430000>; /* 4250KB */
		};

		partition@007d0000 { /* MAC address and serial number */
		partition@7d0000 { /* MAC address and serial number */
			label = "vendor";
			reg = <0x007d0000 0x00010000>; /* 64KB */
		};

		partition@007e0000 {
		partition@7e0000 {
			label = "RedBoot config";
			reg = <0x007e0000 0x00010000>; /* 64KB */
		};

		partition@007f0000 {
		partition@7f0000 {
			label = "FIS directory";
			reg = <0x007f0000 0x00010000>; /* 64KB */
		};
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@
                                        clock-frequency = <192000000>;
                                };

                                clk_apb: clk_apb@08 {
                                clk_apb: clk_apb@8 {
                                        #clock-cells = <0>;
                                        compatible = "aspeed,g4-apb-clock", "fixed-clock";
                                        reg = <0x08>;
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@
					clock-frequency = <198000000>;
				};

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