arm64: dts: rockchip: rk3399-evb-ind: add dp alt mode node
Add dp alt mode node to support tcpm Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com> Change-Id: I8130045074c9bc8c8b8223f44ebe5341db20b97d
This commit is contained in:
@@ -874,6 +874,19 @@
|
||||
source-pdos =
|
||||
<PDO_FIXED(5000, 1500, PDO_FIXED_USB_COMM)>;
|
||||
|
||||
displayport = <&cdn_dp>;
|
||||
|
||||
altmodes {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
altmode@0 {
|
||||
reg = <0>;
|
||||
svid = <0xff01>;
|
||||
vdo = <0xffffffff>;
|
||||
};
|
||||
};
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -884,6 +897,12 @@
|
||||
remote-endpoint = <&tcphy0_orientation_switch>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
dp_mode_sw: endpoint {
|
||||
remote-endpoint = <&tcphy_dp_altmode_switch>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1209,6 +1228,7 @@
|
||||
&tcphy0 {
|
||||
status = "okay";
|
||||
|
||||
svid = <0xff01>;
|
||||
orientation-switch;
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
@@ -1217,6 +1237,10 @@
|
||||
reg = <0>;
|
||||
remote-endpoint = <&usbc0_orien_sw>;
|
||||
};
|
||||
tcphy_dp_altmode_switch: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&dp_mode_sw>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user