1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright 2024 NXP 4 */ 5 6#include <dt-bindings/interrupt-controller/irq.h> 7#include <dt-bindings/i3c/i3c.h> 8#include <dt-bindings/usb/pd.h> 9 10#include "imx93-pinfunc.h" 11 12/dts-v1/; 13/plugin/; 14 15&lpi2c1 { 16 status = "disabled"; 17}; 18 19&i3c1 { 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_i3c1>; 22 #address-cells = <3>; 23 #size-cells = <0>; 24 i2c-scl-hz = <400000>; 25 status = "okay"; 26 27 tcpc@50 { 28 compatible = "nxp,ptn5110", "tcpci"; 29 reg = <0x50 0x00 (I2C_FM | I2C_NO_FILTER_LOW_FREQUENCY)>; 30 interrupt-parent = <&gpio3>; 31 interrupts = <26 IRQ_TYPE_LEVEL_LOW>; 32 33 connector { 34 compatible = "usb-c-connector"; 35 label = "USB-C"; 36 power-role = "dual"; 37 data-role = "dual"; 38 try-power-role = "sink"; 39 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 40 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 41 PDO_VAR(5000, 20000, 3000)>; 42 op-sink-microwatt = <15000000>; 43 self-powered; 44 45 ports { 46 #address-cells = <1>; 47 #size-cells = <0>; 48 49 port@0 { 50 reg = <0>; 51 52 typec1_dr_sw: endpoint { 53 remote-endpoint = <&usb1_drd_sw>; 54 }; 55 }; 56 }; 57 }; 58 }; 59}; 60 61&usb1_drd_sw { 62 remote-endpoint = <&typec1_dr_sw>; 63}; 64 65&iomuxc { 66 pinctrl_i3c1: i3c1grp { 67 fsl,pins = < 68 MX93_PAD_I2C1_SCL__I3C1_SCL 0x40000186 69 MX93_PAD_I2C1_SDA__I3C1_SDA 0x40000186 70 >; 71 }; 72}; 73