1 From 9a86b6c16abc11b1090fbf4e102b4eed1d474d96 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
6 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 arch/arm/boot/dts/sun4i-a10-a1000.dts | 46 +++++++++++++++++++++++++++++++++++
9 1 file changed, 46 insertions(+)
11 diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
12 index fd6d512..e3bfc59 100644
13 --- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
14 +++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
16 allwinner,drive = <0>;
20 + usb1_vbus_pin: usb1_vbus_pin@0 {
21 + allwinner,pins = "PH6";
22 + allwinner,function = "gpio_out";
23 + allwinner,drive = <0>;
24 + allwinner,pull = <2>;
27 + usb2_vbus_pin: usb2_vbus_pin@0 {
28 + allwinner,pins = "PH3";
29 + allwinner,function = "gpio_out";
30 + allwinner,drive = <0>;
31 + allwinner,pull = <2>;
35 uart0: serial@01c28000 {
37 pinctrl-0 = <&i2c0_pins_a>;
41 + ehci0: ehci0@0x01c14000 {
42 + vbus-supply = <®_usb1_vbus>;
46 + ehci1: ehci1@0x01c1c000 {
47 + vbus-supply = <®_usb2_vbus>;
58 + reg_usb1_vbus: usb1-vbus {
59 + compatible = "regulator-fixed";
60 + pinctrl-names = "default";
61 + pinctrl-0 = <&usb1_vbus_pin>;
62 + regulator-name = "usb1-vbus";
63 + regulator-min-microvolt = <3300000>;
64 + regulator-max-microvolt = <3300000>;
66 + gpio = <&pio 7 6 0>;
69 + reg_usb2_vbus: usb2-vbus {
70 + compatible = "regulator-fixed";
71 + pinctrl-names = "default";
72 + pinctrl-0 = <&usb2_vbus_pin>;
73 + regulator-name = "usb2-vbus";
74 + regulator-min-microvolt = <3300000>;
75 + regulator-max-microvolt = <3300000>;
77 + gpio = <&pio 7 3 0>;