aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.14/116-dt-sun7i-add-usb-to-cubietruck.patch
blob: 529665e2401fac0e50df780abe73101fcc5cdab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -26,6 +26,20 @@
 				allwinner,drive = <0>;
 				allwinner,pull = <0>;
 			};
+
+                        usb1_vbus_pin: usb1_vbus_pin@0 {
+                                        allwinner,pins = "PH6";
+                                        allwinner,function = "gpio_out";
+                                        allwinner,drive = <0>;
+                                        allwinner,pull = <2>;
+                        };
+
+                        usb2_vbus_pin: usb2_vbus_pin@0 {
+                                        allwinner,pins = "PH3";
+                                        allwinner,function = "gpio_out";
+                                        allwinner,drive = <0>;
+                                        allwinner,pull = <2>;
+                        };
 		};
 
 		uart0: serial@01c28000 {