build/patch/u-boot/v2023.10/board_odroidm1/0002-board-rockchip-ODROID-M1-override-kernel-DT-for-xhci-otg-dr_mode.patch

26 lines
696 B
Diff

From 1b476772c1e8559e8acc0f50361e90ee0e8355fa Mon Sep 17 00:00:00 2001
From: Ricardo Pardini <ricardo@pardini.net>
Date: Fri, 18 Aug 2023 00:22:23 +0200
Subject: [PATCH 2/4] board: rockchip: ODROID-M1: override kernel DT for xhci
otg dr_mode
---
arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi b/arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi
index 0fc360b06df..b4dec9d7a60 100644
--- a/arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi
+++ b/arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi
@@ -35,3 +35,7 @@
clock-frequency = <24000000>;
status = "okay";
};
+
+&usb_host0_xhci {
+ dr_mode = "otg";
+};
--
2.41.0