|
发表于 2019-4-17 17:21:17
只看该作者
5#
解决了,由于的我硬件上没有usb302 芯片,修改dts如下:
--- a/kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-aioc-ai.dtsi
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-aioc-ai.dtsi
@@ -188,21 +188,21 @@
&u2phy0 {
status = "okay";
/delete-property/ extcon;
-
+/*
u2phy0_otg: otg-port {
rockchip,vbus-always-on;
vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
status = "okay";
- };
+ };*/
};
&usbdrd3_0 {
+ extcon = <&u2phy0>;
status = "okay";
- /delete-property/ extcon;
};
&usbdrd_dwc3_0 {
- dr_mode = "host";
+ dr_mode = "otg";
};
供参考 |
|