mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
c29ab486a8
Use fitblk driver instead of deprecated partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
29 lines
552 B
Plaintext
29 lines
552 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
/dts-v1/;
|
|
#include "mt7981b-xiaomi-mi-router-ax3000t.dtsi"
|
|
|
|
/ {
|
|
model = "Xiaomi Mi Router AX3000T (OpenWrt U-Boot layout)";
|
|
compatible = "xiaomi,mi-router-ax3000t-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";
|
|
};
|
|
};
|
|
};
|
|
};
|