Skip to content

Commit

Permalink
rk3318-box: fix usb2 functionality in u-boot, that was broken after u…
Browse files Browse the repository at this point in the history
…pdate to v2024.07
  • Loading branch information
alex3d authored and igorpecovnik committed Sep 15, 2024
1 parent 1b4e19d commit 37ba85f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -66,6 +66,10 @@ index 000000000000..111111111111
+};
+*/
+
+&usb20_otg {
+ hnp-srp-disable;
+};
+
+&sdio {
+ status="disabled";
+};
Expand Down

0 comments on commit 37ba85f

Please sign in to comment.