|
|
|
@ -105,12 +105,12 @@ static void __init sysmocom_sob_ap2_setup(void)
|
|
|
|
|
art + SYSMOCOM_WMAC_MAC_OFFSET);
|
|
|
|
|
|
|
|
|
|
/* RJ45 port is separate WAN port / MAC, not switched with other ports */
|
|
|
|
|
ath79_setup_ar933x_phy4_switch(true, true);
|
|
|
|
|
ath79_setup_ar933x_phy4_switch(false, false);
|
|
|
|
|
ath79_init_mac(ath79_eth0_data.mac_addr, art + SYSMOCOM_MAC0_OFFSET, 0);
|
|
|
|
|
ath79_init_mac(ath79_eth1_data.mac_addr, art + SYSMOCOM_MAC1_OFFSET, 0);
|
|
|
|
|
ath79_register_mdio(0, 0x0);
|
|
|
|
|
ath79_register_eth(0);
|
|
|
|
|
ath79_register_eth(1);
|
|
|
|
|
ath79_register_eth(0);
|
|
|
|
|
|
|
|
|
|
ath79_gpio_function_enable(AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN |
|
|
|
|
|
AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN |
|
|
|
|
|