From bed6481940b1b9a2f3b48afeeced550dd84e2932 Mon Sep 17 00:00:00 2001 From: Eugeniy Paltsev Date: Wed, 13 May 2020 18:18:09 +0300 Subject: [PATCH] ARC: HSDK: add reset for EHCI Add reset phandle to EHCI device tree node to make on-chip reset controller usable with EHCI. Signed-off-by: Eugeniy Paltsev Signed-off-by: Alexey Brodkin --- 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 3b2ae86..9aa10e4 100644 --- a/arch/arc/dts/hsdk-common.dtsi +++ b/arch/arc/dts/hsdk-common.dtsi @@ -87,6 +87,13 @@ ehci@f0040000 { 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@f0060000 { -- 2.7.4