diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2018-11-29 20:42:35 +0000 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-11-30 00:22:04 +0100 |
commit | 465d57370fda8be07b3df946b7392fc435997193 (patch) | |
tree | ec1bec60cc7a61b2bd93c574eb19bd4dbf53e0db /target/linux | |
parent | b5597d5cc9b07832ca1f2b8ef7e77e096e1a00da (diff) | |
download | upstream-465d57370fda8be07b3df946b7392fc435997193.tar.gz upstream-465d57370fda8be07b3df946b7392fc435997193.tar.bz2 upstream-465d57370fda8be07b3df946b7392fc435997193.zip |
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 <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/dts/DWR-116-A1.dts | 3 | ||||
-rw-r--r-- | target/linux/ramips/dts/DWR-118-A2.dts | 1 | ||||
-rw-r--r-- | target/linux/ramips/dts/DWR-512-B.dts | 3 | ||||
-rw-r--r-- | target/linux/ramips/dts/DWR-921-C1.dts | 3 | ||||
-rw-r--r-- | target/linux/ramips/dts/LR-25G001.dts | 1 |
5 files changed, 8 insertions, 3 deletions
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>; }; |