mediatek: use mac-base
[openwrt/staging/hauke.git] / target / linux / mediatek / dts / mt7981b-xiaomi-mi-router-wr30u-stock.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 /dts-v1/;
4 #include "mt7981b-xiaomi-mi-router-wr30u.dtsi"
5
6 / {
7 model = "Xiaomi Mi Router WR30U (stock layout)";
8 compatible = "xiaomi,mi-router-wr30u-stock", "mediatek,mt7981";
9 };
10
11 &spi_nand {
12 mediatek,nmbm;
13 mediatek,bmt-max-ratio = <1>;
14 mediatek,bmt-max-reserved-blocks = <64>;
15 };
16
17 &partitions {
18 // ubi_kernel is the ubi partition in stock.
19 partition@600000 {
20 label = "ubi_kernel";
21 reg = <0x600000 0x2200000>;
22 };
23
24 /* ubi is the result of squashing
25 * consecutive stock partitions:
26 * - ubi1
27 * - overlay
28 * - data
29 */
30 partition@2800000 {
31 label = "ubi";
32 reg = <0x2800000 0x4e00000>;
33 };
34 };