1 From 875bbd46c296e4b9ed130848bc64be5cf39669c8 Mon Sep 17 00:00:00 2001
2 From: arokux <arokux@gmail.com>
3 Date: Wed, 18 Sep 2013 22:45:06 +0200
4 Subject: [PATCH] ARM: sun4i: dt: Add EHCI bindings to Cubieboard-A10
6 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
9 arch/arm/boot/dts/sun4i-a10-cubieboard.dts
11 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 46 ++++++++++++++++++++++++++++++
12 1 file changed, 46 insertions(+)
14 --- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
15 +++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
17 allwinner,drive = <1>;
21 + usb1_vbus_pin: usb1_vbus_pin@0 {
22 + allwinner,pins = "PH6";
23 + allwinner,function = "gpio_out";
24 + allwinner,drive = <0>;
25 + allwinner,pull = <2>;
28 + usb2_vbus_pin: usb2_vbus_pin@0 {
29 + allwinner,pins = "PH3";
30 + allwinner,function = "gpio_out";
31 + allwinner,drive = <0>;
32 + allwinner,pull = <2>;
36 uart0: serial@01c28000 {
38 pinctrl-0 = <&i2c1_pins_a>;
42 + ehci0: ehci0@0x01c14000 {
43 + vbus-supply = <®_usb1_vbus>;
47 + ehci1: ehci1@0x01c1c000 {
48 + vbus-supply = <®_usb2_vbus>;
59 + reg_usb1_vbus: usb1-vbus {
60 + compatible = "regulator-fixed";
61 + pinctrl-names = "default";
62 + pinctrl-0 = <&usb1_vbus_pin>;
63 + regulator-name = "usb1-vbus";
64 + regulator-min-microvolt = <3300000>;
65 + regulator-max-microvolt = <3300000>;
67 + gpio = <&pio 7 6 0>;
70 + reg_usb2_vbus: usb2-vbus {
71 + compatible = "regulator-fixed";
72 + pinctrl-names = "default";
73 + pinctrl-0 = <&usb2_vbus_pin>;
74 + regulator-name = "usb2-vbus";
75 + regulator-min-microvolt = <3300000>;
76 + regulator-max-microvolt = <3300000>;
78 + gpio = <&pio 7 3 0>;