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 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
12 +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
17 + ehci0: ehci0@0x01c14000 {
18 + vbus-supply = <®_usb1_vbus>;
23 pwr-supply = <®_ahci_5v>;
27 + ehci1: ehci1@0x01c1c000 {
28 + vbus-supply = <®_usb2_vbus>;
33 mmc0_cd_pin_cubietruck: mmc0_cd_pin@0 {
34 allwinner,pins = "PH1";
36 allwinner,drive = <0>;
40 + usb1_vbus_pin: usb1_vbus_pin@0 {
41 + allwinner,pins = "PH6";
42 + allwinner,function = "gpio_out";
43 + allwinner,drive = <0>;
44 + allwinner,pull = <2>;
47 + usb2_vbus_pin: usb2_vbus_pin@0 {
48 + allwinner,pins = "PH3";
49 + allwinner,function = "gpio_out";
50 + allwinner,drive = <0>;
51 + allwinner,pull = <2>;
55 uart0: serial@01c28000 {
61 + reg_usb1_vbus: usb1-vbus {
62 + compatible = "regulator-fixed";
63 + pinctrl-names = "default";
64 + pinctrl-0 = <&usb1_vbus_pin>;
65 + regulator-name = "usb1-vbus";
66 + regulator-min-microvolt = <5000000>;
67 + regulator-max-microvolt = <5000000>;
69 + gpio = <&pio 7 6 0>;
72 + reg_usb2_vbus: usb2-vbus {
73 + compatible = "regulator-fixed";
74 + pinctrl-names = "default";
75 + pinctrl-0 = <&usb2_vbus_pin>;
76 + regulator-name = "usb2-vbus";
77 + regulator-min-microvolt = <5000000>;
78 + regulator-max-microvolt = <5000000>;
80 + gpio = <&pio 7 3 0>;