14867caf4SLokesh Vutla// SPDX-License-Identifier: GPL-2.0 24867caf4SLokesh Vutla/* 34867caf4SLokesh Vutla * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 44867caf4SLokesh Vutla */ 54867caf4SLokesh Vutla 64867caf4SLokesh Vutla/dts-v1/; 74867caf4SLokesh Vutla 84e8aa4e3SKishon Vijay Abraham I#include <dt-bindings/mux/ti-serdes.h> 94e8aa4e3SKishon Vijay Abraham I#include <dt-bindings/phy/phy.h> 104867caf4SLokesh Vutla#include <dt-bindings/gpio/gpio.h> 117fe968d2SVignesh Raghavendra#include <dt-bindings/net/ti-dp83867.h> 12b216dc1aSAparna M#include <dt-bindings/leds/common.h> 134867caf4SLokesh Vutla#include "k3-am642.dtsi" 144867caf4SLokesh Vutla 154867caf4SLokesh Vutla/ { 164867caf4SLokesh Vutla compatible = "ti,am642-sk", "ti,am642"; 174867caf4SLokesh Vutla model = "Texas Instruments AM642 SK"; 184867caf4SLokesh Vutla 194867caf4SLokesh Vutla chosen { 204867caf4SLokesh Vutla stdout-path = "serial2:115200n8"; 214867caf4SLokesh Vutla bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 224867caf4SLokesh Vutla }; 234867caf4SLokesh Vutla 244867caf4SLokesh Vutla memory@80000000 { 254867caf4SLokesh Vutla device_type = "memory"; 264867caf4SLokesh Vutla /* 2G RAM */ 274867caf4SLokesh Vutla reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 284867caf4SLokesh Vutla 294867caf4SLokesh Vutla }; 304867caf4SLokesh Vutla 314867caf4SLokesh Vutla reserved-memory { 324867caf4SLokesh Vutla #address-cells = <2>; 334867caf4SLokesh Vutla #size-cells = <2>; 344867caf4SLokesh Vutla ranges; 354867caf4SLokesh Vutla 364867caf4SLokesh Vutla secure_ddr: optee@9e800000 { 374867caf4SLokesh Vutla reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 384867caf4SLokesh Vutla alignment = <0x1000>; 394867caf4SLokesh Vutla no-map; 404867caf4SLokesh Vutla }; 41d71abfccSSuman Anna 42d71abfccSSuman Anna main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { 43d71abfccSSuman Anna compatible = "shared-dma-pool"; 44d71abfccSSuman Anna reg = <0x00 0xa0000000 0x00 0x100000>; 45d71abfccSSuman Anna no-map; 46d71abfccSSuman Anna }; 47d71abfccSSuman Anna 48d71abfccSSuman Anna main_r5fss0_core0_memory_region: r5f-memory@a0100000 { 49d71abfccSSuman Anna compatible = "shared-dma-pool"; 50d71abfccSSuman Anna reg = <0x00 0xa0100000 0x00 0xf00000>; 51d71abfccSSuman Anna no-map; 52d71abfccSSuman Anna }; 53d71abfccSSuman Anna 54d71abfccSSuman Anna main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { 55d71abfccSSuman Anna compatible = "shared-dma-pool"; 56d71abfccSSuman Anna reg = <0x00 0xa1000000 0x00 0x100000>; 57d71abfccSSuman Anna no-map; 58d71abfccSSuman Anna }; 59d71abfccSSuman Anna 60d71abfccSSuman Anna main_r5fss0_core1_memory_region: r5f-memory@a1100000 { 61d71abfccSSuman Anna compatible = "shared-dma-pool"; 62d71abfccSSuman Anna reg = <0x00 0xa1100000 0x00 0xf00000>; 63d71abfccSSuman Anna no-map; 64d71abfccSSuman Anna }; 65d71abfccSSuman Anna 66d71abfccSSuman Anna main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 { 67d71abfccSSuman Anna compatible = "shared-dma-pool"; 68d71abfccSSuman Anna reg = <0x00 0xa2000000 0x00 0x100000>; 69d71abfccSSuman Anna no-map; 70d71abfccSSuman Anna }; 71d71abfccSSuman Anna 72d71abfccSSuman Anna main_r5fss1_core0_memory_region: r5f-memory@a2100000 { 73d71abfccSSuman Anna compatible = "shared-dma-pool"; 74d71abfccSSuman Anna reg = <0x00 0xa2100000 0x00 0xf00000>; 75d71abfccSSuman Anna no-map; 76d71abfccSSuman Anna }; 77d71abfccSSuman Anna 78d71abfccSSuman Anna main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 { 79d71abfccSSuman Anna compatible = "shared-dma-pool"; 80d71abfccSSuman Anna reg = <0x00 0xa3000000 0x00 0x100000>; 81d71abfccSSuman Anna no-map; 82d71abfccSSuman Anna }; 83d71abfccSSuman Anna 84d71abfccSSuman Anna main_r5fss1_core1_memory_region: r5f-memory@a3100000 { 85d71abfccSSuman Anna compatible = "shared-dma-pool"; 86d71abfccSSuman Anna reg = <0x00 0xa3100000 0x00 0xf00000>; 87d71abfccSSuman Anna no-map; 88d71abfccSSuman Anna }; 89d71abfccSSuman Anna 90d71abfccSSuman Anna rtos_ipc_memory_region: ipc-memories@a5000000 { 91d71abfccSSuman Anna reg = <0x00 0xa5000000 0x00 0x00800000>; 92d71abfccSSuman Anna alignment = <0x1000>; 93d71abfccSSuman Anna no-map; 94d71abfccSSuman Anna }; 954867caf4SLokesh Vutla }; 964867caf4SLokesh Vutla 974867caf4SLokesh Vutla vusb_main: fixed-regulator-vusb-main5v0 { 984867caf4SLokesh Vutla /* USB MAIN INPUT 5V DC */ 994867caf4SLokesh Vutla compatible = "regulator-fixed"; 1004867caf4SLokesh Vutla regulator-name = "vusb_main5v0"; 1014867caf4SLokesh Vutla regulator-min-microvolt = <5000000>; 1024867caf4SLokesh Vutla regulator-max-microvolt = <5000000>; 1034867caf4SLokesh Vutla regulator-always-on; 1044867caf4SLokesh Vutla regulator-boot-on; 1054867caf4SLokesh Vutla }; 1064867caf4SLokesh Vutla 1074867caf4SLokesh Vutla vcc_3v3_sys: fixedregulator-vcc-3v3-sys { 1084867caf4SLokesh Vutla /* output of LP8733xx */ 1094867caf4SLokesh Vutla compatible = "regulator-fixed"; 1104867caf4SLokesh Vutla regulator-name = "vcc_3v3_sys"; 1114867caf4SLokesh Vutla regulator-min-microvolt = <3300000>; 1124867caf4SLokesh Vutla regulator-max-microvolt = <3300000>; 1134867caf4SLokesh Vutla vin-supply = <&vusb_main>; 1144867caf4SLokesh Vutla regulator-always-on; 1154867caf4SLokesh Vutla regulator-boot-on; 1164867caf4SLokesh Vutla }; 1174867caf4SLokesh Vutla 1184867caf4SLokesh Vutla vdd_mmc1: fixed-regulator-sd { 1194867caf4SLokesh Vutla /* TPS2051BD */ 1204867caf4SLokesh Vutla compatible = "regulator-fixed"; 1214867caf4SLokesh Vutla regulator-name = "vdd_mmc1"; 1224867caf4SLokesh Vutla regulator-min-microvolt = <3300000>; 1234867caf4SLokesh Vutla regulator-max-microvolt = <3300000>; 1244867caf4SLokesh Vutla regulator-boot-on; 1254867caf4SLokesh Vutla enable-active-high; 1264867caf4SLokesh Vutla vin-supply = <&vcc_3v3_sys>; 1274867caf4SLokesh Vutla gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; 1284867caf4SLokesh Vutla }; 129065d6261SKishon Vijay Abraham I 130065d6261SKishon Vijay Abraham I com8_ls_en: regulator-1 { 131065d6261SKishon Vijay Abraham I compatible = "regulator-fixed"; 132065d6261SKishon Vijay Abraham I regulator-name = "com8_ls_en"; 133065d6261SKishon Vijay Abraham I regulator-min-microvolt = <3300000>; 134065d6261SKishon Vijay Abraham I regulator-max-microvolt = <3300000>; 135065d6261SKishon Vijay Abraham I regulator-always-on; 136065d6261SKishon Vijay Abraham I regulator-boot-on; 137065d6261SKishon Vijay Abraham I pinctrl-0 = <&main_com8_ls_en_pins_default>; 138065d6261SKishon Vijay Abraham I pinctrl-names = "default"; 139065d6261SKishon Vijay Abraham I gpio = <&main_gpio0 62 GPIO_ACTIVE_LOW>; 140065d6261SKishon Vijay Abraham I }; 141065d6261SKishon Vijay Abraham I 142065d6261SKishon Vijay Abraham I wlan_en: regulator-2 { 143065d6261SKishon Vijay Abraham I /* output of SN74AVC4T245RSVR */ 144065d6261SKishon Vijay Abraham I compatible = "regulator-fixed"; 145065d6261SKishon Vijay Abraham I regulator-name = "wlan_en"; 146065d6261SKishon Vijay Abraham I regulator-min-microvolt = <1800000>; 147065d6261SKishon Vijay Abraham I regulator-max-microvolt = <1800000>; 148065d6261SKishon Vijay Abraham I enable-active-high; 149065d6261SKishon Vijay Abraham I pinctrl-0 = <&main_wlan_en_pins_default>; 150065d6261SKishon Vijay Abraham I pinctrl-names = "default"; 151065d6261SKishon Vijay Abraham I vin-supply = <&com8_ls_en>; 152065d6261SKishon Vijay Abraham I gpio = <&main_gpio0 48 GPIO_ACTIVE_HIGH>; 153065d6261SKishon Vijay Abraham I }; 154b216dc1aSAparna M 155b216dc1aSAparna M led-controller { 156b216dc1aSAparna M compatible = "gpio-leds"; 157b216dc1aSAparna M 158b216dc1aSAparna M led-0 { 159b216dc1aSAparna M color = <LED_COLOR_ID_GREEN>; 160b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 161b216dc1aSAparna M function-enumerator = <1>; 162b216dc1aSAparna M gpios = <&exp2 0 GPIO_ACTIVE_HIGH>; 163b216dc1aSAparna M default-state = "off"; 164b216dc1aSAparna M }; 165b216dc1aSAparna M 166b216dc1aSAparna M led-1 { 167b216dc1aSAparna M color = <LED_COLOR_ID_RED>; 168b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 169b216dc1aSAparna M function-enumerator = <2>; 170b216dc1aSAparna M gpios = <&exp2 1 GPIO_ACTIVE_HIGH>; 171b216dc1aSAparna M default-state = "off"; 172b216dc1aSAparna M }; 173b216dc1aSAparna M 174b216dc1aSAparna M led-2 { 175b216dc1aSAparna M color = <LED_COLOR_ID_GREEN>; 176b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 177b216dc1aSAparna M function-enumerator = <3>; 178b216dc1aSAparna M gpios = <&exp2 2 GPIO_ACTIVE_HIGH>; 179b216dc1aSAparna M default-state = "off"; 180b216dc1aSAparna M }; 181b216dc1aSAparna M 182b216dc1aSAparna M led-3 { 183b216dc1aSAparna M color = <LED_COLOR_ID_AMBER>; 184b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 185b216dc1aSAparna M function-enumerator = <4>; 186b216dc1aSAparna M gpios = <&exp2 3 GPIO_ACTIVE_HIGH>; 187b216dc1aSAparna M default-state = "off"; 188b216dc1aSAparna M }; 189b216dc1aSAparna M 190b216dc1aSAparna M led-4 { 191b216dc1aSAparna M color = <LED_COLOR_ID_GREEN>; 192b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 193b216dc1aSAparna M function-enumerator = <5>; 194b216dc1aSAparna M gpios = <&exp2 4 GPIO_ACTIVE_HIGH>; 195b216dc1aSAparna M default-state = "off"; 196b216dc1aSAparna M }; 197b216dc1aSAparna M 198b216dc1aSAparna M led-5 { 199b216dc1aSAparna M color = <LED_COLOR_ID_RED>; 200b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 201b216dc1aSAparna M function-enumerator = <6>; 202b216dc1aSAparna M gpios = <&exp2 5 GPIO_ACTIVE_HIGH>; 203b216dc1aSAparna M default-state = "off"; 204b216dc1aSAparna M }; 205b216dc1aSAparna M 206b216dc1aSAparna M led-6 { 207b216dc1aSAparna M color = <LED_COLOR_ID_GREEN>; 208b216dc1aSAparna M function = LED_FUNCTION_INDICATOR; 209b216dc1aSAparna M function-enumerator = <7>; 210b216dc1aSAparna M gpios = <&exp2 6 GPIO_ACTIVE_HIGH>; 211b216dc1aSAparna M default-state = "off"; 212b216dc1aSAparna M }; 213b216dc1aSAparna M 214b216dc1aSAparna M led-7 { 215b216dc1aSAparna M color = <LED_COLOR_ID_AMBER>; 216b216dc1aSAparna M function = LED_FUNCTION_HEARTBEAT; 217b216dc1aSAparna M function-enumerator = <8>; 218b216dc1aSAparna M linux,default-trigger = "heartbeat"; 219b216dc1aSAparna M gpios = <&exp2 7 GPIO_ACTIVE_HIGH>; 220b216dc1aSAparna M }; 221b216dc1aSAparna M }; 2224867caf4SLokesh Vutla}; 2234867caf4SLokesh Vutla 2244867caf4SLokesh Vutla&main_pmx0 { 2254867caf4SLokesh Vutla main_mmc1_pins_default: main-mmc1-pins-default { 2264867caf4SLokesh Vutla pinctrl-single,pins = < 2274867caf4SLokesh Vutla AM64X_IOPAD(0x0294, PIN_INPUT, 0) /* (J19) MMC1_CMD */ 2284867caf4SLokesh Vutla AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* (#N/A) MMC1_CLKLB */ 2294867caf4SLokesh Vutla AM64X_IOPAD(0x028c, PIN_INPUT, 0) /* (L20) MMC1_CLK */ 2304867caf4SLokesh Vutla AM64X_IOPAD(0x0288, PIN_INPUT, 0) /* (K21) MMC1_DAT0 */ 2314867caf4SLokesh Vutla AM64X_IOPAD(0x0284, PIN_INPUT, 0) /* (L21) MMC1_DAT1 */ 2324867caf4SLokesh Vutla AM64X_IOPAD(0x0280, PIN_INPUT, 0) /* (K19) MMC1_DAT2 */ 2334867caf4SLokesh Vutla AM64X_IOPAD(0x027c, PIN_INPUT, 0) /* (K18) MMC1_DAT3 */ 2344867caf4SLokesh Vutla AM64X_IOPAD(0x0298, PIN_INPUT, 0) /* (D19) MMC1_SDCD */ 2354867caf4SLokesh Vutla >; 2364867caf4SLokesh Vutla }; 2374867caf4SLokesh Vutla 238c553bf25SAswath Govindraju main_uart0_pins_default: main-uart0-pins-default { 239c553bf25SAswath Govindraju pinctrl-single,pins = < 240c553bf25SAswath Govindraju AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */ 241c553bf25SAswath Govindraju AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */ 242c553bf25SAswath Govindraju AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */ 243c553bf25SAswath Govindraju AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */ 244c553bf25SAswath Govindraju >; 245c553bf25SAswath Govindraju }; 246c553bf25SAswath Govindraju 2474e8aa4e3SKishon Vijay Abraham I main_usb0_pins_default: main-usb0-pins-default { 2484e8aa4e3SKishon Vijay Abraham I pinctrl-single,pins = < 2494e8aa4e3SKishon Vijay Abraham I AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ 2504e8aa4e3SKishon Vijay Abraham I >; 2514e8aa4e3SKishon Vijay Abraham I }; 2524e8aa4e3SKishon Vijay Abraham I 2534867caf4SLokesh Vutla main_i2c1_pins_default: main-i2c1-pins-default { 2544867caf4SLokesh Vutla pinctrl-single,pins = < 2554867caf4SLokesh Vutla AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ 2564867caf4SLokesh Vutla AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */ 2574867caf4SLokesh Vutla >; 2584867caf4SLokesh Vutla }; 2597fe968d2SVignesh Raghavendra 2607fe968d2SVignesh Raghavendra mdio1_pins_default: mdio1-pins-default { 2617fe968d2SVignesh Raghavendra pinctrl-single,pins = < 2627fe968d2SVignesh Raghavendra AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */ 2637fe968d2SVignesh Raghavendra AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */ 2647fe968d2SVignesh Raghavendra >; 2657fe968d2SVignesh Raghavendra }; 2667fe968d2SVignesh Raghavendra 2677fe968d2SVignesh Raghavendra rgmii1_pins_default: rgmii1-pins-default { 2687fe968d2SVignesh Raghavendra pinctrl-single,pins = < 2697fe968d2SVignesh Raghavendra AM64X_IOPAD(0x011c, PIN_INPUT, 4) /* (AA13) PRG1_PRU1_GPO5.RGMII1_RD0 */ 2707fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0128, PIN_INPUT, 4) /* (U12) PRG1_PRU1_GPO8.RGMII1_RD1 */ 2717fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0150, PIN_INPUT, 4) /* (Y13) PRG1_PRU1_GPO18.RGMII1_RD2 */ 2727fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0154, PIN_INPUT, 4) /* (V12) PRG1_PRU1_GPO19.RGMII1_RD3 */ 2737fe968d2SVignesh Raghavendra AM64X_IOPAD(0x00d8, PIN_INPUT, 4) /* (W13) PRG1_PRU0_GPO8.RGMII1_RXC */ 2747fe968d2SVignesh Raghavendra AM64X_IOPAD(0x00cc, PIN_INPUT, 4) /* (V13) PRG1_PRU0_GPO5.RGMII1_RX_CTL */ 2757fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* (V15) PRG1_PRU1_GPO7.RGMII1_TD0 */ 2767fe968d2SVignesh Raghavendra AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* (V14) PRG1_PRU1_GPO9.RGMII1_TD1 */ 2777fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* (W14) PRG1_PRU1_GPO10.RGMII1_TD2 */ 2787fe968d2SVignesh Raghavendra AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* (AA14) PRG1_PRU1_GPO17.RGMII1_TD3 */ 2797fe968d2SVignesh Raghavendra AM64X_IOPAD(0x00e0, PIN_OUTPUT, 4) /* (U14) PRG1_PRU0_GPO10.RGMII1_TXC */ 2807fe968d2SVignesh Raghavendra AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* (U15) PRG1_PRU0_GPO9.RGMII1_TX_CTL */ 2817fe968d2SVignesh Raghavendra >; 2827fe968d2SVignesh Raghavendra }; 2837fe968d2SVignesh Raghavendra 2847fe968d2SVignesh Raghavendra rgmii2_pins_default: rgmii2-pins-default { 2857fe968d2SVignesh Raghavendra pinctrl-single,pins = < 2867fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */ 2877fe968d2SVignesh Raghavendra AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */ 2887fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0110, PIN_INPUT, 4) /* (AA12) PRG1_PRU1_GPO2.RGMII2_RD2 */ 2897fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0114, PIN_INPUT, 4) /* (Y12) PRG1_PRU1_GPO3.RGMII2_RD3 */ 2907fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0120, PIN_INPUT, 4) /* (U11) PRG1_PRU1_GPO6.RGMII2_RXC */ 2917fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0118, PIN_INPUT, 4) /* (W12) PRG1_PRU1_GPO4.RGMII2_RX_CTL */ 2927fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0134, PIN_OUTPUT, 4) /* (AA10) PRG1_PRU1_GPO11.RGMII2_TD0 */ 2937fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0138, PIN_OUTPUT, 4) /* (V10) PRG1_PRU1_GPO12.RGMII2_TD1 */ 2947fe968d2SVignesh Raghavendra AM64X_IOPAD(0x013c, PIN_OUTPUT, 4) /* (U10) PRG1_PRU1_GPO13.RGMII2_TD2 */ 2957fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0140, PIN_OUTPUT, 4) /* (AA11) PRG1_PRU1_GPO14.RGMII2_TD3 */ 2967fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0148, PIN_OUTPUT, 4) /* (Y10) PRG1_PRU1_GPO16.RGMII2_TXC */ 2977fe968d2SVignesh Raghavendra AM64X_IOPAD(0x0144, PIN_OUTPUT, 4) /* (Y11) PRG1_PRU1_GPO15.RGMII2_TX_CTL */ 2987fe968d2SVignesh Raghavendra >; 2997fe968d2SVignesh Raghavendra }; 300e4e4e894SVignesh Raghavendra 301e4e4e894SVignesh Raghavendra ospi0_pins_default: ospi0-pins-default { 302e4e4e894SVignesh Raghavendra pinctrl-single,pins = < 303e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ 304e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ 305e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */ 306e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */ 307e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */ 308e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */ 309e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* (P21) OSPI0_D4 */ 310e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* (P20) OSPI0_D5 */ 311e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* (N18) OSPI0_D6 */ 312e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */ 313e4e4e894SVignesh Raghavendra AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */ 314e4e4e894SVignesh Raghavendra >; 315e4e4e894SVignesh Raghavendra }; 316c1fa5ac6SLokesh Vutla 317c1fa5ac6SLokesh Vutla main_ecap0_pins_default: main-ecap0-pins-default { 318c1fa5ac6SLokesh Vutla pinctrl-single,pins = < 319c1fa5ac6SLokesh Vutla AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ 320c1fa5ac6SLokesh Vutla >; 321c1fa5ac6SLokesh Vutla }; 322065d6261SKishon Vijay Abraham I main_wlan_en_pins_default: main-wlan-en-pins-default { 323065d6261SKishon Vijay Abraham I pinctrl-single,pins = < 324065d6261SKishon Vijay Abraham I AM64X_IOPAD(0x00c4, PIN_OUTPUT_PULLUP, 7) /* (V8) GPIO0_48 */ 325065d6261SKishon Vijay Abraham I >; 326065d6261SKishon Vijay Abraham I }; 327065d6261SKishon Vijay Abraham I 328065d6261SKishon Vijay Abraham I main_com8_ls_en_pins_default: main-com8-ls-en-pins-default { 329065d6261SKishon Vijay Abraham I pinctrl-single,pins = < 330065d6261SKishon Vijay Abraham I AM64X_IOPAD(0x00fc, PIN_OUTPUT, 7) /* (U7) PRG1_PRU0_GPO17.GPIO0_62 */ 331065d6261SKishon Vijay Abraham I >; 332065d6261SKishon Vijay Abraham I }; 333065d6261SKishon Vijay Abraham I 334065d6261SKishon Vijay Abraham I main_wlan_pins_default: main-wlan-pins-default { 335065d6261SKishon Vijay Abraham I pinctrl-single,pins = < 336065d6261SKishon Vijay Abraham I AM64X_IOPAD(0x00bc, PIN_INPUT, 7) /* (U8) GPIO0_46 */ 337065d6261SKishon Vijay Abraham I >; 338065d6261SKishon Vijay Abraham I }; 3394867caf4SLokesh Vutla}; 3404867caf4SLokesh Vutla 341c553bf25SAswath Govindraju&main_uart0 { 342dacf4705SAndrew Davis status = "okay"; 343c553bf25SAswath Govindraju pinctrl-names = "default"; 344c553bf25SAswath Govindraju pinctrl-0 = <&main_uart0_pins_default>; 345c553bf25SAswath Govindraju}; 346c553bf25SAswath Govindraju 3474867caf4SLokesh Vutla&main_uart1 { 3484867caf4SLokesh Vutla /* main_uart1 is reserved for firmware usage */ 3494867caf4SLokesh Vutla status = "reserved"; 3504867caf4SLokesh Vutla}; 3514867caf4SLokesh Vutla 3524867caf4SLokesh Vutla&main_i2c1 { 353b80f75d8SAndrew Davis status = "okay"; 3544867caf4SLokesh Vutla pinctrl-names = "default"; 3554867caf4SLokesh Vutla pinctrl-0 = <&main_i2c1_pins_default>; 3564867caf4SLokesh Vutla clock-frequency = <400000>; 3574867caf4SLokesh Vutla 3584867caf4SLokesh Vutla exp1: gpio@70 { 3594867caf4SLokesh Vutla compatible = "nxp,pca9538"; 3604867caf4SLokesh Vutla reg = <0x70>; 3614867caf4SLokesh Vutla gpio-controller; 3624867caf4SLokesh Vutla #gpio-cells = <2>; 3634867caf4SLokesh Vutla gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST", 3644867caf4SLokesh Vutla "PRU_DETECT", "MMC1_SD_EN", 3654867caf4SLokesh Vutla "VPP_LDO_EN", "RPI_PS_3V3_En", 3664867caf4SLokesh Vutla "RPI_PS_5V0_En", "RPI_HAT_DETECT"; 3674867caf4SLokesh Vutla }; 368b216dc1aSAparna M 369b216dc1aSAparna M exp2: gpio@60 { 370b216dc1aSAparna M compatible = "ti,tpic2810"; 371b216dc1aSAparna M reg = <0x60>; 372b216dc1aSAparna M gpio-controller; 373b216dc1aSAparna M #gpio-cells = <2>; 374b216dc1aSAparna M gpio-line-names = "LED1","LED2","LED3","LED4","LED5","LED6","LED7","LED8"; 375b216dc1aSAparna M }; 3764867caf4SLokesh Vutla}; 3774867caf4SLokesh Vutla 378d5a4d541SAswath Govindraju/* mcu_gpio0 is reserved for mcu firmware usage */ 379d5a4d541SAswath Govindraju&mcu_gpio0 { 380d5a4d541SAswath Govindraju status = "reserved"; 381d5a4d541SAswath Govindraju}; 382d5a4d541SAswath Govindraju 383065d6261SKishon Vijay Abraham I&sdhci0 { 384065d6261SKishon Vijay Abraham I vmmc-supply = <&wlan_en>; 385065d6261SKishon Vijay Abraham I bus-width = <4>; 386065d6261SKishon Vijay Abraham I non-removable; 387065d6261SKishon Vijay Abraham I cap-power-off-card; 388065d6261SKishon Vijay Abraham I keep-power-in-suspend; 389065d6261SKishon Vijay Abraham I ti,driver-strength-ohm = <50>; 390065d6261SKishon Vijay Abraham I 391065d6261SKishon Vijay Abraham I #address-cells = <1>; 392065d6261SKishon Vijay Abraham I #size-cells = <0>; 393065d6261SKishon Vijay Abraham I wlcore: wlcore@2 { 394065d6261SKishon Vijay Abraham I compatible = "ti,wl1837"; 395065d6261SKishon Vijay Abraham I reg = <2>; 396065d6261SKishon Vijay Abraham I pinctrl-0 = <&main_wlan_pins_default>; 397065d6261SKishon Vijay Abraham I pinctrl-names = "default"; 398065d6261SKishon Vijay Abraham I interrupt-parent = <&main_gpio0>; 399065d6261SKishon Vijay Abraham I interrupts = <46 IRQ_TYPE_EDGE_FALLING>; 400065d6261SKishon Vijay Abraham I }; 401065d6261SKishon Vijay Abraham I}; 402065d6261SKishon Vijay Abraham I 4034867caf4SLokesh Vutla&sdhci1 { 4044867caf4SLokesh Vutla /* SD/MMC */ 4054867caf4SLokesh Vutla vmmc-supply = <&vdd_mmc1>; 4064867caf4SLokesh Vutla pinctrl-names = "default"; 4074867caf4SLokesh Vutla bus-width = <4>; 4084867caf4SLokesh Vutla pinctrl-0 = <&main_mmc1_pins_default>; 4094867caf4SLokesh Vutla ti,driver-strength-ohm = <50>; 4104867caf4SLokesh Vutla disable-wp; 4114867caf4SLokesh Vutla}; 4127fe968d2SVignesh Raghavendra 4134e8aa4e3SKishon Vijay Abraham I&serdes_ln_ctrl { 4144e8aa4e3SKishon Vijay Abraham I idle-states = <AM64_SERDES0_LANE0_USB>; 4154e8aa4e3SKishon Vijay Abraham I}; 4164e8aa4e3SKishon Vijay Abraham I 4174e8aa4e3SKishon Vijay Abraham I&serdes0 { 4184e8aa4e3SKishon Vijay Abraham I serdes0_usb_link: phy@0 { 4194e8aa4e3SKishon Vijay Abraham I reg = <0>; 4204e8aa4e3SKishon Vijay Abraham I cdns,num-lanes = <1>; 4214e8aa4e3SKishon Vijay Abraham I #phy-cells = <0>; 4224e8aa4e3SKishon Vijay Abraham I cdns,phy-type = <PHY_TYPE_USB3>; 4234e8aa4e3SKishon Vijay Abraham I resets = <&serdes_wiz0 1>; 4244e8aa4e3SKishon Vijay Abraham I }; 4254e8aa4e3SKishon Vijay Abraham I}; 4264e8aa4e3SKishon Vijay Abraham I 4274e8aa4e3SKishon Vijay Abraham I&usbss0 { 4284e8aa4e3SKishon Vijay Abraham I ti,vbus-divider; 4294e8aa4e3SKishon Vijay Abraham I}; 4304e8aa4e3SKishon Vijay Abraham I 4314e8aa4e3SKishon Vijay Abraham I&usb0 { 4324e8aa4e3SKishon Vijay Abraham I dr_mode = "host"; 4334e8aa4e3SKishon Vijay Abraham I maximum-speed = "super-speed"; 4344e8aa4e3SKishon Vijay Abraham I pinctrl-names = "default"; 4354e8aa4e3SKishon Vijay Abraham I pinctrl-0 = <&main_usb0_pins_default>; 4364e8aa4e3SKishon Vijay Abraham I phys = <&serdes0_usb_link>; 4374e8aa4e3SKishon Vijay Abraham I phy-names = "cdns3,usb3-phy"; 4384e8aa4e3SKishon Vijay Abraham I}; 4394e8aa4e3SKishon Vijay Abraham I 4407fe968d2SVignesh Raghavendra&cpsw3g { 4417fe968d2SVignesh Raghavendra pinctrl-names = "default"; 4427fe968d2SVignesh Raghavendra pinctrl-0 = <&mdio1_pins_default 4437fe968d2SVignesh Raghavendra &rgmii1_pins_default 4447fe968d2SVignesh Raghavendra &rgmii2_pins_default>; 4457fe968d2SVignesh Raghavendra}; 4467fe968d2SVignesh Raghavendra 4477fe968d2SVignesh Raghavendra&cpsw_port1 { 4487fe968d2SVignesh Raghavendra phy-mode = "rgmii-rxid"; 4497fe968d2SVignesh Raghavendra phy-handle = <&cpsw3g_phy0>; 4507fe968d2SVignesh Raghavendra}; 4517fe968d2SVignesh Raghavendra 4527fe968d2SVignesh Raghavendra&cpsw_port2 { 4537fe968d2SVignesh Raghavendra phy-mode = "rgmii-rxid"; 4547fe968d2SVignesh Raghavendra phy-handle = <&cpsw3g_phy1>; 4557fe968d2SVignesh Raghavendra}; 4567fe968d2SVignesh Raghavendra 4577fe968d2SVignesh Raghavendra&cpsw3g_mdio { 4587fe968d2SVignesh Raghavendra cpsw3g_phy0: ethernet-phy@0 { 4597fe968d2SVignesh Raghavendra reg = <0>; 4607fe968d2SVignesh Raghavendra ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 4617fe968d2SVignesh Raghavendra ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 4627fe968d2SVignesh Raghavendra }; 4637fe968d2SVignesh Raghavendra 4647fe968d2SVignesh Raghavendra cpsw3g_phy1: ethernet-phy@1 { 4657fe968d2SVignesh Raghavendra reg = <1>; 4667fe968d2SVignesh Raghavendra ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 4677fe968d2SVignesh Raghavendra ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 4687fe968d2SVignesh Raghavendra }; 4697fe968d2SVignesh Raghavendra}; 470fad4e18fSVignesh Raghavendra 471fad4e18fSVignesh Raghavendra&tscadc0 { 472fad4e18fSVignesh Raghavendra status = "disabled"; 473fad4e18fSVignesh Raghavendra}; 474e4e4e894SVignesh Raghavendra 475e4e4e894SVignesh Raghavendra&ospi0 { 476e4e4e894SVignesh Raghavendra pinctrl-names = "default"; 477e4e4e894SVignesh Raghavendra pinctrl-0 = <&ospi0_pins_default>; 478e4e4e894SVignesh Raghavendra 479e4e4e894SVignesh Raghavendra flash@0 { 480e4e4e894SVignesh Raghavendra compatible = "jedec,spi-nor"; 481e4e4e894SVignesh Raghavendra reg = <0x0>; 482e4e4e894SVignesh Raghavendra spi-tx-bus-width = <8>; 483e4e4e894SVignesh Raghavendra spi-rx-bus-width = <8>; 484e4e4e894SVignesh Raghavendra spi-max-frequency = <25000000>; 485e4e4e894SVignesh Raghavendra cdns,tshsl-ns = <60>; 486e4e4e894SVignesh Raghavendra cdns,tsd2d-ns = <60>; 487e4e4e894SVignesh Raghavendra cdns,tchsh-ns = <60>; 488e4e4e894SVignesh Raghavendra cdns,tslch-ns = <60>; 489e4e4e894SVignesh Raghavendra cdns,read-delay = <4>; 490e4e4e894SVignesh Raghavendra }; 491e4e4e894SVignesh Raghavendra}; 4927dd84752SSuman Anna 4937dd84752SSuman Anna&mailbox0_cluster2 { 4947dd84752SSuman Anna mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 4957dd84752SSuman Anna ti,mbox-rx = <0 0 2>; 4967dd84752SSuman Anna ti,mbox-tx = <1 0 2>; 4977dd84752SSuman Anna }; 4987dd84752SSuman Anna 4997dd84752SSuman Anna mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { 5007dd84752SSuman Anna ti,mbox-rx = <2 0 2>; 5017dd84752SSuman Anna ti,mbox-tx = <3 0 2>; 5027dd84752SSuman Anna }; 5037dd84752SSuman Anna}; 5047dd84752SSuman Anna 5057dd84752SSuman Anna&mailbox0_cluster3 { 5067dd84752SSuman Anna status = "disabled"; 5077dd84752SSuman Anna}; 5087dd84752SSuman Anna 5097dd84752SSuman Anna&mailbox0_cluster4 { 5107dd84752SSuman Anna mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 5117dd84752SSuman Anna ti,mbox-rx = <0 0 2>; 5127dd84752SSuman Anna ti,mbox-tx = <1 0 2>; 5137dd84752SSuman Anna }; 5147dd84752SSuman Anna 5157dd84752SSuman Anna mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { 5167dd84752SSuman Anna ti,mbox-rx = <2 0 2>; 5177dd84752SSuman Anna ti,mbox-tx = <3 0 2>; 5187dd84752SSuman Anna }; 5197dd84752SSuman Anna}; 5207dd84752SSuman Anna 5217dd84752SSuman Anna&mailbox0_cluster5 { 5227dd84752SSuman Anna status = "disabled"; 5237dd84752SSuman Anna}; 5247dd84752SSuman Anna 5257dd84752SSuman Anna&mailbox0_cluster6 { 5267dd84752SSuman Anna mbox_m4_0: mbox-m4-0 { 5277dd84752SSuman Anna ti,mbox-rx = <0 0 2>; 5287dd84752SSuman Anna ti,mbox-tx = <1 0 2>; 5297dd84752SSuman Anna }; 5307dd84752SSuman Anna}; 5317dd84752SSuman Anna 5327dd84752SSuman Anna&mailbox0_cluster7 { 5337dd84752SSuman Anna status = "disabled"; 5347dd84752SSuman Anna}; 535c90ec93dSKishon Vijay Abraham I 5360afadba4SSuman Anna&main_r5fss0_core0 { 5370afadba4SSuman Anna mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; 538d71abfccSSuman Anna memory-region = <&main_r5fss0_core0_dma_memory_region>, 539d71abfccSSuman Anna <&main_r5fss0_core0_memory_region>; 5400afadba4SSuman Anna}; 5410afadba4SSuman Anna 5420afadba4SSuman Anna&main_r5fss0_core1 { 5430afadba4SSuman Anna mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; 544d71abfccSSuman Anna memory-region = <&main_r5fss0_core1_dma_memory_region>, 545d71abfccSSuman Anna <&main_r5fss0_core1_memory_region>; 5460afadba4SSuman Anna}; 5470afadba4SSuman Anna 5480afadba4SSuman Anna&main_r5fss1_core0 { 5490afadba4SSuman Anna mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; 550d71abfccSSuman Anna memory-region = <&main_r5fss1_core0_dma_memory_region>, 551d71abfccSSuman Anna <&main_r5fss1_core0_memory_region>; 5520afadba4SSuman Anna}; 5530afadba4SSuman Anna 5540afadba4SSuman Anna&main_r5fss1_core1 { 5550afadba4SSuman Anna mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; 556d71abfccSSuman Anna memory-region = <&main_r5fss1_core1_dma_memory_region>, 557d71abfccSSuman Anna <&main_r5fss1_core1_memory_region>; 5580afadba4SSuman Anna}; 5590afadba4SSuman Anna 560c90ec93dSKishon Vijay Abraham I&pcie0_rc { 561c90ec93dSKishon Vijay Abraham I status = "disabled"; 562c90ec93dSKishon Vijay Abraham I}; 563c90ec93dSKishon Vijay Abraham I 564c90ec93dSKishon Vijay Abraham I&pcie0_ep { 565c90ec93dSKishon Vijay Abraham I status = "disabled"; 566c90ec93dSKishon Vijay Abraham I}; 567c1fa5ac6SLokesh Vutla 568c1fa5ac6SLokesh Vutla&ecap0 { 569*dcac8eaaSAndrew Davis status = "okay"; 570c1fa5ac6SLokesh Vutla /* PWM is available on Pin 1 of header J3 */ 571c1fa5ac6SLokesh Vutla pinctrl-names = "default"; 572c1fa5ac6SLokesh Vutla pinctrl-0 = <&main_ecap0_pins_default>; 573c1fa5ac6SLokesh Vutla}; 574c1fa5ac6SLokesh Vutla 575c9087e38SSuman Anna&icssg0_mdio { 576c9087e38SSuman Anna status = "disabled"; 577c9087e38SSuman Anna}; 578c9087e38SSuman Anna 579c9087e38SSuman Anna&icssg1_mdio { 580c9087e38SSuman Anna status = "disabled"; 581c9087e38SSuman Anna}; 5822f474da9SAswath Govindraju 5832f474da9SAswath Govindraju&main_mcan0 { 5842f474da9SAswath Govindraju status = "disabled"; 5852f474da9SAswath Govindraju}; 5862f474da9SAswath Govindraju 5872f474da9SAswath Govindraju&main_mcan1 { 5882f474da9SAswath Govindraju status = "disabled"; 5892f474da9SAswath Govindraju}; 5905ec06904SRoger Quadros 5915ec06904SRoger Quadros&gpmc0 { 5925ec06904SRoger Quadros status = "disabled"; 5935ec06904SRoger Quadros}; 594c920a6caSRoger Quadros 595c920a6caSRoger Quadros&elm0 { 596c920a6caSRoger Quadros status = "disabled"; 597c920a6caSRoger Quadros}; 598