aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/184-5-dt-sun7i-add-ehci-cubietruck.patch
blob: 7912f2018ac8dcb72e47f79a01c673725012cafb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -ruN old/arch/arm/boot/dts/sun7i-a20-cubietruck.dts new/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
--- old/arch/arm/boot/dts/sun7i-a20-cubietruck.dts	2014-03-18 10:08:24.000000000 +0100
+++ new/arch/arm/boot/dts/sun7i-a20-cubietruck.dts	2014-03-18 10:27:25.142067751 +0100
@@ -14,12 +14,35 @@
 /dts-v1/;
 /include/ "sun7i-a20.dtsi"
 /include/ "sunxi-ahci-reg.dtsi"
+/include/ "sun4i-a10-usb-vbus-reg.dtsi"
 
 / {
 	model = "Cubietech Cubietruck";
 	compatible = "cubietech,cubietruck", "allwinner,sun7i-a20";
 
 	soc@01c00000 {
+		usbphy: phy@01c13400 {
+			usb1_vbus-supply = <&reg_usb1_vbus>;
+			usb2_vbus-supply = <&reg_usb2_vbus>;
+			status = "okay";
+		};
+
+		ehci0: usb@01c14000 {
+			status = "okay";
+		};
+
+		ohci0: usb@01c14400 {
+			status = "okay";
+		};
+
+		ehci1: usb@01c1c000 {
+			status = "okay";
+		};
+
+		ohci1: usb@01c1c400 {
+			status = "okay";
+		};
+
 		mmc0: mmc@01c0f000 {
 			pinctrl-names = "default", "default";
 			pinctrl-0 = <&mmc0_pins_a>;