ipq806x: avoid duplicate partition nodes

Avoids dtc warnings by moving it in a subnode.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-12-01 17:20:19 -08:00 committed by Christian Marangi
parent 81116ddb9b
commit e1043a746a
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -204,6 +204,15 @@
stock_partition@1340000 {
label = "stock_rootfs";
reg = <0x1340000 0x4000000>;
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "extra";
reg = <0x0 0x4000000>;
};
};
partition@5340000 {
label = "0:BOOTCONFIG";
@ -253,27 +262,14 @@
stock_partition@6400000 {
label = "stock_rootfs_1";
reg = <0x6400000 0x4000000>;
};
stock_partition@a400000 {
label = "stock_fw_env";
reg = <0xa400000 0x0100000>;
};
stock_partition@a500000 {
label = "stock_config";
reg = <0xa500000 0x0800000>;
};
stock_partition@ad00000 {
label = "stock_PKI";
reg = <0xad00000 0x0200000>;
};
stock_partition@af00000 {
label = "stock_scfgmgr";
reg = <0xaf00000 0x0100000>;
};
partition@6400000 {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "fw_env";
reg = <0x6400000 0x0100000>;
reg = <0x0 0x100000>;
nvmem-layout {
compatible = "fixed-layout";
@ -297,13 +293,27 @@
};
};
};
partition@6500000 {
partition@100000 {
label = "ubi";
reg = <0x6500000 0x9b00000>;
reg = <0x100000 0x9b00000>;
};
partition@1340000 {
label = "extra";
reg = <0x1340000 0x4000000>;
};
stock_partition@a400000 {
label = "stock_fw_env";
reg = <0xa400000 0x0100000>;
};
stock_partition@a500000 {
label = "stock_config";
reg = <0xa500000 0x0800000>;
};
stock_partition@ad00000 {
label = "stock_PKI";
reg = <0xad00000 0x0200000>;
};
stock_partition@af00000 {
label = "stock_scfgmgr";
reg = <0xaf00000 0x0100000>;
};
};
};