lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV452CQW.dts
index 1905a0865432e39b5ab6e5881c33aa678d1d0a48..57aa8646932265cd4c00b6160282b5f5df3e5adb 100644 (file)
@@ -9,11 +9,11 @@
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
 
                leds {
-                       boot = &power0;
-                       failsafe = &power1;
-                       running = &power0;
+                       boot = &power_blue;
+                       failsafe = &power_red;
+                       running = &power_blue;
 
-                       internet = &dsl;
+                       internet = &dsl_blue;
                        usb = &usb;
                        wifi = &wifi;
                };
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x10000>;
-                                       read-only;
-                               };
-
-                               partition@10000 {
-                                       label = "uboot_env";
-                                       reg = <0x10000 0x10000>;
-                                       read-only;
-                               };
-
-                               partition@20000 {
-                                       label = "firmware";
-                                       reg = <0x20000 0x3d0000>;
-                               };
-
-                               partition@3f0000 {
-                                       label = "boardconfig";
-                                       reg = <0x3f0000 0x10000>;
-                                       read-only;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x10000>;
+                                               read-only;
+                                       };
+
+                                       partition@10000 {
+                                               label = "uboot_env";
+                                               reg = <0x10000 0x10000>;
+                                               read-only;
+                                       };
+
+                                       partition@20000 {
+                                               label = "firmware";
+                                               reg = <0x20000 0x3d0000>;
+                                       };
+
+                                       partition@3f0000 {
+                                               label = "boardconfig";
+                                               reg = <0x3f0000 0x10000>;
+                                               read-only;
+                                       };
                                };
                        };
 
 
        gpio-leds {
                compatible = "gpio-leds";
-               power0: power0 {
-                       label = "power0";
+               power_blue: power0 {
+                       label = "arv452cqw:blue:power";
                        gpios = <&gpio 3 1>;
                        default-state = "keep";
                };
-               dsl: dsl {
-                       label = "dsl";
+               dsl_blue: dsl {
+                       label = "arv452cqw:blue:dsl";
                        gpios = <&gpio 4 1>;
                };
                isdn {
-                       label = "isdn";
+                       label = "arv452cqw:blue:isdn";
                        gpios = <&gpio 5 1>;
                };
-               power1: power1 {
-                       label = "power1";
+               power_red: power1 {
+                       label = "arv452cqw:red:power";
                        gpios = <&gpio 6 1>;
                };
                wps {
-                       label = "wps";
+                       label = "arv452cqw:blue:wps";
                        gpios = <&gpio 7 1>;
                };
                wps1 {
-                       label = "wps1";
+                       label = "arv452cqw:yellow:wps";
                        gpios = <&gpio 9 1>;
                };
                fxs1 {
-                       label = "fxs1";
+                       label = "arv452cqw:blue:telefon1";
                        gpios = <&gpiomm 0 1>;
                };
                fxs2 {
-                       label = "fxs2";
+                       label = "arv452cqw:blue:telefon2";
                        gpios = <&gpiomm 1 1>;
                };
                wps2 {
-                       label = "wps2";
+                       label = "arv452cqw:red:wps";
                        gpios = <&gpiomm 2 1>;
                };
                fxo {
-                       label = "fxo";
+                       label = "arv452cqw:blue:line";
                        gpios = <&gpiomm 3 1>;
                };
                voice {
-                       label = "voice";
+                       label = "arv452cqw:blue:sprache";
                        gpios = <&gpiomm 4  1>;
                };
                usb: usb {
-                       label = "usb";
+                       label = "arv452cqw:blue:usb";
                        gpios = <&gpiomm 5 1>;
                };
                wifi: wifi {
-                       label = "wifi";
+                       label = "arv452cqw:blue:wlan";
                        gpios = <&gpiomm 6 1>;
                };
+               /*
+                       internet blue and internet red are missing
+                       dsl2 and dsl3 are not referenced in manual
+               */
                dsl2 {
-                       label = "dsl2";
+                       label = "arv452cqw:yellow:dsl";
                        gpios = <&gpiomm 8 1>;
                };
                dsl3 {
-                       label = "dsl3";
+                       label = "arv452cqw:red:dsl";
                        gpios = <&gpiomm 9 1>;
                };
        };