[PATCH v2 5/5] arm: dts: ls1021a: enable chipidea driver and USB 2.0 PHY driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This patch adds entries in dts to enable chipidea platform driver
and USB 2.0 PHY driver.

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@xxxxxxx>
---
Changes in v2:
 - Reworked for latest changes

 arch/arm/boot/dts/ls1021a.dtsi | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 5ae8e92..bbba1ba 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -612,10 +612,23 @@
 			};
 		};
 
+		usbphy0: usbphy@8600000 {
+			compatible = "fsl,qoriq-usb2-phy",
+				     "fsl,qoriq-usb2-phy-v1.0";
+			reg = <0x0 0x8600000 0x0 0x1000>;
+			#phy-cells = <0>;
+			phy_type = "ulpi";
+		};
+
 		usb@8600000 {
-			compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
+			compatible =  "fsl,ci-qoriq-usb2",
+				      "fsl,ci-qoriq-usb2-v2.5";
 			reg = <0x0 0x8600000 0x0 0x1000>;
 			interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
+			phy-names = "usb2-phy";
+			phys = <&usbphy0>;
+			clock-names = "usb2-clock";
+			clocks = <&platform_clk 1>;
 			dr_mode = "host";
 			phy_type = "ulpi";
 		};
-- 
2.6.2.198.g614a2ac

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux