aboutsummaryrefslogtreecommitdiff
path: root/target/linux/mediatek/dts/mt7981b-routerich-ax3000-ubootmod.dts
blob: dfdb78936d8c46381a7ecac53c5c8b4d77af826a (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
43
44
45
46
47
48
49
50
51
52
// SPDX-License-Identifier: GPL-2.0-only OR MIT

#include "mt7981b-routerich-ax3000-common.dtsi"

/ {
	model = "Routerich AX3000 (OpenWrt U-Boot layout)";
	compatible = "routerich,ax3000-ubootmod", "mediatek,mt7981";
};

&chosen {
	rootdisk = <&ubi_fit_volume>;
};

&partitions {
	partition@100000 {
		label = "u-boot-env-orig";
		reg = <0x100000 0x80000>;
		read-only;
	};

	partition@580000 {
		label = "ubi";
		reg = <0x580000 0x7a80000>;
		compatible = "linux,ubi";

		volumes {
			ubi_fit_volume: ubi-volume-fit {
				volname = "fit";
			};

			ubi_ubootenv: ubi-volume-ubootenv {
				volname = "ubootenv";
			};

			ubi_ubootenv2: ubi-volume-ubootenv2 {
				volname = "ubootenv2";
			};
		};
	};
};

&ubi_ubootenv {
	nvmem-layout {
		compatible = "u-boot,env-redundant-bool";
	};
};

&ubi_ubootenv2 {
	nvmem-layout {
		compatible = "u-boot,env-redundant-bool";
	};
};