zyxel_nwa130be: use LED of DTS instead of ssdk cmd

Signed-off-by: Jimmy Cheng <jimmy.cheng@zyxel.com.tw>
This commit is contained in:
Jimmy Cheng
2025-09-05 10:57:56 +08:00
committed by John Crispin
parent b5422f80e4
commit 2f625c35f0
2 changed files with 40 additions and 9 deletions

View File

@@ -9,14 +9,5 @@ boot() {
edgecore,eap105) edgecore,eap105)
ssdk_sh debug phy set 0x1 0x601FD032 0xff ssdk_sh debug phy set 0x1 0x601FD032 0xff
;; ;;
zyxel,nwa130be)
#eth0: APPE: phyaddr 4 green:2.5G orange:others
ssdk_sh debug phy set 4 0x40078074 0x670
ssdk_sh debug phy set 4 0x40078078 0x8600
#eth1: MHT: phyaddr 3 green:2.5G orange:others
ssdk_sh debug phy set 3 0x40078074 0x670
ssdk_sh debug phy set 3 0x40078078 0x8600
;;
esac esac
} }

View File

@@ -143,6 +143,26 @@
blink_en = "enable"; blink_en = "enable";
active = "high"; active = "high";
}; };
qcom,port_ledinfo {
port@1 {
port = <2>;
led_source@0 {
source = <0>;
mode = "normal";
speed = "2500M";
active = "high";
blink_en = "enable";
};
led_source@1 {
source = <1>;
mode = "normal";
speed = "10M", "100M","1000M";
active = "high";
blink_en = "enable";
};
};
};
}; };
ess-switch1@1 { ess-switch1@1 {
@@ -179,6 +199,26 @@
}; };
}; };
qcom,port_ledinfo {
port@3 {
port = <3>;
led_source@0 {
source = <0>;
mode = "normal";
speed = "2500M";
active = "high";
blink_en = "enable";
};
led_source@1 {
source = <1>;
mode = "normal";
speed = "10M", "100M","1000M";
active = "high";
blink_en = "enable";
};
};
};
led_source@2 { led_source@2 {
source = <2>; source = <2>;
mode = "normal"; mode = "normal";