184943d6fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 284943d6fSEmmanuel Vadot%YAML 1.2 384943d6fSEmmanuel Vadot--- 484943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/usb/nxp,ptn36502.yaml# 584943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 684943d6fSEmmanuel Vadot 784943d6fSEmmanuel Vadottitle: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver 884943d6fSEmmanuel Vadot 984943d6fSEmmanuel Vadotmaintainers: 1084943d6fSEmmanuel Vadot - Luca Weiss <luca.weiss@fairphone.com> 1184943d6fSEmmanuel Vadot 1284943d6fSEmmanuel Vadotproperties: 1384943d6fSEmmanuel Vadot compatible: 1484943d6fSEmmanuel Vadot enum: 1584943d6fSEmmanuel Vadot - nxp,ptn36502 1684943d6fSEmmanuel Vadot 1784943d6fSEmmanuel Vadot reg: 1884943d6fSEmmanuel Vadot maxItems: 1 1984943d6fSEmmanuel Vadot 2084943d6fSEmmanuel Vadot vdd18-supply: 2184943d6fSEmmanuel Vadot description: Power supply for VDD18 pin 2284943d6fSEmmanuel Vadot 23*01950c46SEmmanuel Vadot orientation-switch: true 24*01950c46SEmmanuel Vadot retimer-switch: true 2584943d6fSEmmanuel Vadot 2684943d6fSEmmanuel Vadot ports: 2784943d6fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 2884943d6fSEmmanuel Vadot properties: 2984943d6fSEmmanuel Vadot port@0: 3084943d6fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 3184943d6fSEmmanuel Vadot description: Super Speed (SS) Output endpoint to the Type-C connector 3284943d6fSEmmanuel Vadot 3384943d6fSEmmanuel Vadot port@1: 3484943d6fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 3584943d6fSEmmanuel Vadot description: Super Speed (SS) Input endpoint from the Super-Speed PHY 3684943d6fSEmmanuel Vadot 3784943d6fSEmmanuel Vadot port@2: 3884943d6fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 3984943d6fSEmmanuel Vadot description: 4084943d6fSEmmanuel Vadot Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of 4184943d6fSEmmanuel Vadot handling altmode muxing and orientation switching. 4284943d6fSEmmanuel Vadot 4384943d6fSEmmanuel Vadotrequired: 4484943d6fSEmmanuel Vadot - compatible 4584943d6fSEmmanuel Vadot - reg 4684943d6fSEmmanuel Vadot 47*01950c46SEmmanuel VadotallOf: 48*01950c46SEmmanuel Vadot - $ref: usb-switch.yaml# 49*01950c46SEmmanuel Vadot 5084943d6fSEmmanuel VadotadditionalProperties: false 5184943d6fSEmmanuel Vadot 5284943d6fSEmmanuel Vadotexamples: 5384943d6fSEmmanuel Vadot - | 5484943d6fSEmmanuel Vadot i2c { 5584943d6fSEmmanuel Vadot #address-cells = <1>; 5684943d6fSEmmanuel Vadot #size-cells = <0>; 5784943d6fSEmmanuel Vadot 5884943d6fSEmmanuel Vadot typec-mux@1a { 5984943d6fSEmmanuel Vadot compatible = "nxp,ptn36502"; 6084943d6fSEmmanuel Vadot reg = <0x1a>; 6184943d6fSEmmanuel Vadot 6284943d6fSEmmanuel Vadot vdd18-supply = <&usb_redrive_1v8>; 6384943d6fSEmmanuel Vadot 6484943d6fSEmmanuel Vadot retimer-switch; 6584943d6fSEmmanuel Vadot orientation-switch; 6684943d6fSEmmanuel Vadot 6784943d6fSEmmanuel Vadot ports { 6884943d6fSEmmanuel Vadot #address-cells = <1>; 6984943d6fSEmmanuel Vadot #size-cells = <0>; 7084943d6fSEmmanuel Vadot 7184943d6fSEmmanuel Vadot port@0 { 7284943d6fSEmmanuel Vadot reg = <0>; 7384943d6fSEmmanuel Vadot usb_con_ss: endpoint { 7484943d6fSEmmanuel Vadot remote-endpoint = <&typec_con_ss>; 7584943d6fSEmmanuel Vadot }; 7684943d6fSEmmanuel Vadot }; 7784943d6fSEmmanuel Vadot port@1 { 7884943d6fSEmmanuel Vadot reg = <1>; 7984943d6fSEmmanuel Vadot phy_con_ss: endpoint { 8084943d6fSEmmanuel Vadot remote-endpoint = <&usb_phy_ss>; 8184943d6fSEmmanuel Vadot }; 8284943d6fSEmmanuel Vadot }; 8384943d6fSEmmanuel Vadot port@2 { 8484943d6fSEmmanuel Vadot reg = <2>; 8584943d6fSEmmanuel Vadot usb_con_sbu: endpoint { 8684943d6fSEmmanuel Vadot remote-endpoint = <&typec_dp_aux>; 8784943d6fSEmmanuel Vadot }; 8884943d6fSEmmanuel Vadot }; 8984943d6fSEmmanuel Vadot }; 9084943d6fSEmmanuel Vadot }; 9184943d6fSEmmanuel Vadot }; 9284943d6fSEmmanuel Vadot... 93