lantiq: VG3503J - use the same PHY led functionality as the OEM firmware
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 May 2016 18:50:06 +0000 (18:50 +0000)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 May 2016 08:43:12 +0000 (10:43 +0200)
Based on the vg3503j_gphy_led.sh script published in the VG3503J wiki
article, the OEM Firmware uses the following PHY led functionality:

    gphy led 0: LINK/ACTIVITY
    gphy led 1: LINK
    gphy led 2: ACTIVITY

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49278

target/linux/lantiq/dts/VG3503J.dtsi

index 780d8382069b8e652b6ea92f7a77ed458b948279..62a336c49710f1095402e175d7ae449cfe66fba0 100644 (file)
                phy11: ethernet-phy@11 {
                        reg = <0x11>;
                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                       lantiq,led0h = <0x42>;
-                       lantiq,led0l = <0x10>;
-                       lantiq,led2h = <0x20>;
-                       lantiq,led2l = <0x00>;
+                       lantiq,led1h = <0x70>;
+                       lantiq,led1l = <0x00>;
+                       lantiq,led2h = <0x00>;
+                       lantiq,led2l = <0x03>;
                };
                phy13: ethernet-phy@13 {
                        reg = <0x13>;
                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                       lantiq,led0h = <0x42>;
-                       lantiq,led0l = <0x10>;
-                       lantiq,led2h = <0x20>;
-                       lantiq,led2l = <0x00>;
+                       lantiq,led1h = <0x70>;
+                       lantiq,led1l = <0x00>;
+                       lantiq,led2h = <0x00>;
+                       lantiq,led2l = <0x03>;
                };
        };
 };