1 --- a/arch/arm/dts/mt7981-rfb.dts
2 +++ b/arch/arm/dts/mt7981-rfb.dts
4 compatible = "spi-nand";
6 spi-max-frequency = <52000000>;
9 + compatible = "fixed-partitions";
10 + #address-cells = <1>;
15 + reg = <0x00000 0x0100000>;
19 + label = "u-boot-env";
20 + reg = <0x0100000 0x0080000>;
23 + factory: partition@180000 {
25 + reg = <0x180000 0x0200000>;
30 + reg = <0x380000 0x0200000>;
35 + reg = <0x580000 0x4000000>;
42 compatible = "jedec,spi-nor";
44 spi-max-frequency = <52000000>;
47 + compatible = "fixed-partitions";
48 + #address-cells = <1>;
53 + reg = <0x00000 0x0040000>;
57 + label = "u-boot-env";
58 + reg = <0x40000 0x0010000>;
63 + reg = <0x50000 0x00B0000>;
68 + reg = <0x100000 0x0080000>;
73 + reg = <0x180000 0xE00000>;
79 --- a/arch/arm/dts/mt7981-snfi-nand-rfb.dts
80 +++ b/arch/arm/dts/mt7981-snfi-nand-rfb.dts
84 mmc0_pins_default: mmc0default {
99 pinctrl-0 = <&snfi_pins>;
104 + compatible = "spi-nand";
108 + compatible = "fixed-partitions";
109 + #address-cells = <1>;
114 + reg = <0x00000 0x0100000>;
118 + label = "u-boot-env";
119 + reg = <0x0100000 0x0080000>;
122 + factory: partition@180000 {
124 + reg = <0x180000 0x0200000>;
129 + reg = <0x380000 0x0200000>;
134 + reg = <0x580000 0x4000000>;