mediatek: wait for fitblk rootfs
[openwrt/staging/mans0n.git] / target / linux / mediatek / dts / mt7986a-xiaomi-redmi-router-ax6000-ubootmod.dts
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2
3 /dts-v1/;
4 #include "mt7986a-xiaomi-redmi-router-ax6000.dtsi"
5
6 / {
7 model = "Xiaomi Redmi Router AX6000 (OpenWrt U-Boot layout)";
8 compatible = "xiaomi,redmi-router-ax6000-ubootmod", "mediatek,mt7986a";
9 };
10
11 &chosen {
12 rootdisk = <&ubi_rootdisk>;
13 bootargs-append = " root=/dev/fit0 rootwait";
14 };
15
16 &partitions {
17 partition@580000 {
18 compatible = "linux,ubi";
19 reg = <0x580000 0x7a80000>;
20 label = "ubi";
21
22 volumes {
23 ubi_rootdisk: ubi-volume-fit {
24 volname = "fit";
25 };
26 };
27 };
28 };