Other Parts Discussed in Thread: TUSB1210
Tool/software: Linux
Hello Ti,
I want to use usb4 to connect a mouse or udisk, but the the system cann't recognition.
My custom board usb4 connect tusb1210, and usb4 is external VBUS,and i use 6ao1.1 sdk.
device tree config:
omap_dwc3_4: omap_dwc3_4@48940000 {
compatible = "ti,dwc3";
ti,hwmods = "usb_otg_ss4";
reg = <0x48940000 0x10000>;
interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <1>;
utmi-mode = <2>;
ranges;
status = "okay";
usb4: usb@48950000 {
compatible = "snps,dwc3";
reg = <0x48950000 0x17000>;
interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "peripheral",
"host",
"otg";
phys = <&usb3_phy1>;
phy-names = "usb3-phy";
tx-fifo-resize;
maximum-speed = "high-speed";
dr_mode = "otg";
snps,dis_u3_susphy_quirk;
snps,dis_u2_susphy_quirk;
snps,hsphy_interface = "ulpi";
};
};
&usb4 {
dr_mode = "host";
status = "okay";
};
usb3_phy1: phy@4a084400 {
compatible = "ti,omap-usb3";
reg = <0x4a084400 0x80>,
<0x4a084800 0x64>,
<0x4a084c00 0x40>;
reg-names = "phy_rx", "phy_tx", "pll_ctrl";
syscon-phy-power = <&scm_conf 0x370>;
clocks = <&usb_phy3_always_on_clk32k>,
<&sys_clkin1>,
<&usb_otg_ss1_refclk960m>;
clock-names = "wkupclk",
"sysclk",
"refclk";
#phy-cells = <0>;
};
I configurate tusb1210 related io/clock, and I measuring REFCLK/CLOCK is 19.2M and 60M.The ID pin is low
The kernel detected the usb4 port:
[ 4.067001] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.073837] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.081093] usb usb3: Product: xHCI Host Controller
[ 4.086013] usb usb3: Manufacturer: Linux 4.4.117 xhci-hcd
[ 4.091523] usb usb3: SerialNumber: xhci-hcd.3.auto
[ 4.096855] hub 3-0:1.0: USB hub found
[ 4.100649] hub 3-0:1.0: 1 port detected
[ 4.104908] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[ 4.110427] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[ 4.118194] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.126455] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[ 4.133275] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.140536] usb usb4: Product: xHCI Host Controller
[ 4.145455] usb usb4: Manufacturer: Linux 4.4.117 xhci-hcd
[ 4.150964] usb usb4: SerialNumber: xhci-hcd.3.auto
[ 4.156260] hub 4-0:1.0: USB hub found
[ 4.160050] hub 4-0:1.0: 1 port detected
The usb mode is host:
jacinto6evm:/ $ cat /sys/kernel/debug/48950000.usb/mode
host
My schematic diagram:
What did I do wrong?Do you have any suggestions?
