aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/176-dt-sunxi-update-usb-regulator.patch
blob: 0db0f2b8f60eab62951ca98ceb8d5fd35c426d37 (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
99
100
101
102
103
104
105
106
107
108
109
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(-)

diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
index e3bfc59..315e607 100644
--- 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>;
 		};
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 48864a4..0bd2aae 100644
--- 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>;
 		};
diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts
index 4b73e3e..b255d1b 100644
--- 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>;
 		};
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index 10ea99d..144b11a 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -141,8 +141,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>;
 		};
@@ -152,8 +152,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>;
 		};
-- 
1.8.5.1