[openwrt/openwrt] sunxi: enable MUSB in A7 subtarget

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 13 09:37:34 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3d4867addfa1acef25f8377704d184c661fc5845

commit 3d4867addfa1acef25f8377704d184c661fc5845
Author: Zhao Yu <574249312 at qq.com>
AuthorDate: Sat Aug 28 10:26:11 2021 +0800

    sunxi: enable MUSB in A7 subtarget
    
    like commit 78c1ed6. Without this,Some USB port on H3 baseboard
    can' work. So, need enable MUSB support on this target.
    
    Signed-off-by: Zhao Yu <574249312 at qq.com>
---
 target/linux/sunxi/cortexa7/config-5.4 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/target/linux/sunxi/cortexa7/config-5.4 b/target/linux/sunxi/cortexa7/config-5.4
index 0b3697028f..2d013357c5 100644
--- a/target/linux/sunxi/cortexa7/config-5.4
+++ b/target/linux/sunxi/cortexa7/config-5.4
@@ -7,9 +7,17 @@ CONFIG_DWMAC_SUN8I=y
 # CONFIG_MACH_SUN4I is not set
 # CONFIG_MACH_SUN5I is not set
 CONFIG_MDIO_BUS_MUX=y
+CONFIG_MUSB_PIO_ONLY=y
+CONFIG_NOP_USB_XCEIV=y
 # CONFIG_PINCTRL_SUN50I_A64 is not set
 # CONFIG_PINCTRL_SUN50I_A64_R is not set
 # CONFIG_PINCTRL_SUN50I_H5 is not set
 # CONFIG_PINCTRL_SUN50I_H6 is not set
 # CONFIG_PINCTRL_SUN50I_H6_R is not set
 CONFIG_UNWINDER_ARM=y
+CONFIG_USB_MUSB_DUAL_ROLE=y
+# CONFIG_USB_MUSB_GADGET is not set
+CONFIG_USB_MUSB_HDRC=y
+# CONFIG_USB_MUSB_HOST is not set
+CONFIG_USB_MUSB_SUNXI=y
+CONFIG_USB_PHY=y



More information about the lede-commits mailing list