diff options
| author | David Bauer <mail@david-bauer.net> | 2023-06-30 19:30:09 +0200 |
|---|---|---|
| committer | David Bauer <mail@david-bauer.net> | 2023-07-02 01:06:08 +0200 |
| commit | 92eec257dd562547bc08ee76c1901eb22b66937c (patch) | |
| tree | 332645f5cff947db43e60e98476efecf9d542832 | |
| parent | 86ebaef5d427c5732847168f6ceeda12bf528414 (diff) | |
| download | upstream-92eec257dd562547bc08ee76c1901eb22b66937c.tar.gz upstream-92eec257dd562547bc08ee76c1901eb22b66937c.tar.bz2 upstream-92eec257dd562547bc08ee76c1901eb22b66937c.zip | |
mediatek: define NMBM management region for WAX220
The NETGEAR WAX220 employs NMBM on SPI-NAND. In order to avoid dealing
with invalid factory data, enable NMBM in the area preceding the UBI
volume.
Signed-off-by: David Bauer <mail@david-bauer.net>
| -rw-r--r-- | target/linux/mediatek/dts/mt7986b-netgear-wax220.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts b/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts index f7da6e3630b..ac2a4b08246 100644 --- a/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts +++ b/target/linux/mediatek/dts/mt7986b-netgear-wax220.dts @@ -186,6 +186,11 @@ spi-tx-buswidth = <4>; spi-rx-buswidth = <4>; + mediatek,nmbm; + mediatek,bmt-max-ratio = <1>; + mediatek,bmt-max-reserved-blocks = <256>; + mediatek,bmt-remap-range = <0x0 0x580000>; + partitions: partitions { #address-cells = <0x1>; #size-cells = <0x1>; |
