rk3318-box: fix usb2 functionality in u-boot, that was broken after update to v2024.07

This commit is contained in:
Alex Shumsky 2024-09-13 22:53:07 +03:00 committed by Igor
parent 1b4e19dc17
commit 37ba85f956
2 changed files with 6 additions and 3 deletions

View File

@ -62,7 +62,7 @@ new file mode 100644
index 000000000000..111111111111
--- /dev/null
+++ b/configs/rk3318-box_defconfig
@@ -0,0 +1,131 @@
@@ -0,0 +1,130 @@
+CONFIG_ARM=y
+CONFIG_SKIP_LOWLEVEL_INIT=y
+CONFIG_COUNTER_FREQUENCY=24000000
@ -170,7 +170,6 @@ index 000000000000..111111111111
+CONFIG_SYSRESET=y
+# CONFIG_TPL_SYSRESET is not set
+CONFIG_USB=y
+CONFIG_DM_USB_GADGET=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_EHCI_HCD=y

View File

@ -28,7 +28,7 @@ new file mode 100644
index 000000000000..111111111111
--- /dev/null
+++ b/arch/arm/dts/rk3318-box-u-boot.dtsi
@@ -0,0 +1,58 @@
@@ -0,0 +1,62 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * (C) Copyright 2020 Armbian project (jock)
@ -66,6 +66,10 @@ index 000000000000..111111111111
+};
+*/
+
+&usb20_otg {
+ hnp-srp-disable;
+};
+
+&sdio {
+ status="disabled";
+};