ramips: unify partition node names in dts files
authorMathias Kresin <dev@kresin.me>
Fri, 3 Aug 2018 18:14:49 +0000 (20:14 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:44 +0000 (17:47 +0100)
Use partition@ as name for all partition nodes. Add a label where
necessary.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from 6dd94c2781b79ffd20f1a57a48fa2314d67ee190)

target/linux/ramips/dts/AR670W.dts
target/linux/ramips/dts/AR725W.dts
target/linux/ramips/dts/K2G.dts

index cc15317b8534642285cb58efe2e32476552a9bc8..9e12ffc374eb13abaf49ee0fd3986442df8c8759 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
-               u-boot@0 {
+               partition@0 {
                        reg = <0x0 0x30000>;
                        label = "u-boot";
                        read-only;
                };
 
-               factory: factory@30000 {
+               factory: partition@30000 {
                        reg = <0x30000 0x10000>;
                        label = "factory";
                        read-only;
                };
 
-               firmware@40000 {
+               partition@40000 {
                        reg = <0x40000 0x3c0000>;
                        label = "firmware";
                };
index 3c459aa2fcd380e7781119548af41c29849fc1f8..52b1520418de468b68b4bdad247d58e41c7c2fb6 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
-               u-boot@0 {
+               partition@0 {
                        reg = <0x0 0x30000>;
                        label = "u-boot";
                        read-only;
                };
 
-               u-boot-env@30000 {
+               partition@30000 {
                        reg = <0x30000 0x10000>;
                        label = "u-boot-env";
                };
 
-               factory: factory@40000 {
+               factory: partition@40000 {
                        reg = <0x40000 0x10000>;
                        label = "factory";
                        read-only;
                };
 
-               firmware@50000 {
+               partition@50000 {
                        reg = <0x50000 0x3B0000>;
                        label = "firmware";
                };
index bd5d960fef3da8c8034003896c7bc012d084772a..891b089980e24bceb064282b8837a16434599d2f 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
 
-                       u-boot@0 {
+                       partition@0 {
                                reg = <0x0 0x30000>;
+                               label = "u-boot";
                                read-only;
                        };
 
-                       u-boot-env@30000 {
+                       partition@30000 {
                                reg = <0x30000 0x10000>;
+                               label = "u-boot-env";
                                read-only;
                        };
 
-                       factory: factory@40000 {
+                       factory: partition@40000 {
                                reg = <0x40000 0x10000>;
+                               label = "factory";
                                read-only;
                        };
 
-                       permanent_config@50000 {
+                       partition@50000 {
                                reg = <0x50000 0x50000>;
+                               label = "permanent_config";
                                read-only;
                        };
 
-                       firmware@a0000 {
+                       partition@a0000 {
                                reg = <0xa0000 0x760000>;
+                               label = "firmware";
                        };
                };
        };