aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9563_netgear_wndr.dtsi')
-rw-r--r--target/linux/ath79/dts/qca9563_netgear_wndr.dtsi32
1 files changed, 29 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi b/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
index a51fb1964b..799297f4e1 100644
--- a/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
+++ b/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
@@ -90,6 +90,22 @@
linux,default-trigger = "phy1tpt";
};
};
+
+ ubi-concat {
+ compatible = "mtd-concat";
+ devices = <&ubiconcat0 &ubiconcat1>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "ubi";
+ reg = <0x0 0x0>;
+ };
+ };
+ };
};
&spi {
@@ -165,10 +181,20 @@
reg = <0x0 0x400000>;
};
- partition@400000 {
- label = "ubi";
- reg = <0x400000 0x7c00000>;
+ ubiconcat0: partition@400000 {
+ label = "ubiconcat0";
+ reg = <0x400000 0x5c00000>;
+ };
+
+ ubiconcat1: partition@6020000 {
+ label = "ubiconcat1";
+ reg = <0x6020000 0x1f60000>;
};
+ /*
+ * U-boot always unconditionally marks block 768, 1020 - 1023 as
+ * bad blocks on each boot. To avoid conflicts with the nand
+ * driver, manually skip them.
+ */
};
};
};