diff options
author | Garrett Giordano <ggiordano@phytec.com> | 2024-04-25 18:25:58 +0300 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2024-04-29 22:35:29 +0300 |
commit | 8e558642d9ff3341be75426152e4eccc0f277b53 (patch) | |
tree | fafb8dfa1ed4e5ba0a7aa43f43a324771e473a0d /arch/arm64/boot | |
parent | 1142985a62f1abd7a6e0b44df42f629c4da5c8f7 (diff) | |
download | linux-8e558642d9ff3341be75426152e4eccc0f277b53.tar.xz |
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: Garrett Giordano <ggiordano@phytec.com>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20240425152558.485763-1-ggiordano@phytec.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts index d7b8aa607c8c..50d2573c840e 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts @@ -348,6 +348,24 @@ "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 @@ }; &usb0 { - dr_mode = "peripheral"; + usb-role-switch; + + port { + typec_hs: endpoint { + remote-endpoint = <&usb_con_hs>; + }; + }; }; &usb1 { |