summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32mp157a-avenger96.dts
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-04-22 12:46:12 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2020-04-29 09:51:44 +0200
commite74ef3823b4db49ae44966ab710d6c6b298ec0b4 (patch)
treef08997fca18448415e54e6e122d686ce68db7c4a /arch/arm/boot/dts/stm32mp157a-avenger96.dts
parente027da342772cb31b1e7f67666465c0535c5acb3 (diff)
downloadlwn-e74ef3823b4db49ae44966ab710d6c6b298ec0b4.tar.gz
lwn-e74ef3823b4db49ae44966ab710d6c6b298ec0b4.zip
ARM: dts: stm32: Add bindings for USB on AV96
Fill in the bindings for USB host and gadget on AV96. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157a-avenger96.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157a-avenger96.dts31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
index f04ad8dc6fc6..a1b3baf7564d 100644
--- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
@@ -546,3 +546,34 @@
shutdown-gpios = <&gpioz 6 GPIO_ACTIVE_HIGH>;
};
};
+
+&usbh_ehci {
+ phys = <&usbphyc_port0>;
+ phy-names = "usb";
+ status = "okay";
+};
+
+&usbotg_hs {
+ pinctrl-0 = <&usbotg_hs_pins_a>;
+ pinctrl-names = "default";
+ phy-names = "usb2-phy";
+ phys = <&usbphyc_port1 0>;
+ status = "okay";
+ vbus-supply = <&vbus_otg>;
+};
+
+&usbphyc {
+ status = "okay";
+};
+
+&usbphyc_port0 {
+ phy-supply = <&vdd_usb>;
+ vdda1v1-supply = <&reg11>;
+ vdda1v8-supply = <&reg18>;
+};
+
+&usbphyc_port1 {
+ phy-supply = <&vdd_usb>;
+ vdda1v1-supply = <&reg11>;
+ vdda1v8-supply = <&reg18>;
+};