1 From bc8138b4218307a8f25076ec5c8c1eae1e5e8d78 Mon Sep 17 00:00:00 2001
2 From: arokux <arokux@gmail.com>
3 Date: Wed, 18 Sep 2013 00:30:40 +0200
4 Subject: [PATCH] ARM: sun4i: dt: Add EHCI bindings to the Mele A1000
7 arch/arm/boot/dts/sun4i-a10-a1000.dts | 46 +++++++++++++++++++++++++++++++++++
8 1 file changed, 46 insertions(+)
10 diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
11 index eb4d73b..68c705d 100644
12 --- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
13 +++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
15 allwinner,drive = <0>;
19 + usb1_vbus_pin: usb1_vbus_pin@0 {
20 + allwinner,pins = "PH6";
21 + allwinner,function = "gpio_out";
22 + allwinner,drive = <0>;
23 + allwinner,pull = <2>;
26 + usb2_vbus_pin: usb2_vbus_pin@0 {
27 + allwinner,pins = "PH3";
28 + allwinner,function = "gpio_out";
29 + allwinner,drive = <0>;
30 + allwinner,pull = <2>;
34 uart0: serial@01c28000 {
36 pinctrl-0 = <&i2c0_pins_a>;
40 + ehci0: ehci0@0x01c14000 {
41 + vbus-supply = <®_usb1_vbus>;
45 + ehci1: ehci1@0x01c1c000 {
46 + vbus-supply = <®_usb2_vbus>;
57 + reg_usb1_vbus: usb1-vbus {
58 + compatible = "regulator-fixed";
59 + pinctrl-names = "default";
60 + pinctrl-0 = <&usb1_vbus_pin>;
61 + regulator-name = "usb1-vbus";
62 + regulator-min-microvolt = <3300000>;
63 + regulator-max-microvolt = <3300000>;
65 + gpio = <&pio 7 6 0>;
68 + reg_usb2_vbus: usb2-vbus {
69 + compatible = "regulator-fixed";
70 + pinctrl-names = "default";
71 + pinctrl-0 = <&usb2_vbus_pin>;
72 + regulator-name = "usb2-vbus";
73 + regulator-min-microvolt = <3300000>;
74 + regulator-max-microvolt = <3300000>;
76 + gpio = <&pio 7 3 0>;