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/st,stusb160x.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: STMicroelectronics STUSB160x Type-C controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 108cc087a1SEmmanuel Vadot - Amelie Delaunay <amelie.delaunay@foss.st.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotproperties: 135def4c47SEmmanuel Vadot compatible: 145def4c47SEmmanuel Vadot enum: 155def4c47SEmmanuel Vadot - st,stusb1600 165def4c47SEmmanuel Vadot 175def4c47SEmmanuel Vadot reg: 185def4c47SEmmanuel Vadot maxItems: 1 195def4c47SEmmanuel Vadot 205def4c47SEmmanuel Vadot interrupts: 215def4c47SEmmanuel Vadot maxItems: 1 225def4c47SEmmanuel Vadot 235def4c47SEmmanuel Vadot vdd-supply: 245def4c47SEmmanuel Vadot description: main power supply (4.1V-22V) 255def4c47SEmmanuel Vadot 265def4c47SEmmanuel Vadot vsys-supply: 275def4c47SEmmanuel Vadot description: low power supply (3.0V-5.5V) 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot vconn-supply: 305def4c47SEmmanuel Vadot description: power supply (2.7V-5.5V) used to supply VConn on CC pin in 315def4c47SEmmanuel Vadot source or dual power role 325def4c47SEmmanuel Vadot 335def4c47SEmmanuel Vadot connector: 345def4c47SEmmanuel Vadot type: object 35c9ccf3a3SEmmanuel Vadot $ref: /schemas/connector/usb-connector.yaml# 367ef62cebSEmmanuel Vadot unevaluatedProperties: false 375def4c47SEmmanuel Vadot 385def4c47SEmmanuel Vadot properties: 395def4c47SEmmanuel Vadot compatible: 405def4c47SEmmanuel Vadot const: usb-c-connector 415def4c47SEmmanuel Vadot 425def4c47SEmmanuel Vadot power-role: true 435def4c47SEmmanuel Vadot 445def4c47SEmmanuel Vadot typec-power-opmode: true 455def4c47SEmmanuel Vadot 465def4c47SEmmanuel Vadot required: 475def4c47SEmmanuel Vadot - compatible 485def4c47SEmmanuel Vadot 495def4c47SEmmanuel Vadotrequired: 505def4c47SEmmanuel Vadot - compatible 515def4c47SEmmanuel Vadot - reg 525def4c47SEmmanuel Vadot - connector 535def4c47SEmmanuel Vadot 545def4c47SEmmanuel VadotadditionalProperties: false 555def4c47SEmmanuel Vadot 565def4c47SEmmanuel Vadotexamples: 575def4c47SEmmanuel Vadot - | 585def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 59*fac71e4eSEmmanuel Vadot i2c { 605def4c47SEmmanuel Vadot #address-cells = <1>; 615def4c47SEmmanuel Vadot #size-cells = <0>; 625def4c47SEmmanuel Vadot 635def4c47SEmmanuel Vadot typec: stusb1600@28 { 645def4c47SEmmanuel Vadot compatible = "st,stusb1600"; 655def4c47SEmmanuel Vadot reg = <0x28>; 665def4c47SEmmanuel Vadot vdd-supply = <&vbus_drd>; 675def4c47SEmmanuel Vadot vsys-supply = <&vdd_usb>; 685def4c47SEmmanuel Vadot interrupts = <11 IRQ_TYPE_EDGE_FALLING>; 695def4c47SEmmanuel Vadot interrupt-parent = <&gpioi>; 705def4c47SEmmanuel Vadot 715def4c47SEmmanuel Vadot typec_con: connector { 725def4c47SEmmanuel Vadot compatible = "usb-c-connector"; 735def4c47SEmmanuel Vadot label = "USB-C"; 745def4c47SEmmanuel Vadot power-role = "dual"; 755def4c47SEmmanuel Vadot data-role = "dual"; 765def4c47SEmmanuel Vadot typec-power-opmode = "default"; 775def4c47SEmmanuel Vadot 787ef62cebSEmmanuel Vadot ports { 797ef62cebSEmmanuel Vadot #address-cells = <1>; 807ef62cebSEmmanuel Vadot #size-cells = <0>; 817ef62cebSEmmanuel Vadot port@0 { 827ef62cebSEmmanuel Vadot reg = <0>; 835def4c47SEmmanuel Vadot typec_con_ep: endpoint { 845def4c47SEmmanuel Vadot remote-endpoint = <&usbotg_hs_ep>; 855def4c47SEmmanuel Vadot }; 865def4c47SEmmanuel Vadot }; 875def4c47SEmmanuel Vadot }; 885def4c47SEmmanuel Vadot }; 895def4c47SEmmanuel Vadot }; 907ef62cebSEmmanuel Vadot }; 915def4c47SEmmanuel Vadot... 92