From cd6e66d6e1c03d623212e4b812a6fbd8412c6366 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Sat, 23 May 2020 00:14:36 +0800 Subject: [PATCH] ramips:improve R6850 support --- .../dts/mt7621_netgear_sercomm_chj.dtsi | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi index 52af14723..79e3db3b9 100644 --- a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi +++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi @@ -119,12 +119,23 @@ reg = <0x0 0x100000>; read-only; }; - - partition@100000 { + + partition@1 { label = "SC PART_MAP"; reg = <0x100000 0x100000>; read-only; }; + + partition@100000 { + label = "BootEnv"; + reg = <0x100000 0x80000>; + read-only; + }; + + partition@180000 { + label = "Factory"; + reg = <0x180000 0x80000>; + }; partition@200000 { label = "kernel"; @@ -135,19 +146,30 @@ label = "ubi"; reg = <0x600000 0x2800000>; }; + + partition@2 { + label = "firmware"; + reg = <0x200000 0x2C00000>; + }; partition@2e00000 { label = "reserved0"; reg = <0x2e00000 0x1800000>; read-only; }; - + factory: partition@4600000 { label = "factory"; reg = <0x4600000 0x200000>; read-only; }; - + + partition@3 { + label = "epprom"; + reg = <0x4600000 0x80000>; + read-only; + }; + partition@4800000 { label = "reserved1"; reg = <0x4800000 0x3800000>;