diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-13 04:31:48 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-23 10:53:41 -0500 |
commit | fad1d5531dd62c61a7a250674931fcc758f0c569 (patch) | |
tree | 24a8b43ff1204b5d27d5382107925e189bc07c07 | |
parent | 7c7621ebef2da302062c064bfd2872c9c591a8d3 (diff) |
ARM: dts: sun6i: Add EHCI support for the M9 board
The Mele M9 / A1000G quad uses both usb-ports, one goes to an internal
usb wifi card, the other to a build-in usb-hub, so neither need their
OHCI companion controller to be enabled since the are always connected at
USB-2 speeds.
The controller which is attached to the wifi also does not need a vbus
regulator.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31-m9.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index c887be6cea3d..e81eed328c82 100644 --- a/arch/arm/boot/dts/sun6i-a31-m9.dts +++ b/arch/arm/boot/dts/sun6i-a31-m9.dts | |||
@@ -68,6 +68,19 @@ | |||
68 | status = "okay"; | 68 | status = "okay"; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | usbphy: phy@01c19400 { | ||
72 | usb1_vbus-supply = <®_usb1_vbus>; | ||
73 | status = "okay"; | ||
74 | }; | ||
75 | |||
76 | ehci0: usb@01c1a000 { | ||
77 | status = "okay"; | ||
78 | }; | ||
79 | |||
80 | ehci1: usb@01c1b000 { | ||
81 | status = "okay"; | ||
82 | }; | ||
83 | |||
71 | pio: pinctrl@01c20800 { | 84 | pio: pinctrl@01c20800 { |
72 | mmc0_cd_pin_m9: mmc0_cd_pin@0 { | 85 | mmc0_cd_pin_m9: mmc0_cd_pin@0 { |
73 | allwinner,pins = "PH22"; | 86 | allwinner,pins = "PH22"; |
@@ -75,6 +88,13 @@ | |||
75 | allwinner,drive = <0>; | 88 | allwinner,drive = <0>; |
76 | allwinner,pull = <1>; | 89 | allwinner,pull = <1>; |
77 | }; | 90 | }; |
91 | |||
92 | usb1_vbus_pin_m9: usb1_vbus_pin@0 { | ||
93 | allwinner,pins = "PC27"; | ||
94 | allwinner,function = "gpio_out"; | ||
95 | allwinner,drive = <0>; | ||
96 | allwinner,pull = <0>; | ||
97 | }; | ||
78 | }; | 98 | }; |
79 | 99 | ||
80 | uart0: serial@01c28000 { | 100 | uart0: serial@01c28000 { |
@@ -83,4 +103,11 @@ | |||
83 | status = "okay"; | 103 | status = "okay"; |
84 | }; | 104 | }; |
85 | }; | 105 | }; |
106 | |||
107 | reg_usb1_vbus: usb1-vbus { | ||
108 | pinctrl-names = "default"; | ||
109 | pinctrl-0 = <&usb1_vbus_pin_m9>; | ||
110 | gpio = <&pio 2 27 0>; | ||
111 | status = "okay"; | ||
112 | }; | ||
86 | }; | 113 | }; |