aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
diff options
context:
space:
mode:
authorFurong Xu <xfr@outlook.com>2022-12-22 10:40:26 +0800
committerDaniel Golle <daniel@makrotopia.org>2022-12-29 03:00:31 +0000
commit8bac5dc18a139e13338956e83d8dc4948824a82f (patch)
tree29b580f3f599ae0251d3aa28ed7bd12a6888ca79 /target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
parent045baca10b157fcc57461392cf27838d147ae5bd (diff)
downloadupstream-8bac5dc18a139e13338956e83d8dc4948824a82f.tar.gz
upstream-8bac5dc18a139e13338956e83d8dc4948824a82f.tar.bz2
upstream-8bac5dc18a139e13338956e83d8dc4948824a82f.zip
mediatek: add new layout for Xiaomi Redmi Router AX6000 for OpenWrt U-Boot
This new layout is only bootable with OpenWrt U-Boot. It reuses the two crash partions and expands the ubi partion to the end of whole flash. Do not use this layout with stock U-Boot! Signed-off-by: Furong Xu <xfr@outlook.com>
Diffstat (limited to 'target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi')
-rw-r--r--target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi18
1 files changed, 1 insertions, 17 deletions
diff --git a/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi b/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
index 1a80649721..cd74fbec74 100644
--- a/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
+++ b/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
@@ -127,16 +127,12 @@
pinctrl-0 = <&spi_flash_pins>;
status = "okay";
- flash@0 {
+ spi_nand_flash: flash@0 {
compatible = "spi-nand";
#address-cells = <1>;
#size-cells = <1>;
reg = <0>;
- mediatek,nmbm;
- mediatek,bmt-max-ratio = <1>;
- mediatek,bmt-max-reserved-blocks = <64>;
-
spi-max-frequency = <20000000>;
spi-tx-buswidth = <4>;
spi-rx-buswidth = <4>;
@@ -181,18 +177,6 @@
reg = <0x380000 0x200000>;
read-only;
};
-
- partition@580000 {
- label = "crash";
- reg = <0x580000 0x40000>;
- read-only;
- };
-
- partition@5c0000 {
- label = "crash_log";
- reg = <0x5c0000 0x40000>;
- read-only;
- };
};
};
};