1 From 90cab9a5e7c43bfbda25dd114a838f4e4b50b6ff Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Tue, 17 Dec 2013 23:04:57 +0100
4 Subject: [PATCH] ARM: dts: sun7i: Add ehci nodes to cubietruck dts
6 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 46 ++++++++++++++++++++++++++++++
9 1 file changed, 46 insertions(+)
11 diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
12 index a5f3418..c8b3ea9 100644
13 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
14 +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
19 + ehci0: ehci0@0x01c14000 {
20 + vbus-supply = <®_usb1_vbus>;
25 pwr-supply = <®_ahci_5v>;
29 + ehci1: ehci1@0x01c1c000 {
30 + vbus-supply = <®_usb2_vbus>;
35 mmc0_cd_pin_cubietruck: mmc0_cd_pin@0 {
36 allwinner,pins = "PH1";
38 allwinner,drive = <0>;
42 + usb1_vbus_pin: usb1_vbus_pin@0 {
43 + allwinner,pins = "PH6";
44 + allwinner,function = "gpio_out";
45 + allwinner,drive = <0>;
46 + allwinner,pull = <2>;
49 + usb2_vbus_pin: usb2_vbus_pin@0 {
50 + allwinner,pins = "PH3";
51 + allwinner,function = "gpio_out";
52 + allwinner,drive = <0>;
53 + allwinner,pull = <2>;
57 uart0: serial@01c28000 {
63 + reg_usb1_vbus: usb1-vbus {
64 + compatible = "regulator-fixed";
65 + pinctrl-names = "default";
66 + pinctrl-0 = <&usb1_vbus_pin>;
67 + regulator-name = "usb1-vbus";
68 + regulator-min-microvolt = <5000000>;
69 + regulator-max-microvolt = <5000000>;
71 + gpio = <&pio 7 6 0>;
74 + reg_usb2_vbus: usb2-vbus {
75 + compatible = "regulator-fixed";
76 + pinctrl-names = "default";
77 + pinctrl-0 = <&usb2_vbus_pin>;
78 + regulator-name = "usb2-vbus";
79 + regulator-min-microvolt = <5000000>;
80 + regulator-max-microvolt = <5000000>;
82 + gpio = <&pio 7 3 0>;