diff mbox

[U-Boot,v5,11/14] ARM: DTS: STiH410: rework ehci nodes

Message ID 1494432599-17924-12-git-send-email-patrice.chotard@st.com
State Not Applicable
Headers show

Commit Message

Patrice CHOTARD May 10, 2017, 4:09 p.m. UTC
From: Patrice Chotard <patrice.chotard@st.com>

Update the compatible string in order to use ehci-generic
driver instead of a STi specific one

Reverse the order of resets, due to the fact that softreset
must be deasserted first.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

v5:   _ update compatible and reset order to fit with ehci_generic driver

 arch/arm/dts/stih410.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Simon Glass May 15, 2017, 3:03 a.m. UTC | #1
On 10 May 2017 at 10:09,  <patrice.chotard@st.com> wrote:
> From: Patrice Chotard <patrice.chotard@st.com>
>
> Update the compatible string in order to use ehci-generic
> driver instead of a STi specific one
>
> Reverse the order of resets, due to the fact that softreset
> must be deasserted first.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> ---
>
> v5:   _ update compatible and reset order to fit with ehci_generic driver
>
>  arch/arm/dts/stih410.dtsi | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/arch/arm/dts/stih410.dtsi b/arch/arm/dts/stih410.dtsi
index f118a9e..9997396 100644
--- a/arch/arm/dts/stih410.dtsi
+++ b/arch/arm/dts/stih410.dtsi
@@ -98,15 +98,15 @@ 
 		};
 
 		ehci0: usb@9a03e00 {
-			compatible = "st,st-ehci-300x";
+			compatible = "generic-ehci";
 			reg = <0x9a03e00 0x100>;
 			interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_usb0>;
 			clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
 				 <&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
-			resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>,
-				 <&softreset STIH407_USB2_PORT0_SOFTRESET>;
+			resets = <&softreset STIH407_USB2_PORT0_SOFTRESET>,
+				 <&powerdown STIH407_USB2_PORT0_POWERDOWN>;
 			reset-names = "power", "softreset";
 			phys = <&usb2_picophy1>;
 			phy-names = "usb";
@@ -130,15 +130,15 @@ 
 		};
 
 		ehci1: usb@9a83e00 {
-			compatible = "st,st-ehci-300x";
+			compatible = "generic-ehci";
 			reg = <0x9a83e00 0x100>;
 			interrupts = <GIC_SPI 153 IRQ_TYPE_NONE>;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_usb1>;
 			clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>,
 				 <&clk_s_c0_flexgen CLK_RX_ICN_DISP_0>;
-			resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>,
-				 <&softreset STIH407_USB2_PORT1_SOFTRESET>;
+			resets = <&softreset STIH407_USB2_PORT1_SOFTRESET>,
+				 <&powerdown STIH407_USB2_PORT1_POWERDOWN>;
 			reset-names = "power", "softreset";
 			phys = <&usb2_picophy2>;
 			phy-names = "usb";