0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/ti,hd3ss3220.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: TI HD3SS3220 TypeC DRP Port Controller
0008
0009 maintainers:
0010 - Biju Das <biju.das.jz@bp.renesas.com>
0011
0012 description: |-
0013 HD3SS3220 is a USB SuperSpeed (SS) 2:1 mux with DRP port controller. The device provides Channel
0014 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The
0015 HD3SS3220 can be configured as a Downstream Facing Port (DFP), Upstream Facing Port (UFP) or a
0016 Dual Role Port (DRP) making it ideal for any application.
0017
0018 properties:
0019 compatible:
0020 const: ti,hd3ss3220
0021
0022 reg:
0023 maxItems: 1
0024
0025 interrupts:
0026 maxItems: 1
0027
0028 ports:
0029 $ref: /schemas/graph.yaml#/properties/ports
0030 description: OF graph bindings (specified in bindings/graph.txt) that model
0031 SS data bus to the SS capable connector.
0032
0033 properties:
0034 port@0:
0035 $ref: /schemas/graph.yaml#/properties/port
0036 description: Super Speed (SS) MUX inputs connected to SS capable connector.
0037
0038 port@1:
0039 $ref: /schemas/graph.yaml#/properties/port
0040 description: Output of 2:1 MUX connected to Super Speed (SS) data bus.
0041
0042 required:
0043 - port@0
0044 - port@1
0045
0046 required:
0047 - compatible
0048 - reg
0049 - interrupts
0050
0051 additionalProperties: false
0052
0053 examples:
0054 - |
0055 i2c0 {
0056 #address-cells = <1>;
0057 #size-cells = <0>;
0058
0059 hd3ss3220@47 {
0060 compatible = "ti,hd3ss3220";
0061 reg = <0x47>;
0062 interrupt-parent = <&gpio6>;
0063 interrupts = <3>;
0064
0065 ports {
0066 #address-cells = <1>;
0067 #size-cells = <0>;
0068 port@0 {
0069 reg = <0>;
0070 hd3ss3220_in_ep: endpoint {
0071 remote-endpoint = <&ss_ep>;
0072 };
0073 };
0074 port@1 {
0075 reg = <1>;
0076 hd3ss3220_out_ep: endpoint {
0077 remote-endpoint = <&usb3_role_switch>;
0078 };
0079 };
0080 };
0081 };
0082 };