Other Parts Discussed in Thread: DRA821, TUSB8041, TDA4VM
Hello experts,
We have a custom board that has mimicked the BeagleBoneAI64 in its layout with usb-hub and two host ports connected to that hub.
I am trying to get those two ports functioning in U-boot (Linux will follow) to verify that the hardware is correct.
I have copied the usb-related blocks in the dts:
main_usbss1_pins_default: main-usbss1-pins-default {
pinctrl-single,pins = <
J721E_IOPAD(0x290, INPUT_DISABLE, 1) /* (U6) USB0_DRVVBUS.USB1_DRVVBUS */
>;
};
mcu_usbss1_pins_default: mcu-usbss1-pins-default {
pinctrl-single,pins = <
J721E_WKUP_IOPAD(0x3c, PIN_OUTPUT_PULLUP, 5) /* (A23) MCU_OSPI1_LBCLKO.WKUP_GPIO0_30 */
>;
};
&usb_serdes_mux {
idle-states = <1>, <1>; /* USB0 to SERDES3, USB1 to SERDES2 */
};
&serdes_ln_ctrl {
idle-states = <J721E_SERDES0_LANE0_IP4_UNUSED>, <J721E_SERDES0_LANE1_IP4_UNUSED>,
<J721E_SERDES1_LANE0_PCIE1_LANE0>, <J721E_SERDES1_LANE1_PCIE1_LANE1>,
<J721E_SERDES2_LANE0_IP1_UNUSED>, <J721E_SERDES2_LANE1_USB3_1>,
<J721E_SERDES3_LANE0_USB3_0_SWAP>, <J721E_SERDES3_LANE1_USB3_0>,
<J721E_SERDES4_LANE0_EDP_LANE0>, <J721E_SERDES4_LANE1_EDP_LANE1>,
<J721E_SERDES4_LANE2_EDP_LANE2>, <J721E_SERDES4_LANE3_EDP_LANE3>;
};
&serdes2 {
serdes2_usb_link: phy@1 {
reg = <1>;
cdns,num-lanes = <1>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_USB3>;
resets = <&serdes_wiz2 2>;
};
};
&usbss1 {
pinctrl-names = "default";
pinctrl-0 = <&main_usbss1_pins_default>, <&mcu_usbss1_pins_default>;
ti,vbus-divider;
};
&usb1 {
dr_mode = "host";
maximum-speed = "super-speed";
phys = <&serdes2_usb_link>;
phy-names = "cdns3,usb3-phy";
};
=> usb start
starting USB...
Bus usb@6400000: drivers/usb/cdns3/core.c:337- cdns3_probe() cdns-usb3-host usb@6400000: Unable to get USB2 phy (ret -61)
drivers/clk/clk-uclass.c:112-clk_get_by_index_tail() prop: returning err=-2
drivers/clk/clk-uclass.c:112-clk_get_by_index_tail() prop: returning err=-2
drivers/clk/clk-uclass.c:112-clk_get_by_index_tail() prop: returning err=-2
drivers/clk/clk-uclass.c:112-clk_get_by_index_tail() prop: returning err=-2
drivers/phy/cadence/phy-cadence-sierra.c:1122-cdns_sierra_phy_probe() cdns,sierra serdes@5020000: PHY not found 0x7364 vs 0x0
drivers/usb/cdns3/core.c:345- cdns3_probe() cdns-usb3-host usb@6400000: Unable to get USB3 phy (ret -19)
drivers/usb/cdns3/drd.c:273- cdns3_drd_init() cdns-usb3-host usb@6400000: DRD version v1 (ID: 0004024e, rev: 00000200)
drivers/usb/cdns3/core.c:309-cdns3_hw_role_switch() cdns-usb3-host usb@6400000: set 1 has failed, back to 0
scanning bus usb@6400000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found