101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT 27ef62cebSEmmanuel Vadot/* 37ef62cebSEmmanuel Vadot * AM62A SK: https://www.ti.com/lit/zip/sprr459 47ef62cebSEmmanuel Vadot * 501950c46SEmmanuel Vadot * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 67ef62cebSEmmanuel Vadot */ 77ef62cebSEmmanuel Vadot 87ef62cebSEmmanuel Vadot/dts-v1/; 97ef62cebSEmmanuel Vadot 107ef62cebSEmmanuel Vadot#include <dt-bindings/leds/common.h> 117ef62cebSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 12cb7aa33aSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h> 137ef62cebSEmmanuel Vadot#include "k3-am62a7.dtsi" 147ef62cebSEmmanuel Vadot 157ef62cebSEmmanuel Vadot/ { 167ef62cebSEmmanuel Vadot compatible = "ti,am62a7-sk", "ti,am62a7"; 177ef62cebSEmmanuel Vadot model = "Texas Instruments AM62A7 SK"; 187ef62cebSEmmanuel Vadot 197ef62cebSEmmanuel Vadot aliases { 20f126890aSEmmanuel Vadot serial0 = &wkup_uart0; 217ef62cebSEmmanuel Vadot serial2 = &main_uart0; 22f126890aSEmmanuel Vadot serial3 = &main_uart1; 2301950c46SEmmanuel Vadot mmc0 = &sdhci0; 247ef62cebSEmmanuel Vadot mmc1 = &sdhci1; 257ef62cebSEmmanuel Vadot }; 267ef62cebSEmmanuel Vadot 277ef62cebSEmmanuel Vadot chosen { 287ef62cebSEmmanuel Vadot stdout-path = "serial2:115200n8"; 297ef62cebSEmmanuel Vadot }; 307ef62cebSEmmanuel Vadot 317ef62cebSEmmanuel Vadot memory@80000000 { 327ef62cebSEmmanuel Vadot device_type = "memory"; 33fac71e4eSEmmanuel Vadot /* 4G RAM */ 34fac71e4eSEmmanuel Vadot reg = <0x00000000 0x80000000 0x00000000 0x80000000>, 35fac71e4eSEmmanuel Vadot <0x00000008 0x80000000 0x00000000 0x80000000>; 367ef62cebSEmmanuel Vadot }; 377ef62cebSEmmanuel Vadot 387ef62cebSEmmanuel Vadot reserved-memory { 397ef62cebSEmmanuel Vadot #address-cells = <2>; 407ef62cebSEmmanuel Vadot #size-cells = <2>; 417ef62cebSEmmanuel Vadot ranges; 427ef62cebSEmmanuel Vadot 43*0e8011faSEmmanuel Vadot /* global cma region */ 44*0e8011faSEmmanuel Vadot linux,cma { 45*0e8011faSEmmanuel Vadot compatible = "shared-dma-pool"; 46*0e8011faSEmmanuel Vadot reusable; 47*0e8011faSEmmanuel Vadot size = <0x00 0x24000000>; 48*0e8011faSEmmanuel Vadot alloc-ranges = <0x00 0xc0000000 0x00 0x24000000>; 49*0e8011faSEmmanuel Vadot linux,cma-default; 50*0e8011faSEmmanuel Vadot }; 51*0e8011faSEmmanuel Vadot 527ef62cebSEmmanuel Vadot secure_tfa_ddr: tfa@9e780000 { 537ef62cebSEmmanuel Vadot reg = <0x00 0x9e780000 0x00 0x80000>; 547ef62cebSEmmanuel Vadot alignment = <0x1000>; 557ef62cebSEmmanuel Vadot no-map; 567ef62cebSEmmanuel Vadot }; 577ef62cebSEmmanuel Vadot 587ef62cebSEmmanuel Vadot secure_ddr: optee@9e800000 { 597ef62cebSEmmanuel Vadot reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 607ef62cebSEmmanuel Vadot alignment = <0x1000>; 617ef62cebSEmmanuel Vadot no-map; 627ef62cebSEmmanuel Vadot }; 637ef62cebSEmmanuel Vadot 647ef62cebSEmmanuel Vadot wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 { 657ef62cebSEmmanuel Vadot compatible = "shared-dma-pool"; 667ef62cebSEmmanuel Vadot reg = <0x00 0x9c900000 0x00 0x01e00000>; 677ef62cebSEmmanuel Vadot no-map; 687ef62cebSEmmanuel Vadot }; 697ef62cebSEmmanuel Vadot }; 707ef62cebSEmmanuel Vadot 717ef62cebSEmmanuel Vadot vmain_pd: regulator-0 { 727ef62cebSEmmanuel Vadot /* TPS25750 PD CONTROLLER OUTPUT */ 737ef62cebSEmmanuel Vadot compatible = "regulator-fixed"; 747ef62cebSEmmanuel Vadot regulator-name = "vmain_pd"; 757ef62cebSEmmanuel Vadot regulator-min-microvolt = <5000000>; 767ef62cebSEmmanuel Vadot regulator-max-microvolt = <5000000>; 777ef62cebSEmmanuel Vadot regulator-always-on; 787ef62cebSEmmanuel Vadot regulator-boot-on; 797ef62cebSEmmanuel Vadot }; 807ef62cebSEmmanuel Vadot 817ef62cebSEmmanuel Vadot vcc_5v0: regulator-1 { 827ef62cebSEmmanuel Vadot /* Output of TPS63070 */ 837ef62cebSEmmanuel Vadot compatible = "regulator-fixed"; 847ef62cebSEmmanuel Vadot regulator-name = "vcc_5v0"; 857ef62cebSEmmanuel Vadot regulator-min-microvolt = <5000000>; 867ef62cebSEmmanuel Vadot regulator-max-microvolt = <5000000>; 877ef62cebSEmmanuel Vadot vin-supply = <&vmain_pd>; 887ef62cebSEmmanuel Vadot regulator-always-on; 897ef62cebSEmmanuel Vadot regulator-boot-on; 907ef62cebSEmmanuel Vadot }; 917ef62cebSEmmanuel Vadot 9284943d6fSEmmanuel Vadot vcc_3v3_main: regulator-2 { 937ef62cebSEmmanuel Vadot /* output of LM5141-Q1 */ 947ef62cebSEmmanuel Vadot compatible = "regulator-fixed"; 9584943d6fSEmmanuel Vadot regulator-name = "vcc_3v3_main"; 967ef62cebSEmmanuel Vadot regulator-min-microvolt = <3300000>; 977ef62cebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 987ef62cebSEmmanuel Vadot vin-supply = <&vmain_pd>; 997ef62cebSEmmanuel Vadot regulator-always-on; 1007ef62cebSEmmanuel Vadot regulator-boot-on; 1017ef62cebSEmmanuel Vadot }; 1027ef62cebSEmmanuel Vadot 1037ef62cebSEmmanuel Vadot vdd_mmc1: regulator-3 { 1047ef62cebSEmmanuel Vadot /* TPS22918DBVR */ 1057ef62cebSEmmanuel Vadot compatible = "regulator-fixed"; 1067ef62cebSEmmanuel Vadot regulator-name = "vdd_mmc1"; 1077ef62cebSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1087ef62cebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1097ef62cebSEmmanuel Vadot regulator-boot-on; 1107ef62cebSEmmanuel Vadot enable-active-high; 1117ef62cebSEmmanuel Vadot gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; 1127ef62cebSEmmanuel Vadot }; 1137ef62cebSEmmanuel Vadot 11484943d6fSEmmanuel Vadot vcc_3v3_sys: regulator-4 { 11584943d6fSEmmanuel Vadot /* output of TPS222965DSGT */ 11684943d6fSEmmanuel Vadot compatible = "regulator-fixed"; 11784943d6fSEmmanuel Vadot regulator-name = "vcc_3v3_sys"; 11884943d6fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 11984943d6fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 12084943d6fSEmmanuel Vadot vin-supply = <&vcc_3v3_main>; 12184943d6fSEmmanuel Vadot regulator-always-on; 12284943d6fSEmmanuel Vadot regulator-boot-on; 12384943d6fSEmmanuel Vadot }; 12484943d6fSEmmanuel Vadot 1257d0873ebSEmmanuel Vadot vddshv_sdio: regulator-5 { 1267d0873ebSEmmanuel Vadot compatible = "regulator-gpio"; 1277d0873ebSEmmanuel Vadot regulator-name = "vddshv_sdio"; 1287d0873ebSEmmanuel Vadot pinctrl-names = "default"; 1297d0873ebSEmmanuel Vadot pinctrl-0 = <&vddshv_sdio_pins_default>; 1307d0873ebSEmmanuel Vadot regulator-min-microvolt = <1800000>; 1317d0873ebSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1327d0873ebSEmmanuel Vadot regulator-boot-on; 1337d0873ebSEmmanuel Vadot vin-supply = <&ldo1>; 1347d0873ebSEmmanuel Vadot gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 1357d0873ebSEmmanuel Vadot states = <1800000 0x0>, 1367d0873ebSEmmanuel Vadot <3300000 0x1>; 1377d0873ebSEmmanuel Vadot }; 1387d0873ebSEmmanuel Vadot 1397ef62cebSEmmanuel Vadot leds { 1407ef62cebSEmmanuel Vadot compatible = "gpio-leds"; 1417ef62cebSEmmanuel Vadot pinctrl-names = "default"; 1427ef62cebSEmmanuel Vadot pinctrl-0 = <&usr_led_pins_default>; 1437ef62cebSEmmanuel Vadot 1447ef62cebSEmmanuel Vadot led-0 { 1457ef62cebSEmmanuel Vadot label = "am62a-sk:green:heartbeat"; 1467ef62cebSEmmanuel Vadot gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>; 1477ef62cebSEmmanuel Vadot linux,default-trigger = "heartbeat"; 1487ef62cebSEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 1497ef62cebSEmmanuel Vadot default-state = "off"; 1507ef62cebSEmmanuel Vadot }; 1517ef62cebSEmmanuel Vadot }; 15284943d6fSEmmanuel Vadot 15384943d6fSEmmanuel Vadot tlv320_mclk: clk-0 { 15484943d6fSEmmanuel Vadot #clock-cells = <0>; 15584943d6fSEmmanuel Vadot compatible = "fixed-clock"; 15684943d6fSEmmanuel Vadot clock-frequency = <12288000>; 15784943d6fSEmmanuel Vadot }; 15884943d6fSEmmanuel Vadot 15901950c46SEmmanuel Vadot hdmi0: connector-hdmi { 16001950c46SEmmanuel Vadot compatible = "hdmi-connector"; 16101950c46SEmmanuel Vadot label = "hdmi"; 16201950c46SEmmanuel Vadot type = "a"; 16301950c46SEmmanuel Vadot 16401950c46SEmmanuel Vadot port { 16501950c46SEmmanuel Vadot hdmi_connector_in: endpoint { 16601950c46SEmmanuel Vadot remote-endpoint = <&sii9022_out>; 16701950c46SEmmanuel Vadot }; 16801950c46SEmmanuel Vadot }; 16901950c46SEmmanuel Vadot }; 17001950c46SEmmanuel Vadot 17184943d6fSEmmanuel Vadot codec_audio: sound { 17284943d6fSEmmanuel Vadot compatible = "simple-audio-card"; 17384943d6fSEmmanuel Vadot simple-audio-card,name = "AM62Ax-SKEVM"; 17484943d6fSEmmanuel Vadot simple-audio-card,widgets = 17584943d6fSEmmanuel Vadot "Headphone", "Headphone Jack", 17684943d6fSEmmanuel Vadot "Line", "Line In", 17784943d6fSEmmanuel Vadot "Microphone", "Microphone Jack"; 17884943d6fSEmmanuel Vadot simple-audio-card,routing = 17984943d6fSEmmanuel Vadot "Headphone Jack", "HPLOUT", 18084943d6fSEmmanuel Vadot "Headphone Jack", "HPROUT", 18184943d6fSEmmanuel Vadot "LINE1L", "Line In", 18284943d6fSEmmanuel Vadot "LINE1R", "Line In", 18384943d6fSEmmanuel Vadot "MIC3R", "Microphone Jack", 18484943d6fSEmmanuel Vadot "Microphone Jack", "Mic Bias"; 18584943d6fSEmmanuel Vadot simple-audio-card,format = "dsp_b"; 18684943d6fSEmmanuel Vadot simple-audio-card,bitclock-master = <&sound_master>; 18784943d6fSEmmanuel Vadot simple-audio-card,frame-master = <&sound_master>; 18884943d6fSEmmanuel Vadot simple-audio-card,bitclock-inversion; 18984943d6fSEmmanuel Vadot 19084943d6fSEmmanuel Vadot simple-audio-card,cpu { 19184943d6fSEmmanuel Vadot sound-dai = <&mcasp1>; 19284943d6fSEmmanuel Vadot }; 19384943d6fSEmmanuel Vadot 19484943d6fSEmmanuel Vadot sound_master: simple-audio-card,codec { 19584943d6fSEmmanuel Vadot sound-dai = <&tlv320aic3106>; 19684943d6fSEmmanuel Vadot clocks = <&tlv320_mclk>; 19784943d6fSEmmanuel Vadot }; 19884943d6fSEmmanuel Vadot }; 1997ef62cebSEmmanuel Vadot}; 2007ef62cebSEmmanuel Vadot 201f126890aSEmmanuel Vadot&mcu_pmx0 { 202f126890aSEmmanuel Vadot wkup_uart0_pins_default: wkup-uart0-default-pins { 2037ef62cebSEmmanuel Vadot pinctrl-single,pins = < 204f126890aSEmmanuel Vadot AM62AX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (C9) WKUP_UART0_RXD */ 205f126890aSEmmanuel Vadot AM62AX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (E9) WKUP_UART0_TXD */ 206f126890aSEmmanuel Vadot AM62AX_MCU_IOPAD(0x002c, PIN_INPUT, 0) /* (C10) WKUP_UART0_CTSn */ 207f126890aSEmmanuel Vadot AM62AX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C8) WKUP_UART0_RTSn */ 208f126890aSEmmanuel Vadot >; 209f126890aSEmmanuel Vadot }; 210f126890aSEmmanuel Vadot}; 211f126890aSEmmanuel Vadot 212f126890aSEmmanuel Vadot/* WKUP UART0 is used for DM firmware logs */ 213f126890aSEmmanuel Vadot&wkup_uart0 { 214f126890aSEmmanuel Vadot pinctrl-names = "default"; 215f126890aSEmmanuel Vadot pinctrl-0 = <&wkup_uart0_pins_default>; 216f126890aSEmmanuel Vadot status = "reserved"; 217f126890aSEmmanuel Vadot}; 218f126890aSEmmanuel Vadot 219f126890aSEmmanuel Vadot&main_pmx0 { 22001950c46SEmmanuel Vadot main_dss0_pins_default: main-dss0-default-pins { 22101950c46SEmmanuel Vadot pinctrl-single,pins = < 22201950c46SEmmanuel Vadot AM62AX_IOPAD(0x100, PIN_OUTPUT, 0) /* (V17) VOUT0_VSYNC */ 22301950c46SEmmanuel Vadot AM62AX_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (T18) VOUT0_HSYNC */ 22401950c46SEmmanuel Vadot AM62AX_IOPAD(0x104, PIN_OUTPUT, 0) /* (AA22) VOUT0_PCLK */ 22501950c46SEmmanuel Vadot AM62AX_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (U17) VOUT0_DE */ 22601950c46SEmmanuel Vadot AM62AX_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ 22701950c46SEmmanuel Vadot AM62AX_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (U21) VOUT0_DATA1 */ 22801950c46SEmmanuel Vadot AM62AX_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (U20) VOUT0_DATA2 */ 22901950c46SEmmanuel Vadot AM62AX_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (U19) VOUT0_DATA3 */ 23001950c46SEmmanuel Vadot AM62AX_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (T19) VOUT0_DATA4 */ 23101950c46SEmmanuel Vadot AM62AX_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (U18) VOUT0_DATA5 */ 23201950c46SEmmanuel Vadot AM62AX_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (V22) VOUT0_DATA6 */ 23301950c46SEmmanuel Vadot AM62AX_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA7 */ 23401950c46SEmmanuel Vadot AM62AX_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V19) VOUT0_DATA8 */ 23501950c46SEmmanuel Vadot AM62AX_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (V18) VOUT0_DATA9 */ 23601950c46SEmmanuel Vadot AM62AX_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */ 23701950c46SEmmanuel Vadot AM62AX_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA11 */ 23801950c46SEmmanuel Vadot AM62AX_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (W20) VOUT0_DATA12 */ 23901950c46SEmmanuel Vadot AM62AX_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (W19) VOUT0_DATA13 */ 24001950c46SEmmanuel Vadot AM62AX_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y21) VOUT0_DATA14 */ 24101950c46SEmmanuel Vadot AM62AX_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA15 */ 24201950c46SEmmanuel Vadot AM62AX_IOPAD(0x05c, PIN_OUTPUT, 1) /* (P22) GPMC0_AD8.VOUT0_DATA16 */ 24301950c46SEmmanuel Vadot AM62AX_IOPAD(0x060, PIN_OUTPUT, 1) /* (R19) GPMC0_AD9.VOUT0_DATA17 */ 24401950c46SEmmanuel Vadot AM62AX_IOPAD(0x064, PIN_OUTPUT, 1) /* (R20) GPMC0_AD10.VOUT0_DATA18 */ 24501950c46SEmmanuel Vadot AM62AX_IOPAD(0x068, PIN_OUTPUT, 1) /* (R22) GPMC0_AD11.VOUT0_DATA19 */ 24601950c46SEmmanuel Vadot AM62AX_IOPAD(0x06c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */ 24701950c46SEmmanuel Vadot AM62AX_IOPAD(0x070, PIN_OUTPUT, 1) /* (R21) GPMC0_AD13.VOUT0_DATA21 */ 24801950c46SEmmanuel Vadot AM62AX_IOPAD(0x074, PIN_OUTPUT, 1) /* (T20) GPMC0_AD14.VOUT0_DATA22 */ 24901950c46SEmmanuel Vadot AM62AX_IOPAD(0x078, PIN_OUTPUT, 1) /* (T21) GPMC0_AD15.VOUT0_DATA23 */ 25001950c46SEmmanuel Vadot >; 25101950c46SEmmanuel Vadot }; 25201950c46SEmmanuel Vadot 253f126890aSEmmanuel Vadot main_uart0_pins_default: main-uart0-default-pins { 254f126890aSEmmanuel Vadot pinctrl-single,pins = < 255f126890aSEmmanuel Vadot AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (E14) UART0_RXD */ 256f126890aSEmmanuel Vadot AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (D15) UART0_TXD */ 2577ef62cebSEmmanuel Vadot >; 2587ef62cebSEmmanuel Vadot }; 2597ef62cebSEmmanuel Vadot 260f126890aSEmmanuel Vadot main_uart1_pins_default: main-uart1-default-pins { 261f126890aSEmmanuel Vadot pinctrl-single,pins = < 262f126890aSEmmanuel Vadot AM62AX_IOPAD(0x01e8, PIN_INPUT, 1) /* (C17) I2C1_SCL.UART1_RXD */ 263f126890aSEmmanuel Vadot AM62AX_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (E17) I2C1_SDA.UART1_TXD */ 264f126890aSEmmanuel Vadot AM62AX_IOPAD(0x0194, PIN_INPUT, 2) /* (C19) MCASP0_AXR3.UART1_CTSn */ 265f126890aSEmmanuel Vadot AM62AX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (B19) MCASP0_AXR2.UART1_RTSn */ 266f126890aSEmmanuel Vadot >; 267f126890aSEmmanuel Vadot }; 268f126890aSEmmanuel Vadot 269f126890aSEmmanuel Vadot main_i2c0_pins_default: main-i2c0-default-pins { 2707ef62cebSEmmanuel Vadot pinctrl-single,pins = < 2717ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ 2727ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ 2737ef62cebSEmmanuel Vadot >; 2747ef62cebSEmmanuel Vadot }; 2757ef62cebSEmmanuel Vadot 276f126890aSEmmanuel Vadot main_i2c1_pins_default: main-i2c1-default-pins { 2777ef62cebSEmmanuel Vadot pinctrl-single,pins = < 2787ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ 2797ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ 2807ef62cebSEmmanuel Vadot >; 2817ef62cebSEmmanuel Vadot }; 2827ef62cebSEmmanuel Vadot 283f126890aSEmmanuel Vadot main_i2c2_pins_default: main-i2c2-default-pins { 2847ef62cebSEmmanuel Vadot pinctrl-single,pins = < 2857ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ 2867ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ 2877ef62cebSEmmanuel Vadot >; 2887ef62cebSEmmanuel Vadot }; 2897ef62cebSEmmanuel Vadot 29001950c46SEmmanuel Vadot main_mmc0_pins_default: main-mmc0-default-pins { 29101950c46SEmmanuel Vadot pinctrl-single,pins = < 29201950c46SEmmanuel Vadot AM62AX_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ 29301950c46SEmmanuel Vadot AM62AX_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLKLB */ 29401950c46SEmmanuel Vadot AM62AX_IOPAD(0x21c, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ 29501950c46SEmmanuel Vadot AM62AX_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ 29601950c46SEmmanuel Vadot AM62AX_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */ 29701950c46SEmmanuel Vadot AM62AX_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */ 29801950c46SEmmanuel Vadot AM62AX_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */ 29901950c46SEmmanuel Vadot AM62AX_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */ 30001950c46SEmmanuel Vadot AM62AX_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */ 30101950c46SEmmanuel Vadot AM62AX_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */ 30201950c46SEmmanuel Vadot AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ 30301950c46SEmmanuel Vadot >; 30401950c46SEmmanuel Vadot }; 30501950c46SEmmanuel Vadot 306f126890aSEmmanuel Vadot main_mmc1_pins_default: main-mmc1-default-pins { 3077ef62cebSEmmanuel Vadot pinctrl-single,pins = < 3087ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ 3097ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ 3107ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ 3117ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ 3127ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ 3137ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ 3147ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */ 3157ef62cebSEmmanuel Vadot >; 3167ef62cebSEmmanuel Vadot }; 3177ef62cebSEmmanuel Vadot 318f126890aSEmmanuel Vadot usr_led_pins_default: usr-led-default-pins { 3197ef62cebSEmmanuel Vadot pinctrl-single,pins = < 3207ef62cebSEmmanuel Vadot AM62AX_IOPAD(0x244, PIN_OUTPUT, 7) /* (D18) MMC1_SDWP.GPIO1_49 */ 3217ef62cebSEmmanuel Vadot >; 3227ef62cebSEmmanuel Vadot }; 323cb7aa33aSEmmanuel Vadot 324f126890aSEmmanuel Vadot main_usb1_pins_default: main-usb1-default-pins { 325cb7aa33aSEmmanuel Vadot pinctrl-single,pins = < 326cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ 327cb7aa33aSEmmanuel Vadot >; 328cb7aa33aSEmmanuel Vadot }; 329cb7aa33aSEmmanuel Vadot 330f126890aSEmmanuel Vadot main_mdio1_pins_default: main-mdio1-default-pins { 331cb7aa33aSEmmanuel Vadot pinctrl-single,pins = < 332cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */ 333cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x15c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */ 334cb7aa33aSEmmanuel Vadot >; 335cb7aa33aSEmmanuel Vadot }; 336cb7aa33aSEmmanuel Vadot 337f126890aSEmmanuel Vadot main_rgmii1_pins_default: main-rgmii1-default-pins { 338cb7aa33aSEmmanuel Vadot pinctrl-single,pins = < 339cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x14c, PIN_INPUT, 0) /* (AB16) RGMII1_RD0 */ 340cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x150, PIN_INPUT, 0) /* (V15) RGMII1_RD1 */ 341cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x154, PIN_INPUT, 0) /* (W15) RGMII1_RD2 */ 342cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x158, PIN_INPUT, 0) /* (V14) RGMII1_RD3 */ 343cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x148, PIN_INPUT, 0) /* (AA16) RGMII1_RXC */ 344cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x144, PIN_INPUT, 0) /* (AA15) RGMII1_RX_CTL */ 345cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x134, PIN_INPUT, 0) /* (Y17) RGMII1_TD0 */ 346cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x138, PIN_INPUT, 0) /* (V16) RGMII1_TD1 */ 347cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x13c, PIN_INPUT, 0) /* (Y16) RGMII1_TD2 */ 348cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x140, PIN_INPUT, 0) /* (AA17) RGMII1_TD3 */ 349cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x130, PIN_INPUT, 0) /* (AB17) RGMII1_TXC */ 350cb7aa33aSEmmanuel Vadot AM62AX_IOPAD(0x12c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */ 351cb7aa33aSEmmanuel Vadot >; 352cb7aa33aSEmmanuel Vadot }; 35384943d6fSEmmanuel Vadot 35484943d6fSEmmanuel Vadot main_mcasp1_pins_default: main-mcasp1-default-pins { 35584943d6fSEmmanuel Vadot pinctrl-single,pins = < 35684943d6fSEmmanuel Vadot AM62AX_IOPAD(0x090, PIN_INPUT, 2) /* (L19) GPMC0_BE0n_CLE.MCASP1_ACLKX */ 35784943d6fSEmmanuel Vadot AM62AX_IOPAD(0x098, PIN_INPUT, 2) /* (R18) GPMC0_WAIT0.MCASP1_AFSX */ 35884943d6fSEmmanuel Vadot AM62AX_IOPAD(0x08c, PIN_OUTPUT, 2) /* (K19) GPMC0_WEn.MCASP1_AXR0 */ 35984943d6fSEmmanuel Vadot AM62AX_IOPAD(0x084, PIN_INPUT, 2) /* (L18) GPMC0_ADVn_ALE.MCASP1_AXR2 */ 36084943d6fSEmmanuel Vadot >; 36184943d6fSEmmanuel Vadot }; 3628d13bc63SEmmanuel Vadot 3638d13bc63SEmmanuel Vadot main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { 3648d13bc63SEmmanuel Vadot pinctrl-single,pins = < 3658d13bc63SEmmanuel Vadot AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */ 3668d13bc63SEmmanuel Vadot >; 3678d13bc63SEmmanuel Vadot }; 3687d0873ebSEmmanuel Vadot 3697d0873ebSEmmanuel Vadot vddshv_sdio_pins_default: vddshv-sdio-default-pins { 3707d0873ebSEmmanuel Vadot pinctrl-single,pins = < 3717d0873ebSEmmanuel Vadot AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ 3727d0873ebSEmmanuel Vadot >; 3737d0873ebSEmmanuel Vadot }; 37484943d6fSEmmanuel Vadot}; 37584943d6fSEmmanuel Vadot 37684943d6fSEmmanuel Vadot&mcu_pmx0 { 37784943d6fSEmmanuel Vadot status = "okay"; 37884943d6fSEmmanuel Vadot 37984943d6fSEmmanuel Vadot pmic_irq_pins_default: pmic-irq-default-pins { 38084943d6fSEmmanuel Vadot pinctrl-single,pins = < 38184943d6fSEmmanuel Vadot AM62AX_MCU_IOPAD(0x000, PIN_INPUT, 7) /* (E11) MCU_GPIO0_0 */ 38284943d6fSEmmanuel Vadot >; 38384943d6fSEmmanuel Vadot }; 38484943d6fSEmmanuel Vadot}; 38584943d6fSEmmanuel Vadot 38684943d6fSEmmanuel Vadot&mcu_gpio0 { 38784943d6fSEmmanuel Vadot status = "okay"; 3887ef62cebSEmmanuel Vadot}; 3897ef62cebSEmmanuel Vadot 3907ef62cebSEmmanuel Vadot&main_i2c0 { 3917ef62cebSEmmanuel Vadot status = "okay"; 3927ef62cebSEmmanuel Vadot pinctrl-names = "default"; 3937ef62cebSEmmanuel Vadot pinctrl-0 = <&main_i2c0_pins_default>; 3947ef62cebSEmmanuel Vadot clock-frequency = <400000>; 395aa1a8ff2SEmmanuel Vadot 396aa1a8ff2SEmmanuel Vadot typec_pd0: usb-power-controller@3f { 397aa1a8ff2SEmmanuel Vadot compatible = "ti,tps6598x"; 398aa1a8ff2SEmmanuel Vadot reg = <0x3f>; 399aa1a8ff2SEmmanuel Vadot 400aa1a8ff2SEmmanuel Vadot connector { 401aa1a8ff2SEmmanuel Vadot compatible = "usb-c-connector"; 402aa1a8ff2SEmmanuel Vadot label = "USB-C"; 403aa1a8ff2SEmmanuel Vadot self-powered; 404aa1a8ff2SEmmanuel Vadot data-role = "dual"; 405aa1a8ff2SEmmanuel Vadot power-role = "sink"; 406aa1a8ff2SEmmanuel Vadot port { 407aa1a8ff2SEmmanuel Vadot usb_con_hs: endpoint { 408aa1a8ff2SEmmanuel Vadot remote-endpoint = <&usb0_hs_ep>; 409aa1a8ff2SEmmanuel Vadot }; 410aa1a8ff2SEmmanuel Vadot }; 411aa1a8ff2SEmmanuel Vadot }; 412aa1a8ff2SEmmanuel Vadot }; 41384943d6fSEmmanuel Vadot 41484943d6fSEmmanuel Vadot tps659312: pmic@48 { 41584943d6fSEmmanuel Vadot compatible = "ti,tps6593-q1"; 41684943d6fSEmmanuel Vadot reg = <0x48>; 41784943d6fSEmmanuel Vadot ti,primary-pmic; 41884943d6fSEmmanuel Vadot system-power-controller; 41984943d6fSEmmanuel Vadot 42084943d6fSEmmanuel Vadot gpio-controller; 42184943d6fSEmmanuel Vadot #gpio-cells = <2>; 42284943d6fSEmmanuel Vadot 42384943d6fSEmmanuel Vadot pinctrl-names = "default"; 42484943d6fSEmmanuel Vadot pinctrl-0 = <&pmic_irq_pins_default>; 42584943d6fSEmmanuel Vadot interrupt-parent = <&mcu_gpio0>; 42684943d6fSEmmanuel Vadot interrupts = <0 IRQ_TYPE_EDGE_FALLING>; 42784943d6fSEmmanuel Vadot 42884943d6fSEmmanuel Vadot buck123-supply = <&vcc_3v3_sys>; 42984943d6fSEmmanuel Vadot buck4-supply = <&vcc_3v3_sys>; 43084943d6fSEmmanuel Vadot buck5-supply = <&vcc_3v3_sys>; 43184943d6fSEmmanuel Vadot ldo1-supply = <&vcc_3v3_sys>; 43284943d6fSEmmanuel Vadot ldo2-supply = <&vcc_3v3_sys>; 43384943d6fSEmmanuel Vadot ldo3-supply = <&buck5>; 43484943d6fSEmmanuel Vadot ldo4-supply = <&vcc_3v3_sys>; 43584943d6fSEmmanuel Vadot 43684943d6fSEmmanuel Vadot regulators { 43784943d6fSEmmanuel Vadot buck123: buck123 { 43884943d6fSEmmanuel Vadot regulator-name = "vcc_core"; 43984943d6fSEmmanuel Vadot regulator-min-microvolt = <715000>; 44084943d6fSEmmanuel Vadot regulator-max-microvolt = <895000>; 44184943d6fSEmmanuel Vadot regulator-boot-on; 44284943d6fSEmmanuel Vadot regulator-always-on; 44384943d6fSEmmanuel Vadot }; 44484943d6fSEmmanuel Vadot 44584943d6fSEmmanuel Vadot buck4: buck4 { 44684943d6fSEmmanuel Vadot regulator-name = "vcc_1v1"; 44784943d6fSEmmanuel Vadot regulator-min-microvolt = <1100000>; 44884943d6fSEmmanuel Vadot regulator-max-microvolt = <1100000>; 44984943d6fSEmmanuel Vadot regulator-boot-on; 45084943d6fSEmmanuel Vadot regulator-always-on; 45184943d6fSEmmanuel Vadot }; 45284943d6fSEmmanuel Vadot 45384943d6fSEmmanuel Vadot buck5: buck5 { 45484943d6fSEmmanuel Vadot regulator-name = "vcc_1v8_sys"; 45584943d6fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 45684943d6fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 45784943d6fSEmmanuel Vadot regulator-boot-on; 45884943d6fSEmmanuel Vadot regulator-always-on; 45984943d6fSEmmanuel Vadot }; 46084943d6fSEmmanuel Vadot 46184943d6fSEmmanuel Vadot ldo1: ldo1 { 46284943d6fSEmmanuel Vadot regulator-name = "vddshv5_sdio"; 46384943d6fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 46484943d6fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 46584943d6fSEmmanuel Vadot regulator-boot-on; 46684943d6fSEmmanuel Vadot regulator-always-on; 46784943d6fSEmmanuel Vadot }; 46884943d6fSEmmanuel Vadot 46984943d6fSEmmanuel Vadot ldo2: ldo2 { 47084943d6fSEmmanuel Vadot regulator-name = "vpp_1v8"; 47184943d6fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 47284943d6fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 47384943d6fSEmmanuel Vadot regulator-boot-on; 47484943d6fSEmmanuel Vadot regulator-always-on; 47584943d6fSEmmanuel Vadot }; 47684943d6fSEmmanuel Vadot 47784943d6fSEmmanuel Vadot ldo3: ldo3 { 47884943d6fSEmmanuel Vadot regulator-name = "vcc_0v85"; 47984943d6fSEmmanuel Vadot regulator-min-microvolt = <850000>; 48084943d6fSEmmanuel Vadot regulator-max-microvolt = <850000>; 48184943d6fSEmmanuel Vadot regulator-boot-on; 48284943d6fSEmmanuel Vadot regulator-always-on; 48384943d6fSEmmanuel Vadot }; 48484943d6fSEmmanuel Vadot 48584943d6fSEmmanuel Vadot ldo4: ldo4 { 48684943d6fSEmmanuel Vadot regulator-name = "vdda_1v8"; 48784943d6fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 48884943d6fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 48984943d6fSEmmanuel Vadot regulator-boot-on; 49084943d6fSEmmanuel Vadot regulator-always-on; 49184943d6fSEmmanuel Vadot }; 49284943d6fSEmmanuel Vadot }; 49384943d6fSEmmanuel Vadot }; 4947ef62cebSEmmanuel Vadot}; 4957ef62cebSEmmanuel Vadot 4967ef62cebSEmmanuel Vadot&main_i2c1 { 4977ef62cebSEmmanuel Vadot status = "okay"; 4987ef62cebSEmmanuel Vadot pinctrl-names = "default"; 4997ef62cebSEmmanuel Vadot pinctrl-0 = <&main_i2c1_pins_default>; 50084943d6fSEmmanuel Vadot clock-frequency = <100000>; 5017ef62cebSEmmanuel Vadot 5027ef62cebSEmmanuel Vadot exp1: gpio@22 { 5037ef62cebSEmmanuel Vadot compatible = "ti,tca6424"; 5047ef62cebSEmmanuel Vadot reg = <0x22>; 5057ef62cebSEmmanuel Vadot gpio-controller; 5067ef62cebSEmmanuel Vadot #gpio-cells = <2>; 5078d13bc63SEmmanuel Vadot interrupt-parent = <&main_gpio1>; 5088d13bc63SEmmanuel Vadot interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 5098d13bc63SEmmanuel Vadot interrupt-controller; 5108d13bc63SEmmanuel Vadot #interrupt-cells = <2>; 5118d13bc63SEmmanuel Vadot pinctrl-names = "default"; 5128d13bc63SEmmanuel Vadot pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>; 5137ef62cebSEmmanuel Vadot 5147ef62cebSEmmanuel Vadot gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST", 5157ef62cebSEmmanuel Vadot "BT_EN_SOC", "MMC1_SD_EN", 5167ef62cebSEmmanuel Vadot "VPP_EN", "EXP_PS_3V3_En", 5177ef62cebSEmmanuel Vadot "EXP_PS_5V0_En", "EXP_HAT_DETECT", 5187ef62cebSEmmanuel Vadot "GPIO_AUD_RSTn", "GPIO_eMMC_RSTn", 5197ef62cebSEmmanuel Vadot "UART1_FET_BUF_EN", "BT_UART_WAKE_SOC", 5207ef62cebSEmmanuel Vadot "GPIO_HDMI_RSTn", "CSI_GPIO0", 5217ef62cebSEmmanuel Vadot "CSI_GPIO1", "WLAN_ALERTn", 5227ef62cebSEmmanuel Vadot "HDMI_INTn", "TEST_GPIO2", 5237ef62cebSEmmanuel Vadot "MCASP1_FET_EN", "MCASP1_BUF_BT_EN", 5247ef62cebSEmmanuel Vadot "MCASP1_FET_SEL", "UART1_FET_SEL", 5257ef62cebSEmmanuel Vadot "PD_I2C_IRQ", "IO_EXP_TEST_LED"; 5267ef62cebSEmmanuel Vadot }; 52784943d6fSEmmanuel Vadot 52884943d6fSEmmanuel Vadot tlv320aic3106: audio-codec@1b { 52984943d6fSEmmanuel Vadot #sound-dai-cells = <0>; 53084943d6fSEmmanuel Vadot compatible = "ti,tlv320aic3106"; 53184943d6fSEmmanuel Vadot reg = <0x1b>; 53284943d6fSEmmanuel Vadot ai3x-micbias-vg = <1>; /* 2.0V */ 53384943d6fSEmmanuel Vadot 53484943d6fSEmmanuel Vadot /* Regulators */ 53584943d6fSEmmanuel Vadot AVDD-supply = <&vcc_3v3_sys>; 53684943d6fSEmmanuel Vadot IOVDD-supply = <&vcc_3v3_sys>; 53784943d6fSEmmanuel Vadot DRVDD-supply = <&vcc_3v3_sys>; 53884943d6fSEmmanuel Vadot DVDD-supply = <&buck5>; 53984943d6fSEmmanuel Vadot }; 5408d13bc63SEmmanuel Vadot 5418d13bc63SEmmanuel Vadot exp2: gpio@23 { 5428d13bc63SEmmanuel Vadot compatible = "ti,tca6424"; 5438d13bc63SEmmanuel Vadot reg = <0x23>; 5448d13bc63SEmmanuel Vadot gpio-controller; 5458d13bc63SEmmanuel Vadot #gpio-cells = <2>; 5468d13bc63SEmmanuel Vadot 5478d13bc63SEmmanuel Vadot gpio-line-names = "", "", 5488d13bc63SEmmanuel Vadot "", "", 5498d13bc63SEmmanuel Vadot "", "", 5508d13bc63SEmmanuel Vadot "", "", 5518d13bc63SEmmanuel Vadot "WL_LT_EN", "CSI_RSTz", 5528d13bc63SEmmanuel Vadot "", "", 5538d13bc63SEmmanuel Vadot "", "", 5548d13bc63SEmmanuel Vadot "", "", 5558d13bc63SEmmanuel Vadot "SPI0_FET_SEL", "SPI0_FET_OE", 5568d13bc63SEmmanuel Vadot "RGMII2_BRD_CONN_DET", "CSI_SEL2", 5578d13bc63SEmmanuel Vadot "CSI_EN", "AUTO_100M_1000M_CONFIG", 5588d13bc63SEmmanuel Vadot "CSI_VLDO_SEL", "SoC_WLAN_SDIO_RST"; 5598d13bc63SEmmanuel Vadot }; 56001950c46SEmmanuel Vadot 56101950c46SEmmanuel Vadot sii9022: bridge-hdmi@3b { 56201950c46SEmmanuel Vadot compatible = "sil,sii9022"; 56301950c46SEmmanuel Vadot reg = <0x3b>; 56401950c46SEmmanuel Vadot interrupt-parent = <&exp1>; 56501950c46SEmmanuel Vadot interrupts = <16 IRQ_TYPE_EDGE_FALLING>; 56601950c46SEmmanuel Vadot #sound-dai-cells = <0>; 56701950c46SEmmanuel Vadot sil,i2s-data-lanes = < 0 >; 56801950c46SEmmanuel Vadot 56901950c46SEmmanuel Vadot ports { 57001950c46SEmmanuel Vadot #address-cells = <1>; 57101950c46SEmmanuel Vadot #size-cells = <0>; 57201950c46SEmmanuel Vadot 57301950c46SEmmanuel Vadot port@0 { 57401950c46SEmmanuel Vadot reg = <0>; 57501950c46SEmmanuel Vadot 57601950c46SEmmanuel Vadot sii9022_in: endpoint { 57701950c46SEmmanuel Vadot remote-endpoint = <&dpi1_out>; 57801950c46SEmmanuel Vadot }; 57901950c46SEmmanuel Vadot }; 58001950c46SEmmanuel Vadot 58101950c46SEmmanuel Vadot port@1 { 58201950c46SEmmanuel Vadot reg = <1>; 58301950c46SEmmanuel Vadot 58401950c46SEmmanuel Vadot sii9022_out: endpoint { 58501950c46SEmmanuel Vadot remote-endpoint = <&hdmi_connector_in>; 58601950c46SEmmanuel Vadot }; 58701950c46SEmmanuel Vadot }; 58801950c46SEmmanuel Vadot }; 58901950c46SEmmanuel Vadot }; 5908d13bc63SEmmanuel Vadot}; 5918d13bc63SEmmanuel Vadot 5928d13bc63SEmmanuel Vadot&main_i2c2 { 5938d13bc63SEmmanuel Vadot status = "okay"; 5948d13bc63SEmmanuel Vadot pinctrl-names = "default"; 5958d13bc63SEmmanuel Vadot pinctrl-0 = <&main_i2c2_pins_default>; 5968d13bc63SEmmanuel Vadot clock-frequency = <400000>; 5977ef62cebSEmmanuel Vadot}; 5987ef62cebSEmmanuel Vadot 59901950c46SEmmanuel Vadot&sdhci0 { 60001950c46SEmmanuel Vadot /* eMMC */ 60101950c46SEmmanuel Vadot status = "okay"; 60201950c46SEmmanuel Vadot non-removable; 60301950c46SEmmanuel Vadot pinctrl-names = "default"; 60401950c46SEmmanuel Vadot pinctrl-0 = <&main_mmc0_pins_default>; 60501950c46SEmmanuel Vadot disable-wp; 60601950c46SEmmanuel Vadot}; 60701950c46SEmmanuel Vadot 6087ef62cebSEmmanuel Vadot&sdhci1 { 6097ef62cebSEmmanuel Vadot /* SD/MMC */ 6107ef62cebSEmmanuel Vadot status = "okay"; 6117ef62cebSEmmanuel Vadot vmmc-supply = <&vdd_mmc1>; 6127d0873ebSEmmanuel Vadot vqmmc-supply = <&vddshv_sdio>; 6137ef62cebSEmmanuel Vadot pinctrl-names = "default"; 6147ef62cebSEmmanuel Vadot pinctrl-0 = <&main_mmc1_pins_default>; 6157ef62cebSEmmanuel Vadot disable-wp; 6167ef62cebSEmmanuel Vadot}; 6177ef62cebSEmmanuel Vadot 6187ef62cebSEmmanuel Vadot&main_gpio0 { 6197ef62cebSEmmanuel Vadot status = "okay"; 6207ef62cebSEmmanuel Vadot}; 6217ef62cebSEmmanuel Vadot 6227ef62cebSEmmanuel Vadot&main_gpio1 { 6237ef62cebSEmmanuel Vadot status = "okay"; 6247ef62cebSEmmanuel Vadot}; 6257ef62cebSEmmanuel Vadot 6267ef62cebSEmmanuel Vadot&main_gpio_intr { 6277ef62cebSEmmanuel Vadot status = "okay"; 6287ef62cebSEmmanuel Vadot}; 6297ef62cebSEmmanuel Vadot 6307ef62cebSEmmanuel Vadot&main_uart0 { 6317ef62cebSEmmanuel Vadot status = "okay"; 6327ef62cebSEmmanuel Vadot pinctrl-names = "default"; 6337ef62cebSEmmanuel Vadot pinctrl-0 = <&main_uart0_pins_default>; 6347ef62cebSEmmanuel Vadot}; 635cb7aa33aSEmmanuel Vadot 636f126890aSEmmanuel Vadot/* Main UART1 is used for TIFS firmware logs */ 637f126890aSEmmanuel Vadot&main_uart1 { 638f126890aSEmmanuel Vadot pinctrl-names = "default"; 639f126890aSEmmanuel Vadot pinctrl-0 = <&main_uart1_pins_default>; 640f126890aSEmmanuel Vadot status = "reserved"; 641f126890aSEmmanuel Vadot}; 642f126890aSEmmanuel Vadot 643aa1a8ff2SEmmanuel Vadot&usbss0 { 644aa1a8ff2SEmmanuel Vadot status = "okay"; 645aa1a8ff2SEmmanuel Vadot ti,vbus-divider; 646aa1a8ff2SEmmanuel Vadot}; 647aa1a8ff2SEmmanuel Vadot 648aa1a8ff2SEmmanuel Vadot&usb0 { 649aa1a8ff2SEmmanuel Vadot usb-role-switch; 650aa1a8ff2SEmmanuel Vadot 651aa1a8ff2SEmmanuel Vadot port { 652aa1a8ff2SEmmanuel Vadot usb0_hs_ep: endpoint { 653aa1a8ff2SEmmanuel Vadot remote-endpoint = <&usb_con_hs>; 654aa1a8ff2SEmmanuel Vadot }; 655aa1a8ff2SEmmanuel Vadot }; 656aa1a8ff2SEmmanuel Vadot}; 657aa1a8ff2SEmmanuel Vadot 658cb7aa33aSEmmanuel Vadot&usbss1 { 659cb7aa33aSEmmanuel Vadot status = "okay"; 660cb7aa33aSEmmanuel Vadot}; 661cb7aa33aSEmmanuel Vadot 662cb7aa33aSEmmanuel Vadot&usb1 { 663cb7aa33aSEmmanuel Vadot dr_mode = "host"; 664cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 665cb7aa33aSEmmanuel Vadot pinctrl-0 = <&main_usb1_pins_default>; 666cb7aa33aSEmmanuel Vadot}; 667cb7aa33aSEmmanuel Vadot 668cb7aa33aSEmmanuel Vadot&cpsw3g { 669cb7aa33aSEmmanuel Vadot status = "okay"; 670cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 671cb7aa33aSEmmanuel Vadot pinctrl-0 = <&main_rgmii1_pins_default>; 672cb7aa33aSEmmanuel Vadot}; 673cb7aa33aSEmmanuel Vadot 674cb7aa33aSEmmanuel Vadot&cpsw_port1 { 675cb7aa33aSEmmanuel Vadot status = "okay"; 676cb7aa33aSEmmanuel Vadot phy-mode = "rgmii-rxid"; 677cb7aa33aSEmmanuel Vadot phy-handle = <&cpsw3g_phy0>; 678cb7aa33aSEmmanuel Vadot}; 679cb7aa33aSEmmanuel Vadot 680cb7aa33aSEmmanuel Vadot&cpsw_port2 { 681cb7aa33aSEmmanuel Vadot status = "disabled"; 682cb7aa33aSEmmanuel Vadot}; 683cb7aa33aSEmmanuel Vadot 684cb7aa33aSEmmanuel Vadot&cpsw3g_mdio { 685cb7aa33aSEmmanuel Vadot status = "okay"; 686cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 687cb7aa33aSEmmanuel Vadot pinctrl-0 = <&main_mdio1_pins_default>; 688cb7aa33aSEmmanuel Vadot 689cb7aa33aSEmmanuel Vadot cpsw3g_phy0: ethernet-phy@0 { 690cb7aa33aSEmmanuel Vadot reg = <0>; 691cb7aa33aSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 692cb7aa33aSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 693cb7aa33aSEmmanuel Vadot ti,min-output-impedance; 694cb7aa33aSEmmanuel Vadot }; 695cb7aa33aSEmmanuel Vadot}; 69684943d6fSEmmanuel Vadot 69784943d6fSEmmanuel Vadot&mcasp1 { 69884943d6fSEmmanuel Vadot status = "okay"; 69984943d6fSEmmanuel Vadot #sound-dai-cells = <0>; 70084943d6fSEmmanuel Vadot 70184943d6fSEmmanuel Vadot pinctrl-names = "default"; 70284943d6fSEmmanuel Vadot pinctrl-0 = <&main_mcasp1_pins_default>; 70384943d6fSEmmanuel Vadot 70484943d6fSEmmanuel Vadot op-mode = <0>; /* MCASP_IIS_MODE */ 70584943d6fSEmmanuel Vadot tdm-slots = <2>; 70684943d6fSEmmanuel Vadot 70784943d6fSEmmanuel Vadot serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 70884943d6fSEmmanuel Vadot 1 0 2 0 70984943d6fSEmmanuel Vadot 0 0 0 0 71084943d6fSEmmanuel Vadot 0 0 0 0 71184943d6fSEmmanuel Vadot 0 0 0 0 71284943d6fSEmmanuel Vadot >; 71384943d6fSEmmanuel Vadot}; 71401950c46SEmmanuel Vadot 71501950c46SEmmanuel Vadot&dss { 71601950c46SEmmanuel Vadot status = "okay"; 71701950c46SEmmanuel Vadot pinctrl-names = "default"; 71801950c46SEmmanuel Vadot pinctrl-0 = <&main_dss0_pins_default>; 71901950c46SEmmanuel Vadot}; 72001950c46SEmmanuel Vadot 72101950c46SEmmanuel Vadot&dss_ports { 72201950c46SEmmanuel Vadot /* VP2: DPI Output */ 72301950c46SEmmanuel Vadot port@1 { 72401950c46SEmmanuel Vadot reg = <1>; 72501950c46SEmmanuel Vadot 72601950c46SEmmanuel Vadot dpi1_out: endpoint { 72701950c46SEmmanuel Vadot remote-endpoint = <&sii9022_in>; 72801950c46SEmmanuel Vadot }; 72901950c46SEmmanuel Vadot }; 73001950c46SEmmanuel Vadot}; 731