aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-19 08:01:14 -0500
committerGregory CLEMENT <gregory.clement@free-electrons.com>2015-03-18 06:55:49 -0400
commit7776ab70d75ff9857343e44e428744d81c30ce1b (patch)
tree6920f7f0acafff21f71e00b1de5403b44e448010 /arch/arm/boot/dts
parent754c4b1b2bddc6881889be9b4aa549d1647ef9ca (diff)
ARM: mvebu: armada-385-ap: Enable USB3 port
The Armada 385 AP board has a USB3 port exposed that uses a GPIO to drive the VBUS line. Enable the needed drivers to support this. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/armada-385-db-ap.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-385-db-ap.dts b/arch/arm/boot/dts/armada-385-db-ap.dts
index d6b0f7db9624..7219ac3a3d90 100644
--- a/arch/arm/boot/dts/armada-385-db-ap.dts
+++ b/arch/arm/boot/dts/armada-385-db-ap.dts
@@ -125,6 +125,13 @@
125 status = "okay"; 125 status = "okay";
126 }; 126 };
127 127
128 pinctrl@18000 {
129 xhci0_vbus_pins: xhci0-vbus-pins {
130 marvell,pins = "mpp44";
131 marvell,function = "gpio";
132 };
133 };
134
128 ethernet@30000 { 135 ethernet@30000 {
129 status = "okay"; 136 status = "okay";
130 phy = <&phy2>; 137 phy = <&phy2>;
@@ -162,6 +169,11 @@
162 marvell,nand-enable-arbiter; 169 marvell,nand-enable-arbiter;
163 nand-on-flash-bbt; 170 nand-on-flash-bbt;
164 }; 171 };
172
173 usb3@f0000 {
174 status = "okay";
175 usb-phy = <&usb3_phy>;
176 };
165 }; 177 };
166 178
167 pcie-controller { 179 pcie-controller {
@@ -187,4 +199,20 @@
187 }; 199 };
188 }; 200 };
189 }; 201 };
202
203 usb3_phy: usb3_phy {
204 compatible = "usb-nop-xceiv";
205 vcc-supply = <&reg_xhci0_vbus>;
206 };
207
208 reg_xhci0_vbus: xhci0-vbus {
209 compatible = "regulator-fixed";
210 pinctrl-names = "default";
211 pinctrl-0 = <&xhci0_vbus_pins>;
212 regulator-name = "xhci0-vbus";
213 regulator-min-microvolt = <5000000>;
214 regulator-max-microvolt = <5000000>;
215 enable-active-high;
216 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
217 };
190}; 218};