arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
Mon, 3 Jul 2023 08:36:27 +0000 (16:36 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 10 Jul 2023 00:48:23 +0000 (19:48 -0500)
Non-UBIFS related boot and fpga data should be stored in qspi_boot (mtd0)
while keeping the rootfs with UBIFS in the root partition "mtd1".
Thus, update the QSPI flash layout to support UBIFS in the mtd root
partition.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts

index b7b50db174cab964dbb327f773b6144801451153..df34e390631b11057801c730707ece6c6c8e6a95 100644 (file)
 
                        qspi_boot: partition@0 {
                                label = "Boot and fpga data";
-                               reg = <0x0 0x03FE0000>;
+                               reg = <0x0 0x04200000>;
                        };
 
-                       qspi_rootfs: partition@3FE0000 {
-                               label = "Root Filesystem - JFFS2";
-                               reg = <0x03FE0000 0x0C020000>;
+                       root: partition@4200000 {
+                               label = "Root Filesystem - UBIFS";
+                               reg = <0x04200000 0x0BE00000>;
                        };
                };
        };
index 80e6864fb0519e5e7b5a44943a2ada932a305e64..053690657675b67b6306c5e4d4783959f2a46990 100644 (file)
 
                        qspi_boot: partition@0 {
                                label = "Boot and fpga data";
-                               reg = <0x0 0x03FE0000>;
+                               reg = <0x0 0x04200000>;
                        };
 
-                       qspi_rootfs: partition@3FE0000 {
-                               label = "Root Filesystem - JFFS2";
-                               reg = <0x03FE0000 0x0C020000>;
+                       root: partition@4200000 {
+                               label = "Root Filesystem - UBIFS";
+                               reg = <0x04200000 0x0BE00000>;
                        };
                };
        };