diff mbox

[V4,3/5] dt: exynos5420: Enable support for DWC3 controller

Message ID 1396967803-28868-4-git-send-email-gautam.vivek@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vivek Gautam April 8, 2014, 2:36 p.m. UTC
Add device tree nodes for DWC3 controller present on
Exynos 5420 SoC, to enable support for USB 3.0.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
---
 arch/arm/boot/dts/exynos5420.dtsi |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Comments

Tomasz Figa April 9, 2014, 11:11 a.m. UTC | #1
On 08.04.2014 16:36, Vivek Gautam wrote:
> Add device tree nodes for DWC3 controller present on
> Exynos 5420 SoC, to enable support for USB 3.0.
>
> Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
> ---
>   arch/arm/boot/dts/exynos5420.dtsi |   34 ++++++++++++++++++++++++++++++++++
>   1 file changed, 34 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index a6efb52..20c2d0b 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -653,6 +653,23 @@
>   		clock-names = "tmu_apbif", "tmu_triminfo_apbif";
>   	};
>
> +	usb@12000000 {
> +		compatible = "samsung,exynos5250-dwusb3";
> +		clocks = <&clock 366>;
> +		clock-names = "usbdrd30";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		dwc3 {
> +			compatible = "synopsys,dwc3";
> +			reg = <0x12000000 0x10000>;
> +			interrupts = <0 72 0>;
> +			phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>;
> +			phy-names = "usb2-phy", "usb3-phy";
> +		};
> +	};
> +
>   	usbdrd_phy0: phy@12100000 {
>   		compatible = "samsung,exynos5420-usbdrd-phy";
>   		reg = <0x12100000 0x100>;
> @@ -663,6 +680,23 @@
>   		#phy-cells = <1>;
>   	};
>
> +	usb@12400000 {
> +		compatible = "samsung,exynos5250-dwusb3";
> +		clocks = <&clock 367>;
> +		clock-names = "usbdrd30";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		dwc3 {
> +			compatible = "synopsys,dwc3";
> +			reg = <0x12400000 0x10000>;
> +			interrupts = <0 73 0>;
> +			phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>;
> +			phy-names = "usb2-phy", "usb3-phy";
> +		};
> +	};
> +
>   	usbdrd_phy1: phy@12500000 {
>   		compatible = "samsung,exynos5420-usbdrd-phy";
>   		reg = <0x12500000 0x100>;
>

Reviewed-by: Tomasz Figa <t.figa@samsung.com>

--
Best regards,
Tomasz
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index a6efb52..20c2d0b 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -653,6 +653,23 @@ 
 		clock-names = "tmu_apbif", "tmu_triminfo_apbif";
 	};
 
+	usb@12000000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock 366>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12000000 0x10000>;
+			interrupts = <0 72 0>;
+			phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>;
+			phy-names = "usb2-phy", "usb3-phy";
+		};
+	};
+
 	usbdrd_phy0: phy@12100000 {
 		compatible = "samsung,exynos5420-usbdrd-phy";
 		reg = <0x12100000 0x100>;
@@ -663,6 +680,23 @@ 
 		#phy-cells = <1>;
 	};
 
+	usb@12400000 {
+		compatible = "samsung,exynos5250-dwusb3";
+		clocks = <&clock 367>;
+		clock-names = "usbdrd30";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		dwc3 {
+			compatible = "synopsys,dwc3";
+			reg = <0x12400000 0x10000>;
+			interrupts = <0 73 0>;
+			phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>;
+			phy-names = "usb2-phy", "usb3-phy";
+		};
+	};
+
 	usbdrd_phy1: phy@12500000 {
 		compatible = "samsung,exynos5420-usbdrd-phy";
 		reg = <0x12500000 0x100>;