xref: /linux/arch/arm64/boot/dts/ti/k3-am642-hummingboard-t-usb3.dtso (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2023 Josua Mayer <josua@solid-run.com>
4 *
5 * Overlay for SolidRun AM642 HummingBoard-T to enable USB-3.1.
6 */
7
8/dts-v1/;
9/plugin/;
10
11#include <dt-bindings/phy/phy.h>
12
13#include "k3-serdes.h"
14
15&serdes0 {
16	#address-cells = <1>;
17	#size-cells = <0>;
18
19	serdes0_link: phy@0 {
20		reg = <0>;
21		cdns,num-lanes = <1>;
22		cdns,phy-type = <PHY_TYPE_USB3>;
23		#phy-cells = <0>;
24		resets = <&serdes_wiz0 1>;
25	};
26};
27
28&serdes_ln_ctrl {
29	idle-states = <AM64_SERDES0_LANE0_USB>;
30};
31
32&serdes_mux {
33	idle-state = <0>;
34};
35
36&usbss0 {
37	/delete-property/ ti,usb2-only;
38};
39
40&usb0 {
41	maximum-speed = "super-speed";
42	phys = <&serdes0_link>;
43	phy-names = "cdns3,usb3-phy";
44};
45