12eb4d8dcSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 22eb4d8dcSEmmanuel Vadot/* 32eb4d8dcSEmmanuel Vadot * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 42eb4d8dcSEmmanuel Vadot */ 52eb4d8dcSEmmanuel Vadot 62eb4d8dcSEmmanuel Vadot/dts-v1/; 72eb4d8dcSEmmanuel Vadot 85956d97fSEmmanuel Vadot#include <dt-bindings/phy/phy.h> 92eb4d8dcSEmmanuel Vadot#include <dt-bindings/leds/common.h> 102eb4d8dcSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 112eb4d8dcSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h> 122eb4d8dcSEmmanuel Vadot#include "k3-am642.dtsi" 132eb4d8dcSEmmanuel Vadot 14aa1a8ff2SEmmanuel Vadot#include "k3-serdes.h" 15aa1a8ff2SEmmanuel Vadot 162eb4d8dcSEmmanuel Vadot/ { 172eb4d8dcSEmmanuel Vadot compatible = "ti,am642-evm", "ti,am642"; 182eb4d8dcSEmmanuel Vadot model = "Texas Instruments AM642 EVM"; 192eb4d8dcSEmmanuel Vadot 202eb4d8dcSEmmanuel Vadot chosen { 21f126890aSEmmanuel Vadot stdout-path = &main_uart0; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot aliases { 25f126890aSEmmanuel Vadot serial0 = &mcu_uart0; 26f126890aSEmmanuel Vadot serial1 = &main_uart1; 27f126890aSEmmanuel Vadot serial2 = &main_uart0; 28f126890aSEmmanuel Vadot serial3 = &main_uart3; 29f126890aSEmmanuel Vadot i2c0 = &main_i2c0; 30f126890aSEmmanuel Vadot i2c1 = &main_i2c1; 31f126890aSEmmanuel Vadot mmc0 = &sdhci0; 32f126890aSEmmanuel Vadot mmc1 = &sdhci1; 33f126890aSEmmanuel Vadot ethernet0 = &cpsw_port1; 34f126890aSEmmanuel Vadot ethernet1 = &cpsw_port2; 352eb4d8dcSEmmanuel Vadot }; 362eb4d8dcSEmmanuel Vadot 372eb4d8dcSEmmanuel Vadot memory@80000000 { 3884943d6fSEmmanuel Vadot bootph-all; 392eb4d8dcSEmmanuel Vadot device_type = "memory"; 402eb4d8dcSEmmanuel Vadot /* 2G RAM */ 412eb4d8dcSEmmanuel Vadot reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 422eb4d8dcSEmmanuel Vadot }; 432eb4d8dcSEmmanuel Vadot 442eb4d8dcSEmmanuel Vadot reserved-memory { 452eb4d8dcSEmmanuel Vadot #address-cells = <2>; 462eb4d8dcSEmmanuel Vadot #size-cells = <2>; 472eb4d8dcSEmmanuel Vadot ranges; 482eb4d8dcSEmmanuel Vadot 492eb4d8dcSEmmanuel Vadot secure_ddr: optee@9e800000 { 502eb4d8dcSEmmanuel Vadot reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 512eb4d8dcSEmmanuel Vadot alignment = <0x1000>; 522eb4d8dcSEmmanuel Vadot no-map; 532eb4d8dcSEmmanuel Vadot }; 545956d97fSEmmanuel Vadot 555956d97fSEmmanuel Vadot main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { 565956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 575956d97fSEmmanuel Vadot reg = <0x00 0xa0000000 0x00 0x100000>; 585956d97fSEmmanuel Vadot no-map; 595956d97fSEmmanuel Vadot }; 605956d97fSEmmanuel Vadot 615956d97fSEmmanuel Vadot main_r5fss0_core0_memory_region: r5f-memory@a0100000 { 625956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 635956d97fSEmmanuel Vadot reg = <0x00 0xa0100000 0x00 0xf00000>; 645956d97fSEmmanuel Vadot no-map; 655956d97fSEmmanuel Vadot }; 665956d97fSEmmanuel Vadot 675956d97fSEmmanuel Vadot main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { 685956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 695956d97fSEmmanuel Vadot reg = <0x00 0xa1000000 0x00 0x100000>; 705956d97fSEmmanuel Vadot no-map; 715956d97fSEmmanuel Vadot }; 725956d97fSEmmanuel Vadot 735956d97fSEmmanuel Vadot main_r5fss0_core1_memory_region: r5f-memory@a1100000 { 745956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 755956d97fSEmmanuel Vadot reg = <0x00 0xa1100000 0x00 0xf00000>; 765956d97fSEmmanuel Vadot no-map; 775956d97fSEmmanuel Vadot }; 785956d97fSEmmanuel Vadot 795956d97fSEmmanuel Vadot main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a2000000 { 805956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 815956d97fSEmmanuel Vadot reg = <0x00 0xa2000000 0x00 0x100000>; 825956d97fSEmmanuel Vadot no-map; 835956d97fSEmmanuel Vadot }; 845956d97fSEmmanuel Vadot 855956d97fSEmmanuel Vadot main_r5fss1_core0_memory_region: r5f-memory@a2100000 { 865956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 875956d97fSEmmanuel Vadot reg = <0x00 0xa2100000 0x00 0xf00000>; 885956d97fSEmmanuel Vadot no-map; 895956d97fSEmmanuel Vadot }; 905956d97fSEmmanuel Vadot 915956d97fSEmmanuel Vadot main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a3000000 { 925956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 935956d97fSEmmanuel Vadot reg = <0x00 0xa3000000 0x00 0x100000>; 945956d97fSEmmanuel Vadot no-map; 955956d97fSEmmanuel Vadot }; 965956d97fSEmmanuel Vadot 975956d97fSEmmanuel Vadot main_r5fss1_core1_memory_region: r5f-memory@a3100000 { 985956d97fSEmmanuel Vadot compatible = "shared-dma-pool"; 995956d97fSEmmanuel Vadot reg = <0x00 0xa3100000 0x00 0xf00000>; 1005956d97fSEmmanuel Vadot no-map; 1015956d97fSEmmanuel Vadot }; 1025956d97fSEmmanuel Vadot 1035956d97fSEmmanuel Vadot rtos_ipc_memory_region: ipc-memories@a5000000 { 1045956d97fSEmmanuel Vadot reg = <0x00 0xa5000000 0x00 0x00800000>; 1055956d97fSEmmanuel Vadot alignment = <0x1000>; 1065956d97fSEmmanuel Vadot no-map; 1075956d97fSEmmanuel Vadot }; 1082eb4d8dcSEmmanuel Vadot }; 1092eb4d8dcSEmmanuel Vadot 110f126890aSEmmanuel Vadot evm_12v0: regulator-0 { 1112eb4d8dcSEmmanuel Vadot /* main DC jack */ 11284943d6fSEmmanuel Vadot bootph-all; 1132eb4d8dcSEmmanuel Vadot compatible = "regulator-fixed"; 1142eb4d8dcSEmmanuel Vadot regulator-name = "evm_12v0"; 1152eb4d8dcSEmmanuel Vadot regulator-min-microvolt = <12000000>; 1162eb4d8dcSEmmanuel Vadot regulator-max-microvolt = <12000000>; 1172eb4d8dcSEmmanuel Vadot regulator-always-on; 1182eb4d8dcSEmmanuel Vadot regulator-boot-on; 1192eb4d8dcSEmmanuel Vadot }; 1202eb4d8dcSEmmanuel Vadot 121f126890aSEmmanuel Vadot vsys_5v0: regulator-1 { 1222eb4d8dcSEmmanuel Vadot /* output of LM5140 */ 1232eb4d8dcSEmmanuel Vadot compatible = "regulator-fixed"; 1242eb4d8dcSEmmanuel Vadot regulator-name = "vsys_5v0"; 1252eb4d8dcSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1262eb4d8dcSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1272eb4d8dcSEmmanuel Vadot vin-supply = <&evm_12v0>; 1282eb4d8dcSEmmanuel Vadot regulator-always-on; 1292eb4d8dcSEmmanuel Vadot regulator-boot-on; 1302eb4d8dcSEmmanuel Vadot }; 1312eb4d8dcSEmmanuel Vadot 132f126890aSEmmanuel Vadot vsys_3v3: regulator-2 { 1332eb4d8dcSEmmanuel Vadot /* output of LM5140 */ 13484943d6fSEmmanuel Vadot bootph-all; 1352eb4d8dcSEmmanuel Vadot compatible = "regulator-fixed"; 1362eb4d8dcSEmmanuel Vadot regulator-name = "vsys_3v3"; 1372eb4d8dcSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1382eb4d8dcSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1392eb4d8dcSEmmanuel Vadot vin-supply = <&evm_12v0>; 1402eb4d8dcSEmmanuel Vadot regulator-always-on; 1412eb4d8dcSEmmanuel Vadot regulator-boot-on; 1422eb4d8dcSEmmanuel Vadot }; 1432eb4d8dcSEmmanuel Vadot 144f126890aSEmmanuel Vadot vdd_mmc1: regulator-3 { 1452eb4d8dcSEmmanuel Vadot /* TPS2051BD */ 14684943d6fSEmmanuel Vadot bootph-all; 1472eb4d8dcSEmmanuel Vadot compatible = "regulator-fixed"; 1482eb4d8dcSEmmanuel Vadot regulator-name = "vdd_mmc1"; 1492eb4d8dcSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1502eb4d8dcSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1512eb4d8dcSEmmanuel Vadot regulator-boot-on; 1522eb4d8dcSEmmanuel Vadot enable-active-high; 1532eb4d8dcSEmmanuel Vadot vin-supply = <&vsys_3v3>; 1542eb4d8dcSEmmanuel Vadot gpio = <&exp1 6 GPIO_ACTIVE_HIGH>; 1552eb4d8dcSEmmanuel Vadot }; 1562eb4d8dcSEmmanuel Vadot 157f126890aSEmmanuel Vadot vddb: regulator-4 { 1582eb4d8dcSEmmanuel Vadot compatible = "regulator-fixed"; 1592eb4d8dcSEmmanuel Vadot regulator-name = "vddb_3v3_display"; 1602eb4d8dcSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1612eb4d8dcSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1622eb4d8dcSEmmanuel Vadot vin-supply = <&vsys_3v3>; 1632eb4d8dcSEmmanuel Vadot regulator-always-on; 1642eb4d8dcSEmmanuel Vadot regulator-boot-on; 1652eb4d8dcSEmmanuel Vadot }; 1662eb4d8dcSEmmanuel Vadot 167f126890aSEmmanuel Vadot vtt_supply: regulator-5 { 16884943d6fSEmmanuel Vadot bootph-all; 169f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 170f126890aSEmmanuel Vadot regulator-name = "vtt"; 171f126890aSEmmanuel Vadot pinctrl-names = "default"; 172f126890aSEmmanuel Vadot pinctrl-0 = <&ddr_vtt_pins_default>; 173f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 174f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 175f126890aSEmmanuel Vadot gpio = <&main_gpio0 12 GPIO_ACTIVE_HIGH>; 176f126890aSEmmanuel Vadot vin-supply = <&vsys_3v3>; 177f126890aSEmmanuel Vadot enable-active-high; 178f126890aSEmmanuel Vadot regulator-always-on; 179f126890aSEmmanuel Vadot regulator-boot-on; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot 1822eb4d8dcSEmmanuel Vadot leds { 1832eb4d8dcSEmmanuel Vadot compatible = "gpio-leds"; 1842eb4d8dcSEmmanuel Vadot 1852eb4d8dcSEmmanuel Vadot led-0 { 1862eb4d8dcSEmmanuel Vadot label = "am64-evm:red:heartbeat"; 1872eb4d8dcSEmmanuel Vadot gpios = <&exp1 16 GPIO_ACTIVE_HIGH>; 1882eb4d8dcSEmmanuel Vadot linux,default-trigger = "heartbeat"; 1892eb4d8dcSEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 1902eb4d8dcSEmmanuel Vadot default-state = "off"; 1912eb4d8dcSEmmanuel Vadot }; 1922eb4d8dcSEmmanuel Vadot }; 1932eb4d8dcSEmmanuel Vadot 1942eb4d8dcSEmmanuel Vadot mdio_mux: mux-controller { 1952eb4d8dcSEmmanuel Vadot compatible = "gpio-mux"; 1962eb4d8dcSEmmanuel Vadot #mux-control-cells = <0>; 1972eb4d8dcSEmmanuel Vadot 1982eb4d8dcSEmmanuel Vadot mux-gpios = <&exp1 12 GPIO_ACTIVE_HIGH>; 1992eb4d8dcSEmmanuel Vadot }; 2002eb4d8dcSEmmanuel Vadot 2012eb4d8dcSEmmanuel Vadot mdio-mux-1 { 2022eb4d8dcSEmmanuel Vadot compatible = "mdio-mux-multiplexer"; 2032eb4d8dcSEmmanuel Vadot mux-controls = <&mdio_mux>; 2042eb4d8dcSEmmanuel Vadot mdio-parent-bus = <&cpsw3g_mdio>; 2052eb4d8dcSEmmanuel Vadot #address-cells = <1>; 2062eb4d8dcSEmmanuel Vadot #size-cells = <0>; 2072eb4d8dcSEmmanuel Vadot 2082eb4d8dcSEmmanuel Vadot mdio@1 { 2092eb4d8dcSEmmanuel Vadot reg = <0x1>; 2102eb4d8dcSEmmanuel Vadot #address-cells = <1>; 2112eb4d8dcSEmmanuel Vadot #size-cells = <0>; 2122eb4d8dcSEmmanuel Vadot 2132eb4d8dcSEmmanuel Vadot cpsw3g_phy3: ethernet-phy@3 { 2142eb4d8dcSEmmanuel Vadot reg = <3>; 2152eb4d8dcSEmmanuel Vadot }; 2162eb4d8dcSEmmanuel Vadot }; 2172eb4d8dcSEmmanuel Vadot }; 218e67e8565SEmmanuel Vadot 219e67e8565SEmmanuel Vadot transceiver1: can-phy0 { 220e67e8565SEmmanuel Vadot compatible = "ti,tcan1042"; 221e67e8565SEmmanuel Vadot #phy-cells = <0>; 222e67e8565SEmmanuel Vadot max-bitrate = <5000000>; 223e67e8565SEmmanuel Vadot standby-gpios = <&exp1 8 GPIO_ACTIVE_HIGH>; 224e67e8565SEmmanuel Vadot }; 225e67e8565SEmmanuel Vadot 226e67e8565SEmmanuel Vadot transceiver2: can-phy1 { 227e67e8565SEmmanuel Vadot compatible = "ti,tcan1042"; 228e67e8565SEmmanuel Vadot #phy-cells = <0>; 229e67e8565SEmmanuel Vadot max-bitrate = <5000000>; 230e67e8565SEmmanuel Vadot standby-gpios = <&exp1 9 GPIO_ACTIVE_HIGH>; 231e67e8565SEmmanuel Vadot }; 2322eb4d8dcSEmmanuel Vadot}; 2332eb4d8dcSEmmanuel Vadot 2342eb4d8dcSEmmanuel Vadot&main_pmx0 { 235f126890aSEmmanuel Vadot main_mmc1_pins_default: main-mmc1-default-pins { 2362eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 2372eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ 2382eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */ 2392eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */ 2402eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */ 2412eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */ 2422eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */ 2432eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */ 2442eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x029c, PIN_INPUT, 0) /* (C20) MMC1_SDWP */ 2452eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* MMC1_CLKLB */ 2462eb4d8dcSEmmanuel Vadot >; 2472eb4d8dcSEmmanuel Vadot }; 2482eb4d8dcSEmmanuel Vadot 249f126890aSEmmanuel Vadot main_uart1_pins_default: main-uart1-default-pins { 250f126890aSEmmanuel Vadot pinctrl-single,pins = < 251f126890aSEmmanuel Vadot AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ 252f126890aSEmmanuel Vadot AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ 253f126890aSEmmanuel Vadot AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */ 254f126890aSEmmanuel Vadot AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */ 255f126890aSEmmanuel Vadot >; 256f126890aSEmmanuel Vadot }; 257f126890aSEmmanuel Vadot 258f126890aSEmmanuel Vadot main_uart0_pins_default: main-uart0-default-pins { 25984943d6fSEmmanuel Vadot bootph-all; 2602eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 2612eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */ 2622eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */ 2632eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */ 2642eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */ 2652eb4d8dcSEmmanuel Vadot >; 2662eb4d8dcSEmmanuel Vadot }; 2672eb4d8dcSEmmanuel Vadot 268f126890aSEmmanuel Vadot main_spi0_pins_default: main-spi0-default-pins { 2692eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 2702eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0210, PIN_INPUT, 0) /* (D13) SPI0_CLK */ 2712eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0208, PIN_OUTPUT, 0) /* (D12) SPI0_CS0 */ 2722eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0214, PIN_OUTPUT, 0) /* (A13) SPI0_D0 */ 2732eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0218, PIN_INPUT, 0) /* (A14) SPI0_D1 */ 2742eb4d8dcSEmmanuel Vadot >; 2752eb4d8dcSEmmanuel Vadot }; 2762eb4d8dcSEmmanuel Vadot 277f126890aSEmmanuel Vadot main_i2c0_pins_default: main-i2c0-default-pins { 27884943d6fSEmmanuel Vadot bootph-all; 279f126890aSEmmanuel Vadot pinctrl-single,pins = < 280f126890aSEmmanuel Vadot AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ 281f126890aSEmmanuel Vadot AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ 282f126890aSEmmanuel Vadot >; 283f126890aSEmmanuel Vadot }; 284f126890aSEmmanuel Vadot 285f126890aSEmmanuel Vadot main_i2c1_pins_default: main-i2c1-default-pins { 28684943d6fSEmmanuel Vadot bootph-all; 2872eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 2882eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ 2892eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */ 2902eb4d8dcSEmmanuel Vadot >; 2912eb4d8dcSEmmanuel Vadot }; 2922eb4d8dcSEmmanuel Vadot 293f126890aSEmmanuel Vadot mdio1_pins_default: mdio1-default-pins { 29484943d6fSEmmanuel Vadot bootph-all; 2952eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 2962eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */ 2972eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */ 2982eb4d8dcSEmmanuel Vadot >; 2992eb4d8dcSEmmanuel Vadot }; 3002eb4d8dcSEmmanuel Vadot 301f126890aSEmmanuel Vadot rgmii1_pins_default: rgmii1-default-pins { 30284943d6fSEmmanuel Vadot bootph-all; 3032eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 3042eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* (W5) PRG0_PRU1_GPO7.RGMII1_RD0 */ 3052eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* (Y5) PRG0_PRU1_GPO9.RGMII1_RD1 */ 3062eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x01d8, PIN_INPUT, 4) /* (V6) PRG0_PRU1_GPO10.RGMII1_RD2 */ 3072eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x01f4, PIN_INPUT, 4) /* (V5) PRG0_PRU1_GPO17.RGMII1_RD3 */ 3082eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0188, PIN_INPUT, 4) /* (AA5) PRG0_PRU0_GPO10.RGMII1_RXC */ 3092eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0184, PIN_INPUT, 4) /* (W6) PRG0_PRU0_GPO9.RGMII1_RX_CTL */ 3102eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0124, PIN_OUTPUT, 4) /* (V15) PRG1_PRU1_GPO7.RGMII1_TD0 */ 3112eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x012c, PIN_OUTPUT, 4) /* (V14) PRG1_PRU1_GPO9.RGMII1_TD1 */ 3122eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0130, PIN_OUTPUT, 4) /* (W14) PRG1_PRU1_GPO10.RGMII1_TD2 */ 3132eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x014c, PIN_OUTPUT, 4) /* (AA14) PRG1_PRU1_GPO17.RGMII1_TD3 */ 3142eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x00e0, PIN_OUTPUT, 4) /* (U14) PRG1_PRU0_GPO10.RGMII1_TXC */ 3152eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x00dc, PIN_OUTPUT, 4) /* (U15) PRG1_PRU0_GPO9.RGMII1_TX_CTL */ 3162eb4d8dcSEmmanuel Vadot >; 3172eb4d8dcSEmmanuel Vadot }; 3182eb4d8dcSEmmanuel Vadot 319f126890aSEmmanuel Vadot rgmii2_pins_default: rgmii2-default-pins { 32084943d6fSEmmanuel Vadot bootph-all; 3212eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 3222eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */ 3232eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */ 3242eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0110, PIN_INPUT, 4) /* (AA12) PRG1_PRU1_GPO2.RGMII2_RD2 */ 3252eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0114, PIN_INPUT, 4) /* (Y12) PRG1_PRU1_GPO3.RGMII2_RD3 */ 3262eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0120, PIN_INPUT, 4) /* (U11) PRG1_PRU1_GPO6.RGMII2_RXC */ 3272eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0118, PIN_INPUT, 4) /* (W12) PRG1_PRU1_GPO4.RGMII2_RX_CTL */ 3282eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0134, PIN_OUTPUT, 4) /* (AA10) PRG1_PRU1_GPO11.RGMII2_TD0 */ 3292eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0138, PIN_OUTPUT, 4) /* (V10) PRG1_PRU1_GPO12.RGMII2_TD1 */ 3302eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x013c, PIN_OUTPUT, 4) /* (U10) PRG1_PRU1_GPO13.RGMII2_TD2 */ 3312eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0140, PIN_OUTPUT, 4) /* (AA11) PRG1_PRU1_GPO14.RGMII2_TD3 */ 3322eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0148, PIN_OUTPUT, 4) /* (Y10) PRG1_PRU1_GPO16.RGMII2_TXC */ 3332eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0144, PIN_OUTPUT, 4) /* (Y11) PRG1_PRU1_GPO15.RGMII2_TX_CTL */ 3342eb4d8dcSEmmanuel Vadot >; 3352eb4d8dcSEmmanuel Vadot }; 3362eb4d8dcSEmmanuel Vadot 337f126890aSEmmanuel Vadot main_usb0_pins_default: main-usb0-default-pins { 33884943d6fSEmmanuel Vadot bootph-all; 3392eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 3402eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ 3412eb4d8dcSEmmanuel Vadot >; 3422eb4d8dcSEmmanuel Vadot }; 3432eb4d8dcSEmmanuel Vadot 344f126890aSEmmanuel Vadot ospi0_pins_default: ospi0-default-pins { 3452eb4d8dcSEmmanuel Vadot pinctrl-single,pins = < 3462eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ 3472eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ 3482eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x000c, PIN_INPUT, 0) /* (M19) OSPI0_D0 */ 3492eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0010, PIN_INPUT, 0) /* (M18) OSPI0_D1 */ 3502eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0014, PIN_INPUT, 0) /* (M20) OSPI0_D2 */ 3512eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0018, PIN_INPUT, 0) /* (M21) OSPI0_D3 */ 3522eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x001c, PIN_INPUT, 0) /* (P21) OSPI0_D4 */ 3532eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0020, PIN_INPUT, 0) /* (P20) OSPI0_D5 */ 3542eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0024, PIN_INPUT, 0) /* (N18) OSPI0_D6 */ 3552eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0028, PIN_INPUT, 0) /* (M17) OSPI0_D7 */ 3562eb4d8dcSEmmanuel Vadot AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */ 3572eb4d8dcSEmmanuel Vadot >; 3582eb4d8dcSEmmanuel Vadot }; 359354d7675SEmmanuel Vadot 360f126890aSEmmanuel Vadot main_ecap0_pins_default: main-ecap0-default-pins { 361354d7675SEmmanuel Vadot pinctrl-single,pins = < 362354d7675SEmmanuel Vadot AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ 363354d7675SEmmanuel Vadot >; 364354d7675SEmmanuel Vadot }; 365e67e8565SEmmanuel Vadot 366f126890aSEmmanuel Vadot main_mcan0_pins_default: main-mcan0-default-pins { 367e67e8565SEmmanuel Vadot pinctrl-single,pins = < 368e67e8565SEmmanuel Vadot AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* (B17) MCAN0_RX */ 369e67e8565SEmmanuel Vadot AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* (A17) MCAN0_TX */ 370e67e8565SEmmanuel Vadot >; 371e67e8565SEmmanuel Vadot }; 372e67e8565SEmmanuel Vadot 373f126890aSEmmanuel Vadot main_mcan1_pins_default: main-mcan1-default-pins { 374e67e8565SEmmanuel Vadot pinctrl-single,pins = < 375e67e8565SEmmanuel Vadot AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* (D17) MCAN1_RX */ 376e67e8565SEmmanuel Vadot AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */ 377e67e8565SEmmanuel Vadot >; 378e67e8565SEmmanuel Vadot }; 379f126890aSEmmanuel Vadot 380f126890aSEmmanuel Vadot ddr_vtt_pins_default: ddr-vtt-default-pins { 38184943d6fSEmmanuel Vadot bootph-all; 382f126890aSEmmanuel Vadot pinctrl-single,pins = < 383f126890aSEmmanuel Vadot AM64X_IOPAD(0x0030, PIN_OUTPUT_PULLUP, 7) /* (L18) OSPI0_CSN1.GPIO0_12 */ 384f126890aSEmmanuel Vadot >; 385f126890aSEmmanuel Vadot }; 3862eb4d8dcSEmmanuel Vadot}; 3872eb4d8dcSEmmanuel Vadot 3882eb4d8dcSEmmanuel Vadot&main_uart0 { 38984943d6fSEmmanuel Vadot bootph-all; 3908bab661aSEmmanuel Vadot status = "okay"; 3912eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 3922eb4d8dcSEmmanuel Vadot pinctrl-0 = <&main_uart0_pins_default>; 393f126890aSEmmanuel Vadot current-speed = <115200>; 3942eb4d8dcSEmmanuel Vadot}; 3952eb4d8dcSEmmanuel Vadot 3962eb4d8dcSEmmanuel Vadot/* main_uart1 is reserved for firmware usage */ 3972eb4d8dcSEmmanuel Vadot&main_uart1 { 3982eb4d8dcSEmmanuel Vadot status = "reserved"; 399f126890aSEmmanuel Vadot pinctrl-names = "default"; 400f126890aSEmmanuel Vadot pinctrl-0 = <&main_uart1_pins_default>; 401f126890aSEmmanuel Vadot}; 402f126890aSEmmanuel Vadot 403f126890aSEmmanuel Vadot&main_i2c0 { 40484943d6fSEmmanuel Vadot bootph-all; 405f126890aSEmmanuel Vadot status = "okay"; 406f126890aSEmmanuel Vadot pinctrl-names = "default"; 407f126890aSEmmanuel Vadot pinctrl-0 = <&main_i2c0_pins_default>; 408f126890aSEmmanuel Vadot clock-frequency = <400000>; 409f126890aSEmmanuel Vadot 41084943d6fSEmmanuel Vadot gpio@38 { 41184943d6fSEmmanuel Vadot /* TCA9554 */ 41284943d6fSEmmanuel Vadot compatible = "nxp,pca9554"; 41384943d6fSEmmanuel Vadot reg = <0x38>; 41484943d6fSEmmanuel Vadot gpio-controller; 41584943d6fSEmmanuel Vadot #gpio-cells = <2>; 41684943d6fSEmmanuel Vadot gpio-line-names = "HSE_DETECT"; 41784943d6fSEmmanuel Vadot }; 41884943d6fSEmmanuel Vadot 419f126890aSEmmanuel Vadot eeprom@50 { 420f126890aSEmmanuel Vadot /* AT24CM01 */ 421f126890aSEmmanuel Vadot compatible = "atmel,24c1024"; 422f126890aSEmmanuel Vadot reg = <0x50>; 423f126890aSEmmanuel Vadot }; 4242eb4d8dcSEmmanuel Vadot}; 4252eb4d8dcSEmmanuel Vadot 4262eb4d8dcSEmmanuel Vadot&main_i2c1 { 42784943d6fSEmmanuel Vadot bootph-all; 4288bab661aSEmmanuel Vadot status = "okay"; 4292eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 4302eb4d8dcSEmmanuel Vadot pinctrl-0 = <&main_i2c1_pins_default>; 4312eb4d8dcSEmmanuel Vadot clock-frequency = <400000>; 4322eb4d8dcSEmmanuel Vadot 4332eb4d8dcSEmmanuel Vadot exp1: gpio@22 { 43484943d6fSEmmanuel Vadot bootph-all; 4352eb4d8dcSEmmanuel Vadot compatible = "ti,tca6424"; 4362eb4d8dcSEmmanuel Vadot reg = <0x22>; 4372eb4d8dcSEmmanuel Vadot gpio-controller; 4382eb4d8dcSEmmanuel Vadot #gpio-cells = <2>; 4392eb4d8dcSEmmanuel Vadot gpio-line-names = "GPIO_eMMC_RSTn", "CAN_MUX_SEL", 4402eb4d8dcSEmmanuel Vadot "GPIO_CPSW1_RST", "GPIO_RGMII1_RST", 4412eb4d8dcSEmmanuel Vadot "GPIO_RGMII2_RST", "GPIO_PCIe_RST_OUT", 4422eb4d8dcSEmmanuel Vadot "MMC1_SD_EN", "FSI_FET_SEL", 4432eb4d8dcSEmmanuel Vadot "MCAN0_STB_3V3", "MCAN1_STB_3V3", 4442eb4d8dcSEmmanuel Vadot "CPSW_FET_SEL", "CPSW_FET2_SEL", 4452eb4d8dcSEmmanuel Vadot "PRG1_RGMII2_FET_SEL", "TEST_GPIO2", 4462eb4d8dcSEmmanuel Vadot "GPIO_OLED_RESETn", "VPP_LDO_EN", 4472eb4d8dcSEmmanuel Vadot "TEST_LED1", "TP92", "TP90", "TP88", 4482eb4d8dcSEmmanuel Vadot "TP87", "TP86", "TP89", "TP91"; 4492eb4d8dcSEmmanuel Vadot }; 4502eb4d8dcSEmmanuel Vadot 4512eb4d8dcSEmmanuel Vadot /* osd9616p0899-10 */ 4522eb4d8dcSEmmanuel Vadot display@3c { 4532eb4d8dcSEmmanuel Vadot compatible = "solomon,ssd1306fb-i2c"; 4542eb4d8dcSEmmanuel Vadot reg = <0x3c>; 4552eb4d8dcSEmmanuel Vadot reset-gpios = <&exp1 14 GPIO_ACTIVE_LOW>; 4562eb4d8dcSEmmanuel Vadot vbat-supply = <&vddb>; 4572eb4d8dcSEmmanuel Vadot solomon,height = <16>; 4582eb4d8dcSEmmanuel Vadot solomon,width = <96>; 4592eb4d8dcSEmmanuel Vadot solomon,com-seq; 4602eb4d8dcSEmmanuel Vadot solomon,com-invdir; 4612eb4d8dcSEmmanuel Vadot solomon,page-offset = <0>; 4622eb4d8dcSEmmanuel Vadot solomon,prechargep1 = <2>; 4632eb4d8dcSEmmanuel Vadot solomon,prechargep2 = <13>; 4642eb4d8dcSEmmanuel Vadot }; 4652eb4d8dcSEmmanuel Vadot}; 4662eb4d8dcSEmmanuel Vadot 46784943d6fSEmmanuel Vadot&main_gpio0 { 46884943d6fSEmmanuel Vadot bootph-all; 46984943d6fSEmmanuel Vadot}; 47084943d6fSEmmanuel Vadot 471*8d13bc63SEmmanuel Vadot/* mcu_gpio0 and mcu_gpio_intr are reserved for mcu firmware usage */ 4722eb4d8dcSEmmanuel Vadot&mcu_gpio0 { 4732eb4d8dcSEmmanuel Vadot status = "reserved"; 4742eb4d8dcSEmmanuel Vadot}; 4752eb4d8dcSEmmanuel Vadot 476*8d13bc63SEmmanuel Vadot&mcu_gpio_intr { 477*8d13bc63SEmmanuel Vadot status = "reserved"; 478*8d13bc63SEmmanuel Vadot}; 479*8d13bc63SEmmanuel Vadot 4802eb4d8dcSEmmanuel Vadot&main_spi0 { 4818bab661aSEmmanuel Vadot status = "okay"; 4822eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 4832eb4d8dcSEmmanuel Vadot pinctrl-0 = <&main_spi0_pins_default>; 4845956d97fSEmmanuel Vadot ti,pindir-d0-out-d1-in; 4852eb4d8dcSEmmanuel Vadot eeprom@0 { 4862eb4d8dcSEmmanuel Vadot compatible = "microchip,93lc46b"; 4872eb4d8dcSEmmanuel Vadot reg = <0>; 4882eb4d8dcSEmmanuel Vadot spi-max-frequency = <1000000>; 4892eb4d8dcSEmmanuel Vadot spi-cs-high; 4902eb4d8dcSEmmanuel Vadot data-size = <16>; 4912eb4d8dcSEmmanuel Vadot }; 4922eb4d8dcSEmmanuel Vadot}; 4932eb4d8dcSEmmanuel Vadot 494*8d13bc63SEmmanuel Vadot/* eMMC */ 4952eb4d8dcSEmmanuel Vadot&sdhci0 { 496*8d13bc63SEmmanuel Vadot status = "okay"; 4972eb4d8dcSEmmanuel Vadot bus-width = <8>; 4982eb4d8dcSEmmanuel Vadot non-removable; 4992eb4d8dcSEmmanuel Vadot ti,driver-strength-ohm = <50>; 5002eb4d8dcSEmmanuel Vadot disable-wp; 5012eb4d8dcSEmmanuel Vadot}; 5022eb4d8dcSEmmanuel Vadot 5032eb4d8dcSEmmanuel Vadot/* SD/MMC */ 504*8d13bc63SEmmanuel Vadot&sdhci1 { 50584943d6fSEmmanuel Vadot bootph-all; 506*8d13bc63SEmmanuel Vadot status = "okay"; 5072eb4d8dcSEmmanuel Vadot vmmc-supply = <&vdd_mmc1>; 5082eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 5092eb4d8dcSEmmanuel Vadot bus-width = <4>; 5102eb4d8dcSEmmanuel Vadot pinctrl-0 = <&main_mmc1_pins_default>; 5112eb4d8dcSEmmanuel Vadot ti,driver-strength-ohm = <50>; 5122eb4d8dcSEmmanuel Vadot disable-wp; 5132eb4d8dcSEmmanuel Vadot}; 5142eb4d8dcSEmmanuel Vadot 5152eb4d8dcSEmmanuel Vadot&usbss0 { 51684943d6fSEmmanuel Vadot bootph-all; 5172eb4d8dcSEmmanuel Vadot ti,vbus-divider; 5182eb4d8dcSEmmanuel Vadot ti,usb2-only; 5192eb4d8dcSEmmanuel Vadot}; 5202eb4d8dcSEmmanuel Vadot 5212eb4d8dcSEmmanuel Vadot&usb0 { 52284943d6fSEmmanuel Vadot bootph-all; 5232eb4d8dcSEmmanuel Vadot dr_mode = "otg"; 5242eb4d8dcSEmmanuel Vadot maximum-speed = "high-speed"; 5252eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 5262eb4d8dcSEmmanuel Vadot pinctrl-0 = <&main_usb0_pins_default>; 5272eb4d8dcSEmmanuel Vadot}; 5282eb4d8dcSEmmanuel Vadot 5292eb4d8dcSEmmanuel Vadot&cpsw3g { 53084943d6fSEmmanuel Vadot bootph-all; 5312eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 532f126890aSEmmanuel Vadot pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>; 5332eb4d8dcSEmmanuel Vadot}; 5342eb4d8dcSEmmanuel Vadot 5352eb4d8dcSEmmanuel Vadot&cpsw_port1 { 53684943d6fSEmmanuel Vadot bootph-all; 5372eb4d8dcSEmmanuel Vadot phy-mode = "rgmii-rxid"; 5382eb4d8dcSEmmanuel Vadot phy-handle = <&cpsw3g_phy0>; 5392eb4d8dcSEmmanuel Vadot}; 5402eb4d8dcSEmmanuel Vadot 5412eb4d8dcSEmmanuel Vadot&cpsw_port2 { 5422eb4d8dcSEmmanuel Vadot phy-mode = "rgmii-rxid"; 5432eb4d8dcSEmmanuel Vadot phy-handle = <&cpsw3g_phy3>; 5442eb4d8dcSEmmanuel Vadot}; 5452eb4d8dcSEmmanuel Vadot 5462eb4d8dcSEmmanuel Vadot&cpsw3g_mdio { 54784943d6fSEmmanuel Vadot bootph-all; 5488bab661aSEmmanuel Vadot status = "okay"; 5498bab661aSEmmanuel Vadot pinctrl-names = "default"; 5508bab661aSEmmanuel Vadot pinctrl-0 = <&mdio1_pins_default>; 5518bab661aSEmmanuel Vadot 5522eb4d8dcSEmmanuel Vadot cpsw3g_phy0: ethernet-phy@0 { 55384943d6fSEmmanuel Vadot bootph-all; 5542eb4d8dcSEmmanuel Vadot reg = <0>; 5552eb4d8dcSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 5562eb4d8dcSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 5572eb4d8dcSEmmanuel Vadot }; 5582eb4d8dcSEmmanuel Vadot}; 5592eb4d8dcSEmmanuel Vadot 5602eb4d8dcSEmmanuel Vadot&tscadc0 { 5612eb4d8dcSEmmanuel Vadot /* ADC is reserved for R5 usage */ 5622eb4d8dcSEmmanuel Vadot status = "reserved"; 5632eb4d8dcSEmmanuel Vadot}; 5642eb4d8dcSEmmanuel Vadot 5652eb4d8dcSEmmanuel Vadot&ospi0 { 566aa1a8ff2SEmmanuel Vadot status = "okay"; 5672eb4d8dcSEmmanuel Vadot pinctrl-names = "default"; 5682eb4d8dcSEmmanuel Vadot pinctrl-0 = <&ospi0_pins_default>; 5692eb4d8dcSEmmanuel Vadot 5702eb4d8dcSEmmanuel Vadot flash@0 { 5712eb4d8dcSEmmanuel Vadot compatible = "jedec,spi-nor"; 5722eb4d8dcSEmmanuel Vadot reg = <0x0>; 5732eb4d8dcSEmmanuel Vadot spi-tx-bus-width = <8>; 5742eb4d8dcSEmmanuel Vadot spi-rx-bus-width = <8>; 5752eb4d8dcSEmmanuel Vadot spi-max-frequency = <25000000>; 5762eb4d8dcSEmmanuel Vadot cdns,tshsl-ns = <60>; 5772eb4d8dcSEmmanuel Vadot cdns,tsd2d-ns = <60>; 5782eb4d8dcSEmmanuel Vadot cdns,tchsh-ns = <60>; 5792eb4d8dcSEmmanuel Vadot cdns,tslch-ns = <60>; 5802eb4d8dcSEmmanuel Vadot cdns,read-delay = <4>; 581f126890aSEmmanuel Vadot 582f126890aSEmmanuel Vadot partitions { 583f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 584f126890aSEmmanuel Vadot #address-cells = <1>; 585f126890aSEmmanuel Vadot #size-cells = <1>; 586f126890aSEmmanuel Vadot 587f126890aSEmmanuel Vadot partition@0 { 588f126890aSEmmanuel Vadot label = "ospi.tiboot3"; 589f126890aSEmmanuel Vadot reg = <0x0 0x100000>; 590f126890aSEmmanuel Vadot }; 591f126890aSEmmanuel Vadot 592f126890aSEmmanuel Vadot partition@100000 { 593f126890aSEmmanuel Vadot label = "ospi.tispl"; 594f126890aSEmmanuel Vadot reg = <0x100000 0x200000>; 595f126890aSEmmanuel Vadot }; 596f126890aSEmmanuel Vadot 597f126890aSEmmanuel Vadot partition@300000 { 598f126890aSEmmanuel Vadot label = "ospi.u-boot"; 599f126890aSEmmanuel Vadot reg = <0x300000 0x400000>; 600f126890aSEmmanuel Vadot }; 601f126890aSEmmanuel Vadot 602f126890aSEmmanuel Vadot partition@700000 { 603f126890aSEmmanuel Vadot label = "ospi.env"; 604f126890aSEmmanuel Vadot reg = <0x700000 0x40000>; 605f126890aSEmmanuel Vadot }; 606f126890aSEmmanuel Vadot 607f126890aSEmmanuel Vadot partition@740000 { 608f126890aSEmmanuel Vadot label = "ospi.env.backup"; 609f126890aSEmmanuel Vadot reg = <0x740000 0x40000>; 610f126890aSEmmanuel Vadot }; 611f126890aSEmmanuel Vadot 612f126890aSEmmanuel Vadot partition@800000 { 613f126890aSEmmanuel Vadot label = "ospi.rootfs"; 614f126890aSEmmanuel Vadot reg = <0x800000 0x37c0000>; 615f126890aSEmmanuel Vadot }; 616f126890aSEmmanuel Vadot 617f126890aSEmmanuel Vadot partition@3fc0000 { 618f126890aSEmmanuel Vadot label = "ospi.phypattern"; 619f126890aSEmmanuel Vadot reg = <0x3fc0000 0x40000>; 620f126890aSEmmanuel Vadot }; 621f126890aSEmmanuel Vadot }; 6222eb4d8dcSEmmanuel Vadot }; 6232eb4d8dcSEmmanuel Vadot}; 6242eb4d8dcSEmmanuel Vadot 6252eb4d8dcSEmmanuel Vadot&mailbox0_cluster2 { 626f126890aSEmmanuel Vadot status = "okay"; 627f126890aSEmmanuel Vadot 6282eb4d8dcSEmmanuel Vadot mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 6292eb4d8dcSEmmanuel Vadot ti,mbox-rx = <0 0 2>; 6302eb4d8dcSEmmanuel Vadot ti,mbox-tx = <1 0 2>; 6312eb4d8dcSEmmanuel Vadot }; 6322eb4d8dcSEmmanuel Vadot 6332eb4d8dcSEmmanuel Vadot mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { 6342eb4d8dcSEmmanuel Vadot ti,mbox-rx = <2 0 2>; 6352eb4d8dcSEmmanuel Vadot ti,mbox-tx = <3 0 2>; 6362eb4d8dcSEmmanuel Vadot }; 6372eb4d8dcSEmmanuel Vadot}; 6382eb4d8dcSEmmanuel Vadot 6392eb4d8dcSEmmanuel Vadot&mailbox0_cluster4 { 640f126890aSEmmanuel Vadot status = "okay"; 641f126890aSEmmanuel Vadot 6422eb4d8dcSEmmanuel Vadot mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 6432eb4d8dcSEmmanuel Vadot ti,mbox-rx = <0 0 2>; 6442eb4d8dcSEmmanuel Vadot ti,mbox-tx = <1 0 2>; 6452eb4d8dcSEmmanuel Vadot }; 6462eb4d8dcSEmmanuel Vadot 6472eb4d8dcSEmmanuel Vadot mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { 6482eb4d8dcSEmmanuel Vadot ti,mbox-rx = <2 0 2>; 6492eb4d8dcSEmmanuel Vadot ti,mbox-tx = <3 0 2>; 6502eb4d8dcSEmmanuel Vadot }; 6512eb4d8dcSEmmanuel Vadot}; 6522eb4d8dcSEmmanuel Vadot 6532eb4d8dcSEmmanuel Vadot&mailbox0_cluster6 { 654f126890aSEmmanuel Vadot status = "okay"; 655f126890aSEmmanuel Vadot 6562eb4d8dcSEmmanuel Vadot mbox_m4_0: mbox-m4-0 { 6572eb4d8dcSEmmanuel Vadot ti,mbox-rx = <0 0 2>; 6582eb4d8dcSEmmanuel Vadot ti,mbox-tx = <1 0 2>; 6592eb4d8dcSEmmanuel Vadot }; 6602eb4d8dcSEmmanuel Vadot}; 6612eb4d8dcSEmmanuel Vadot 6625956d97fSEmmanuel Vadot&main_r5fss0_core0 { 663f126890aSEmmanuel Vadot mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>; 6645956d97fSEmmanuel Vadot memory-region = <&main_r5fss0_core0_dma_memory_region>, 6655956d97fSEmmanuel Vadot <&main_r5fss0_core0_memory_region>; 6665956d97fSEmmanuel Vadot}; 6675956d97fSEmmanuel Vadot 6685956d97fSEmmanuel Vadot&main_r5fss0_core1 { 669f126890aSEmmanuel Vadot mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>; 6705956d97fSEmmanuel Vadot memory-region = <&main_r5fss0_core1_dma_memory_region>, 6715956d97fSEmmanuel Vadot <&main_r5fss0_core1_memory_region>; 6725956d97fSEmmanuel Vadot}; 6735956d97fSEmmanuel Vadot 6745956d97fSEmmanuel Vadot&main_r5fss1_core0 { 675f126890aSEmmanuel Vadot mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>; 6765956d97fSEmmanuel Vadot memory-region = <&main_r5fss1_core0_dma_memory_region>, 6775956d97fSEmmanuel Vadot <&main_r5fss1_core0_memory_region>; 6785956d97fSEmmanuel Vadot}; 6795956d97fSEmmanuel Vadot 6805956d97fSEmmanuel Vadot&main_r5fss1_core1 { 681f126890aSEmmanuel Vadot mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>; 6825956d97fSEmmanuel Vadot memory-region = <&main_r5fss1_core1_dma_memory_region>, 6835956d97fSEmmanuel Vadot <&main_r5fss1_core1_memory_region>; 6845956d97fSEmmanuel Vadot}; 6855956d97fSEmmanuel Vadot 6865956d97fSEmmanuel Vadot&serdes_ln_ctrl { 6875956d97fSEmmanuel Vadot idle-states = <AM64_SERDES0_LANE0_PCIE0>; 6885956d97fSEmmanuel Vadot}; 6895956d97fSEmmanuel Vadot 6905956d97fSEmmanuel Vadot&serdes0 { 6915956d97fSEmmanuel Vadot serdes0_pcie_link: phy@0 { 6925956d97fSEmmanuel Vadot reg = <0>; 6935956d97fSEmmanuel Vadot cdns,num-lanes = <1>; 6945956d97fSEmmanuel Vadot #phy-cells = <0>; 6955956d97fSEmmanuel Vadot cdns,phy-type = <PHY_TYPE_PCIE>; 6965956d97fSEmmanuel Vadot resets = <&serdes_wiz0 1>; 6975956d97fSEmmanuel Vadot }; 6985956d97fSEmmanuel Vadot}; 6995956d97fSEmmanuel Vadot 7005956d97fSEmmanuel Vadot&pcie0_rc { 7018bab661aSEmmanuel Vadot status = "okay"; 7025956d97fSEmmanuel Vadot reset-gpios = <&exp1 5 GPIO_ACTIVE_HIGH>; 7035956d97fSEmmanuel Vadot phys = <&serdes0_pcie_link>; 7045956d97fSEmmanuel Vadot phy-names = "pcie-phy"; 7055956d97fSEmmanuel Vadot num-lanes = <1>; 7065956d97fSEmmanuel Vadot}; 7075956d97fSEmmanuel Vadot 7085956d97fSEmmanuel Vadot&pcie0_ep { 7095956d97fSEmmanuel Vadot phys = <&serdes0_pcie_link>; 7105956d97fSEmmanuel Vadot phy-names = "pcie-phy"; 7115956d97fSEmmanuel Vadot num-lanes = <1>; 7125956d97fSEmmanuel Vadot}; 713354d7675SEmmanuel Vadot 714354d7675SEmmanuel Vadot&ecap0 { 7158bab661aSEmmanuel Vadot status = "okay"; 716354d7675SEmmanuel Vadot /* PWM is available on Pin 1 of header J12 */ 717354d7675SEmmanuel Vadot pinctrl-names = "default"; 718354d7675SEmmanuel Vadot pinctrl-0 = <&main_ecap0_pins_default>; 719354d7675SEmmanuel Vadot}; 720354d7675SEmmanuel Vadot 721e67e8565SEmmanuel Vadot&main_mcan0 { 7228bab661aSEmmanuel Vadot status = "okay"; 723e67e8565SEmmanuel Vadot pinctrl-names = "default"; 724e67e8565SEmmanuel Vadot pinctrl-0 = <&main_mcan0_pins_default>; 725e67e8565SEmmanuel Vadot phys = <&transceiver1>; 726e67e8565SEmmanuel Vadot}; 727e67e8565SEmmanuel Vadot 728e67e8565SEmmanuel Vadot&main_mcan1 { 7298bab661aSEmmanuel Vadot status = "okay"; 730e67e8565SEmmanuel Vadot pinctrl-names = "default"; 731e67e8565SEmmanuel Vadot pinctrl-0 = <&main_mcan1_pins_default>; 732e67e8565SEmmanuel Vadot phys = <&transceiver2>; 733e67e8565SEmmanuel Vadot}; 734