aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2022-11-23 17:12:29 +0900
committerChuanhong Guo <gch981213@gmail.com>2022-12-30 16:12:15 +0800
commitef4e1ae18db2c64c2bd0146913fe1560536f9b26 (patch)
tree2871f485351f62f06f7bfbce4e82d7bc29cc0b96 /target/linux
parentd29dbf052a1d34d7891b67177e1739db5d5af0bb (diff)
downloadupstream-ef4e1ae18db2c64c2bd0146913fe1560536f9b26.tar.gz
upstream-ef4e1ae18db2c64c2bd0146913fe1560536f9b26.tar.bz2
upstream-ef4e1ae18db2c64c2bd0146913fe1560536f9b26.zip
ramips: enable BBT on NAND in I-O DATA devices
This patch enables MediaTek NAND BBT on I-O DATA devices manufactured by MSTC (MitraStar Technology Corp.). [WN-AX2033GR] Tested-by: Yanase Yuki <dev@zpc.sakura.ne.jp> [WN-AX1167GR2, WN-DX1167R, WN-DX1200GR, WN-DX2033GR] Tested-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts5
-rw-r--r--target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi5
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts
index 4837f29a46..653132bc61 100644
--- a/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts
+++ b/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts
@@ -58,6 +58,11 @@
&nand {
status = "okay";
+ mediatek,bbt;
+ mediatek,bmt-remap-range =
+ <0x0000000 0x0800000>,
+ <0x3600000 0x4980000>;
+
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi b/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi
index 89e7f4b3e9..4b42fcb7de 100644
--- a/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi
+++ b/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi
@@ -55,6 +55,11 @@
&nand {
status = "okay";
+ mediatek,bbt;
+ mediatek,bmt-remap-range =
+ <0x0000000 0x0800000>,
+ <0x3600000 0x4980000>;
+
partitions: partitions {
compatible = "fixed-partitions";
#address-cells = <1>;