On devices TL-WR841N-v8 and MR3420v2 (AP123 platform) we have common u-boot bootloader, so the enabled JTAG (by default on TL-WR841N-v8) - and so its enabled on MR3420v2. It affects on the USB-Power control, because the One of the pins TCK(GPIO4) is not managed so far enabled JTAG. https://dev.openwrt.org/ticket/13201 thx to pepe2k
Signed-off-by: Dmytro <[email protected]> --- Index: target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c =================================================================== --- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c (revision 37080) +++ target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c (working copy) @@ -132,6 +132,9 @@ u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000); + /* Disable JTAG port, enabling GPIOs 0-3 */ + ath79_gpio_function_enable(AR934X_GPIO_FUNC_JTAG_DISABLE); + ath79_register_m25p80(&tl_wr841n_v8_flash_data); ath79_setup_ar934x_eth_cfg(AR934X_ETH_CFG_SW_PHY_SWAP); _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
