]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix unit name leading 0s dtc warnings
authorShiji Yang <yangshiji66@outlook.com>
Sun, 18 May 2025 23:30:58 +0000 (07:30 +0800)
committerShiji Yang <yangshiji66@outlook.com>
Mon, 19 May 2025 12:01:00 +0000 (20:01 +0800)
Trim unnecessary 0s to fix the following dtc warnings:

../dts/mt7981b-cudy-re3000-v1.dts:135.20-139.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
../dts/mt7981b-cudy-wr3000-v1.dts:153.20-157.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
../dts/mt7981b-gatonetworks-gdsp.dts:276.20-280.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
mt7988a-rfb-spim-nor.dtso:36.21-39.7: Warning (unit_address_format): /fragment@0/__overlay__/flash@0/partition@00000: unit name should not have leading 0s
../dts/mt7981a-ubnt-unifi-6-plus.dts:113.28-131.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
../dts/mt7981b-wavlink-wl-wn586x3.dts:147.20-151.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
../dts/mt7981b-wavlink-wl-wn573hx3.dts:102.20-106.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
../dts/mt7981b-yuncore-ax835.dts:161.20-165.6: Warning (unit_address_format): /soc/spi@11009000/flash@0/partitions/partition@00000: unit name should not have leading 0s
../dts/mt7986a-zyxel-ex5601-t0-stock.dts:57.39-61.6: Warning (unit_address_format): /soc/spi@1100a000/spi_nand@0/partitions/partition@180000/nvmem-layout/macaddr@0004: unit name should not have leading 0s
../dts/mt7986a-zyxel-ex5601-t0-stock.dts:63.39-67.6: Warning (unit_address_format): /soc/spi@1100a000/spi_nand@0/partitions/partition@180000/nvmem-layout/macaddr@0024: unit name should not have leading 0s
../dts/mt7986a-zyxel-ex5601-t0-stock.dts:69.39-73.6: Warning (unit_address_format): /soc/spi@1100a000/spi_nand@0/partitions/partition@180000/nvmem-layout/macaddr@002a: unit name should not have leading 0s
../dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts:56.39-60.6: Warning (unit_address_format): /soc/spi@1100a000/spi_nand@0/partitions/partition@180000/nvmem-layout/macaddr@0004: unit name should not have leading 0s
../dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts:62.39-66.6: Warning (unit_address_format): /soc/spi@1100a000/spi_nand@0/partitions/partition@180000/nvmem-layout/macaddr@0024: unit name should not have leading 0s
../dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts:68.39-72.6: Warning (unit_address_format): /soc/spi@1100a000/spi_nand@0/partitions/partition@180000/nvmem-layout/macaddr@002a: unit name should not have leading 0s

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
target/linux/mediatek/dts/mt7981a-ubnt-unifi-6-plus.dts
target/linux/mediatek/dts/mt7981b-cudy-re3000-v1.dts
target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
target/linux/mediatek/dts/mt7981b-gatonetworks-gdsp.dts
target/linux/mediatek/dts/mt7981b-wavlink-wl-wn573hx3.dts
target/linux/mediatek/dts/mt7981b-wavlink-wl-wn586x3.dts
target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nor.dtso

index 48fe2f2fc0e537a117b0d494fd7d967cb6bd0db7..0e6e0cd9644eb046a887136d438194cf5abd1ee2 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       eeprom: partition@00000 {
+                       eeprom: partition@0 {
                                label = "EEPROM";
                                reg = <0x00000 0x10000>;
                                read-only;
index be0aa2e2f404b86e5234f0659c667dea15fbc7bc..2ced26e2957ba3e12875b3c136a6f03f06d1ddc7 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@00000 {
+                       partition@0 {
                                label = "BL2";
                                reg = <0x00000 0x40000>;
                                read-only;
index ad53f15eb42ac05c4f7e690338f8b3b5d0ade902..0f33223bb736b14eed9a09c5dc9309aa2e3dfbfd 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@00000 {
+                       partition@0 {
                                label = "BL2";
                                reg = <0x00000 0x40000>;
                                read-only;
index fd9fdca12404d5e397be4fb01a02810e7cc29652..50ae12b9638f0bd2e8a03b2a647ea32759d686a2 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@00000 {
+                       partition@0 {
                                label = "BL2";
                                reg = <0x00000 0x0040000>;
                                read-only;
index ff222247a6aa269f6acd9d80660caf68fa43e9a2..64e577887af0121139a1422cfd1afee46f0ee271 100644 (file)
@@ -99,7 +99,7 @@
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@00000 {
+                       partition@0 {
                                label = "bl2";
                                reg = <0x00000 0x40000>;
                                read-only;
index 62be0faa4af3db5b0eafdcc0207e33b963a9dcf3..d6d9a9fee6f28cf38aee3c5aeefde492aba575a1 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@00000 {
+                       partition@0 {
                                label = "bl2";
                                reg = <0x00000 0x40000>;
                                read-only;
index b5de1c34b4457e241a286c74484bb8db38be252d..485b8dbd367bba8bc71ae47f5f63d0c60c29f3e0 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       partition@00000 {
+                       partition@0 {
                                label = "BL2";
                                reg = <0x00000 0x40000>;
                                read-only;
index b5553a8359832dc50ea8830e895ed82e86910d1d..e92d9dc66987746a74f8a48fe3511d67be71aec9 100644 (file)
                                reg = <0x0 0x1000>;
                        };
 
-                       macaddr_factory_0004: macaddr@0004 {
+                       macaddr_factory_0004: macaddr@4 {
                                compatible = "mac-base";
                                reg = <0x0004 0x6>;
                                #nvmem-cell-cells = <1>;
                        };
 
-                       macaddr_factory_0024: macaddr@0024 {
+                       macaddr_factory_0024: macaddr@24 {
                                compatible = "mac-base";
                                reg = <0x0024 0x6>;
                                #nvmem-cell-cells = <1>;
                        };
 
-                       macaddr_factory_002a: macaddr@002a {
+                       macaddr_factory_002a: macaddr@2a {
                                compatible = "mac-base";
                                reg = <0x002a 0x6>;
                                #nvmem-cell-cells = <1>;
index d56224397018fbc72c6f177818e02f711bf0357e..a1f4a73f2f88bb57d1dc3541d830711aa067484e 100644 (file)
                                reg = <0x0 0x1000>;
                        };
 
-                       macaddr_factory_0004: macaddr@0004 {
+                       macaddr_factory_0004: macaddr@4 {
                                compatible = "mac-base";
                                reg = <0x0004 0x6>;
                                #nvmem-cell-cells = <1>;
                        };
 
-                       macaddr_factory_0024: macaddr@0024 {
+                       macaddr_factory_0024: macaddr@24 {
                                compatible = "mac-base";
                                reg = <0x0024 0x6>;
                                #nvmem-cell-cells = <1>;
                        };
 
-                       macaddr_factory_002a: macaddr@002a {
+                       macaddr_factory_002a: macaddr@2a {
                                compatible = "mac-base";
                                reg = <0x002a 0x6>;
                                #nvmem-cell-cells = <1>;
index 33bd57b3fb63b309666653247bb1cb4cb966b9d7..08d67cfc8b663d5893994d45213f605887876612 100644 (file)
@@ -33,7 +33,7 @@
                                spi-tx-bus-width = <4>;
                                spi-rx-bus-width = <4>;
 
-                               partition@00000 {
+                               partition@0 {
                                        label = "BL2";
                                        reg = <0x00000 0x0040000>;
                                };