[PATCH] ARC: HSDK: add reset for EHCI

Eugeniy Paltsev Eugeniy.Paltsev at synopsys.com
Thu May 7 12:50:36 CEST 2020


Add reset phandle to EHCI device tree node to make on-chip reset
controller usable with EHCI.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
---
 arch/arc/dts/hsdk-common.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arc/dts/hsdk-common.dtsi b/arch/arc/dts/hsdk-common.dtsi
index fd4245e1646..ea6cc468f83 100644
--- a/arch/arc/dts/hsdk-common.dtsi
+++ b/arch/arc/dts/hsdk-common.dtsi
@@ -87,6 +87,13 @@
 	ehci at 0xf0040000 {
 		compatible = "generic-ehci";
 		reg = <0xf0040000 0x100>;
+
+		/*
+		 * OHCI and EHCI have reset line shared so we don't add
+		 * reset property to OHCI node as it is probed later and
+		 * it will reset sucessfuly probed and configured EHCI HW.
+		 */
+		resets = <&cgu_rst HSDK_USB_RESET>;
 	};
 
 	ohci at 0xf0060000 {
-- 
2.21.3



More information about the U-Boot mailing list