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