summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2023-03-30 10:49:53 +0200
committerVignesh Raghavendra <vigneshr@ti.com>2023-06-14 12:42:19 +0200
commit2c213d19515caf880e6c8266fbeda4145894c10e (patch)
treeec3bb1e17b431ac06f3ff4bab9d0344cf157c12d /arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
parentarm64: dts: ti: k3-j784s4-evm: Reserve memory for remote proc IPC (diff)
downloadlinux-2c213d19515caf880e6c8266fbeda4145894c10e.tar.xz
linux-2c213d19515caf880e6c8266fbeda4145894c10e.zip
arm64: dts: ti: k3-am625: Enable Type-C port for USB0
USB0 is a Type-C port with dual data role and power sink. Signed-off-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20230330084954.49763-3-rogerq@kernel.org Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi35
1 files changed, 34 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
index a61e8648f189..4345b9fdd2a0 100644
--- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
@@ -241,6 +241,30 @@
pinctrl-names = "default";
pinctrl-0 = <&main_i2c0_pins_default>;
clock-frequency = <400000>;
+
+ typec_pd0: tps6598x@3f {
+ compatible = "ti,tps6598x";
+ reg = <0x3f>;
+
+ connector {
+ compatible = "usb-c-connector";
+ label = "USB-C";
+ self-powered;
+ data-role = "dual";
+ power-role = "sink";
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ usb_con_hs: endpoint {
+ remote-endpoint = <&usb0_hs_ep>;
+ };
+ };
+ };
+ };
+ };
};
&main_i2c1 {
@@ -320,7 +344,16 @@
};
&usb0 {
- dr_mode = "peripheral";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ usb-role-switch;
+
+ port@0 {
+ reg = <0>;
+ usb0_hs_ep: endpoint {
+ remote-endpoint = <&usb_con_hs>;
+ };
+ };
};
&usb1 {