I know the default settings in the device tree for USB1 on the imx8 Verdin are used for USB On the go. On my custom carrier board I have a USB251xB chip acting as a USB HUb connected to USB1 pins 163 and 165.
The hub is powered from the 3.3VSW supply, so its always powered once the module has booted, for some reason when I do an lsusb command, I do not see the Hub present, nor do any downstream USB devices get recognised by Linux.
The USB VBUS detect pin I have tied high the 5V through a pull-up resistor.
Could you please provide me with a simple device tree example to make this work?
i have the config set such that it does not need I2C config
That setting is set in my Kernel Config
I go directly from pins 30-31 to SODIMM 163-165
We always use this chip without I2C connection in a different product.
I think the issue is my device tree, it seems USB1 is setup for a USB-C connector in the Dahlia development board, can you give some tips how to setup my DT for my schematic?
. As you correctly said, on the Dahlia and on the Dev Board, the USB2 is the one used for the Hub connection. Here is where you can find its information on our device trees:
I changed USB1 to this and boom it works
&usb_dwc3_0 {
extcon = <&extcon_usb_1_id>;
dr_mode = “host”;
hnp-disable;
srp-disable;
adp-disable;
pinctrl-names = “default”;
pinctrl-0 = <&pinctrl_usb1_en>;
};