OSDN Git Service

arm64: dts: Update NAND MTD partition for Agilex and Stratix 10
authorSin Hui Kho <sin.hui.kho@intel.com>
Wed, 1 Dec 2021 10:13:53 +0000 (18:13 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 1 Dec 2021 14:07:41 +0000 (08:07 -0600)
Change NAND flash MTD partition in device tree after implementation of
UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root"
partition is use for UBI image containing all other components.

Signed-off-by: Sin Hui Kho <sin.hui.kho@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts

index f9b4a39..bbc3db4 100644 (file)
                };
 
                partition@200000 {
-                       label = "env";
-                       reg = <0x200000 0x40000>;
-               };
-
-               partition@240000 {
-                       label = "dtb";
-                       reg = <0x240000 0x40000>;
-               };
-
-               partition@280000 {
-                       label = "kernel";
-                       reg = <0x280000 0x2000000>;
-               };
-
-               partition@2280000 {
-                       label = "misc";
-                       reg = <0x2280000 0x2000000>;
-               };
-
-               partition@4280000 {
-                       label = "rootfs";
-                       reg = <0x4280000 0x3bd80000>;
+                       label = "root";
+                       reg = <0x200000 0x3fe00000>;
                };
        };
 };
index cc2dcab..57f8348 100644 (file)
                        reg = <0 0x200000>;
                };
                partition@200000 {
-                       label = "env";
-                       reg = <0x200000 0x40000>;
-               };
-               partition@240000 {
-                       label = "dtb";
-                       reg = <0x240000 0x40000>;
-               };
-               partition@280000 {
-                       label = "kernel";
-                       reg = <0x280000 0x2000000>;
-               };
-               partition@2280000 {
-                       label = "misc";
-                       reg = <0x2280000 0x2000000>;
-               };
-               partition@4280000 {
-                       label = "rootfs";
-                       reg = <0x4280000 0x3bd80000>;
+                       label = "root";
+                       reg = <0x200000 0x3fe00000>;
                };
        };
 };