aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/176-dt-sunxi-update-usb-regulator.patch
blob: f4014bdc2c8c12ef0c4d8a072d2ab8d2b40bdb6b (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
From b0a614458fb67fdb53e1b5518dabb85d688b196e Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Tue, 17 Dec 2013 22:59:17 +0100
Subject: [PATCH] ARM: dts: sunxi: usb Vbus is 5v not 3.3v

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun4i-a10-a1000.dts       | 8 ++++----
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts  | 8 ++++----
 arch/arm/boot/dts/sun5i-a13-olinuxino.dts   | 4 ++--
 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 8 ++++----
 4 files changed, 14 insertions(+), 14 deletions(-)

--- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
+++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
@@ -147,8 +147,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb1_vbus_pin>;
 			regulator-name = "usb1-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 7 6 0>;
 		};
@@ -158,8 +158,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb2_vbus_pin>;
 			regulator-name = "usb2-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 7 3 0>;
 		};
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -158,8 +158,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb1_vbus_pin>;
 			regulator-name = "usb1-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 7 6 0>;
 		};
@@ -169,8 +169,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb2_vbus_pin>;
 			regulator-name = "usb2-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 7 3 0>;
 		};
--- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
+++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
@@ -104,8 +104,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb1_vbus_pin>;
 			regulator-name = "usb1-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 6 11 0>;
 		};
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -148,8 +148,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb1_vbus_pin>;
 			regulator-name = "usb1-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 7 6 0>;
 		};
@@ -159,8 +159,8 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&usb2_vbus_pin>;
 			regulator-name = "usb2-vbus";
-			regulator-min-microvolt = <3300000>;
-			regulator-max-microvolt = <3300000>;
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
 			enable-active-high;
 			gpio = <&pio 7 3 0>;
 		};