mvebu: dts: fix unit name leading 0s warnings

Trim unnecessary 0s from the node name to fix the dtc warnings:

cn9131-puzzle-m901.dts:43.18-46.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
cn9130-clearfog-pro.dts:33.18-36.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
cn9132-puzzle-m902.dts:50.18-53.4: Warning (unit_address_format): /memory@00000000: unit name should not have leading 0s
armada-385-wd_cloud-mirror-gen2.dts:148.26-152.9: Warning (unit_address_format): /soc/internal-regs/nand-controller@d0000/nand@0/partitions/partition@00000000: unit name should not have leading 0s
armada-385-wd_cloud-mirror-gen2.dts:154.26-157.9: Warning (unit_address_format): /soc/internal-regs/nand-controller@d0000/nand@0/partitions/partition@00500000: unit name should not have leading 0s
armada-385-wd_cloud-mirror-gen2.dts:159.26-163.9: Warning (unit_address_format): /soc/internal-regs/nand-controller@d0000/nand@0/partitions/partition@00a00000: unit name should not have leading 0s
armada-385-wd_cloud-mirror-gen2.dts:165.26-168.9: Warning (unit_address_format): /soc/internal-regs/nand-controller@d0000/nand@0/partitions/partition@00f00000: unit name should not have leading 0s

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Shiji Yang 2025-05-19 21:56:58 +08:00 committed by Hauke Mehrtens
parent 9025072317
commit b5fb6be45a
4 changed files with 7 additions and 7 deletions

View File

@ -145,24 +145,24 @@
#address-cells = <1>;
#size-cells = <1>;
partition@00000000 {
partition@0 {
label = "U-Boot";
reg = <0x00000000 0x00500000>; /* 5 MB */
read-only;
};
partition@00500000 {
partition@500000 {
label = "kernel";
reg = <0x00500000 0x00500000>; /* 5 MB */
};
partition@00a00000 {
partition@a00000 {
label = "uRamdisk";
reg = <0x00a00000 0x00500000>; /* 5 MB */
read-only;
};
partition@00f00000 {
partition@f00000 {
label = "ubi";
reg = <0x00f00000 0x0b900000>; /* 185 MB */
};

View File

@ -30,7 +30,7 @@
spi1 = &cp0_spi1;
};
memory@00000000 {
memory@0 {
reg = <0x0 0x0 0x1 0x0>;
device_type = "memory";
};

View File

@ -40,7 +40,7 @@
led-upgrade = &led_info;
};
memory@00000000 {
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};

View File

@ -47,7 +47,7 @@
led-upgrade = &led_info;
};
memory@00000000 {
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};