summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-04-12 13:54:27 +0200
committerEmanuele Ghidoli <emanuele.ghidoli@toradex.com>2023-04-12 15:10:43 +0200
commitb82f2390189166956b68e9de27472ed6bab9c6fe (patch)
tree649bd3b32cdb462185e1d9c909e5cafcdee6fa24 /arch
parent8a4d409a07bde76b7b6e17b72bc8f25dc35ea83b (diff)
arm64: dts: colibri-imx8x: Add usb to aster carrier board
Add USB Host and USB OTG (Client/Host switching) to the Aster carrier board. Upstream-Status: Pending - No support as of now in upstream linux. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi38
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi
index aab655931cde..89c3660c3c7e 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-aster.dtsi
@@ -7,6 +7,10 @@
status = "okay";
};
+&extcon_usbc_det {
+ status = "okay";
+};
+
/* Colibri Ethernet */
&fec1 {
status = "okay";
@@ -38,7 +42,41 @@
status= "okay";
};
+&reg_usbh_vbus {
+ status = "okay";
+};
+
/* Colibri SDCard */
&usdhc2 {
status = "okay";
};
+
+/* USB PHY for &usbotg3 */
+&usb3_phy {
+ status = "okay";
+};
+
+&usbotg1 {
+ extcon = <&extcon_usbc_det &extcon_usbc_det>;
+ vbus-supply = <&reg_usbh_vbus>;
+ srp-disable;
+ hnp-disable;
+ adp-disable;
+ power-active-high;
+ disable-over-current;
+ status = "okay";
+};
+
+&usbotg3 {
+ status = "okay";
+};
+
+&usbotg3_cdns3 {
+ dr_mode = "host";
+ status = "okay";
+};
+
+/* USB PHY for &usbotg1 */
+&usbphy1 {
+ status = "okay";
+};