aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-stock.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-stock.dts')
-rw-r--r--target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-stock.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-stock.dts b/target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-stock.dts
new file mode 100644
index 0000000000..7faa6e84ef
--- /dev/null
+++ b/target/linux/mediatek/dts/mt7981b-xiaomi-mi-router-wr30u-stock.dts
@@ -0,0 +1,34 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+/dts-v1/;
+#include "mt7981b-xiaomi-mi-router-wr30u.dtsi"
+
+/ {
+ model = "Xiaomi Mi Router WR30U (stock layout)";
+ compatible = "xiaomi,mi-router-wr30u-stock", "mediatek,mt7981";
+};
+
+&spi_nand {
+ mediatek,nmbm;
+ mediatek,bmt-max-ratio = <1>;
+ mediatek,bmt-max-reserved-blocks = <64>;
+};
+
+&partitions {
+ // ubi_kernel is the ubi partition in stock.
+ partition@600000 {
+ label = "ubi_kernel";
+ reg = <0x600000 0x2200000>;
+ };
+
+ /* ubi is the result of squashing
+ * consecutive stock partitions:
+ * - ubi1
+ * - overlay
+ * - data
+ */
+ partition@2800000 {
+ label = "ubi";
+ reg = <0x2800000 0x4e00000>;
+ };
+};