From: Pawel Dembicki Date: Thu, 29 Nov 2018 20:42:35 +0000 (+0000) Subject: ramips: specify "firmware" partition format in JBOOT devices X-Git-Tag: v19.07.0-rc1~2037 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=465d57370fda8be07b3df946b7392fc435997193;p=openwrt%2Fstaging%2Fpepe2k.git ramips: specify "firmware" partition format in JBOOT devices Specify firmware partition format by compatible string. List of devices: -DWR-116-A1 -DWR-118-A2 -DWR-512-B -DWR-921-C1 -LR-25G001 Signed-off-by: Pawel Dembicki --- diff --git a/target/linux/ramips/dts/DWR-116-A1.dts b/target/linux/ramips/dts/DWR-116-A1.dts index 0ee990de66..793f9a120a 100644 --- a/target/linux/ramips/dts/DWR-116-A1.dts +++ b/target/linux/ramips/dts/DWR-116-A1.dts @@ -59,7 +59,7 @@ &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <50000000>; @@ -76,6 +76,7 @@ }; partition@10000 { + compatible = "amit,jimage"; label = "firmware"; reg = <0x10000 0x7e0000>; }; diff --git a/target/linux/ramips/dts/DWR-118-A2.dts b/target/linux/ramips/dts/DWR-118-A2.dts index d53073e25e..25c3c12320 100644 --- a/target/linux/ramips/dts/DWR-118-A2.dts +++ b/target/linux/ramips/dts/DWR-118-A2.dts @@ -106,6 +106,7 @@ }; partition@10000 { + compatible = "amit,jimage"; label = "firmware"; reg = <0x10000 0xfe0000>; }; diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts index 04fa08f0a5..d1dc97ff7e 100644 --- a/target/linux/ramips/dts/DWR-512-B.dts +++ b/target/linux/ramips/dts/DWR-512-B.dts @@ -81,7 +81,7 @@ &spi0 { status = "okay"; - mx25l6405d@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <30000000>; @@ -99,6 +99,7 @@ }; partition@10000 { + compatible = "amit,jimage"; label = "firmware"; reg = <0x10000 0x7e0000>; }; diff --git a/target/linux/ramips/dts/DWR-921-C1.dts b/target/linux/ramips/dts/DWR-921-C1.dts index c4a3373822..42687d4f0e 100644 --- a/target/linux/ramips/dts/DWR-921-C1.dts +++ b/target/linux/ramips/dts/DWR-921-C1.dts @@ -97,7 +97,7 @@ &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; @@ -114,6 +114,7 @@ }; partition@10000 { + compatible = "amit,jimage"; label = "firmware"; reg = <0x10000 0xfe0000>; }; diff --git a/target/linux/ramips/dts/LR-25G001.dts b/target/linux/ramips/dts/LR-25G001.dts index 37fe523540..2584457dfa 100644 --- a/target/linux/ramips/dts/LR-25G001.dts +++ b/target/linux/ramips/dts/LR-25G001.dts @@ -88,6 +88,7 @@ }; partition@10000 { + compatible = "amit,jimage"; label = "firmware"; reg = <0x10000 0xfe0000>; };