16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/usb/ti,hd3ss3220.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 76be33864SEmmanuel Vadottitle: TI HD3SS3220 TypeC DRP Port Controller 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Biju Das <biju.das.jz@bp.renesas.com> 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadotdescription: |- 136be33864SEmmanuel Vadot HD3SS3220 is a USB SuperSpeed (SS) 2:1 mux with DRP port controller. The device provides Channel 146be33864SEmmanuel Vadot Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The 156be33864SEmmanuel Vadot HD3SS3220 can be configured as a Downstream Facing Port (DFP), Upstream Facing Port (UFP) or a 166be33864SEmmanuel Vadot Dual Role Port (DRP) making it ideal for any application. 176be33864SEmmanuel Vadot 186be33864SEmmanuel Vadotproperties: 196be33864SEmmanuel Vadot compatible: 206be33864SEmmanuel Vadot const: ti,hd3ss3220 216be33864SEmmanuel Vadot 226be33864SEmmanuel Vadot reg: 236be33864SEmmanuel Vadot maxItems: 1 246be33864SEmmanuel Vadot 256be33864SEmmanuel Vadot interrupts: 266be33864SEmmanuel Vadot maxItems: 1 276be33864SEmmanuel Vadot 286be33864SEmmanuel Vadot ports: 295def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 306be33864SEmmanuel Vadot description: OF graph bindings (specified in bindings/graph.txt) that model 316be33864SEmmanuel Vadot SS data bus to the SS capable connector. 325def4c47SEmmanuel Vadot 336be33864SEmmanuel Vadot properties: 346be33864SEmmanuel Vadot port@0: 355def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 366be33864SEmmanuel Vadot description: Super Speed (SS) MUX inputs connected to SS capable connector. 376be33864SEmmanuel Vadot 386be33864SEmmanuel Vadot port@1: 395def4c47SEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 406be33864SEmmanuel Vadot description: Output of 2:1 MUX connected to Super Speed (SS) data bus. 416be33864SEmmanuel Vadot 426be33864SEmmanuel Vadot required: 436be33864SEmmanuel Vadot - port@0 446be33864SEmmanuel Vadot - port@1 456be33864SEmmanuel Vadot 466be33864SEmmanuel Vadotrequired: 476be33864SEmmanuel Vadot - compatible 486be33864SEmmanuel Vadot - reg 496be33864SEmmanuel Vadot 506be33864SEmmanuel VadotadditionalProperties: false 516be33864SEmmanuel Vadot 526be33864SEmmanuel Vadotexamples: 536be33864SEmmanuel Vadot - | 54*fac71e4eSEmmanuel Vadot i2c { 556be33864SEmmanuel Vadot #address-cells = <1>; 566be33864SEmmanuel Vadot #size-cells = <0>; 576be33864SEmmanuel Vadot 586be33864SEmmanuel Vadot hd3ss3220@47 { 596be33864SEmmanuel Vadot compatible = "ti,hd3ss3220"; 606be33864SEmmanuel Vadot reg = <0x47>; 616be33864SEmmanuel Vadot interrupt-parent = <&gpio6>; 626be33864SEmmanuel Vadot interrupts = <3>; 636be33864SEmmanuel Vadot 646be33864SEmmanuel Vadot ports { 656be33864SEmmanuel Vadot #address-cells = <1>; 666be33864SEmmanuel Vadot #size-cells = <0>; 676be33864SEmmanuel Vadot port@0 { 686be33864SEmmanuel Vadot reg = <0>; 696be33864SEmmanuel Vadot hd3ss3220_in_ep: endpoint { 706be33864SEmmanuel Vadot remote-endpoint = <&ss_ep>; 716be33864SEmmanuel Vadot }; 726be33864SEmmanuel Vadot }; 736be33864SEmmanuel Vadot port@1 { 746be33864SEmmanuel Vadot reg = <1>; 756be33864SEmmanuel Vadot hd3ss3220_out_ep: endpoint { 766be33864SEmmanuel Vadot remote-endpoint = <&usb3_role_switch>; 776be33864SEmmanuel Vadot }; 786be33864SEmmanuel Vadot }; 796be33864SEmmanuel Vadot }; 806be33864SEmmanuel Vadot }; 816be33864SEmmanuel Vadot }; 82