aboutsummaryrefslogtreecommitdiff
path: root/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000-ubootmod.dts
blob: f26ab1a88e9f290de68e28222285cd5b82560ec8 (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
// SPDX-License-Identifier: (GPL-2.0 OR MIT)

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

/ {
	model = "Xiaomi Redmi Router AX6000 (OpenWrt U-Boot layout)";
	compatible = "xiaomi,redmi-router-ax6000-ubootmod", "mediatek,mt7986a";
};

&chosen {
	rootdisk = <&ubi_rootdisk>;
	bootargs-append = " root=/dev/fit0 rootwait";
};

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

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