1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: "http://devicetree.org/schemas/usb/maxim,max33359.yaml#" 5$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 7title: Maxim TCPCI Type-C PD controller 8 9maintainers: 10 - Badhri Jagan Sridharan <badhri@google.com> 11 12description: Maxim TCPCI Type-C PD controller 13 14properties: 15 compatible: 16 enum: 17 - maxim,max33359 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 maxItems: 1 24 25 connector: 26 type: object 27 $ref: ../connector/usb-connector.yaml# 28 description: 29 Properties for usb c connector. 30 31required: 32 - compatible 33 - reg 34 - interrupts 35 - connector 36 37additionalProperties: false 38 39examples: 40 - | 41 #include <dt-bindings/interrupt-controller/irq.h> 42 #include <dt-bindings/usb/pd.h> 43 i2c { 44 #address-cells = <1>; 45 #size-cells = <0>; 46 47 maxtcpc@25 { 48 compatible = "maxim,max33359"; 49 reg = <0x25>; 50 interrupt-parent = <&gpa8>; 51 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 52 53 connector { 54 compatible = "usb-c-connector"; 55 label = "USB-C"; 56 data-role = "dual"; 57 power-role = "dual"; 58 try-power-role = "sink"; 59 self-powered; 60 op-sink-microwatt = <2600000>; 61 new-source-frs-typec-current = <FRS_5V_1P5A>; 62 source-pdos = <PDO_FIXED(5000, 900, 63 PDO_FIXED_SUSPEND | 64 PDO_FIXED_USB_COMM | 65 PDO_FIXED_DATA_SWAP | 66 PDO_FIXED_DUAL_ROLE)>; 67 sink-pdos = <PDO_FIXED(5000, 3000, 68 PDO_FIXED_USB_COMM | 69 PDO_FIXED_DATA_SWAP | 70 PDO_FIXED_DUAL_ROLE) 71 PDO_FIXED(9000, 2000, 0)>; 72 }; 73 }; 74 }; 75... 76