diff mbox series

ARC: HSDK: add reset for EHCI

Message ID 20200507105036.12141-1-Eugeniy.Paltsev@synopsys.com
State Accepted
Commit bed6481940b1b9a2f3b48afeeced550dd84e2932
Headers show
Series ARC: HSDK: add reset for EHCI | expand

Commit Message

Eugeniy Paltsev May 7, 2020, 10:50 a.m. UTC
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 mbox series

Patch

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 {