15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/usb/maxim,max33359.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Maxim TCPCI Type-C PD controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Badhri Jagan Sridharan <badhri@google.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: Maxim TCPCI Type-C PD controller 135def4c47SEmmanuel Vadot 145def4c47SEmmanuel Vadotproperties: 155def4c47SEmmanuel Vadot compatible: 165def4c47SEmmanuel Vadot enum: 175def4c47SEmmanuel Vadot - maxim,max33359 185def4c47SEmmanuel Vadot 195def4c47SEmmanuel Vadot reg: 205def4c47SEmmanuel Vadot maxItems: 1 215def4c47SEmmanuel Vadot 225def4c47SEmmanuel Vadot interrupts: 235def4c47SEmmanuel Vadot maxItems: 1 245def4c47SEmmanuel Vadot 255def4c47SEmmanuel Vadot connector: 265def4c47SEmmanuel Vadot type: object 275def4c47SEmmanuel Vadot $ref: ../connector/usb-connector.yaml# 285def4c47SEmmanuel Vadot description: 295def4c47SEmmanuel Vadot Properties for usb c connector. 305def4c47SEmmanuel Vadot 315def4c47SEmmanuel Vadotrequired: 325def4c47SEmmanuel Vadot - compatible 335def4c47SEmmanuel Vadot - reg 345def4c47SEmmanuel Vadot - interrupts 355def4c47SEmmanuel Vadot - connector 365def4c47SEmmanuel Vadot 375def4c47SEmmanuel VadotadditionalProperties: false 385def4c47SEmmanuel Vadot 395def4c47SEmmanuel Vadotexamples: 405def4c47SEmmanuel Vadot - | 415def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 425def4c47SEmmanuel Vadot #include <dt-bindings/usb/pd.h> 43*fac71e4eSEmmanuel Vadot i2c { 445def4c47SEmmanuel Vadot #address-cells = <1>; 455def4c47SEmmanuel Vadot #size-cells = <0>; 465def4c47SEmmanuel Vadot 475def4c47SEmmanuel Vadot maxtcpc@25 { 485def4c47SEmmanuel Vadot compatible = "maxim,max33359"; 495def4c47SEmmanuel Vadot reg = <0x25>; 505def4c47SEmmanuel Vadot interrupt-parent = <&gpa8>; 515def4c47SEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel Vadot connector { 545def4c47SEmmanuel Vadot compatible = "usb-c-connector"; 555def4c47SEmmanuel Vadot label = "USB-C"; 565def4c47SEmmanuel Vadot data-role = "dual"; 575def4c47SEmmanuel Vadot power-role = "dual"; 585def4c47SEmmanuel Vadot try-power-role = "sink"; 595def4c47SEmmanuel Vadot self-powered; 605def4c47SEmmanuel Vadot op-sink-microwatt = <2600000>; 615def4c47SEmmanuel Vadot new-source-frs-typec-current = <FRS_5V_1P5A>; 625def4c47SEmmanuel Vadot source-pdos = <PDO_FIXED(5000, 900, 635def4c47SEmmanuel Vadot PDO_FIXED_SUSPEND | 645def4c47SEmmanuel Vadot PDO_FIXED_USB_COMM | 655def4c47SEmmanuel Vadot PDO_FIXED_DATA_SWAP | 665def4c47SEmmanuel Vadot PDO_FIXED_DUAL_ROLE)>; 675def4c47SEmmanuel Vadot sink-pdos = <PDO_FIXED(5000, 3000, 685def4c47SEmmanuel Vadot PDO_FIXED_USB_COMM | 695def4c47SEmmanuel Vadot PDO_FIXED_DATA_SWAP | 705def4c47SEmmanuel Vadot PDO_FIXED_DUAL_ROLE) 715def4c47SEmmanuel Vadot PDO_FIXED(9000, 2000, 0)>; 725def4c47SEmmanuel Vadot }; 735def4c47SEmmanuel Vadot }; 745def4c47SEmmanuel Vadot }; 755def4c47SEmmanuel Vadot... 76