OSDN Git Service

ARM: dts: enable USB functionality for exynos4210-universal_c210
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 22 May 2014 17:10:59 +0000 (02:10 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 22 May 2014 17:34:12 +0000 (02:34 +0900)
This patch adds device tree nodes necessary to enable USB support on
universalc210 board, this includes UDC controller (USB gadget) as well
as EHCI and OHCI host ports. LDO3 and LDO8 regulators are switched to
always on mode until EHCI and OHCI drivers will support them correctly.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4210-universal_c210.dts

index 9296dee..5f90aed 100644 (file)
                enable-active-high;
        };
 
+       hsotg@12480000 {
+               vusb_d-supply = <&ldo3_reg>;
+               vusb_a-supply = <&ldo8_reg>;
+               status = "okay";
+       };
+
        sdhci_emmc: sdhci@12510000 {
                bus-width = <8>;
                non-removable;
                status = "okay";
        };
 
+       ehci@12580000 {
+               status = "okay";
+               port@0 {
+                       status = "okay";
+               };
+       };
+
+       ohci@12590000 {
+               status = "okay";
+               port@0 {
+                       status = "okay";
+               };
+       };
+
+       exynos-usbphy@125B0000 {
+               status = "okay";
+       };
+
        serial@13800000 {
                status = "okay";
        };
                                        regulator-name = "VUSB+MIPI_1.1V";
                                        regulator-min-microvolt = <1100000>;
                                        regulator-max-microvolt = <1100000>;
+                                       regulator-always-on;
                                };
 
                                ldo4_reg: LDO4 {
                                        regulator-name = "VUSB+VDAC_3.3V";
                                        regulator-min-microvolt = <3300000>;
                                        regulator-max-microvolt = <3300000>;
+                                       regulator-always-on;
                                };
 
                                ldo9_reg: LDO9 {