Commit 8e558642 authored by Garrett Giordano's avatar Garrett Giordano Committed by Nishanth Menon

arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Add USB-C

The USB-C PD manages plug orientation, power delivery, and our endpoint
for the USB interface. Add this node and include its endpoint.

Configure USB0 for role-switching and wire it to our USB-C PD endpoint.
Signed-off-by: default avatarGarrett Giordano <ggiordano@phytec.com>
Reviewed-by: default avatarWadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20240425152558.485763-1-ggiordano@phytec.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 1142985a
......@@ -348,6 +348,24 @@ gpio_exp: gpio-expander@21 {
"GPIO6_ETH1_USER_RESET", "GPIO7_AUDIO_USER_RESET";
};
usb-pd@22 {
compatible = "ti,tps6598x";
reg = <0x22>;
connector {
compatible = "usb-c-connector";
label = "USB-C";
self-powered;
data-role = "dual";
power-role = "sink";
port {
usb_con_hs: endpoint {
remote-endpoint = <&typec_hs>;
};
};
};
};
sii9022: bridge-hdmi@39 {
compatible = "sil,sii9022";
reg = <0x39>;
......@@ -449,7 +467,13 @@ &usbss1 {
};
&usb0 {
dr_mode = "peripheral";
usb-role-switch;
port {
typec_hs: endpoint {
remote-endpoint = <&usb_con_hs>;
};
};
};
&usb1 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment