Forráskód Böngészése

ARM: dts: enable USB functionality for exynos4210-universal_c210

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>
Marek Szyprowski 11 éve
szülő
commit
45e584850d
1 módosított fájl, 26 hozzáadás és 0 törlés
  1. 26 0
      arch/arm/boot/dts/exynos4210-universal_c210.dts

+ 26 - 0
arch/arm/boot/dts/exynos4210-universal_c210.dts

@@ -68,6 +68,12 @@
 		enable-active-high;
 		enable-active-high;
 	};
 	};
 
 
+	hsotg@12480000 {
+		vusb_d-supply = <&ldo3_reg>;
+		vusb_a-supply = <&ldo8_reg>;
+		status = "okay";
+	};
+
 	sdhci_emmc: sdhci@12510000 {
 	sdhci_emmc: sdhci@12510000 {
 		bus-width = <8>;
 		bus-width = <8>;
 		non-removable;
 		non-removable;
@@ -77,6 +83,24 @@
 		status = "okay";
 		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 {
 	serial@13800000 {
 		status = "okay";
 		status = "okay";
 	};
 	};
@@ -216,6 +240,7 @@
 					regulator-name = "VUSB+MIPI_1.1V";
 					regulator-name = "VUSB+MIPI_1.1V";
 					regulator-min-microvolt = <1100000>;
 					regulator-min-microvolt = <1100000>;
 					regulator-max-microvolt = <1100000>;
 					regulator-max-microvolt = <1100000>;
+					regulator-always-on;
 				};
 				};
 
 
 				ldo4_reg: LDO4 {
 				ldo4_reg: LDO4 {
@@ -246,6 +271,7 @@
 					regulator-name = "VUSB+VDAC_3.3V";
 					regulator-name = "VUSB+VDAC_3.3V";
 					regulator-min-microvolt = <3300000>;
 					regulator-min-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
 					regulator-max-microvolt = <3300000>;
+					regulator-always-on;
 				};
 				};
 
 
 				ldo9_reg: LDO9 {
 				ldo9_reg: LDO9 {