ar71xx: fix USB power GPIO on the TL-WDR3500
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wr703n.c
index dcd6fec..90342e0 100644 (file)
@@ -62,6 +62,9 @@ static void __init tl_wr703n_setup(void)
        u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
        u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
 
+       /* disable PHY_SWAP and PHY_ADDR_SWAP bits */
+       ath79_setup_ar933x_phy4_switch(false, false);
+
        ath79_register_m25p80(&tl_wr703n_flash_data);
        ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wr703n_leds_gpio),
                                 tl_wr703n_leds_gpio);