Commit 2c213d19 authored by Roger Quadros's avatar Roger Quadros Committed by Vignesh Raghavendra

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: default avatarRoger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20230330084954.49763-3-rogerq@kernel.orgSigned-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent ba12d4dd
...@@ -161,7 +161,7 @@ exp1: gpio@22 { ...@@ -161,7 +161,7 @@ exp1: gpio@22 {
"UART1_FET_BUF_EN", "WL_LT_EN", "UART1_FET_BUF_EN", "WL_LT_EN",
"GPIO_HDMI_RSTn", "CSI_GPIO1", "GPIO_HDMI_RSTn", "CSI_GPIO1",
"CSI_GPIO2", "PRU_3V3_EN", "CSI_GPIO2", "PRU_3V3_EN",
"HDMI_INTn", "TEST_GPIO2", "HDMI_INTn", "PD_I2C_IRQ",
"MCASP1_FET_EN", "MCASP1_BUF_BT_EN", "MCASP1_FET_EN", "MCASP1_BUF_BT_EN",
"MCASP1_FET_SEL", "UART1_FET_SEL", "MCASP1_FET_SEL", "UART1_FET_SEL",
"TSINT#", "IO_EXP_TEST_LED"; "TSINT#", "IO_EXP_TEST_LED";
......
...@@ -241,6 +241,30 @@ &main_i2c0 { ...@@ -241,6 +241,30 @@ &main_i2c0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&main_i2c0_pins_default>; pinctrl-0 = <&main_i2c0_pins_default>;
clock-frequency = <400000>; 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 { &main_i2c1 {
...@@ -320,7 +344,16 @@ &usbss1 { ...@@ -320,7 +344,16 @@ &usbss1 {
}; };
&usb0 { &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 { &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