ramips: specify "firmware" partition format in JBOOT devices
authorPawel Dembicki <paweldembicki@gmail.com>
Thu, 29 Nov 2018 20:42:35 +0000 (20:42 +0000)
committerMathias Kresin <dev@kresin.me>
Thu, 29 Nov 2018 23:22:04 +0000 (00:22 +0100)
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>
target/linux/ramips/dts/DWR-116-A1.dts
target/linux/ramips/dts/DWR-118-A2.dts
target/linux/ramips/dts/DWR-512-B.dts
target/linux/ramips/dts/DWR-921-C1.dts
target/linux/ramips/dts/LR-25G001.dts

index 0ee990de66a22cc3f5ecb9837f3b760d35fc89d2..793f9a120a36208a42143d7f34975d7d1812c4f6 100644 (file)
@@ -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>;
                        };
index d53073e25e7dae4e6cdc6a9332ce4aede39f1427..25c3c1232056d949d45a9fdec57c9c7454c5029f 100644 (file)
                        };
 
                        partition@10000 {
+                               compatible = "amit,jimage";
                                label = "firmware";
                                reg = <0x10000 0xfe0000>;
                        };
index 04fa08f0a5b2be3d8ee71b72ef76295ca5a4652a..d1dc97ff7eef9e4166a07176440ec693e52e72fa 100644 (file)
@@ -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>;
                        };
index c4a3373822bfcb0251916a6f71f841f0b92f7c2d..42687d4f0e62b253053f571b82f5cea07c5585b8 100644 (file)
@@ -97,7 +97,7 @@
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
                        };
 
                        partition@10000 {
+                               compatible = "amit,jimage";
                                label = "firmware";
                                reg = <0x10000 0xfe0000>;
                        };
index 37fe5235409896a67bbef3580e152f6eb5b51e6c..2584457dfa649039d8a0b95b78576b117bbcef1c 100644 (file)
@@ -88,6 +88,7 @@
                        };
 
                        partition@10000 {
+                               compatible = "amit,jimage";
                                label = "firmware";
                                reg = <0x10000 0xfe0000>;
                        };