mediatek: filogic: fix unit name leading 0s dtc warnings

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>
This commit is contained in:
Shiji Yang 2025-05-19 07:30:58 +08:00
parent bc0be15e8d
commit ac5561906e
10 changed files with 14 additions and 14 deletions

View file

@ -110,7 +110,7 @@
#address-cells = <1>;
#size-cells = <1>;
eeprom: partition@00000 {
eeprom: partition@0 {
label = "EEPROM";
reg = <0x00000 0x10000>;
read-only;

View file

@ -132,7 +132,7 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000 {
partition@0 {
label = "BL2";
reg = <0x00000 0x40000>;
read-only;

View file

@ -150,7 +150,7 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000 {
partition@0 {
label = "BL2";
reg = <0x00000 0x40000>;
read-only;

View file

@ -273,7 +273,7 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000 {
partition@0 {
label = "BL2";
reg = <0x00000 0x0040000>;
read-only;

View file

@ -99,7 +99,7 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000 {
partition@0 {
label = "bl2";
reg = <0x00000 0x40000>;
read-only;

View file

@ -144,7 +144,7 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000 {
partition@0 {
label = "bl2";
reg = <0x00000 0x40000>;
read-only;

View file

@ -158,7 +158,7 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000 {
partition@0 {
label = "BL2";
reg = <0x00000 0x40000>;
read-only;

View file

@ -54,19 +54,19 @@
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>;

View file

@ -53,19 +53,19 @@
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>;

View file

@ -33,7 +33,7 @@
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
partition@00000 {
partition@0 {
label = "BL2";
reg = <0x00000 0x0040000>;
};