mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
qca-wifi-7/ipq53xx: consolidate phy_quirk handling
Fixes: WIFI-14680 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -19,15 +19,6 @@ sonicfi,rap750e-s|\
|
|||||||
sonicfi,rap750w-311a)
|
sonicfi,rap750w-311a)
|
||||||
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
||||||
;;
|
;;
|
||||||
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
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|||||||
22
feeds/qca-wifi-7/ipq53xx/base-files/etc/init.d/phy_quirks
Executable file
22
feeds/qca-wifi-7/ipq53xx/base-files/etc/init.d/phy_quirks
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
|
START=99
|
||||||
|
|
||||||
|
boot() {
|
||||||
|
. /lib/functions.sh
|
||||||
|
|
||||||
|
case "$(board_name)" in
|
||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user