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 --- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
12 +++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
14 allwinner,drive = <0>;
18 + usb1_vbus_pin: usb1_vbus_pin@0 {
19 + allwinner,pins = "PH6";
20 + allwinner,function = "gpio_out";
21 + allwinner,drive = <0>;
22 + allwinner,pull = <2>;
25 + usb2_vbus_pin: usb2_vbus_pin@0 {
26 + allwinner,pins = "PH3";
27 + allwinner,function = "gpio_out";
28 + allwinner,drive = <0>;
29 + allwinner,pull = <2>;
33 uart0: serial@01c28000 {
35 pinctrl-0 = <&i2c0_pins_a>;
39 + ehci0: ehci0@0x01c14000 {
40 + vbus-supply = <®_usb1_vbus>;
44 + ehci1: ehci1@0x01c1c000 {
45 + vbus-supply = <®_usb2_vbus>;
56 + reg_usb1_vbus: usb1-vbus {
57 + compatible = "regulator-fixed";
58 + pinctrl-names = "default";
59 + pinctrl-0 = <&usb1_vbus_pin>;
60 + regulator-name = "usb1-vbus";
61 + regulator-min-microvolt = <3300000>;
62 + regulator-max-microvolt = <3300000>;
64 + gpio = <&pio 7 6 0>;
67 + reg_usb2_vbus: usb2-vbus {
68 + compatible = "regulator-fixed";
69 + pinctrl-names = "default";
70 + pinctrl-0 = <&usb2_vbus_pin>;
71 + regulator-name = "usb2-vbus";
72 + regulator-min-microvolt = <3300000>;
73 + regulator-max-microvolt = <3300000>;
75 + gpio = <&pio 7 3 0>;