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

patrice.chotard at st.com patrice.chotard at st.com
Wed May 10 16:09:56 UTC 2017


From: Patrice Chotard <patrice.chotard at 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 at 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(-)

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 at 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 at 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";
-- 
1.9.1



More information about the U-Boot mailing list