mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-28 17:12:22 +00:00
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:
committed by
John Crispin
parent
b5422f80e4
commit
2f625c35f0
@@ -9,14 +9,5 @@ boot() {
|
||||
edgecore,eap105)
|
||||
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
|
||||
}
|
||||
|
||||
@@ -143,6 +143,26 @@
|
||||
blink_en = "enable";
|
||||
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 {
|
||||
@@ -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 {
|
||||
source = <2>;
|
||||
mode = "normal";
|
||||
|
||||
Reference in New Issue
Block a user