mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
dcdcfc1511
Because this device enable NMBM by default, most users use custom U-Boot with NMBM-Enabled in Chinese forums. This layout is the same as the ubootmod layout but enabling NMBM. Signed-off-by: Hank Moretti <mchank9999@gmail.com>
23 lines
452 B
Plaintext
23 lines
452 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
#include "mt7981b-xiaomi-mi-router-wr30u.dtsi"
|
|
|
|
/ {
|
|
model = "Xiaomi Mi Router WR30U (112M UBI with NMBM-Enabled layout)";
|
|
compatible = "xiaomi,mi-router-wr30u-112m-nmbm", "mediatek,mt7981";
|
|
};
|
|
|
|
&spi_nand {
|
|
mediatek,nmbm;
|
|
mediatek,bmt-max-ratio = <1>;
|
|
mediatek,bmt-max-reserved-blocks = <64>;
|
|
};
|
|
|
|
&partitions {
|
|
partition@600000 {
|
|
label = "ubi";
|
|
reg = <0x600000 0x7000000>;
|
|
};
|
|
};
|