From ce1ada5d1e05e9aa9b9f28b57644d153ef86e77d Mon Sep 17 00:00:00 2001 From: leeboby Date: Mon, 30 Nov 2020 09:38:58 +0800 Subject: [PATCH] In the legacy branch, set usbc0 port type of orangepioneplus to host --- .../pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts | 2 +- .../sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/packages/pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts b/external/packages/pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts index edc218f..7f7c65d 100644 --- a/external/packages/pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts +++ b/external/packages/pack-uboot/sun50iw6/bin/dts/orangepioneplus-u-boot.dts @@ -2553,7 +2553,7 @@ usbc0@0 { device_type = "usbc0"; compatible = "allwinner,sunxi-otg-manager"; - usb_port_type = <0x0>; + usb_port_type = <0x1>; usb_detect_type = <0x1>; usb_host_init_state = <0x1>; usb_regulator_io = "nocare"; diff --git a/external/packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex b/external/packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex index 3ef7eef..c3263e1 100755 --- a/external/packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex +++ b/external/packages/pack-uboot/sun50iw6/bin/sys_config/sys_config_orangepioneplus.fex @@ -1155,7 +1155,7 @@ standby_led_light = 1 ;-------------------------------- [usbc0] usbc0_used = 1 -usb_port_type = 0 +usb_port_type = 1 usb_detect_type = 1 usb_detect_mode = 0 usb_id_gpio =