Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Peripherals/USB2 OTG

71 bytes removed, 14:52, 13 February 2023
Device tree configuration
<pre>
reg_usb2_host_vbus: regulator-usb2-vbus {
compatible = "regulator-fixed";
regulator-name = "usb2_host_vbus";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usb2_vbus>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
...
...
&usb3_phy1 usb3_phy0 { vbus-power-supply = <&ptn5110>; fsl,phy-tx-vref-tune = <6>; fsl,phy-tx-rise-tune = <0>; fsl,phy-tx-preemp-amp-tune = <23>; fsl,phy-comp-dis-tune = <7>; fsl,pcs-tx-deemph-3p5db = <0x21>; fsl,phy-pcs-tx-swing-full = <0x7f>;
status = "okay";
};
&usb3_1 usb3_0 {
status = "okay";
};
&usb_dwc3_1 usb_dwc3_0 {
dr_mode = "host";
status = "okay";
 
port {
usb3_drd_sw: endpoint {
remote-endpoint = <&typec_dr_sw>;
};
};
};
dave_user
424
edits