aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dts
blob: 62407334cf058e57abe4966ab3a0383a72924b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// SPDX-License-Identifier: (GPL-2.0 OR MIT)

/dts-v1/;
#include "mt7986a-xiaomi-redmi-router-ax6000.dtsi"

/ {
	model = "Xiaomi Redmi Router AX6000";
	compatible = "xiaomi,redmi-router-ax6000", "mediatek,mt7986a";
};

&spi_nand_flash {
	mediatek,nmbm;
	mediatek,bmt-max-ratio = <1>;
	mediatek,bmt-max-reserved-blocks = <64>;
};

&partitions {
	partition@580000 {
		label = "crash";
		reg = <0x580000 0x40000>;
		read-only;
	};

	partition@5c0000 {
		label = "crash_log";
		reg = <0x5c0000 0x40000>;
		read-only;
	};

	/* ubi partition is the result of squashing
	 * consecutive stock partitions:
	 * - ubi
	 * - ubi1
	 * - overlay
	 */
	partition@600000 {
		label = "ubi";
		reg = <0x600000 0x6e00000>;
	};

	/* last 12 MiB is reserved for NMBM bad block table */
};