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
42 description: GPIO used for the HRESET pin.
55 $ref: /schemas/connector/usb-connector.yaml#
59 Should contain the name of the default patch binary
60 file located on the firmware search path which is
61 used to switch the controller into APP mode.
62 This is used when tps25750 doesn't have an EEPROM
93 additionalProperties: false
97 #include <dt-bindings/gpio/gpio.h>
98 #include <dt-bindings/interrupt-controller/irq.h>
100 #address-cells = <1>;
103 tps6598x: tps6598x@38 {
104 compatible = "ti,tps6598x";
108 interrupt-parent = <&msmgpio>;
109 interrupts = <107 IRQ_TYPE_LEVEL_LOW>;
110 interrupt-names = "irq";
112 pinctrl-names = "default";
113 pinctrl-0 = <&typec_pins>;
114 reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
116 typec_con: connector {
117 compatible = "usb-c-connector";
121 remote-endpoint = <&otg_ep>;
129 #include <dt-bindings/interrupt-controller/irq.h>
131 #address-cells = <1>;
135 compatible = "ti,tps25750";
136 reg = <0x21>, <0x0f>;
137 reg-names = "main", "patch-address";
139 interrupt-parent = <&msmgpio>;
140 interrupts = <100 IRQ_TYPE_LEVEL_LOW>;
141 interrupt-names = "irq";
142 firmware-name = "/*(DEBLOBBED)*/";
144 pinctrl-names = "default";
145 pinctrl-0 = <&typec_pins>;
147 typec_con0: connector {
148 compatible = "usb-c-connector";
152 typec_ep0: endpoint {
153 remote-endpoint = <&otg_ep>;