mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
35 lines
664 B
Plaintext
35 lines
664 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 (stock layout)";
|
||
|
compatible = "xiaomi,mi-router-wr30u-stock", "mediatek,mt7981";
|
||
|
};
|
||
|
|
||
|
&spi_nand {
|
||
|
mediatek,nmbm;
|
||
|
mediatek,bmt-max-ratio = <1>;
|
||
|
mediatek,bmt-max-reserved-blocks = <64>;
|
||
|
};
|
||
|
|
||
|
&partitions {
|
||
|
// ubi_kernel is the ubi partition in stock.
|
||
|
partition@600000 {
|
||
|
label = "ubi_kernel";
|
||
|
reg = <0x600000 0x2200000>;
|
||
|
};
|
||
|
|
||
|
/* ubi is the result of squashing
|
||
|
* consecutive stock partitions:
|
||
|
* - ubi1
|
||
|
* - overlay
|
||
|
* - data
|
||
|
*/
|
||
|
partition@2800000 {
|
||
|
label = "ubi";
|
||
|
reg = <0x2800000 0x4e00000>;
|
||
|
};
|
||
|
};
|