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
51 $ref: /schemas/connector/usb-connector.yaml#
55 Should contain the name of the default patch binary
56 file located on the firmware search path which is
57 used to switch the controller into APP mode.
58 This is used when tps25750 doesn't have an EEPROM
89 additionalProperties: false
93 #include <dt-bindings/interrupt-controller/irq.h>
98 tps6598x: tps6598x@38 {
99 compatible = "ti,tps6598x";
103 interrupt-parent = <&msmgpio>;
104 interrupts = <107 IRQ_TYPE_LEVEL_LOW>;
105 interrupt-names = "irq";
107 pinctrl-names = "default";
108 pinctrl-0 = <&typec_pins>;
110 typec_con: connector {
111 compatible = "usb-c-connector";
115 remote-endpoint = <&otg_ep>;
123 #include <dt-bindings/interrupt-controller/irq.h>
125 #address-cells = <1>;
129 compatible = "ti,tps25750";
130 reg = <0x21>, <0x0f>;
131 reg-names = "main", "patch-address";
133 interrupt-parent = <&msmgpio>;
134 interrupts = <100 IRQ_TYPE_LEVEL_LOW>;
135 interrupt-names = "irq";
136 firmware-name = "/*(DEBLOBBED)*/";
138 pinctrl-names = "default";
139 pinctrl-0 = <&typec_pins>;
141 typec_con0: connector {
142 compatible = "usb-c-connector";
146 typec_ep0: endpoint {
147 remote-endpoint = <&otg_ep>;