lantiq: use power leds defined in DTS
[openwrt.git] / target / linux / lantiq / dts / EASY80920.dtsi
index 4aec4aa..bdd7596 100644 (file)
@@ -3,6 +3,12 @@
 / {
        chosen {
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+               leds {
+                       power = &power;
+                       usb = &usb1;
+                       usb2 = &usb2;
+               };
        };
 
        memory@0 {
@@ -34,9 +40,8 @@
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "s25fl129p0";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
-                               linux,modalias = "m25p80", "mx25l3205d";
                                spi-max-frequency = <1000000>;
 
                                partition@0 {
                                phy0: ethernet-phy@0 {
                                        reg = <0x0>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                                phy1: ethernet-phy@1 {
                                        reg = <0x1>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                                phy5: ethernet-phy@5 {
                                        reg = <0x5>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                                phy11: ethernet-phy@11 {
                                        reg = <0x11>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                                phy13: ethernet-phy@13 {
                                        reg = <0x13>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                        };
                };
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               power: power {
                        label = "power";
                        gpios = <&stp 9 0>;
                        default-state = "on";
                        label = "fxo";
                        gpios = <&stp 19 0>;
                };
-               usb1 {
+               usb1: usb1 {
                        label = "usb1";
                        gpios = <&stp 18 0>;
                };
-               usb2 {
+               usb2: usb2 {
                        label = "usb2";
                        gpios = <&stp 15 0>;
                };