1 From 8ba068f40cce9612d2ac0879b6978274ab497d31 Mon Sep 17 00:00:00 2001
2 From: arokux <arokux@gmail.com>
3 Date: Thu, 19 Sep 2013 21:29:45 +0200
4 Subject: [PATCH] ARM: sun7i: dt: Add USB EHCI bindings for Cubieboard2
6 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
9 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
11 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 45 +++++++++++++++++++++++++++++
12 1 file changed, 45 insertions(+)
14 diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
15 index a26711c..10ea99d 100644
16 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
17 +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
19 allwinner,drive = <0>;
23 + usb1_vbus_pin: usb1_vbus_pin@0 {
24 + allwinner,pins = "PH6";
25 + allwinner,function = "gpio_out";
26 + allwinner,drive = <0>;
27 + allwinner,pull = <2>;
30 + usb2_vbus_pin: usb2_vbus_pin@0 {
31 + allwinner,pins = "PH3";
32 + allwinner,function = "gpio_out";
33 + allwinner,drive = <0>;
34 + allwinner,pull = <2>;
38 uart0: serial@01c28000 {
41 pinctrl-names = "default";
42 pinctrl-0 = <&i2c1_pins_a>;
45 + ehci0: ehci0@0x01c14000 {
46 + vbus-supply = <®_usb1_vbus>;
50 + ehci1: ehci1@0x01c1c000 {
51 + vbus-supply = <®_usb2_vbus>;
60 + reg_usb1_vbus: usb1-vbus {
61 + compatible = "regulator-fixed";
62 + pinctrl-names = "default";
63 + pinctrl-0 = <&usb1_vbus_pin>;
64 + regulator-name = "usb1-vbus";
65 + regulator-min-microvolt = <3300000>;
66 + regulator-max-microvolt = <3300000>;
68 + gpio = <&pio 7 6 0>;
71 + reg_usb2_vbus: usb2-vbus {
72 + compatible = "regulator-fixed";
73 + pinctrl-names = "default";
74 + pinctrl-0 = <&usb2_vbus_pin>;
75 + regulator-name = "usb2-vbus";
76 + regulator-min-microvolt = <3300000>;
77 + regulator-max-microvolt = <3300000>;
79 + gpio = <&pio 7 3 0>;