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

Signed-off-by: Eugeniy Paltsev <eugeniy.palt...@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@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@0xf0060000 {
-- 
2.21.3

Reply via email to