xref: /freebsd/sys/contrib/device-tree/Bindings/usb/ti,hd3ss3220.txt (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1TI HD3SS3220 TypeC DRP Port Controller.
2
3Required properties:
4 - compatible: Must be "ti,hd3ss3220".
5 - reg: I2C slave address, must be 0x47 or 0x67 based on ADDR pin.
6 - interrupts: An interrupt specifier.
7
8Required sub-node:
9 - connector: The "usb-c-connector" attached to the hd3ss3220 chip. The
10   bindings of the connector node are specified in:
11
12	Documentation/devicetree/bindings/connector/usb-connector.yaml
13
14Example:
15hd3ss3220@47 {
16	compatible = "ti,hd3ss3220";
17	reg = <0x47>;
18	interrupt-parent = <&gpio6>;
19	interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
20
21	connector {
22		compatible = "usb-c-connector";
23		label = "USB-C";
24		data-role = "dual";
25
26		ports {
27			#address-cells = <1>;
28			#size-cells = <0>;
29
30			port@1 {
31				reg = <1>;
32				hd3ss3220_ep: endpoint {
33					remote-endpoint = <&usb3_role_switch>;
34				};
35			};
36		};
37	};
38};
39