<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic iMX93 USB 2.0 device tree node undefined in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX93-USB-2-0-device-tree-node-undefined/m-p/1881406#M224580</link>
    <description>&lt;P&gt;I'm using the iMX93 EVK board porting USB 2.0 device tree, the original source code is porting fort type-C.&lt;BR /&gt;I'd tried to post the code below in u-boot dts (imx93-11x11-evk.dts) but it doesn't work.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;reg_usb0_host_vbus: regulator-usb0-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb0_host_vbus";
		regulator-min-microvolt = &amp;lt;5000000&amp;gt;;
		regulator-max-microvolt = &amp;lt;5000000&amp;gt;;
		enable-active-high;
		regulator-always-on;
	};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I tried to modify the usb node for switching to host mode as below. It seems not a correct way to port USB as host.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;usbotg1 {
	dr_mode = "host";
	status = "okay";
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then modifying the configuration in imx93-11x11_evk_defconfig.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# CONFIG_USB_TCPC is not set
CONFIG_IMX_HAB=y&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;How can I modify the code for USB 2.0 ?&lt;BR /&gt;Could you please provide a complete sample code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 09:13:46 GMT</pubDate>
    <dc:creator>AlanWen</dc:creator>
    <dc:date>2024-06-05T09:13:46Z</dc:date>
    <item>
      <title>iMX93 USB 2.0 device tree node undefined</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX93-USB-2-0-device-tree-node-undefined/m-p/1881406#M224580</link>
      <description>&lt;P&gt;I'm using the iMX93 EVK board porting USB 2.0 device tree, the original source code is porting fort type-C.&lt;BR /&gt;I'd tried to post the code below in u-boot dts (imx93-11x11-evk.dts) but it doesn't work.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;reg_usb0_host_vbus: regulator-usb0-vbus {
		compatible = "regulator-fixed";
		regulator-name = "usb0_host_vbus";
		regulator-min-microvolt = &amp;lt;5000000&amp;gt;;
		regulator-max-microvolt = &amp;lt;5000000&amp;gt;;
		enable-active-high;
		regulator-always-on;
	};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I tried to modify the usb node for switching to host mode as below. It seems not a correct way to port USB as host.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;&amp;amp;usbotg1 {
	dr_mode = "host";
	status = "okay";
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then modifying the configuration in imx93-11x11_evk_defconfig.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# CONFIG_USB_TCPC is not set
CONFIG_IMX_HAB=y&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;How can I modify the code for USB 2.0 ?&lt;BR /&gt;Could you please provide a complete sample code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 09:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX93-USB-2-0-device-tree-node-undefined/m-p/1881406#M224580</guid>
      <dc:creator>AlanWen</dc:creator>
      <dc:date>2024-06-05T09:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: iMX93 USB 2.0 device tree node undefined</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX93-USB-2-0-device-tree-node-undefined/m-p/1882161#M224605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;According to Reference Manual p. 90 you should make it with dr_mode change made. Could you try to remove the config:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[*] ChipIdea device controller&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or is this issue only persistent in u-boot?&lt;/P&gt;
&lt;P&gt;Also, is your work over an EVK or custom board? i.MX 93 processor has USB 2.0 already,&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 01:26:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX93-USB-2-0-device-tree-node-undefined/m-p/1882161#M224605</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2024-06-06T01:26:23Z</dc:date>
    </item>
  </channel>
</rss>

