diff mbox

[OpenWrt-Devel] lantiq: VG3503J - use the same PHY led functionality as the OEM firmware

Message ID 1462019170-16691-1-git-send-email-openwrt@kresin.me
State Accepted
Headers show

Commit Message

Mathias Kresin April 30, 2016, 12:26 p.m. UTC
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>
---
 target/linux/lantiq/dts/VG3503J.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff mbox

Patch

diff --git a/target/linux/lantiq/dts/VG3503J.dtsi b/target/linux/lantiq/dts/VG3503J.dtsi
index 780d838..62a336c 100644
--- a/target/linux/lantiq/dts/VG3503J.dtsi
+++ b/target/linux/lantiq/dts/VG3503J.dtsi
@@ -153,18 +153,18 @@ 
 		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>;
 		};
 	};
 };