1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/usb/ti,tps6598x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments 6598x Type-C Port Switch and Power Delivery controller
10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
13 Texas Instruments 6598x Type-C Port Switch and Power Delivery controller
15 A variant of this controller known as Apple CD321x or Apple ACE is also
16 present on hardware with Apple SoCs such as the M1.
28 - description: main PD controller address
30 I2C slave address field in PBMs input data
31 which is used as the device address when writing the
33 The patch address can be any value except 0x00, 0x20,
39 - const: patch-address
52 Should contain the name of the default patch binary
53 file located on the firmware search path which is
54 used to switch the controller into APP mode.
55 This is used when tps25750 doesn't have an EEPROM
86 additionalProperties: true
90 #include <dt-bindings/interrupt-controller/irq.h>
95 tps6598x: tps6598x@38 {
96 compatible = "ti,tps6598x";
100 interrupt-parent = <&msmgpio>;
101 interrupts = <107 IRQ_TYPE_LEVEL_LOW>;
102 interrupt-names = "irq";
104 pinctrl-names = "default";
105 pinctrl-0 = <&typec_pins>;
107 typec_con: connector {
108 compatible = "usb-c-connector";
112 remote-endpoint = <&otg_ep>;
120 #include <dt-bindings/interrupt-controller/irq.h>
122 #address-cells = <1>;
126 compatible = "ti,tps25750";
127 reg = <0x21>, <0x0f>;
128 reg-names = "main", "patch-address";
130 interrupt-parent = <&msmgpio>;
131 interrupts = <100 IRQ_TYPE_LEVEL_LOW>;
132 interrupt-names = "irq";
133 firmware-name = "tps25750.bin";
135 pinctrl-names = "default";
136 pinctrl-0 = <&typec_pins>;
138 typec_con0: connector {
139 compatible = "usb-c-connector";
143 typec_ep0: endpoint {
144 remote-endpoint = <&otg_ep>;