mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-28 17:12:22 +00:00
ipq807x_v5.4/ipq50xx: When device is booting, it causes lan/wan ports bridge together
Fixes: WIFI-14849 Signed-off-by: jackcybertan <jack.tsai@cybertan.com.tw>
This commit is contained in:
committed by
John Crispin
parent
7beac05946
commit
8304f3897b
@@ -27,6 +27,7 @@ DEFAULT_PACKAGES += kmod-qca-nss-dp kmod-qca-ssdk swconfig \
|
||||
kmod-ath11k-ahb ath11k-firmware-ipq5018 \
|
||||
kmod-gpio-button-hotplug iwinfo \
|
||||
qca-ssdk-shell kmod-bootconfig \
|
||||
uboot-envtools -procd-ujail
|
||||
uboot-envtools -procd-ujail \
|
||||
kmod-mdio-qca
|
||||
|
||||
$(eval $(call BuildTarget))
|
||||
|
||||
@@ -635,7 +635,7 @@ CONFIG_MDIO_BITBANG=y
|
||||
CONFIG_MDIO_BOARDINFO=y
|
||||
# CONFIG_MDIO_BUS_MUX_MULTIPLEXER is not set
|
||||
CONFIG_MDIO_GPIO=y
|
||||
CONFIG_MDIO_QCA=y
|
||||
CONFIG_MDIO_QCA=m
|
||||
# CONFIG_MDM_GCC_9615 is not set
|
||||
# CONFIG_MDM_LCC_9615 is not set
|
||||
# CONFIG_MEMORY_HOTPLUG is not set
|
||||
|
||||
@@ -391,8 +391,8 @@
|
||||
mdio-bus = <&mdio1>;
|
||||
reset_gpio = <&tlmm 0x26 0>;
|
||||
switch_cpu_bmp = <0x40>; /* cpu port bitmap (Port 6 GMAC) */
|
||||
switch_lan_bmp = <0x3c>; /* lan port bitmap */
|
||||
switch_wan_bmp = <0x0>; /* wan port bitmap */
|
||||
switch_lan_bmp = <0x1c>; /* lan port bitmap */
|
||||
switch_wan_bmp = <0x20>; /* wan port bitmap */
|
||||
qca,ar8327-initvals = <
|
||||
0x00004 0x7600000 /* PAD0_MODE */
|
||||
0x00008 0x1000000 /* PAD5_MODE */
|
||||
|
||||
@@ -408,8 +408,8 @@
|
||||
mdio-bus = <&mdio1>;
|
||||
reset_gpio = <&tlmm 0x26 0>;
|
||||
switch_cpu_bmp = <0x40>; /* cpu port bitmap (Port 6 GMAC) */
|
||||
switch_lan_bmp = <0x3c>; /* lan port bitmap */
|
||||
switch_wan_bmp = <0x0>; /* wan port bitmap */
|
||||
switch_lan_bmp = <0x1c>; /* lan port bitmap */
|
||||
switch_wan_bmp = <0x20>; /* wan port bitmap */
|
||||
qca,ar8327-initvals = <
|
||||
0x00004 0x7600000 /* PAD0_MODE */
|
||||
0x00008 0x1000000 /* PAD5_MODE */
|
||||
|
||||
@@ -242,3 +242,17 @@ define KernelPackage/bootconfig/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,bootconfig))
|
||||
|
||||
define KernelPackage/mdio-qca
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Model for MDIO to QCA PHY connection
|
||||
KCONFIG:=CONFIG_MDIO_QCA
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/mdio-qca.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,mdio-qca)
|
||||
endef
|
||||
|
||||
define KernelPackage/mdio-qca/description
|
||||
This driver supports the MDIO interface found in Qualcomm Atheros ipq Soc chip.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,mdio-qca))
|
||||
|
||||
Reference in New Issue
Block a user