ARM: dts: Enable support for DWC3 controller for exynos5420
authorVivek Gautam <gautam.vivek@samsung.com>
Thu, 15 May 2014 21:38:01 +0000 (06:38 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 May 2014 14:13:53 +0000 (23:13 +0900)
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>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5420.dtsi

index 31d99b0a20226308da12b214c7162884d9ed73ef..677a4e64620d5976e4c8cf90b29309f74286c289 100644 (file)
                samsung,power-domain = <&g2d_pd>;
        };
 
+       usbdrd3_0: usb@12000000 {
+               compatible = "samsung,exynos5250-dwusb3";
+               clocks = <&clock CLK_USBD300>;
+               clock-names = "usbdrd30";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               dwc3 {
+                       compatible = "snps,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>;
                #phy-cells = <1>;
        };
 
+       usbdrd3_1: usb@12400000 {
+               compatible = "samsung,exynos5250-dwusb3";
+               clocks = <&clock CLK_USBD301>;
+               clock-names = "usbdrd30";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               dwc3 {
+                       compatible = "snps,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>;