[PATCH v5 2/3] ARM: exynos5250: dts: Enabling dwc3-exynos driver

Vivek Gautam gautam.vivek at samsung.com
Fri Mar 15 19:02:13 EST 2013


Adding DWC3 device tree node for Exynos5250 needed to
parse device tree data.

Signed-off-by: Vivek Gautam <gautam.vivek at samsung.com>
---
 arch/arm/boot/dts/exynos5250.dtsi |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 5b6f8c8..e0feedb 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -398,7 +398,23 @@
 		dma-names = "tx", "rx";
 	};
 
-	usbphy at 12100000 {
+	usb at 12000000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock 286>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12000000 0x10000>;
+			interrupts = <0 72 0>;
+			usb-phy = <&usb2_phy &usb3_phy>;
+		};
+	};
+
+	usb3_phy: usbphy at 12100000 {
 		compatible = "samsung,exynos5250-usb3phy";
 		reg = <0x12100000 0x100>;
 		clocks = <&clock 1>, <&clock 286>;
@@ -430,7 +446,7 @@
 		clock-names = "usbhost";
 	};
 
-	usbphy at 12130000 {
+	usb2_phy: usbphy at 12130000 {
 		compatible = "samsung,exynos5250-usb2phy";
 		reg = <0x12130000 0x100>;
 		clocks = <&clock 1>, <&clock 285>;
-- 
1.7.6.5



More information about the devicetree-discuss mailing list