xref: /linux/Documentation/devicetree/bindings/usb/ti,tusb1046.yaml (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/ti,tusb1046.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments TUSB1046-DCI Type-C crosspoint switch
8
9maintainers:
10  - Romain Gantois <romain.gantois@bootlin.com>
11
12allOf:
13  - $ref: usb-switch.yaml#
14  - $ref: usb-switch-ports.yaml#
15
16properties:
17  compatible:
18    const: ti,tusb1046
19
20  reg:
21    maxItems: 1
22
23required:
24  - compatible
25  - reg
26  - port
27
28unevaluatedProperties: false
29
30examples:
31  - |
32    i2c {
33        #address-cells = <1>;
34        #size-cells = <0>;
35
36        typec-mux@44 {
37            compatible = "ti,tusb1046";
38            reg = <0x44>;
39
40            mode-switch;
41            orientation-switch;
42
43            port {
44                endpoint {
45                    remote-endpoint = <&typec_controller>;
46                };
47            };
48        };
49    };
50...
51