ipq40xx: Linksys MR8300: fix the USB port power
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Thu, 16 Feb 2023 22:04:20 +0000 (23:04 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 29 Mar 2023 20:19:27 +0000 (22:19 +0200)
commit2541ca616da8357b766130ed2f40dfc2d9e31f1c
tree7789c4cf098a69b864f710f64fa6f594d0c46bbc
parent5e69c097f74644b6733f794583bd5e143806a371
ipq40xx: Linksys MR8300: fix the USB port power

The USB port on the MR8300 randomly fails to feed bus-powered devices.

This is caused by a misconfigured pinmux. The GPIO68 should be used to
enable the USB power (active low), but it's inside the NAND pinmux.

This GPIO pin was found in the original firmware at a startup script in
both MR8300 and EA8300. Therefore apply the fix for both boards.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit ed64c3323590e3c9fa8b423bf37689023a7a101f)
Signed-off-by: Steffen Scheib <steffen@scheib.me>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-xx8300.dtsi