1a8415814SAnand Gadiyar// SPDX-License-Identifier: GPL-2.0 2a8415814SAnand Gadiyar/* 3a8415814SAnand Gadiyar * Common dtsi for AM62x SK and derivatives 4a8415814SAnand Gadiyar * 5a8415814SAnand Gadiyar * Copyright (C) 2021-2023 Texas Instruments Incorporated - https://www.ti.com/ 6a8415814SAnand Gadiyar */ 7a8415814SAnand Gadiyar 8a8415814SAnand Gadiyar#include <dt-bindings/leds/common.h> 9a8415814SAnand Gadiyar#include <dt-bindings/gpio/gpio.h> 10a8415814SAnand Gadiyar#include <dt-bindings/net/ti-dp83867.h> 11a8415814SAnand Gadiyar#include "k3-am625.dtsi" 12a8415814SAnand Gadiyar 13a8415814SAnand Gadiyar/ { 14a8415814SAnand Gadiyar aliases { 15a8415814SAnand Gadiyar serial2 = &main_uart0; 16a8415814SAnand Gadiyar mmc0 = &sdhci0; 17a8415814SAnand Gadiyar mmc1 = &sdhci1; 18a8415814SAnand Gadiyar mmc2 = &sdhci2; 19a8415814SAnand Gadiyar spi0 = &ospi0; 20a8415814SAnand Gadiyar ethernet0 = &cpsw_port1; 21a8415814SAnand Gadiyar ethernet1 = &cpsw_port2; 22a8415814SAnand Gadiyar usb0 = &usb0; 23a8415814SAnand Gadiyar usb1 = &usb1; 24a8415814SAnand Gadiyar }; 25a8415814SAnand Gadiyar 26a8415814SAnand Gadiyar chosen { 27a8415814SAnand Gadiyar stdout-path = "serial2:115200n8"; 28a8415814SAnand Gadiyar }; 29a8415814SAnand Gadiyar 30a8415814SAnand Gadiyar memory@80000000 { 31a8415814SAnand Gadiyar device_type = "memory"; 32a8415814SAnand Gadiyar /* 2G RAM */ 33a8415814SAnand Gadiyar reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 34a8415814SAnand Gadiyar }; 35a8415814SAnand Gadiyar 36a8415814SAnand Gadiyar reserved-memory { 37a8415814SAnand Gadiyar #address-cells = <2>; 38a8415814SAnand Gadiyar #size-cells = <2>; 39a8415814SAnand Gadiyar ranges; 40a8415814SAnand Gadiyar 41a8415814SAnand Gadiyar ramoops@9ca00000 { 42a8415814SAnand Gadiyar compatible = "ramoops"; 43a8415814SAnand Gadiyar reg = <0x00 0x9ca00000 0x00 0x00100000>; 44a8415814SAnand Gadiyar record-size = <0x8000>; 45a8415814SAnand Gadiyar console-size = <0x8000>; 46a8415814SAnand Gadiyar ftrace-size = <0x00>; 47a8415814SAnand Gadiyar pmsg-size = <0x8000>; 48a8415814SAnand Gadiyar }; 49a8415814SAnand Gadiyar 50a8415814SAnand Gadiyar secure_tfa_ddr: tfa@9e780000 { 51a8415814SAnand Gadiyar reg = <0x00 0x9e780000 0x00 0x80000>; 52a8415814SAnand Gadiyar alignment = <0x1000>; 53a8415814SAnand Gadiyar no-map; 54a8415814SAnand Gadiyar }; 55a8415814SAnand Gadiyar 56a8415814SAnand Gadiyar secure_ddr: optee@9e800000 { 57a8415814SAnand Gadiyar reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 58a8415814SAnand Gadiyar alignment = <0x1000>; 59a8415814SAnand Gadiyar no-map; 60a8415814SAnand Gadiyar }; 61a8415814SAnand Gadiyar 62a8415814SAnand Gadiyar wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { 63a8415814SAnand Gadiyar compatible = "shared-dma-pool"; 64a8415814SAnand Gadiyar reg = <0x00 0x9db00000 0x00 0xc00000>; 65a8415814SAnand Gadiyar no-map; 66a8415814SAnand Gadiyar }; 67a8415814SAnand Gadiyar }; 68a8415814SAnand Gadiyar 69a8415814SAnand Gadiyar leds { 70a8415814SAnand Gadiyar compatible = "gpio-leds"; 71a8415814SAnand Gadiyar pinctrl-names = "default"; 72a8415814SAnand Gadiyar pinctrl-0 = <&usr_led_pins_default>; 73a8415814SAnand Gadiyar 74a8415814SAnand Gadiyar led-0 { 75a8415814SAnand Gadiyar label = "am62-sk:green:heartbeat"; 76a8415814SAnand Gadiyar gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>; 77a8415814SAnand Gadiyar linux,default-trigger = "heartbeat"; 78a8415814SAnand Gadiyar function = LED_FUNCTION_HEARTBEAT; 79a8415814SAnand Gadiyar default-state = "off"; 80a8415814SAnand Gadiyar }; 81a8415814SAnand Gadiyar }; 82b94b4371SJai Luthra 83b94b4371SJai Luthra tlv320_mclk: clk-0 { 84b94b4371SJai Luthra #clock-cells = <0>; 85b94b4371SJai Luthra compatible = "fixed-clock"; 86b94b4371SJai Luthra clock-frequency = <12288000>; 87b94b4371SJai Luthra }; 88b94b4371SJai Luthra 89b94b4371SJai Luthra codec_audio: sound { 90b94b4371SJai Luthra compatible = "simple-audio-card"; 91b94b4371SJai Luthra simple-audio-card,name = "AM62x-SKEVM"; 92b94b4371SJai Luthra simple-audio-card,widgets = 93b94b4371SJai Luthra "Headphone", "Headphone Jack", 94b94b4371SJai Luthra "Line", "Line In", 95b94b4371SJai Luthra "Microphone", "Microphone Jack"; 96b94b4371SJai Luthra simple-audio-card,routing = 97b94b4371SJai Luthra "Headphone Jack", "HPLOUT", 98b94b4371SJai Luthra "Headphone Jack", "HPROUT", 99b94b4371SJai Luthra "LINE1L", "Line In", 100b94b4371SJai Luthra "LINE1R", "Line In", 101b94b4371SJai Luthra "MIC3R", "Microphone Jack", 102b94b4371SJai Luthra "Microphone Jack", "Mic Bias"; 103b94b4371SJai Luthra simple-audio-card,format = "dsp_b"; 104b94b4371SJai Luthra simple-audio-card,bitclock-master = <&sound_master>; 105b94b4371SJai Luthra simple-audio-card,frame-master = <&sound_master>; 106b94b4371SJai Luthra simple-audio-card,bitclock-inversion; 107b94b4371SJai Luthra 108b94b4371SJai Luthra simple-audio-card,cpu { 109b94b4371SJai Luthra sound-dai = <&mcasp1>; 110b94b4371SJai Luthra }; 111b94b4371SJai Luthra 112b94b4371SJai Luthra sound_master: simple-audio-card,codec { 113b94b4371SJai Luthra sound-dai = <&tlv320aic3106>; 114b94b4371SJai Luthra clocks = <&tlv320_mclk>; 115b94b4371SJai Luthra }; 116b94b4371SJai Luthra }; 117*db6e8237SAradhya Bhatia 118*db6e8237SAradhya Bhatia hdmi0: connector-hdmi { 119*db6e8237SAradhya Bhatia compatible = "hdmi-connector"; 120*db6e8237SAradhya Bhatia label = "hdmi"; 121*db6e8237SAradhya Bhatia type = "a"; 122*db6e8237SAradhya Bhatia port { 123*db6e8237SAradhya Bhatia hdmi_connector_in: endpoint { 124*db6e8237SAradhya Bhatia remote-endpoint = <&sii9022_out>; 125*db6e8237SAradhya Bhatia }; 126*db6e8237SAradhya Bhatia }; 127*db6e8237SAradhya Bhatia }; 128a8415814SAnand Gadiyar}; 129a8415814SAnand Gadiyar 130a8415814SAnand Gadiyar&main_pmx0 { 131a8415814SAnand Gadiyar /* First pad number is ALW package and second is AMC package */ 132a4956811STony Lindgren main_uart0_pins_default: main-uart0-default-pins { 133a8415814SAnand Gadiyar pinctrl-single,pins = < 134a8415814SAnand Gadiyar AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14/A13) UART0_RXD */ 135a8415814SAnand Gadiyar AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14/E11) UART0_TXD */ 136a8415814SAnand Gadiyar >; 137a8415814SAnand Gadiyar }; 138a8415814SAnand Gadiyar 139a4956811STony Lindgren main_uart1_pins_default: main-uart1-default-pins { 14076194abaSNishanth Menon pinctrl-single,pins = < 14176194abaSNishanth Menon AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19/B18) MCASP0_AXR3.UART1_CTSn */ 14276194abaSNishanth Menon AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19/B17) MCASP0_AXR2.UART1_RTSn */ 14376194abaSNishanth Menon AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19/D15) MCASP0_AFSR.UART1_RXD */ 14476194abaSNishanth Menon AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20/D16) MCASP0_ACLKR.UART1_TXD */ 14576194abaSNishanth Menon >; 14676194abaSNishanth Menon }; 14776194abaSNishanth Menon 148a4956811STony Lindgren main_i2c0_pins_default: main-i2c0-default-pins { 149a8415814SAnand Gadiyar pinctrl-single,pins = < 150a8415814SAnand Gadiyar AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16/E12) I2C0_SCL */ 151a8415814SAnand Gadiyar AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16/D14) I2C0_SDA */ 152a8415814SAnand Gadiyar >; 153a8415814SAnand Gadiyar }; 154a8415814SAnand Gadiyar 155a4956811STony Lindgren main_i2c1_pins_default: main-i2c1-default-pins { 156a8415814SAnand Gadiyar pinctrl-single,pins = < 157a8415814SAnand Gadiyar AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17/A17) I2C1_SCL */ 158a8415814SAnand Gadiyar AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17/A16) I2C1_SDA */ 159a8415814SAnand Gadiyar >; 160a8415814SAnand Gadiyar }; 161a8415814SAnand Gadiyar 162a4956811STony Lindgren main_i2c2_pins_default: main-i2c2-default-pins { 163a8415814SAnand Gadiyar pinctrl-single,pins = < 164a8415814SAnand Gadiyar AM62X_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22/H18) GPMC0_CSn2.I2C2_SCL */ 165a8415814SAnand Gadiyar AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24/H19) GPMC0_CSn3.I2C2_SDA */ 166a8415814SAnand Gadiyar >; 167a8415814SAnand Gadiyar }; 168a8415814SAnand Gadiyar 169a4956811STony Lindgren main_mmc0_pins_default: main-mmc0-default-pins { 170a8415814SAnand Gadiyar pinctrl-single,pins = < 171a8415814SAnand Gadiyar AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3/V3) MMC0_CMD */ 172a8415814SAnand Gadiyar AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1/Y1) MMC0_CLK */ 173a8415814SAnand Gadiyar AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2/V2) MMC0_DAT0 */ 174a8415814SAnand Gadiyar AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1/V1) MMC0_DAT1 */ 175a8415814SAnand Gadiyar AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3/W2) MMC0_DAT2 */ 176a8415814SAnand Gadiyar AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4/W1) MMC0_DAT3 */ 177a8415814SAnand Gadiyar AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2/Y2) MMC0_DAT4 */ 178a8415814SAnand Gadiyar AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1/W3) MMC0_DAT5 */ 179a8415814SAnand Gadiyar AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2/W4) MMC0_DAT6 */ 180a8415814SAnand Gadiyar AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2/V4) MMC0_DAT7 */ 181a8415814SAnand Gadiyar >; 182a8415814SAnand Gadiyar }; 183a8415814SAnand Gadiyar 184a4956811STony Lindgren main_mmc1_pins_default: main-mmc1-default-pins { 185a8415814SAnand Gadiyar pinctrl-single,pins = < 186a8415814SAnand Gadiyar AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21/C18) MMC1_CMD */ 187a8415814SAnand Gadiyar AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22/A20) MMC1_CLK */ 188a8415814SAnand Gadiyar AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22/A19) MMC1_DAT0 */ 189a8415814SAnand Gadiyar AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21/B19) MMC1_DAT1 */ 190a8415814SAnand Gadiyar AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21/B20) MMC1_DAT2 */ 191a8415814SAnand Gadiyar AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22/C19) MMC1_DAT3 */ 192a8415814SAnand Gadiyar AM62X_IOPAD(0x240, PIN_INPUT, 0) /* (D17/C15) MMC1_SDCD */ 193a8415814SAnand Gadiyar >; 194a8415814SAnand Gadiyar }; 195a8415814SAnand Gadiyar 196a4956811STony Lindgren usr_led_pins_default: usr-led-default-pins { 197a8415814SAnand Gadiyar pinctrl-single,pins = < 198a8415814SAnand Gadiyar AM62X_IOPAD(0x244, PIN_OUTPUT, 7) /* (C17/B15) MMC1_SDWP.GPIO1_49 */ 199a8415814SAnand Gadiyar >; 200a8415814SAnand Gadiyar }; 201a8415814SAnand Gadiyar 202a4956811STony Lindgren main_mdio1_pins_default: main-mdio1-default-pins { 203a8415814SAnand Gadiyar pinctrl-single,pins = < 204a8415814SAnand Gadiyar AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24/V17) MDIO0_MDC */ 205a8415814SAnand Gadiyar AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22/U16) MDIO0_MDIO */ 206a8415814SAnand Gadiyar >; 207a8415814SAnand Gadiyar }; 208a8415814SAnand Gadiyar 209a4956811STony Lindgren main_rgmii1_pins_default: main-rgmii1-default-pins { 210a8415814SAnand Gadiyar pinctrl-single,pins = < 211a8415814SAnand Gadiyar AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17/W15) RGMII1_RD0 */ 212a8415814SAnand Gadiyar AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17/Y16) RGMII1_RD1 */ 213a8415814SAnand Gadiyar AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16/AA17) RGMII1_RD2 */ 214a8415814SAnand Gadiyar AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15/Y15) RGMII1_RD3 */ 215a8415814SAnand Gadiyar AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17/AA16) RGMII1_RXC */ 216a8415814SAnand Gadiyar AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17/W14) RGMII1_RX_CTL */ 217a8415814SAnand Gadiyar AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20/U14) RGMII1_TD0 */ 218a8415814SAnand Gadiyar AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20/AA19) RGMII1_TD1 */ 219a8415814SAnand Gadiyar AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18/Y17) RGMII1_TD2 */ 220a8415814SAnand Gadiyar AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18/AA18) RGMII1_TD3 */ 221a8415814SAnand Gadiyar AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19/W16) RGMII1_TXC */ 222a8415814SAnand Gadiyar AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19/V15) RGMII1_TX_CTL */ 223a8415814SAnand Gadiyar >; 224a8415814SAnand Gadiyar }; 225a8415814SAnand Gadiyar 226a4956811STony Lindgren main_usb1_pins_default: main-usb1-default-pins { 227a8415814SAnand Gadiyar pinctrl-single,pins = < 228a8415814SAnand Gadiyar AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18/E16) USB1_DRVVBUS */ 229a8415814SAnand Gadiyar >; 230a8415814SAnand Gadiyar }; 231b94b4371SJai Luthra 232a4956811STony Lindgren main_mcasp1_pins_default: main-mcasp1-default-pins { 233b94b4371SJai Luthra pinctrl-single,pins = < 2345cab8abaSNishanth Menon AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24/K17) GPMC0_BE0N_CLE.MCASP1_ACLKX */ 2355cab8abaSNishanth Menon AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23/P21) GPMC0_WAIT0.MCASP1_AFSX */ 2365cab8abaSNishanth Menon AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25/J17) GPMC0_WEN.MCASP1_AXR0 */ 2375cab8abaSNishanth Menon AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23/K20) GPMC0_ADVN_ALE.MCASP1_AXR2 */ 238b94b4371SJai Luthra >; 239b94b4371SJai Luthra }; 240*db6e8237SAradhya Bhatia 241*db6e8237SAradhya Bhatia main_dss0_pins_default: main-dss0-default-pins { 242*db6e8237SAradhya Bhatia pinctrl-single,pins = < 243*db6e8237SAradhya Bhatia AM62X_IOPAD(0x100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ 244*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ 245*db6e8237SAradhya Bhatia AM62X_IOPAD(0x104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ 246*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ 247*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ 248*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ 249*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ 250*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ 251*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ 252*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ 253*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ 254*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ 255*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ 256*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ 257*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ 258*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ 259*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ 260*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ 261*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ 262*db6e8237SAradhya Bhatia AM62X_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ 263*db6e8237SAradhya Bhatia AM62X_IOPAD(0x05c, PIN_OUTPUT, 1) /* (R24) GPMC0_AD8.VOUT0_DATA16 */ 264*db6e8237SAradhya Bhatia AM62X_IOPAD(0x060, PIN_OUTPUT, 1) /* (R25) GPMC0_AD9.VOUT0_DATA17 */ 265*db6e8237SAradhya Bhatia AM62X_IOPAD(0x064, PIN_OUTPUT, 1) /* (T25) GPMC0_AD10.VOUT0_DATA18 */ 266*db6e8237SAradhya Bhatia AM62X_IOPAD(0x068, PIN_OUTPUT, 1) /* (R21) GPMC0_AD11.VOUT0_DATA19 */ 267*db6e8237SAradhya Bhatia AM62X_IOPAD(0x06c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */ 268*db6e8237SAradhya Bhatia AM62X_IOPAD(0x070, PIN_OUTPUT, 1) /* (T24) GPMC0_AD13.VOUT0_DATA21 */ 269*db6e8237SAradhya Bhatia AM62X_IOPAD(0x074, PIN_OUTPUT, 1) /* (U25) GPMC0_AD14.VOUT0_DATA22 */ 270*db6e8237SAradhya Bhatia AM62X_IOPAD(0x078, PIN_OUTPUT, 1) /* (U24) GPMC0_AD15.VOUT0_DATA23 */ 271*db6e8237SAradhya Bhatia >; 272*db6e8237SAradhya Bhatia }; 273a8415814SAnand Gadiyar}; 274a8415814SAnand Gadiyar 27576194abaSNishanth Menon&mcu_pmx0 { 276a4956811STony Lindgren wkup_uart0_pins_default: wkup-uart0-default-pins { 27776194abaSNishanth Menon pinctrl-single,pins = < 27876194abaSNishanth Menon AM62X_MCU_IOPAD(0x02c, PIN_INPUT, 0) /* (C6/A7) WKUP_UART0_CTSn */ 27976194abaSNishanth Menon AM62X_MCU_IOPAD(0x030, PIN_OUTPUT, 0) /* (A4/B4) WKUP_UART0_RTSn */ 28076194abaSNishanth Menon AM62X_MCU_IOPAD(0x024, PIN_INPUT, 0) /* (B4/B5) WKUP_UART0_RXD */ 28176194abaSNishanth Menon AM62X_MCU_IOPAD(0x028, PIN_OUTPUT, 0) /* (C5/C6) WKUP_UART0_TXD */ 28276194abaSNishanth Menon >; 28376194abaSNishanth Menon }; 28476194abaSNishanth Menon}; 28576194abaSNishanth Menon 286a8415814SAnand Gadiyar&wkup_uart0 { 287a8415814SAnand Gadiyar /* WKUP UART0 is used by DM firmware */ 288a8415814SAnand Gadiyar status = "reserved"; 28976194abaSNishanth Menon pinctrl-names = "default"; 29076194abaSNishanth Menon pinctrl-0 = <&wkup_uart0_pins_default>; 291a8415814SAnand Gadiyar}; 292a8415814SAnand Gadiyar 293a8415814SAnand Gadiyar&main_uart0 { 294a8415814SAnand Gadiyar status = "okay"; 295a8415814SAnand Gadiyar pinctrl-names = "default"; 296a8415814SAnand Gadiyar pinctrl-0 = <&main_uart0_pins_default>; 297a8415814SAnand Gadiyar}; 298a8415814SAnand Gadiyar 299a8415814SAnand Gadiyar&main_uart1 { 300a8415814SAnand Gadiyar /* Main UART1 is used by TIFS firmware */ 301a8415814SAnand Gadiyar status = "reserved"; 30276194abaSNishanth Menon pinctrl-names = "default"; 30376194abaSNishanth Menon pinctrl-0 = <&main_uart1_pins_default>; 304a8415814SAnand Gadiyar}; 305a8415814SAnand Gadiyar 306a8415814SAnand Gadiyar&main_i2c0 { 307a8415814SAnand Gadiyar status = "okay"; 308a8415814SAnand Gadiyar pinctrl-names = "default"; 309a8415814SAnand Gadiyar pinctrl-0 = <&main_i2c0_pins_default>; 310a8415814SAnand Gadiyar clock-frequency = <400000>; 3112c213d19SRoger Quadros 312f40ed3b3SNishanth Menon eeprom@51 { 313f40ed3b3SNishanth Menon /* AT24C512C-MAHM-T or M24512-DFMC6TG */ 314f40ed3b3SNishanth Menon compatible = "atmel,24c512"; 315f40ed3b3SNishanth Menon reg = <0x51>; 316f40ed3b3SNishanth Menon }; 317f40ed3b3SNishanth Menon 3182c213d19SRoger Quadros typec_pd0: tps6598x@3f { 3192c213d19SRoger Quadros compatible = "ti,tps6598x"; 3202c213d19SRoger Quadros reg = <0x3f>; 3212c213d19SRoger Quadros 3222c213d19SRoger Quadros connector { 3232c213d19SRoger Quadros compatible = "usb-c-connector"; 3242c213d19SRoger Quadros label = "USB-C"; 3252c213d19SRoger Quadros self-powered; 3262c213d19SRoger Quadros data-role = "dual"; 3272c213d19SRoger Quadros power-role = "sink"; 3282c213d19SRoger Quadros ports { 3292c213d19SRoger Quadros #address-cells = <1>; 3302c213d19SRoger Quadros #size-cells = <0>; 3312c213d19SRoger Quadros 3322c213d19SRoger Quadros port@0 { 3332c213d19SRoger Quadros reg = <0>; 3342c213d19SRoger Quadros usb_con_hs: endpoint { 3352c213d19SRoger Quadros remote-endpoint = <&usb0_hs_ep>; 3362c213d19SRoger Quadros }; 3372c213d19SRoger Quadros }; 3382c213d19SRoger Quadros }; 3392c213d19SRoger Quadros }; 3402c213d19SRoger Quadros }; 341a8415814SAnand Gadiyar}; 342a8415814SAnand Gadiyar 343a8415814SAnand Gadiyar&main_i2c1 { 344a8415814SAnand Gadiyar status = "okay"; 345a8415814SAnand Gadiyar pinctrl-names = "default"; 346a8415814SAnand Gadiyar pinctrl-0 = <&main_i2c1_pins_default>; 34773387da7SAradhya Bhatia clock-frequency = <100000>; 348b94b4371SJai Luthra 349b94b4371SJai Luthra tlv320aic3106: audio-codec@1b { 350b94b4371SJai Luthra #sound-dai-cells = <0>; 351b94b4371SJai Luthra compatible = "ti,tlv320aic3106"; 352b94b4371SJai Luthra reg = <0x1b>; 353b94b4371SJai Luthra ai3x-micbias-vg = <1>; /* 2.0V */ 354b94b4371SJai Luthra 355b94b4371SJai Luthra /* Regulators */ 356b94b4371SJai Luthra AVDD-supply = <&vcc_3v3_sys>; 357b94b4371SJai Luthra IOVDD-supply = <&vcc_3v3_sys>; 358b94b4371SJai Luthra DRVDD-supply = <&vcc_3v3_sys>; 359b94b4371SJai Luthra }; 360*db6e8237SAradhya Bhatia 361*db6e8237SAradhya Bhatia sii9022: bridge-hdmi@3b { 362*db6e8237SAradhya Bhatia compatible = "sil,sii9022"; 363*db6e8237SAradhya Bhatia reg = <0x3b>; 364*db6e8237SAradhya Bhatia interrupt-parent = <&exp1>; 365*db6e8237SAradhya Bhatia interrupts = <16 IRQ_TYPE_EDGE_FALLING>; 366*db6e8237SAradhya Bhatia #sound-dai-cells = <0>; 367*db6e8237SAradhya Bhatia sil,i2s-data-lanes = < 0 >; 368*db6e8237SAradhya Bhatia 369*db6e8237SAradhya Bhatia ports { 370*db6e8237SAradhya Bhatia #address-cells = <1>; 371*db6e8237SAradhya Bhatia #size-cells = <0>; 372*db6e8237SAradhya Bhatia 373*db6e8237SAradhya Bhatia port@0 { 374*db6e8237SAradhya Bhatia reg = <0>; 375*db6e8237SAradhya Bhatia 376*db6e8237SAradhya Bhatia sii9022_in: endpoint { 377*db6e8237SAradhya Bhatia remote-endpoint = <&dpi1_out>; 378*db6e8237SAradhya Bhatia }; 379*db6e8237SAradhya Bhatia }; 380*db6e8237SAradhya Bhatia 381*db6e8237SAradhya Bhatia port@1 { 382*db6e8237SAradhya Bhatia reg = <1>; 383*db6e8237SAradhya Bhatia 384*db6e8237SAradhya Bhatia sii9022_out: endpoint { 385*db6e8237SAradhya Bhatia remote-endpoint = <&hdmi_connector_in>; 386*db6e8237SAradhya Bhatia }; 387*db6e8237SAradhya Bhatia }; 388*db6e8237SAradhya Bhatia }; 389*db6e8237SAradhya Bhatia }; 390a8415814SAnand Gadiyar}; 391a8415814SAnand Gadiyar 392a8415814SAnand Gadiyar&sdhci0 { 393a8415814SAnand Gadiyar status = "okay"; 394a8415814SAnand Gadiyar pinctrl-names = "default"; 395a8415814SAnand Gadiyar pinctrl-0 = <&main_mmc0_pins_default>; 396a8415814SAnand Gadiyar ti,driver-strength-ohm = <50>; 397a8415814SAnand Gadiyar disable-wp; 398a8415814SAnand Gadiyar}; 399a8415814SAnand Gadiyar 400a8415814SAnand Gadiyar&sdhci1 { 401a8415814SAnand Gadiyar /* SD/MMC */ 402a8415814SAnand Gadiyar status = "okay"; 403a8415814SAnand Gadiyar pinctrl-names = "default"; 404a8415814SAnand Gadiyar pinctrl-0 = <&main_mmc1_pins_default>; 405a8415814SAnand Gadiyar ti,driver-strength-ohm = <50>; 406a8415814SAnand Gadiyar disable-wp; 407a8415814SAnand Gadiyar}; 408a8415814SAnand Gadiyar 409a8415814SAnand Gadiyar&cpsw3g { 410a8415814SAnand Gadiyar pinctrl-names = "default"; 411a8415814SAnand Gadiyar pinctrl-0 = <&main_rgmii1_pins_default>; 412a8415814SAnand Gadiyar}; 413a8415814SAnand Gadiyar 414a8415814SAnand Gadiyar&cpsw_port1 { 415a8415814SAnand Gadiyar phy-mode = "rgmii-rxid"; 416a8415814SAnand Gadiyar phy-handle = <&cpsw3g_phy0>; 417a8415814SAnand Gadiyar}; 418a8415814SAnand Gadiyar 419a8415814SAnand Gadiyar&cpsw3g_mdio { 420a8415814SAnand Gadiyar status = "okay"; 421a8415814SAnand Gadiyar pinctrl-names = "default"; 422a8415814SAnand Gadiyar pinctrl-0 = <&main_mdio1_pins_default>; 423a8415814SAnand Gadiyar 424a8415814SAnand Gadiyar cpsw3g_phy0: ethernet-phy@0 { 425a8415814SAnand Gadiyar reg = <0>; 426a8415814SAnand Gadiyar ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 427a8415814SAnand Gadiyar ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 428a8415814SAnand Gadiyar ti,min-output-impedance; 429a8415814SAnand Gadiyar }; 430a8415814SAnand Gadiyar}; 431a8415814SAnand Gadiyar 432a8415814SAnand Gadiyar&mailbox0_cluster0 { 433a8415814SAnand Gadiyar mbox_m4_0: mbox-m4-0 { 434a8415814SAnand Gadiyar ti,mbox-rx = <0 0 0>; 435a8415814SAnand Gadiyar ti,mbox-tx = <1 0 0>; 436a8415814SAnand Gadiyar }; 437a8415814SAnand Gadiyar}; 438a8415814SAnand Gadiyar 439a8415814SAnand Gadiyar&usbss0 { 440a8415814SAnand Gadiyar status = "okay"; 441a8415814SAnand Gadiyar ti,vbus-divider; 442a8415814SAnand Gadiyar}; 443a8415814SAnand Gadiyar 444a8415814SAnand Gadiyar&usbss1 { 445a8415814SAnand Gadiyar status = "okay"; 446a8415814SAnand Gadiyar ti,vbus-divider; 447a8415814SAnand Gadiyar}; 448a8415814SAnand Gadiyar 449a8415814SAnand Gadiyar&usb0 { 4502c213d19SRoger Quadros #address-cells = <1>; 4512c213d19SRoger Quadros #size-cells = <0>; 4522c213d19SRoger Quadros usb-role-switch; 4532c213d19SRoger Quadros 4542c213d19SRoger Quadros port@0 { 4552c213d19SRoger Quadros reg = <0>; 4562c213d19SRoger Quadros usb0_hs_ep: endpoint { 4572c213d19SRoger Quadros remote-endpoint = <&usb_con_hs>; 4582c213d19SRoger Quadros }; 4592c213d19SRoger Quadros }; 460a8415814SAnand Gadiyar}; 461a8415814SAnand Gadiyar 462a8415814SAnand Gadiyar&usb1 { 463a8415814SAnand Gadiyar dr_mode = "host"; 464a8415814SAnand Gadiyar pinctrl-names = "default"; 465a8415814SAnand Gadiyar pinctrl-0 = <&main_usb1_pins_default>; 466a8415814SAnand Gadiyar}; 467b94b4371SJai Luthra 468b94b4371SJai Luthra&mcasp1 { 469b94b4371SJai Luthra status = "okay"; 470b94b4371SJai Luthra #sound-dai-cells = <0>; 471b94b4371SJai Luthra 472b94b4371SJai Luthra pinctrl-names = "default"; 473b94b4371SJai Luthra pinctrl-0 = <&main_mcasp1_pins_default>; 474b94b4371SJai Luthra 475b94b4371SJai Luthra op-mode = <0>; /* MCASP_IIS_MODE */ 476b94b4371SJai Luthra tdm-slots = <2>; 477b94b4371SJai Luthra 478b94b4371SJai Luthra serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 479b94b4371SJai Luthra 1 0 2 0 480b94b4371SJai Luthra 0 0 0 0 481b94b4371SJai Luthra 0 0 0 0 482b94b4371SJai Luthra 0 0 0 0 483b94b4371SJai Luthra >; 484b94b4371SJai Luthra}; 485*db6e8237SAradhya Bhatia 486*db6e8237SAradhya Bhatia&dss { 487*db6e8237SAradhya Bhatia status = "okay"; 488*db6e8237SAradhya Bhatia pinctrl-names = "default"; 489*db6e8237SAradhya Bhatia pinctrl-0 = <&main_dss0_pins_default>; 490*db6e8237SAradhya Bhatia}; 491*db6e8237SAradhya Bhatia 492*db6e8237SAradhya Bhatia&dss_ports { 493*db6e8237SAradhya Bhatia /* VP2: DPI Output */ 494*db6e8237SAradhya Bhatia port@1 { 495*db6e8237SAradhya Bhatia reg = <1>; 496*db6e8237SAradhya Bhatia 497*db6e8237SAradhya Bhatia dpi1_out: endpoint { 498*db6e8237SAradhya Bhatia remote-endpoint = <&sii9022_in>; 499*db6e8237SAradhya Bhatia }; 500*db6e8237SAradhya Bhatia }; 501*db6e8237SAradhya Bhatia}; 502