1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/nxp,ptn36502.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver 8 9maintainers: 10 - Luca Weiss <luca.weiss@fairphone.com> 11 12properties: 13 compatible: 14 enum: 15 - nxp,ptn36502 16 17 reg: 18 maxItems: 1 19 20 vdd18-supply: 21 description: Power supply for VDD18 pin 22 23 orientation-switch: true 24 retimer-switch: true 25 26 ports: 27 $ref: /schemas/graph.yaml#/properties/ports 28 properties: 29 port@0: 30 $ref: /schemas/graph.yaml#/properties/port 31 description: Super Speed (SS) Output endpoint to the Type-C connector 32 33 port@1: 34 $ref: /schemas/graph.yaml#/properties/port 35 description: Super Speed (SS) Input endpoint from the Super-Speed PHY 36 37 port@2: 38 $ref: /schemas/graph.yaml#/properties/port 39 description: 40 Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of 41 handling altmode muxing and orientation switching. 42 43required: 44 - compatible 45 - reg 46 47allOf: 48 - $ref: usb-switch.yaml# 49 50additionalProperties: false 51 52examples: 53 - | 54 i2c { 55 #address-cells = <1>; 56 #size-cells = <0>; 57 58 typec-mux@1a { 59 compatible = "nxp,ptn36502"; 60 reg = <0x1a>; 61 62 vdd18-supply = <&usb_redrive_1v8>; 63 64 retimer-switch; 65 orientation-switch; 66 67 ports { 68 #address-cells = <1>; 69 #size-cells = <0>; 70 71 port@0 { 72 reg = <0>; 73 usb_con_ss: endpoint { 74 remote-endpoint = <&typec_con_ss>; 75 }; 76 }; 77 port@1 { 78 reg = <1>; 79 phy_con_ss: endpoint { 80 remote-endpoint = <&usb_phy_ss>; 81 }; 82 }; 83 port@2 { 84 reg = <2>; 85 usb_con_sbu: endpoint { 86 remote-endpoint = <&typec_dp_aux>; 87 }; 88 }; 89 }; 90 }; 91 }; 92... 93