ARC: HSDK: add reset for EHCI
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 13 May 2020 15:18:09 +0000 (18:18 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 13 May 2020 15:18:09 +0000 (18:18 +0300)
Add reset phandle to EHCI device tree node to make on-chip reset
controller usable with EHCI.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/dts/hsdk-common.dtsi

index 3b2ae8635d5a52e0cc0eee8d1071cacb687f6bd0..9aa10e4b25d14b395169cda57a95c1470a9ef126 100644 (file)
        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 {