0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-22 04:56:15 +00:00
openwrt/target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-ubootmod.dts
Daniel Golle d657ca6760 mediatek: filogic: convert Xiaomi WR30U to fitblk
Use fitblk driver instead of deprecated partition parser.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-08-28 15:11:51 +01:00

29 lines
534 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "mt7981b-xiaomi-mi-router-wr30u.dtsi"
/ {
model = "Xiaomi Mi Router WR30U (OpenWrt U-Boot layout)";
compatible = "xiaomi,mi-router-wr30u-ubootmod", "mediatek,mt7981";
chosen {
bootargs-append = " root=/dev/fit0 rootwait";
rootdisk = <&ubi_rootdisk>;
};
};
&partitions {
partition@600000 {
label = "ubi";
reg = <0x600000 0x7000000>;
compatible = "linux,ubi";
volumes {
ubi_rootdisk: ubi-volume-fit {
volname = "fit";
};
};
};
};