Commit ec0a286a authored by Biju Das's avatar Biju Das Committed by Simon Horman

arm64: dts: renesas: cat874: Enable usb role switch support

This patch enables TI HD3SS3220 device and support usb role switch
for the CAT 874 platform.
Signed-off-by: default avatarBiju Das <biju.das@bp.renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent cf7b175a
...@@ -172,6 +172,31 @@ &i2c0 { ...@@ -172,6 +172,31 @@ &i2c0 {
status = "okay"; status = "okay";
clock-frequency = <100000>; clock-frequency = <100000>;
hd3ss3220@47 {
compatible = "ti,hd3ss3220";
reg = <0x47>;
interrupt-parent = <&gpio6>;
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
connector {
compatible = "usb-c-connector";
label = "USB-C";
data-role = "dual";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
hd3ss3220_ep: endpoint {
remote-endpoint = <&usb3_role_switch>;
};
};
};
};
};
tda19988: tda19988@70 { tda19988: tda19988@70 {
compatible = "nxp,tda998x"; compatible = "nxp,tda998x";
reg = <0x70>; reg = <0x70>;
...@@ -370,6 +395,13 @@ &usb2_phy0 { ...@@ -370,6 +395,13 @@ &usb2_phy0 {
&usb3_peri0 { &usb3_peri0 {
companion = <&xhci0>; companion = <&xhci0>;
status = "okay"; status = "okay";
usb-role-switch;
port {
usb3_role_switch: endpoint {
remote-endpoint = <&hd3ss3220_ep>;
};
};
}; };
&xhci0 { &xhci0 {
......
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