[PATCH 14/15] arm64: dts: realtek: rtd16xx-usb: Add rtd16xx type c module nodes
Stanley Chang
stanley_chang at realtek.com
Wed Oct 7 09:50:34 BST 2020
Signed-off-by: Stanley Chang <stanley_chang at realtek.com>
---
arch/arm64/boot/dts/realtek/rtd16xx-usb.dtsi | 39 ++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/arch/arm64/boot/dts/realtek/rtd16xx-usb.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx-usb.dtsi
index ee3f61f9e2f5..8211185da0a1 100644
--- a/arch/arm64/boot/dts/realtek/rtd16xx-usb.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd16xx-usb.dtsi
@@ -85,6 +85,45 @@ dwc3_drd at 98020000 {
snps,parkmode-disable-ss-quirk; // disable usb3.0 park mode
status = "okay";
};
+
+ dwc3_type_c: rtk_dwc3_drd_type_c at 98007220 {
+ compatible = "Realtek,dwc3-type_c";
+ reg = <0x98007220 0x20>;
+ interrupts = <0 60 4>;
+ //debug; /*to enable debug log*/
+ delay_probe_work; /*To delay probe work*/
+ boot_check_time = <(-1)>; /*ms (At boot Device switch Host time)*/
+ status = "okay";
+
+ default_revision = <0xA00>;
+ A00 {
+ cc_dfp_mode = "dfp_3_0"; /*dfp_3_0, dfp_1_5, dfp_usb*/
+ cc1_rp_4p7k_code = <0xC>;
+ cc1_rp_36k_code = <0xF>;
+ cc1_rp_12k_code = <0xE>;
+ cc1_rd_code = <0x11>;
+ cc1_vref_ufp = /bits/ 8
+ <0x7 0xA 0x2>; /*<1p23v,0p66v,0p2v>*/
+ cc1_vref_dfp_usb = /bits/ 8
+ <0x7 0x2 0x0>; /*<0_1p6v,0p2v,unused>*/
+ cc1_vref_dfp_1_5 = /bits/ 8
+ <0x7 0x3 0x2>; /*<1_1p6v,0p4v,0p2v>*/
+ cc1_vref_dfp_3_0 = /bits/ 8
+ <0x5 0xA 0x2>; /*<2p6v,0p8v,0p2v>*/
+ cc2_rp_4p7k_code = <0xC>;
+ cc2_rp_36k_code = <0xF>;
+ cc2_rp_12k_code = <0xE>;
+ cc2_rd_code = <0xF>;
+ cc2_vref_ufp = /bits/ 8
+ <0x8 0xA 0x2>; /*<1p23v,0p66v,0p2v>*/
+ cc2_vref_dfp_usb = /bits/ 8
+ <0x7 0x2 0x0>; /*<0_1p6v,0p2v,unused>*/
+ cc2_vref_dfp_1_5 = /bits/ 8
+ <0x7 0x3 0x2>; /*<1_1p6v,0p4v,0p2v>*/
+ cc2_vref_dfp_3_0 = /bits/ 8
+ <0x5 0xA 0x2>; /*<2p6v,0p8v,0p2v>*/
+ };
+ };
};
dwc3_u2host_usb2phy: dwc3_u2host_usb2phy at 98013C14 {
--
2.28.0
More information about the linux-realtek-soc
mailing list