arm64: dts: zynqmp: Fix nand dt node

DC3 nand node is not correct, it is showing all partitions under
controller node directly. Create two sub nand nodes with partitions for
each.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230224050709.30014-4-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
Ashok Reddy Soma
2023-02-23 22:07:08 -07:00
committed by Michal Simek
parent 1e01769a2d
commit 9207c48491

View File

@@ -128,54 +128,77 @@
arasan,has-mdma; arasan,has-mdma;
num-cs = <2>; num-cs = <2>;
partition@0 { /* for testing purpose */ nand@0 {
label = "nand-fsbl-uboot"; reg = <0x0>;
reg = <0x0 0x0 0x400000>; #address-cells = <0x2>;
}; #size-cells = <0x1>;
partition@1 { /* for testing purpose */ nand-ecc-mode = "soft";
label = "nand-linux"; nand-ecc-algo = "bch";
reg = <0x0 0x400000 0x1400000>; nand-rb = <0>;
}; label = "main-storage-0";
partition@2 { /* for testing purpose */ nand-ecc-step-size = <1024>;
label = "nand-device-tree"; nand-ecc-strength = <24>;
reg = <0x0 0x1800000 0x400000>;
};
partition@3 { /* for testing purpose */
label = "nand-rootfs";
reg = <0x0 0x1C00000 0x1400000>;
};
partition@4 { /* for testing purpose */
label = "nand-bitstream";
reg = <0x0 0x3000000 0x400000>;
};
partition@5 { /* for testing purpose */
label = "nand-misc";
reg = <0x0 0x3400000 0xFCC00000>;
};
partition@6 { /* for testing purpose */ partition@0 { /* for testing purpose */
label = "nand1-fsbl-uboot"; label = "nand-fsbl-uboot";
reg = <0x1 0x0 0x400000>; reg = <0x0 0x0 0x400000>;
};
partition@1 { /* for testing purpose */
label = "nand-linux";
reg = <0x0 0x400000 0x1400000>;
};
partition@2 { /* for testing purpose */
label = "nand-device-tree";
reg = <0x0 0x1800000 0x400000>;
};
partition@3 { /* for testing purpose */
label = "nand-rootfs";
reg = <0x0 0x1C00000 0x1400000>;
};
partition@4 { /* for testing purpose */
label = "nand-bitstream";
reg = <0x0 0x3000000 0x400000>;
};
partition@5 { /* for testing purpose */
label = "nand-misc";
reg = <0x0 0x3400000 0xFCC00000>;
};
}; };
partition@7 { /* for testing purpose */ nand@1 {
label = "nand1-linux"; reg = <0x1>;
reg = <0x1 0x400000 0x1400000>; #address-cells = <0x2>;
}; #size-cells = <0x1>;
partition@8 { /* for testing purpose */ nand-ecc-mode = "soft";
label = "nand1-device-tree"; nand-ecc-algo = "bch";
reg = <0x1 0x1800000 0x400000>; nand-rb = <0>;
}; label = "main-storage-1";
partition@9 { /* for testing purpose */ nand-ecc-step-size = <1024>;
label = "nand1-rootfs"; nand-ecc-strength = <24>;
reg = <0x1 0x1C00000 0x1400000>;
}; partition@0 { /* for testing purpose */
partition@10 { /* for testing purpose */ label = "nand1-fsbl-uboot";
label = "nand1-bitstream"; reg = <0x0 0x0 0x400000>;
reg = <0x1 0x3000000 0x400000>; };
}; partition@1 { /* for testing purpose */
partition@11 { /* for testing purpose */ label = "nand1-linux";
label = "nand1-misc"; reg = <0x0 0x400000 0x1400000>;
reg = <0x1 0x3400000 0xFCC00000>; };
partition@2 { /* for testing purpose */
label = "nand1-device-tree";
reg = <0x0 0x1800000 0x400000>;
};
partition@3 { /* for testing purpose */
label = "nand1-rootfs";
reg = <0x0 0x1C00000 0x1400000>;
};
partition@4 { /* for testing purpose */
label = "nand1-bitstream";
reg = <0x0 0x3000000 0x400000>;
};
partition@5 { /* for testing purpose */
label = "nand1-misc";
reg = <0x0 0x3400000 0xFCC00000>;
};
}; };
}; };