Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Peripherals/USB2 OTG

547 bytes added, 14:58, 15 February 2023
no edit summary
=== Device tree configuration ===
 
==== ORCA ====
Here below an example of device tree configuration used on standard DAVE's kit for the ORCA SOM:
};
</pre>
 
==== MINI====
 
Here below an example of device tree configuration used on standard DAVE's kit for the MINI SOM:
 
From <code>imx8mm-mito8mmini.dts</code>:
 
<pre>
...
...
&usbotg2 {
dr_mode = "host";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb_pwr>;
vbus-supply = <&reg_usb_pwr>;
picophy,pre-emp-curr-control = <3>;
picophy,dc-vol-level-adjust = <7>;
status = "okay";
};
...
...
&iomuxc {
...
...
pinctrl_usb_pwr: usbpwrgrp {
fsl,pins = <
MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x19
>;
};
...
...
};
</pre>
dave_user
424
edits