Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
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>;
|
|
};
|
|
};
|