Skip to content

Commit

Permalink
bbai64: config USB3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mingzhangqun committed Sep 30, 2021
1 parent ff818c1 commit 4feab83
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/arm64/k3-j721e-beagleboneai64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -657,13 +657,13 @@
};

&usb_serdes_mux {
idle-states = <1>, <0>; /* USB0 to SERDES3, USB1 to SERDES1 */
idle-states = <1>, <1>; /* USB0 to SERDES3, USB1 to SERDES2 */
};

&serdes_ln_ctrl {
idle-states = <J721E_SERDES0_LANE0_PCIE0_LANE0>, <J721E_SERDES0_LANE1_PCIE0_LANE1>,
<J721E_SERDES1_LANE0_PCIE1_LANE0>, <J721E_SERDES1_LANE1_PCIE1_LANE1>,
<J721E_SERDES2_LANE0_PCIE2_LANE0>, <J721E_SERDES2_LANE1_PCIE2_LANE1>,
<J721E_SERDES2_LANE0_USB3_1_SWAP>, <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>;
Expand Down Expand Up @@ -703,7 +703,9 @@

&usb1 {
dr_mode = "host";
maximum-speed = "high-speed";
maximum-speed = "super-speed";
phys = <&serdes2_usb_link>;
phy-names = "cdns3,usb3-phy";
};

&tscadc0 {
Expand Down Expand Up @@ -957,11 +959,11 @@
};

&serdes2 {
serdes2_pcie_link: phy@0 {
serdes2_usb_link: phy@0 {
reg = <0>;
cdns,num-lanes = <2>;
#phy-cells = <0>;
cdns,phy-type = <PHY_TYPE_PCIE>;
cdns,phy-type = <PHY_TYPE_USB3>;
resets = <&serdes_wiz2 1>, <&serdes_wiz2 2>;
};
};
Expand Down Expand Up @@ -998,9 +1000,6 @@
};

&pcie2_ep {
phys = <&serdes2_pcie_link>;
phy-names = "pcie-phy";
num-lanes = <2>;
status = "disabled";
};

Expand Down

0 comments on commit 4feab83

Please sign in to comment.