lantiq: move partitions into partion table node
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV752DPW.dts
index 8848c71cf78947561661a5999111121d9ecc0b92..d4b576765494d90a5c1d89c0bbfce53d603f3cc8 100644 (file)
@@ -7,6 +7,15 @@
 
        chosen {
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+               leds {
+                       boot = &power_red;
+                       failsafe = &power_blue;
+                       running = &power_red;
+
+                       internet = &internet_red;
+                       wifi = &wifi;
+               };
        };
 
        memory@0 {
                                #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 0x7d0000>;
-                               };
-
-                               partition@7f0000 {
-                                       label = "board_config";
-                                       reg = <0x7f0000 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 0x7d0000>;
+                                       };
+
+                                       partition@7f0000 {
+                                               label = "board_config";
+                                               reg = <0x7f0000 0x10000>;
+                                               read-only;
+                                       };
                                };
                        };
 
 
        gpio-leds {
                compatible = "gpio-leds";
-               power1 {
-                       label = "power1";
+               power_blue: power1 {
+                       label = "arv752dpw:blue:power";
                        gpios = <&gpio 3 1>;
                };
-               internet {
-                       label = "internet";
+               internet_red: internet {
+                       label = "arv752dpw:red:internet";
                        gpios = <&gpio 4 1>;
                };
                message {
-                       label = "message";
+                       label = "arv752dpw:red:message";
                        gpios = <&gpio 5 1>;
                };
-               power {
-                       label = "power";
+               power_red: power {
+                       label = "arv752dpw:red:power";
                        gpios = <&gpio 6 1>;
                        default-state = "keep";
                };
                voice1 {
-                       label = "voice1";
+                       label = "arv752dpw:red:voice";
                        gpios = <&gpio 8 1>;
                };
                microphone {
-                       label = "umts";
+                       label = "arv752dpw:red:umts";
                        gpios = <&gpiomm 3 1>;
                };
-               wifi {
-                       label = "wifi";
+               wifi: wifi {
+                       label = "arv752dpw:red:wifi";
                        gpios = <&gpiomm 4 1>;
                };
                fxs1 {
-                       label = "fxs1";
+                       label = "arv752dpw:green:tae-n";
                        gpios = <&gpiomm 5 1>;
                };
                fxs2 {
-                       label = "fxs2";
+                       label = "arv752dpw:green:tae-u";
                        gpios = <&gpiomm 6 1>;
                };
                fxo {
-                       label = "fxo";
+                       label = "arv752dpw:green:isdn";
                        gpios = <&gpiomm 7 1>;
                };
                internet2 {
-                       label = "internet2";
+                       label = "arv752dpw:blue:internet";
                        gpios = <&gpiomm 8 1>;
                };
                voice2 {
-                       label = "voice2";
+                       label = "arv752dpw:blue:voice";
                        gpios = <&gpiomm 9 1>;
                };
        };