diff options
-rw-r--r-- | target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts index a958d9909a..601a70078f 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts @@ -63,6 +63,11 @@ &nand { status = "okay"; + mediatek,nmbm; + mediatek,bmt-remap-range = + <0x000000 0x7e0000>, + <0x35e0000 0x7800000>; + partitions { compatible = "fixed-partitions"; #address-cells = <1>; @@ -110,13 +115,22 @@ }; partition@3e0000 { - label = "kernel"; - reg = <0x3e0000 0x400000>; - }; + label = "firmware"; + reg = <0x3e0000 0x3200000>; + + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; - partition@7e0000 { - label = "ubi"; - reg = <0x7e0000 0x2e00000>; + partition@0 { + label = "kernel"; + reg = <0x0 0x400000>; + }; + + partition@400000 { + label = "ubi"; + reg = <0x400000 0x2e00000>; + }; }; partition@35e0000 { @@ -124,7 +138,12 @@ reg = <0x35e0000 0x3200000>; }; - /* Last 8M possibly store the bad block table */ + partition@67e0000 { + label = "jffs2"; + reg = <0x67e0000 0x1020000>; + }; + + /* Last 8M are reserved for NMBM management (bad blocks) */ }; }; |