lantiq: use the etop driver DT bindings only
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4520PW.dts
index 642bde22fe0a8d0c85822b881283b818e3785348..a7d529bc63086c02aeaeaca667cd7bb6870e25f4 100644 (file)
@@ -9,10 +9,12 @@
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
 
                leds {
-                       dsl = &adsl;
-                       internet = &internet;
-                       power = &power;
-                       power2 = &power2;
+                       boot = &power_blue;
+                       failsafe = &power_red;
+                       running = &power_blue;
+
+                       dsl = &dsl;
+                       internet = &internet_blue;
                        usb = &usb;
                        wifi = &wifi;
                };
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
-                                       label = "uboot";
-                                       reg = <0x00000 0x20000>;
-                                       read-only;
-                               };
-
-                               partition@20000 {
-                                       label = "uboot_env";
-                                       reg = <0x20000 0x10000>;
-                                       read-only;
-                               };
-
-                               partition@30000 {
-                                       label = "firmware";
-                                       reg = <0x30000 0x3c0000>;
-                               };
-
-                               partition@7f0000 {
-                                       label = "boardconfig";
-                                       reg = <0x3f0000 0x10000>;
-                                       read-only;
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               label = "uboot";
+                                               reg = <0x00000 0x20000>;
+                                               read-only;
+                                       };
+
+                                       partition@20000 {
+                                               label = "uboot_env";
+                                               reg = <0x20000 0x10000>;
+                                               read-only;
+                                       };
+
+                                       partition@30000 {
+                                               label = "firmware";
+                                               reg = <0x30000 0x3c0000>;
+                                       };
+
+                                       boardconfig: partition@7f0000 {
+                                               label = "boardconfig";
+                                               reg = <0x3f0000 0x10000>;
+                                               read-only;
+                                       };
                                };
                        };
 
-                       mac_addr {
-                               compatible = "lantiq,eth-mac";
-                               reg = <0 0x3f0016 0x6>;
-                               mac-increment = <2>;
-                       };
-
                        gpiomm: gpiomm@4000000 {
                                compatible = "lantiq,gpio-mm";
                                reg = <1 0x0 0x10 >;
 
                etop@E180000 {
                        phy-mode = "rmii";
+                       mtd-mac-address = <&boardconfig 0x16>;
                };
 
                ifxhcd@E101000 {
        gpio-leds {
                compatible = "gpio-leds";
 
-               power: power {
-                       label = "power";
+               power_blue: power {
+                       label = "arv4520pw:blue:power";
                        gpios = <&gpio 3 1>;
+                       default-state = "keep";
                };
-               adsl: adsl {
-                       label = "adsl";
+               dsl: dsl {
+                       label = "arv4520pw:blue:dsl";
                        gpios = <&gpio 4 1>;
                };
-               internet: internet {
-                       label = "internet";
+               internet_blue: internet {
+                       label = "arv4520pw:blue:internet";
                        gpios = <&gpio 5 1>;
                };
-               power2: power2 {
-                       label = "power2";
+               power_red: power2 {
+                       label = "arv4520pw:red:power";
                        gpios = <&gpio 6 1>;
                };
                wps {
-                       label = "wps";
+                       label = "arv4520pw:yellow:wps";
                        gpios = <&gpio 7 1>;
                };
                wps2 {
-                       label = "wps2";
+                       label = "arv4520pw:red:wps";
                        gpios = <&gpio 9 1>;
                };
+               /*
+                       wps green is missing
+               */
                fxs1 {
-                       label = "fxs1";
+                       label = "arv4520pw:blue:telefon1";
                        gpios = <&gpiomm 0 1>;
                };
                fxs2 {
-                       label = "fxs2";
+                       label = "arv4520pw:blue:telefon2";
                        gpios = <&gpiomm 1 1>;
                };
                isdn {
-                       label = "isdn";
+                       label = "arv4520pw:blue:isdn";
                        gpios = <&gpiomm 2 1>;
                };
                fxo {
-                       label = "fxo";
+                       label = "arv4520pw:blue:line";
                        gpios = <&gpiomm 3 1>;
                };
                voice {
-                       label = "voice";
+                       label = "arv4520pw:blue:sprache";
                        gpios = <&gpiomm 4 1>;
                };
                usb: usb {
-                       label = "usb";
+                       label = "arv4520pw:blue:usb";
                        gpios = <&gpiomm 5 1>;
                };
                wifi: wifi {
-                       label = "wifi";
+                       label = "arv4520pw:blue:wifi";
                        gpios = <&gpiomm 6 1>;
                };
                internet2 {
-                       label = "internet2";
+                       label = "arv4520pw:red:internet";
                        gpios = <&gpiomm 9 1>;
                };
+               /*
+                       info is missing
+               */
        };
 };