15f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT 25f62a964SEmmanuel Vadot/* 35f62a964SEmmanuel Vadot * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 45f62a964SEmmanuel Vadot * 55f62a964SEmmanuel Vadot * EVM Board Schematics(j784s4): https://www.ti.com/lit/zip/sprr458 65f62a964SEmmanuel Vadot * EVM Board Schematics(j742s2): https://www.ti.com/lit/zip/SPAC001 75f62a964SEmmanuel Vadot */ 8*ae5de77eSEmmanuel Vadot 9*ae5de77eSEmmanuel Vadot#include <dt-bindings/phy/phy-cadence.h> 10*ae5de77eSEmmanuel Vadot 115f62a964SEmmanuel Vadot/ { 125f62a964SEmmanuel Vadot chosen { 135f62a964SEmmanuel Vadot stdout-path = "serial2:115200n8"; 145f62a964SEmmanuel Vadot }; 155f62a964SEmmanuel Vadot 165f62a964SEmmanuel Vadot aliases { 175f62a964SEmmanuel Vadot serial0 = &wkup_uart0; 185f62a964SEmmanuel Vadot serial1 = &mcu_uart0; 195f62a964SEmmanuel Vadot serial2 = &main_uart8; 205f62a964SEmmanuel Vadot mmc0 = &main_sdhci0; 215f62a964SEmmanuel Vadot mmc1 = &main_sdhci1; 225f62a964SEmmanuel Vadot i2c0 = &wkup_i2c0; 235f62a964SEmmanuel Vadot i2c3 = &main_i2c0; 245f62a964SEmmanuel Vadot ethernet0 = &mcu_cpsw_port1; 255f62a964SEmmanuel Vadot ethernet1 = &main_cpsw1_port1; 265f62a964SEmmanuel Vadot }; 275f62a964SEmmanuel Vadot 285f62a964SEmmanuel Vadot reserved_memory: reserved-memory { 295f62a964SEmmanuel Vadot #address-cells = <2>; 305f62a964SEmmanuel Vadot #size-cells = <2>; 315f62a964SEmmanuel Vadot ranges; 325f62a964SEmmanuel Vadot 335f62a964SEmmanuel Vadot secure_ddr: optee@9e800000 { 345f62a964SEmmanuel Vadot reg = <0x00 0x9e800000 0x00 0x01800000>; 355f62a964SEmmanuel Vadot no-map; 365f62a964SEmmanuel Vadot }; 375f62a964SEmmanuel Vadot 385f62a964SEmmanuel Vadot mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { 395f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 405f62a964SEmmanuel Vadot reg = <0x00 0xa0000000 0x00 0x100000>; 415f62a964SEmmanuel Vadot no-map; 425f62a964SEmmanuel Vadot }; 435f62a964SEmmanuel Vadot 445f62a964SEmmanuel Vadot mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 { 455f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 465f62a964SEmmanuel Vadot reg = <0x00 0xa0100000 0x00 0xf00000>; 475f62a964SEmmanuel Vadot no-map; 485f62a964SEmmanuel Vadot }; 495f62a964SEmmanuel Vadot 505f62a964SEmmanuel Vadot mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { 515f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 525f62a964SEmmanuel Vadot reg = <0x00 0xa1000000 0x00 0x100000>; 535f62a964SEmmanuel Vadot no-map; 545f62a964SEmmanuel Vadot }; 555f62a964SEmmanuel Vadot 565f62a964SEmmanuel Vadot mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 { 575f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 585f62a964SEmmanuel Vadot reg = <0x00 0xa1100000 0x00 0xf00000>; 595f62a964SEmmanuel Vadot no-map; 605f62a964SEmmanuel Vadot }; 615f62a964SEmmanuel Vadot 625f62a964SEmmanuel Vadot main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 { 635f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 645f62a964SEmmanuel Vadot reg = <0x00 0xa2000000 0x00 0x100000>; 655f62a964SEmmanuel Vadot no-map; 665f62a964SEmmanuel Vadot }; 675f62a964SEmmanuel Vadot 685f62a964SEmmanuel Vadot main_r5fss0_core0_memory_region: r5f-memory@a2100000 { 695f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 705f62a964SEmmanuel Vadot reg = <0x00 0xa2100000 0x00 0xf00000>; 715f62a964SEmmanuel Vadot no-map; 725f62a964SEmmanuel Vadot }; 735f62a964SEmmanuel Vadot 745f62a964SEmmanuel Vadot main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 { 755f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 765f62a964SEmmanuel Vadot reg = <0x00 0xa3000000 0x00 0x100000>; 775f62a964SEmmanuel Vadot no-map; 785f62a964SEmmanuel Vadot }; 795f62a964SEmmanuel Vadot 805f62a964SEmmanuel Vadot main_r5fss0_core1_memory_region: r5f-memory@a3100000 { 815f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 825f62a964SEmmanuel Vadot reg = <0x00 0xa3100000 0x00 0xf00000>; 835f62a964SEmmanuel Vadot no-map; 845f62a964SEmmanuel Vadot }; 855f62a964SEmmanuel Vadot 865f62a964SEmmanuel Vadot main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 { 875f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 885f62a964SEmmanuel Vadot reg = <0x00 0xa4000000 0x00 0x100000>; 895f62a964SEmmanuel Vadot no-map; 905f62a964SEmmanuel Vadot }; 915f62a964SEmmanuel Vadot 925f62a964SEmmanuel Vadot main_r5fss1_core0_memory_region: r5f-memory@a4100000 { 935f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 945f62a964SEmmanuel Vadot reg = <0x00 0xa4100000 0x00 0xf00000>; 955f62a964SEmmanuel Vadot no-map; 965f62a964SEmmanuel Vadot }; 975f62a964SEmmanuel Vadot 985f62a964SEmmanuel Vadot main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 { 995f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1005f62a964SEmmanuel Vadot reg = <0x00 0xa5000000 0x00 0x100000>; 1015f62a964SEmmanuel Vadot no-map; 1025f62a964SEmmanuel Vadot }; 1035f62a964SEmmanuel Vadot 1045f62a964SEmmanuel Vadot main_r5fss1_core1_memory_region: r5f-memory@a5100000 { 1055f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1065f62a964SEmmanuel Vadot reg = <0x00 0xa5100000 0x00 0xf00000>; 1075f62a964SEmmanuel Vadot no-map; 1085f62a964SEmmanuel Vadot }; 1095f62a964SEmmanuel Vadot 1105f62a964SEmmanuel Vadot main_r5fss2_core0_dma_memory_region: r5f-dma-memory@a6000000 { 1115f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1125f62a964SEmmanuel Vadot reg = <0x00 0xa6000000 0x00 0x100000>; 1135f62a964SEmmanuel Vadot no-map; 1145f62a964SEmmanuel Vadot }; 1155f62a964SEmmanuel Vadot 1165f62a964SEmmanuel Vadot main_r5fss2_core0_memory_region: r5f-memory@a6100000 { 1175f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1185f62a964SEmmanuel Vadot reg = <0x00 0xa6100000 0x00 0xf00000>; 1195f62a964SEmmanuel Vadot no-map; 1205f62a964SEmmanuel Vadot }; 1215f62a964SEmmanuel Vadot 1225f62a964SEmmanuel Vadot main_r5fss2_core1_dma_memory_region: r5f-dma-memory@a7000000 { 1235f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1245f62a964SEmmanuel Vadot reg = <0x00 0xa7000000 0x00 0x100000>; 1255f62a964SEmmanuel Vadot no-map; 1265f62a964SEmmanuel Vadot }; 1275f62a964SEmmanuel Vadot 1285f62a964SEmmanuel Vadot main_r5fss2_core1_memory_region: r5f-memory@a7100000 { 1295f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1305f62a964SEmmanuel Vadot reg = <0x00 0xa7100000 0x00 0xf00000>; 1315f62a964SEmmanuel Vadot no-map; 1325f62a964SEmmanuel Vadot }; 1335f62a964SEmmanuel Vadot 1345f62a964SEmmanuel Vadot c71_0_dma_memory_region: c71-dma-memory@a8000000 { 1355f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1365f62a964SEmmanuel Vadot reg = <0x00 0xa8000000 0x00 0x100000>; 1375f62a964SEmmanuel Vadot no-map; 1385f62a964SEmmanuel Vadot }; 1395f62a964SEmmanuel Vadot 1405f62a964SEmmanuel Vadot c71_0_memory_region: c71-memory@a8100000 { 1415f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1425f62a964SEmmanuel Vadot reg = <0x00 0xa8100000 0x00 0xf00000>; 1435f62a964SEmmanuel Vadot no-map; 1445f62a964SEmmanuel Vadot }; 1455f62a964SEmmanuel Vadot 1465f62a964SEmmanuel Vadot c71_1_dma_memory_region: c71-dma-memory@a9000000 { 1475f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1485f62a964SEmmanuel Vadot reg = <0x00 0xa9000000 0x00 0x100000>; 1495f62a964SEmmanuel Vadot no-map; 1505f62a964SEmmanuel Vadot }; 1515f62a964SEmmanuel Vadot 1525f62a964SEmmanuel Vadot c71_1_memory_region: c71-memory@a9100000 { 1535f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1545f62a964SEmmanuel Vadot reg = <0x00 0xa9100000 0x00 0xf00000>; 1555f62a964SEmmanuel Vadot no-map; 1565f62a964SEmmanuel Vadot }; 1575f62a964SEmmanuel Vadot 1585f62a964SEmmanuel Vadot c71_2_dma_memory_region: c71-dma-memory@aa000000 { 1595f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1605f62a964SEmmanuel Vadot reg = <0x00 0xaa000000 0x00 0x100000>; 1615f62a964SEmmanuel Vadot no-map; 1625f62a964SEmmanuel Vadot }; 1635f62a964SEmmanuel Vadot 1645f62a964SEmmanuel Vadot c71_2_memory_region: c71-memory@aa100000 { 1655f62a964SEmmanuel Vadot compatible = "shared-dma-pool"; 1665f62a964SEmmanuel Vadot reg = <0x00 0xaa100000 0x00 0xf00000>; 1675f62a964SEmmanuel Vadot no-map; 1685f62a964SEmmanuel Vadot }; 1695f62a964SEmmanuel Vadot }; 1705f62a964SEmmanuel Vadot 1715f62a964SEmmanuel Vadot evm_12v0: regulator-evm12v0 { 1725f62a964SEmmanuel Vadot /* main supply */ 1735f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 1745f62a964SEmmanuel Vadot regulator-name = "evm_12v0"; 1755f62a964SEmmanuel Vadot regulator-min-microvolt = <12000000>; 1765f62a964SEmmanuel Vadot regulator-max-microvolt = <12000000>; 1775f62a964SEmmanuel Vadot regulator-always-on; 1785f62a964SEmmanuel Vadot regulator-boot-on; 1795f62a964SEmmanuel Vadot }; 1805f62a964SEmmanuel Vadot 1815f62a964SEmmanuel Vadot vsys_3v3: regulator-vsys3v3 { 1825f62a964SEmmanuel Vadot /* Output of LM5140 */ 1835f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 1845f62a964SEmmanuel Vadot regulator-name = "vsys_3v3"; 1855f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 1865f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 1875f62a964SEmmanuel Vadot vin-supply = <&evm_12v0>; 1885f62a964SEmmanuel Vadot regulator-always-on; 1895f62a964SEmmanuel Vadot regulator-boot-on; 1905f62a964SEmmanuel Vadot }; 1915f62a964SEmmanuel Vadot 1925f62a964SEmmanuel Vadot vsys_5v0: regulator-vsys5v0 { 1935f62a964SEmmanuel Vadot /* Output of LM5140 */ 1945f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 1955f62a964SEmmanuel Vadot regulator-name = "vsys_5v0"; 1965f62a964SEmmanuel Vadot regulator-min-microvolt = <5000000>; 1975f62a964SEmmanuel Vadot regulator-max-microvolt = <5000000>; 1985f62a964SEmmanuel Vadot vin-supply = <&evm_12v0>; 1995f62a964SEmmanuel Vadot regulator-always-on; 2005f62a964SEmmanuel Vadot regulator-boot-on; 2015f62a964SEmmanuel Vadot }; 2025f62a964SEmmanuel Vadot 2035f62a964SEmmanuel Vadot vdd_mmc1: regulator-sd { 2045f62a964SEmmanuel Vadot /* Output of TPS22918 */ 2055f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 2065f62a964SEmmanuel Vadot regulator-name = "vdd_mmc1"; 2075f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 2085f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 2095f62a964SEmmanuel Vadot regulator-boot-on; 2105f62a964SEmmanuel Vadot enable-active-high; 2115f62a964SEmmanuel Vadot vin-supply = <&vsys_3v3>; 2125f62a964SEmmanuel Vadot gpio = <&exp2 2 GPIO_ACTIVE_HIGH>; 2135f62a964SEmmanuel Vadot }; 2145f62a964SEmmanuel Vadot 2155f62a964SEmmanuel Vadot vdd_sd_dv: regulator-TLV71033 { 2165f62a964SEmmanuel Vadot /* Output of TLV71033 */ 2175f62a964SEmmanuel Vadot compatible = "regulator-gpio"; 2185f62a964SEmmanuel Vadot regulator-name = "tlv71033"; 2195f62a964SEmmanuel Vadot pinctrl-names = "default"; 2205f62a964SEmmanuel Vadot pinctrl-0 = <&vdd_sd_dv_pins_default>; 2215f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2225f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 2235f62a964SEmmanuel Vadot regulator-boot-on; 2245f62a964SEmmanuel Vadot vin-supply = <&vsys_5v0>; 2255f62a964SEmmanuel Vadot gpios = <&main_gpio0 8 GPIO_ACTIVE_HIGH>; 2265f62a964SEmmanuel Vadot states = <1800000 0x0>, 2275f62a964SEmmanuel Vadot <3300000 0x1>; 2285f62a964SEmmanuel Vadot }; 2295f62a964SEmmanuel Vadot 2305f62a964SEmmanuel Vadot dp0_pwr_3v3: regulator-dp0-prw { 2315f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 2325f62a964SEmmanuel Vadot regulator-name = "dp0-pwr"; 2335f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 2345f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 2355f62a964SEmmanuel Vadot gpio = <&exp4 0 GPIO_ACTIVE_HIGH>; 2365f62a964SEmmanuel Vadot enable-active-high; 2375f62a964SEmmanuel Vadot }; 2385f62a964SEmmanuel Vadot 2395f62a964SEmmanuel Vadot dp0: connector-dp0 { 2405f62a964SEmmanuel Vadot compatible = "dp-connector"; 2415f62a964SEmmanuel Vadot label = "DP0"; 2425f62a964SEmmanuel Vadot type = "full-size"; 2435f62a964SEmmanuel Vadot dp-pwr-supply = <&dp0_pwr_3v3>; 2445f62a964SEmmanuel Vadot 2455f62a964SEmmanuel Vadot port { 2465f62a964SEmmanuel Vadot dp0_connector_in: endpoint { 2475f62a964SEmmanuel Vadot remote-endpoint = <&dp0_out>; 2485f62a964SEmmanuel Vadot }; 2495f62a964SEmmanuel Vadot }; 2505f62a964SEmmanuel Vadot }; 2515f62a964SEmmanuel Vadot 2525f62a964SEmmanuel Vadot transceiver0: can-phy0 { 2535f62a964SEmmanuel Vadot compatible = "ti,tcan1042"; 2545f62a964SEmmanuel Vadot #phy-cells = <0>; 2555f62a964SEmmanuel Vadot max-bitrate = <5000000>; 2565f62a964SEmmanuel Vadot pinctrl-names = "default"; 2575f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_mcan0_gpio_pins_default>; 2585f62a964SEmmanuel Vadot standby-gpios = <&wkup_gpio0 69 GPIO_ACTIVE_HIGH>; 2595f62a964SEmmanuel Vadot }; 2605f62a964SEmmanuel Vadot 2615f62a964SEmmanuel Vadot transceiver1: can-phy1 { 2625f62a964SEmmanuel Vadot compatible = "ti,tcan1042"; 2635f62a964SEmmanuel Vadot #phy-cells = <0>; 2645f62a964SEmmanuel Vadot max-bitrate = <5000000>; 2655f62a964SEmmanuel Vadot pinctrl-names = "default"; 2665f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_mcan1_gpio_pins_default>; 2675f62a964SEmmanuel Vadot standby-gpios = <&wkup_gpio0 2 GPIO_ACTIVE_HIGH>; 2685f62a964SEmmanuel Vadot }; 2695f62a964SEmmanuel Vadot 2705f62a964SEmmanuel Vadot transceiver2: can-phy2 { 2715f62a964SEmmanuel Vadot /* standby pin has been grounded by default */ 2725f62a964SEmmanuel Vadot compatible = "ti,tcan1042"; 2735f62a964SEmmanuel Vadot #phy-cells = <0>; 2745f62a964SEmmanuel Vadot max-bitrate = <5000000>; 2755f62a964SEmmanuel Vadot }; 2765f62a964SEmmanuel Vadot 2775f62a964SEmmanuel Vadot transceiver3: can-phy3 { 2785f62a964SEmmanuel Vadot compatible = "ti,tcan1042"; 2795f62a964SEmmanuel Vadot #phy-cells = <0>; 2805f62a964SEmmanuel Vadot max-bitrate = <5000000>; 2815f62a964SEmmanuel Vadot standby-gpios = <&exp2 7 GPIO_ACTIVE_HIGH>; 2825f62a964SEmmanuel Vadot mux-states = <&mux1 1>; 2835f62a964SEmmanuel Vadot }; 2845f62a964SEmmanuel Vadot 2855f62a964SEmmanuel Vadot mux1: mux-controller { 2865f62a964SEmmanuel Vadot compatible = "gpio-mux"; 2875f62a964SEmmanuel Vadot #mux-state-cells = <1>; 2885f62a964SEmmanuel Vadot mux-gpios = <&exp2 14 GPIO_ACTIVE_HIGH>; 2895f62a964SEmmanuel Vadot idle-state = <1>; 2905f62a964SEmmanuel Vadot }; 2915f62a964SEmmanuel Vadot 2925f62a964SEmmanuel Vadot codec_audio: sound { 2935f62a964SEmmanuel Vadot compatible = "ti,j7200-cpb-audio"; 2945f62a964SEmmanuel Vadot model = "j784s4-cpb"; 2955f62a964SEmmanuel Vadot 2965f62a964SEmmanuel Vadot ti,cpb-mcasp = <&mcasp0>; 2975f62a964SEmmanuel Vadot ti,cpb-codec = <&pcm3168a_1>; 2985f62a964SEmmanuel Vadot 2995f62a964SEmmanuel Vadot clocks = <&k3_clks 265 0>, <&k3_clks 265 1>, 3005f62a964SEmmanuel Vadot <&k3_clks 157 34>, <&k3_clks 157 63>; 3015f62a964SEmmanuel Vadot clock-names = "cpb-mcasp-auxclk", "cpb-mcasp-auxclk-48000", 3025f62a964SEmmanuel Vadot "cpb-codec-scki", "cpb-codec-scki-48000"; 3035f62a964SEmmanuel Vadot }; 3045f62a964SEmmanuel Vadot}; 3055f62a964SEmmanuel Vadot 3065f62a964SEmmanuel Vadot&wkup_gpio0 { 3075f62a964SEmmanuel Vadot status = "okay"; 3085f62a964SEmmanuel Vadot}; 3095f62a964SEmmanuel Vadot 3105f62a964SEmmanuel Vadot&main_pmx0 { 3115f62a964SEmmanuel Vadot main_cpsw2g_default_pins: main-cpsw2g-default-pins { 3125f62a964SEmmanuel Vadot pinctrl-single,pins = < 3135f62a964SEmmanuel Vadot J784S4_IOPAD(0x0b8, PIN_INPUT, 6) /* (AC34) MCASP1_ACLKX.RGMII1_RD0 */ 3145f62a964SEmmanuel Vadot J784S4_IOPAD(0x0a0, PIN_INPUT, 6) /* (AD34) MCASP0_AXR12.RGMII1_RD1 */ 3155f62a964SEmmanuel Vadot J784S4_IOPAD(0x0a4, PIN_INPUT, 6) /* (AJ36) MCASP0_AXR13.RGMII1_RD2 */ 3165f62a964SEmmanuel Vadot J784S4_IOPAD(0x0a8, PIN_INPUT, 6) /* (AF34) MCASP0_AXR14.RGMII1_RD3 */ 3175f62a964SEmmanuel Vadot J784S4_IOPAD(0x0b0, PIN_INPUT, 6) /* (AL33) MCASP1_AXR3.RGMII1_RXC */ 3185f62a964SEmmanuel Vadot J784S4_IOPAD(0x0ac, PIN_INPUT, 6) /* (AE34) MCASP0_AXR15.RGMII1_RX_CTL */ 3195f62a964SEmmanuel Vadot J784S4_IOPAD(0x08c, PIN_INPUT, 6) /* (AE35) MCASP0_AXR7.RGMII1_TD0 */ 3205f62a964SEmmanuel Vadot J784S4_IOPAD(0x090, PIN_INPUT, 6) /* (AC35) MCASP0_AXR8.RGMII1_TD1 */ 3215f62a964SEmmanuel Vadot J784S4_IOPAD(0x094, PIN_INPUT, 6) /* (AG35) MCASP0_AXR9.RGMII1_TD2 */ 3225f62a964SEmmanuel Vadot J784S4_IOPAD(0x098, PIN_INPUT, 6) /* (AH36) MCASP0_AXR10.RGMII1_TD3 */ 3235f62a964SEmmanuel Vadot J784S4_IOPAD(0x0b4, PIN_INPUT, 6) /* (AL34) MCASP1_AXR4.RGMII1_TXC */ 3245f62a964SEmmanuel Vadot J784S4_IOPAD(0x09c, PIN_INPUT, 6) /* (AF35) MCASP0_AXR11.RGMII1_TX_CTL */ 3255f62a964SEmmanuel Vadot >; 3265f62a964SEmmanuel Vadot }; 3275f62a964SEmmanuel Vadot 3285f62a964SEmmanuel Vadot main_cpsw2g_mdio_default_pins: main-cpsw2g-mdio-default-pins { 3295f62a964SEmmanuel Vadot pinctrl-single,pins = < 3305f62a964SEmmanuel Vadot J784S4_IOPAD(0x0c0, PIN_INPUT, 6) /* (AD38) MCASP1_AXR0.MDIO0_MDC */ 3315f62a964SEmmanuel Vadot J784S4_IOPAD(0x0bc, PIN_INPUT, 6) /* (AD33) MCASP1_AFSX.MDIO0_MDIO */ 3325f62a964SEmmanuel Vadot >; 3335f62a964SEmmanuel Vadot }; 3345f62a964SEmmanuel Vadot 3355f62a964SEmmanuel Vadot main_uart8_pins_default: main-uart8-default-pins { 3365f62a964SEmmanuel Vadot bootph-all; 3375f62a964SEmmanuel Vadot pinctrl-single,pins = < 3385f62a964SEmmanuel Vadot J784S4_IOPAD(0x040, PIN_INPUT, 14) /* (AF37) MCASP0_AXR0.UART8_CTSn */ 3395f62a964SEmmanuel Vadot J784S4_IOPAD(0x044, PIN_OUTPUT, 14) /* (AG37) MCASP0_AXR1.UART8_RTSn */ 3405f62a964SEmmanuel Vadot J784S4_IOPAD(0x0d0, PIN_INPUT, 11) /* (AP38) SPI0_CS1.UART8_RXD */ 3415f62a964SEmmanuel Vadot J784S4_IOPAD(0x0d4, PIN_OUTPUT, 11) /* (AN38) SPI0_CLK.UART8_TXD */ 3425f62a964SEmmanuel Vadot >; 3435f62a964SEmmanuel Vadot }; 3445f62a964SEmmanuel Vadot 3455f62a964SEmmanuel Vadot main_i2c0_pins_default: main-i2c0-default-pins { 3465f62a964SEmmanuel Vadot pinctrl-single,pins = < 3475f62a964SEmmanuel Vadot J784S4_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AN36) I2C0_SCL */ 3485f62a964SEmmanuel Vadot J784S4_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AP37) I2C0_SDA */ 3495f62a964SEmmanuel Vadot >; 3505f62a964SEmmanuel Vadot }; 3515f62a964SEmmanuel Vadot 3525f62a964SEmmanuel Vadot main_i2c5_pins_default: main-i2c5-default-pins { 3535f62a964SEmmanuel Vadot pinctrl-single,pins = < 3545f62a964SEmmanuel Vadot J784S4_IOPAD(0x01c, PIN_INPUT, 8) /* (AG34) MCAN15_TX.I2C5_SCL */ 3555f62a964SEmmanuel Vadot J784S4_IOPAD(0x018, PIN_INPUT, 8) /* (AK36) MCAN14_RX.I2C5_SDA */ 3565f62a964SEmmanuel Vadot >; 3575f62a964SEmmanuel Vadot }; 3585f62a964SEmmanuel Vadot 3595f62a964SEmmanuel Vadot main_mmc1_pins_default: main-mmc1-default-pins { 3605f62a964SEmmanuel Vadot bootph-all; 3615f62a964SEmmanuel Vadot pinctrl-single,pins = < 3625f62a964SEmmanuel Vadot J784S4_IOPAD(0x104, PIN_INPUT, 0) /* (AB38) MMC1_CLK */ 3635f62a964SEmmanuel Vadot J784S4_IOPAD(0x108, PIN_INPUT, 0) /* (AB36) MMC1_CMD */ 3645f62a964SEmmanuel Vadot J784S4_IOPAD(0x100, PIN_INPUT, 0) /* (No Pin) MMC1_CLKLB */ 3655f62a964SEmmanuel Vadot J784S4_IOPAD(0x0fc, PIN_INPUT, 0) /* (AA33) MMC1_DAT0 */ 3665f62a964SEmmanuel Vadot J784S4_IOPAD(0x0f8, PIN_INPUT, 0) /* (AB34) MMC1_DAT1 */ 3675f62a964SEmmanuel Vadot J784S4_IOPAD(0x0f4, PIN_INPUT, 0) /* (AA32) MMC1_DAT2 */ 3685f62a964SEmmanuel Vadot J784S4_IOPAD(0x0f0, PIN_INPUT, 0) /* (AC38) MMC1_DAT3 */ 3695f62a964SEmmanuel Vadot J784S4_IOPAD(0x0e8, PIN_INPUT, 8) /* (AR38) TIMER_IO0.MMC1_SDCD */ 3705f62a964SEmmanuel Vadot >; 3715f62a964SEmmanuel Vadot }; 3725f62a964SEmmanuel Vadot 3735f62a964SEmmanuel Vadot vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 3745f62a964SEmmanuel Vadot pinctrl-single,pins = < 3755f62a964SEmmanuel Vadot J784S4_IOPAD(0x020, PIN_INPUT, 7) /* (AJ35) MCAN15_RX.GPIO0_8 */ 3765f62a964SEmmanuel Vadot >; 3775f62a964SEmmanuel Vadot }; 3785f62a964SEmmanuel Vadot 3795f62a964SEmmanuel Vadot dp0_pins_default: dp0-default-pins { 3805f62a964SEmmanuel Vadot pinctrl-single,pins = < 3815f62a964SEmmanuel Vadot J784S4_IOPAD(0x0cc, PIN_INPUT, 12) /* (AM37) SPI0_CS0.DP0_HPD */ 3825f62a964SEmmanuel Vadot >; 3835f62a964SEmmanuel Vadot }; 3845f62a964SEmmanuel Vadot 3855f62a964SEmmanuel Vadot main_i2c4_pins_default: main-i2c4-default-pins { 3865f62a964SEmmanuel Vadot pinctrl-single,pins = < 3875f62a964SEmmanuel Vadot J784S4_IOPAD(0x014, PIN_INPUT_PULLUP, 8) /* (AG33) MCAN14_TX.I2C4_SCL */ 3885f62a964SEmmanuel Vadot J784S4_IOPAD(0x010, PIN_INPUT_PULLUP, 8) /* (AH33) MCAN13_RX.I2C4_SDA */ 3895f62a964SEmmanuel Vadot >; 3905f62a964SEmmanuel Vadot }; 3915f62a964SEmmanuel Vadot 3925f62a964SEmmanuel Vadot main_mcan4_pins_default: main-mcan4-default-pins { 3935f62a964SEmmanuel Vadot pinctrl-single,pins = < 3945f62a964SEmmanuel Vadot J784S4_IOPAD(0x088, PIN_INPUT, 0) /* (AF36) MCAN4_RX */ 3955f62a964SEmmanuel Vadot J784S4_IOPAD(0x084, PIN_OUTPUT, 0) /* (AG38) MCAN4_TX */ 3965f62a964SEmmanuel Vadot >; 3975f62a964SEmmanuel Vadot }; 3985f62a964SEmmanuel Vadot 3995f62a964SEmmanuel Vadot main_mcan16_pins_default: main-mcan16-default-pins { 4005f62a964SEmmanuel Vadot pinctrl-single,pins = < 4015f62a964SEmmanuel Vadot J784S4_IOPAD(0x028, PIN_INPUT, 0) /* (AE33) MCAN16_RX */ 4025f62a964SEmmanuel Vadot J784S4_IOPAD(0x024, PIN_OUTPUT, 0) /* (AH34) MCAN16_TX */ 4035f62a964SEmmanuel Vadot >; 4045f62a964SEmmanuel Vadot }; 4055f62a964SEmmanuel Vadot 4065f62a964SEmmanuel Vadot main_usbss0_pins_default: main-usbss0-default-pins { 4075f62a964SEmmanuel Vadot bootph-all; 4085f62a964SEmmanuel Vadot pinctrl-single,pins = < 4095f62a964SEmmanuel Vadot J784S4_IOPAD(0x0ec, PIN_OUTPUT, 6) /* (AN37) TIMER_IO1.USB0_DRVVBUS */ 4105f62a964SEmmanuel Vadot >; 4115f62a964SEmmanuel Vadot }; 4125f62a964SEmmanuel Vadot 4135f62a964SEmmanuel Vadot main_i2c3_pins_default: main-i2c3-default-pins { 4145f62a964SEmmanuel Vadot pinctrl-single,pins = < 4155f62a964SEmmanuel Vadot J784S4_IOPAD(0x064, PIN_INPUT, 13) /* (AF38) MCAN0_TX.I2C3_SCL */ 4165f62a964SEmmanuel Vadot J784S4_IOPAD(0x060, PIN_INPUT, 13) /* (AE36) MCASP2_AXR1.I2C3_SDA */ 4175f62a964SEmmanuel Vadot >; 4185f62a964SEmmanuel Vadot }; 4195f62a964SEmmanuel Vadot 4205f62a964SEmmanuel Vadot main_mcasp0_pins_default: main-mcasp0-default-pins { 4215f62a964SEmmanuel Vadot pinctrl-single,pins = < 4225f62a964SEmmanuel Vadot J784S4_IOPAD(0x038, PIN_OUTPUT_PULLDOWN, 1) /* (AK35) MCASP0_ACLKX */ 4235f62a964SEmmanuel Vadot J784S4_IOPAD(0x03c, PIN_OUTPUT_PULLDOWN, 1) /* (AK38) MCASP0_AFSX */ 4245f62a964SEmmanuel Vadot J784S4_IOPAD(0x07c, PIN_OUTPUT_PULLDOWN, 1) /* (AJ38) MCASP0_AXR3 */ 4255f62a964SEmmanuel Vadot J784S4_IOPAD(0x080, PIN_INPUT_PULLDOWN, 1) /* (AK34) MCASP0_AXR4 */ 4265f62a964SEmmanuel Vadot >; 4275f62a964SEmmanuel Vadot }; 4285f62a964SEmmanuel Vadot 4295f62a964SEmmanuel Vadot audio_ext_refclk1_pins_default: audio-ext-refclk1-default-pins { 4305f62a964SEmmanuel Vadot pinctrl-single,pins = < 4315f62a964SEmmanuel Vadot J784S4_IOPAD(0x078, PIN_OUTPUT, 1) /* (AH37) MCAN2_RX.AUDIO_EXT_REFCLK1 */ 4325f62a964SEmmanuel Vadot >; 4335f62a964SEmmanuel Vadot }; 4345f62a964SEmmanuel Vadot}; 4355f62a964SEmmanuel Vadot 4365f62a964SEmmanuel Vadot&wkup_pmx2 { 4375f62a964SEmmanuel Vadot wkup_uart0_pins_default: wkup-uart0-default-pins { 4385f62a964SEmmanuel Vadot bootph-all; 4395f62a964SEmmanuel Vadot pinctrl-single,pins = < 4405f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 4415f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x04c, PIN_OUTPUT, 0) /* (K34) WKUP_UART0_TXD */ 4425f62a964SEmmanuel Vadot >; 4435f62a964SEmmanuel Vadot }; 4445f62a964SEmmanuel Vadot 4455f62a964SEmmanuel Vadot wkup_i2c0_pins_default: wkup-i2c0-default-pins { 4465f62a964SEmmanuel Vadot bootph-all; 4475f62a964SEmmanuel Vadot pinctrl-single,pins = < 4485f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 4495f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 4505f62a964SEmmanuel Vadot >; 4515f62a964SEmmanuel Vadot }; 4525f62a964SEmmanuel Vadot 4535f62a964SEmmanuel Vadot mcu_uart0_pins_default: mcu-uart0-default-pins { 4545f62a964SEmmanuel Vadot bootph-all; 4555f62a964SEmmanuel Vadot pinctrl-single,pins = < 4565f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (H37) WKUP_GPIO0_14.MCU_UART0_CTSn */ 4575f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x094, PIN_OUTPUT, 0) /* (K37) WKUP_GPIO0_15.MCU_UART0_RTSn */ 4585f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (K38) WKUP_GPIO0_13.MCU_UART0_RXD */ 4595f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x088, PIN_OUTPUT, 0) /* (J37) WKUP_GPIO0_12.MCU_UART0_TXD */ 4605f62a964SEmmanuel Vadot >; 4615f62a964SEmmanuel Vadot }; 4625f62a964SEmmanuel Vadot 4635f62a964SEmmanuel Vadot mcu_cpsw_pins_default: mcu-cpsw-default-pins { 4645f62a964SEmmanuel Vadot pinctrl-single,pins = < 4655f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x02c, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ 4665f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ 4675f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ 4685f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ 4695f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ 4705f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ 4715f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x014, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ 4725f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x010, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ 4735f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x00c, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ 4745f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ 4755f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ 4765f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ 4775f62a964SEmmanuel Vadot >; 4785f62a964SEmmanuel Vadot }; 4795f62a964SEmmanuel Vadot 4805f62a964SEmmanuel Vadot mcu_mdio_pins_default: mcu-mdio-default-pins { 4815f62a964SEmmanuel Vadot pinctrl-single,pins = < 4825f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ 4835f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ 4845f62a964SEmmanuel Vadot >; 4855f62a964SEmmanuel Vadot }; 4865f62a964SEmmanuel Vadot 4875f62a964SEmmanuel Vadot mcu_adc0_pins_default: mcu-adc0-default-pins { 4885f62a964SEmmanuel Vadot pinctrl-single,pins = < 4895f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0cc, PIN_INPUT, 0) /* (P36) MCU_ADC0_AIN0 */ 4905f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0d0, PIN_INPUT, 0) /* (V36) MCU_ADC0_AIN1 */ 4915f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0d4, PIN_INPUT, 0) /* (T34) MCU_ADC0_AIN2 */ 4925f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0d8, PIN_INPUT, 0) /* (T36) MCU_ADC0_AIN3 */ 4935f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0dc, PIN_INPUT, 0) /* (P34) MCU_ADC0_AIN4 */ 4945f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0e0, PIN_INPUT, 0) /* (R37) MCU_ADC0_AIN5 */ 4955f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0e4, PIN_INPUT, 0) /* (R33) MCU_ADC0_AIN6 */ 4965f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0e8, PIN_INPUT, 0) /* (V38) MCU_ADC0_AIN7 */ 4975f62a964SEmmanuel Vadot >; 4985f62a964SEmmanuel Vadot }; 4995f62a964SEmmanuel Vadot 5005f62a964SEmmanuel Vadot mcu_adc1_pins_default: mcu-adc1-default-pins { 5015f62a964SEmmanuel Vadot pinctrl-single,pins = < 5025f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0ec, PIN_INPUT, 0) /* (Y38) MCU_ADC1_AIN0 */ 5035f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0f0, PIN_INPUT, 0) /* (Y34) MCU_ADC1_AIN1 */ 5045f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0f4, PIN_INPUT, 0) /* (V34) MCU_ADC1_AIN2 */ 5055f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0f8, PIN_INPUT, 0) /* (W37) MCU_ADC1_AIN3 */ 5065f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x0fc, PIN_INPUT, 0) /* (AA37) MCU_ADC1_AIN4 */ 5075f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x100, PIN_INPUT, 0) /* (W33) MCU_ADC1_AIN5 */ 5085f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x104, PIN_INPUT, 0) /* (U33) MCU_ADC1_AIN6 */ 5095f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x108, PIN_INPUT, 0) /* (Y36) MCU_ADC1_AIN7 */ 5105f62a964SEmmanuel Vadot >; 5115f62a964SEmmanuel Vadot }; 5125f62a964SEmmanuel Vadot 5135f62a964SEmmanuel Vadot mcu_mcan0_pins_default: mcu-mcan0-default-pins { 5145f62a964SEmmanuel Vadot pinctrl-single,pins = < 5155f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x050, PIN_OUTPUT, 0) /* (K33) MCU_MCAN0_TX */ 5165f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x054, PIN_INPUT, 0) /* (F38) MCU_MCAN0_RX */ 5175f62a964SEmmanuel Vadot >; 5185f62a964SEmmanuel Vadot }; 5195f62a964SEmmanuel Vadot 5205f62a964SEmmanuel Vadot mcu_mcan1_pins_default: mcu-mcan1-default-pins { 5215f62a964SEmmanuel Vadot pinctrl-single,pins = < 5225f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (H35) WKUP_GPIO0_4.MCU_MCAN1_TX */ 5235f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (K36) WKUP_GPIO0_5.MCU_MCAN1_RX */ 5245f62a964SEmmanuel Vadot >; 5255f62a964SEmmanuel Vadot }; 5265f62a964SEmmanuel Vadot 5275f62a964SEmmanuel Vadot mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-default-pins { 5285f62a964SEmmanuel Vadot pinctrl-single,pins = < 5295f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x040, PIN_INPUT, 7) /* (J38) MCU_SPI0_D1.WKUP_GPIO0_69 */ 5305f62a964SEmmanuel Vadot >; 5315f62a964SEmmanuel Vadot }; 5325f62a964SEmmanuel Vadot 5335f62a964SEmmanuel Vadot mcu_mcan1_gpio_pins_default: mcu-mcan1-gpio-default-pins { 5345f62a964SEmmanuel Vadot pinctrl-single,pins = < 5355f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x060, PIN_INPUT, 7) /* (J35) WKUP_GPIO0_2 */ 5365f62a964SEmmanuel Vadot >; 5375f62a964SEmmanuel Vadot }; 5385f62a964SEmmanuel Vadot}; 5395f62a964SEmmanuel Vadot 5405f62a964SEmmanuel Vadot&wkup_pmx1 { 5415f62a964SEmmanuel Vadot status = "okay"; 5425f62a964SEmmanuel Vadot 5435f62a964SEmmanuel Vadot pmic_irq_pins_default: pmic-irq-default-pins { 5445f62a964SEmmanuel Vadot pinctrl-single,pins = < 5455f62a964SEmmanuel Vadot /* (G33) MCU_OSPI1_CSn1.WKUP_GPIO0_39 */ 5465f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 7) 5475f62a964SEmmanuel Vadot >; 5485f62a964SEmmanuel Vadot }; 5495f62a964SEmmanuel Vadot}; 5505f62a964SEmmanuel Vadot 5515f62a964SEmmanuel Vadot&wkup_pmx0 { 5525f62a964SEmmanuel Vadot mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 5535f62a964SEmmanuel Vadot bootph-all; 5545f62a964SEmmanuel Vadot pinctrl-single,pins = < 5555f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (E32) MCU_OSPI0_CLK */ 5565f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x02c, PIN_OUTPUT, 0) /* (A32) MCU_OSPI0_CSn0 */ 5575f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x00c, PIN_INPUT, 0) /* (B33) MCU_OSPI0_D0 */ 5585f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x010, PIN_INPUT, 0) /* (B32) MCU_OSPI0_D1 */ 5595f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x014, PIN_INPUT, 0) /* (C33) MCU_OSPI0_D2 */ 5605f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x018, PIN_INPUT, 0) /* (C35) MCU_OSPI0_D3 */ 5615f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (D33) MCU_OSPI0_D4 */ 5625f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D34) MCU_OSPI0_D5 */ 5635f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (E34) MCU_OSPI0_D6 */ 5645f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (E33) MCU_OSPI0_D7 */ 5655f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x008, PIN_INPUT, 0) /* (C34) MCU_OSPI0_DQS */ 5665f62a964SEmmanuel Vadot >; 5675f62a964SEmmanuel Vadot }; 5685f62a964SEmmanuel Vadot}; 5695f62a964SEmmanuel Vadot 5705f62a964SEmmanuel Vadot&wkup_pmx1 { 5715f62a964SEmmanuel Vadot mcu_fss0_ospi0_1_pins_default: mcu-fss0-ospi0-1-default-pins { 5725f62a964SEmmanuel Vadot bootph-all; 5735f62a964SEmmanuel Vadot pinctrl-single,pins = < 5745f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x004, PIN_OUTPUT, 6) /* (C32) MCU_OSPI0_ECC_FAIL */ 5755f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 6) /* (B34) MCU_OSPI0_RESET_OUT0 */ 5765f62a964SEmmanuel Vadot >; 5775f62a964SEmmanuel Vadot }; 5785f62a964SEmmanuel Vadot 5795f62a964SEmmanuel Vadot mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-default-pins { 5805f62a964SEmmanuel Vadot bootph-all; 5815f62a964SEmmanuel Vadot pinctrl-single,pins = < 5825f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (F32) MCU_OSPI1_CLK */ 5835f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x024, PIN_OUTPUT, 0) /* (G32) MCU_OSPI1_CSn0 */ 5845f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x014, PIN_INPUT, 0) /* (E35) MCU_OSPI1_D0 */ 5855f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x018, PIN_INPUT, 0) /* (D31) MCU_OSPI1_D1 */ 5865f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x01C, PIN_INPUT, 0) /* (G31) MCU_OSPI1_D2 */ 5875f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (F33) MCU_OSPI1_D3 */ 5885f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x010, PIN_INPUT, 0) /* (F31) MCU_OSPI1_DQS */ 5895f62a964SEmmanuel Vadot J784S4_WKUP_IOPAD(0x00C, PIN_INPUT, 0) /* (C31) MCU_OSPI1_LBCLKO */ 5905f62a964SEmmanuel Vadot >; 5915f62a964SEmmanuel Vadot }; 5925f62a964SEmmanuel Vadot}; 5935f62a964SEmmanuel Vadot 5945f62a964SEmmanuel Vadot&wkup_uart0 { 5955f62a964SEmmanuel Vadot /* Firmware usage */ 5965f62a964SEmmanuel Vadot status = "reserved"; 5975f62a964SEmmanuel Vadot pinctrl-names = "default"; 5985f62a964SEmmanuel Vadot pinctrl-0 = <&wkup_uart0_pins_default>; 5995f62a964SEmmanuel Vadot}; 6005f62a964SEmmanuel Vadot 6015f62a964SEmmanuel Vadot&wkup_i2c0 { 6025f62a964SEmmanuel Vadot bootph-all; 6035f62a964SEmmanuel Vadot status = "okay"; 6045f62a964SEmmanuel Vadot pinctrl-names = "default"; 6055f62a964SEmmanuel Vadot pinctrl-0 = <&wkup_i2c0_pins_default>; 6065f62a964SEmmanuel Vadot clock-frequency = <400000>; 6075f62a964SEmmanuel Vadot 6085f62a964SEmmanuel Vadot eeprom@50 { 6095f62a964SEmmanuel Vadot /* CAV24C256WE-GT3 */ 6105f62a964SEmmanuel Vadot compatible = "atmel,24c256"; 6115f62a964SEmmanuel Vadot reg = <0x50>; 6125f62a964SEmmanuel Vadot }; 6135f62a964SEmmanuel Vadot 6145f62a964SEmmanuel Vadot tps659413: pmic@48 { 6155f62a964SEmmanuel Vadot compatible = "ti,tps6594-q1"; 6165f62a964SEmmanuel Vadot reg = <0x48>; 6175f62a964SEmmanuel Vadot system-power-controller; 6185f62a964SEmmanuel Vadot pinctrl-names = "default"; 6195f62a964SEmmanuel Vadot pinctrl-0 = <&pmic_irq_pins_default>; 6205f62a964SEmmanuel Vadot interrupt-parent = <&wkup_gpio0>; 6215f62a964SEmmanuel Vadot interrupts = <39 IRQ_TYPE_EDGE_FALLING>; 6225f62a964SEmmanuel Vadot gpio-controller; 6235f62a964SEmmanuel Vadot #gpio-cells = <2>; 6245f62a964SEmmanuel Vadot ti,primary-pmic; 6255f62a964SEmmanuel Vadot buck12-supply = <&vsys_3v3>; 6265f62a964SEmmanuel Vadot buck3-supply = <&vsys_3v3>; 6275f62a964SEmmanuel Vadot buck4-supply = <&vsys_3v3>; 6285f62a964SEmmanuel Vadot buck5-supply = <&vsys_3v3>; 6295f62a964SEmmanuel Vadot ldo1-supply = <&vsys_3v3>; 6305f62a964SEmmanuel Vadot ldo2-supply = <&vsys_3v3>; 6315f62a964SEmmanuel Vadot ldo3-supply = <&vsys_3v3>; 6325f62a964SEmmanuel Vadot ldo4-supply = <&vsys_3v3>; 6335f62a964SEmmanuel Vadot 6345f62a964SEmmanuel Vadot regulators { 6355f62a964SEmmanuel Vadot bucka12: buck12 { 6365f62a964SEmmanuel Vadot regulator-name = "vdd_ddr_1v1"; 6375f62a964SEmmanuel Vadot regulator-min-microvolt = <1100000>; 6385f62a964SEmmanuel Vadot regulator-max-microvolt = <1100000>; 6395f62a964SEmmanuel Vadot regulator-boot-on; 6405f62a964SEmmanuel Vadot regulator-always-on; 6412846c905SEmmanuel Vadot bootph-all; 6425f62a964SEmmanuel Vadot }; 6435f62a964SEmmanuel Vadot 6445f62a964SEmmanuel Vadot bucka3: buck3 { 6455f62a964SEmmanuel Vadot regulator-name = "vdd_ram_0v85"; 6465f62a964SEmmanuel Vadot regulator-min-microvolt = <850000>; 6475f62a964SEmmanuel Vadot regulator-max-microvolt = <850000>; 6485f62a964SEmmanuel Vadot regulator-boot-on; 6495f62a964SEmmanuel Vadot regulator-always-on; 6502846c905SEmmanuel Vadot bootph-all; 6515f62a964SEmmanuel Vadot }; 6525f62a964SEmmanuel Vadot 6535f62a964SEmmanuel Vadot bucka4: buck4 { 6545f62a964SEmmanuel Vadot regulator-name = "vdd_io_1v8"; 6555f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 6565f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 6575f62a964SEmmanuel Vadot regulator-boot-on; 6585f62a964SEmmanuel Vadot regulator-always-on; 6592846c905SEmmanuel Vadot bootph-all; 6605f62a964SEmmanuel Vadot }; 6615f62a964SEmmanuel Vadot 6625f62a964SEmmanuel Vadot bucka5: buck5 { 6635f62a964SEmmanuel Vadot regulator-name = "vdd_mcu_0v85"; 6645f62a964SEmmanuel Vadot regulator-min-microvolt = <850000>; 6655f62a964SEmmanuel Vadot regulator-max-microvolt = <850000>; 6665f62a964SEmmanuel Vadot regulator-boot-on; 6675f62a964SEmmanuel Vadot regulator-always-on; 6682846c905SEmmanuel Vadot bootph-all; 6695f62a964SEmmanuel Vadot }; 6705f62a964SEmmanuel Vadot 6715f62a964SEmmanuel Vadot ldoa1: ldo1 { 6725f62a964SEmmanuel Vadot regulator-name = "vdd_mcuio_1v8"; 6735f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 6745f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 6755f62a964SEmmanuel Vadot regulator-boot-on; 6765f62a964SEmmanuel Vadot regulator-always-on; 6772846c905SEmmanuel Vadot bootph-all; 6785f62a964SEmmanuel Vadot }; 6795f62a964SEmmanuel Vadot 6805f62a964SEmmanuel Vadot ldoa2: ldo2 { 6815f62a964SEmmanuel Vadot regulator-name = "vdd_mcuio_3v3"; 6825f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 6835f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 6845f62a964SEmmanuel Vadot regulator-boot-on; 6855f62a964SEmmanuel Vadot regulator-always-on; 6862846c905SEmmanuel Vadot bootph-all; 6875f62a964SEmmanuel Vadot }; 6885f62a964SEmmanuel Vadot 6895f62a964SEmmanuel Vadot ldoa3: ldo3 { 6905f62a964SEmmanuel Vadot regulator-name = "vds_dll_0v8"; 6915f62a964SEmmanuel Vadot regulator-min-microvolt = <800000>; 6925f62a964SEmmanuel Vadot regulator-max-microvolt = <800000>; 6935f62a964SEmmanuel Vadot regulator-boot-on; 6945f62a964SEmmanuel Vadot regulator-always-on; 6952846c905SEmmanuel Vadot bootph-all; 6965f62a964SEmmanuel Vadot }; 6975f62a964SEmmanuel Vadot 6985f62a964SEmmanuel Vadot ldoa4: ldo4 { 6995f62a964SEmmanuel Vadot regulator-name = "vda_mcu_1v8"; 7005f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 7015f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 7025f62a964SEmmanuel Vadot regulator-boot-on; 7035f62a964SEmmanuel Vadot regulator-always-on; 7042846c905SEmmanuel Vadot bootph-all; 7055f62a964SEmmanuel Vadot }; 7065f62a964SEmmanuel Vadot }; 7075f62a964SEmmanuel Vadot }; 7085f62a964SEmmanuel Vadot 7095f62a964SEmmanuel Vadot tps62873a: regulator@40 { 7105f62a964SEmmanuel Vadot compatible = "ti,tps62873"; 7115f62a964SEmmanuel Vadot reg = <0x40>; 7125f62a964SEmmanuel Vadot bootph-pre-ram; 7135f62a964SEmmanuel Vadot regulator-name = "VDD_CPU_AVS"; 7145f62a964SEmmanuel Vadot regulator-min-microvolt = <750000>; 7155f62a964SEmmanuel Vadot regulator-max-microvolt = <1330000>; 7165f62a964SEmmanuel Vadot regulator-boot-on; 7175f62a964SEmmanuel Vadot regulator-always-on; 7185f62a964SEmmanuel Vadot }; 7195f62a964SEmmanuel Vadot 7205f62a964SEmmanuel Vadot tps62873b: regulator@43 { 7215f62a964SEmmanuel Vadot compatible = "ti,tps62873"; 7225f62a964SEmmanuel Vadot reg = <0x43>; 7235f62a964SEmmanuel Vadot regulator-name = "VDD_CORE_0V8"; 7245f62a964SEmmanuel Vadot regulator-min-microvolt = <760000>; 7255f62a964SEmmanuel Vadot regulator-max-microvolt = <840000>; 7265f62a964SEmmanuel Vadot regulator-boot-on; 7275f62a964SEmmanuel Vadot regulator-always-on; 7285f62a964SEmmanuel Vadot }; 7295f62a964SEmmanuel Vadot}; 7305f62a964SEmmanuel Vadot 7315f62a964SEmmanuel Vadot&mcu_uart0 { 7325f62a964SEmmanuel Vadot bootph-all; 7335f62a964SEmmanuel Vadot status = "okay"; 7345f62a964SEmmanuel Vadot pinctrl-names = "default"; 7355f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_uart0_pins_default>; 7365f62a964SEmmanuel Vadot}; 7375f62a964SEmmanuel Vadot 7385f62a964SEmmanuel Vadot&main_uart8 { 7395f62a964SEmmanuel Vadot bootph-all; 7405f62a964SEmmanuel Vadot status = "okay"; 7415f62a964SEmmanuel Vadot pinctrl-names = "default"; 7425f62a964SEmmanuel Vadot pinctrl-0 = <&main_uart8_pins_default>; 7435f62a964SEmmanuel Vadot}; 7445f62a964SEmmanuel Vadot 7455f62a964SEmmanuel Vadot&ufs_wrapper { 7465f62a964SEmmanuel Vadot status = "okay"; 7475f62a964SEmmanuel Vadot}; 7485f62a964SEmmanuel Vadot 7495f62a964SEmmanuel Vadot&fss { 7505f62a964SEmmanuel Vadot status = "okay"; 7515f62a964SEmmanuel Vadot}; 7525f62a964SEmmanuel Vadot 7535f62a964SEmmanuel Vadot&ospi0 { 7545f62a964SEmmanuel Vadot status = "okay"; 7555f62a964SEmmanuel Vadot pinctrl-names = "default"; 7565f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_fss0_ospi0_pins_default>, <&mcu_fss0_ospi0_1_pins_default>; 7575f62a964SEmmanuel Vadot 7585f62a964SEmmanuel Vadot flash@0 { 7595f62a964SEmmanuel Vadot compatible = "jedec,spi-nor"; 7605f62a964SEmmanuel Vadot reg = <0x0>; 7615f62a964SEmmanuel Vadot spi-tx-bus-width = <8>; 7625f62a964SEmmanuel Vadot spi-rx-bus-width = <8>; 7635f62a964SEmmanuel Vadot spi-max-frequency = <25000000>; 7645f62a964SEmmanuel Vadot cdns,tshsl-ns = <60>; 7655f62a964SEmmanuel Vadot cdns,tsd2d-ns = <60>; 7665f62a964SEmmanuel Vadot cdns,tchsh-ns = <60>; 7675f62a964SEmmanuel Vadot cdns,tslch-ns = <60>; 7685f62a964SEmmanuel Vadot cdns,read-delay = <4>; 7695f62a964SEmmanuel Vadot 7705f62a964SEmmanuel Vadot partitions { 7715f62a964SEmmanuel Vadot compatible = "fixed-partitions"; 7725f62a964SEmmanuel Vadot #address-cells = <1>; 7735f62a964SEmmanuel Vadot #size-cells = <1>; 7745f62a964SEmmanuel Vadot 7755f62a964SEmmanuel Vadot partition@0 { 7765f62a964SEmmanuel Vadot label = "ospi.tiboot3"; 7775f62a964SEmmanuel Vadot reg = <0x0 0x80000>; 7785f62a964SEmmanuel Vadot }; 7795f62a964SEmmanuel Vadot 7805f62a964SEmmanuel Vadot partition@80000 { 7815f62a964SEmmanuel Vadot label = "ospi.tispl"; 7825f62a964SEmmanuel Vadot reg = <0x80000 0x200000>; 7835f62a964SEmmanuel Vadot }; 7845f62a964SEmmanuel Vadot 7855f62a964SEmmanuel Vadot partition@280000 { 7865f62a964SEmmanuel Vadot label = "ospi.u-boot"; 7875f62a964SEmmanuel Vadot reg = <0x280000 0x400000>; 7885f62a964SEmmanuel Vadot }; 7895f62a964SEmmanuel Vadot 7905f62a964SEmmanuel Vadot partition@680000 { 7915f62a964SEmmanuel Vadot label = "ospi.env"; 7925f62a964SEmmanuel Vadot reg = <0x680000 0x40000>; 7935f62a964SEmmanuel Vadot }; 7945f62a964SEmmanuel Vadot 7955f62a964SEmmanuel Vadot partition@6c0000 { 7965f62a964SEmmanuel Vadot label = "ospi.env.backup"; 7975f62a964SEmmanuel Vadot reg = <0x6c0000 0x40000>; 7985f62a964SEmmanuel Vadot }; 7995f62a964SEmmanuel Vadot 8005f62a964SEmmanuel Vadot partition@800000 { 8015f62a964SEmmanuel Vadot label = "ospi.rootfs"; 8025f62a964SEmmanuel Vadot reg = <0x800000 0x37c0000>; 8035f62a964SEmmanuel Vadot }; 8045f62a964SEmmanuel Vadot 8055f62a964SEmmanuel Vadot partition@3fc0000 { 8065f62a964SEmmanuel Vadot bootph-all; 8075f62a964SEmmanuel Vadot label = "ospi.phypattern"; 8085f62a964SEmmanuel Vadot reg = <0x3fc0000 0x40000>; 8095f62a964SEmmanuel Vadot }; 8105f62a964SEmmanuel Vadot }; 8115f62a964SEmmanuel Vadot }; 8125f62a964SEmmanuel Vadot}; 8135f62a964SEmmanuel Vadot 8145f62a964SEmmanuel Vadot&ospi1 { 8155f62a964SEmmanuel Vadot status = "okay"; 8165f62a964SEmmanuel Vadot pinctrl-names = "default"; 8175f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_fss0_ospi1_pins_default>; 8185f62a964SEmmanuel Vadot 8195f62a964SEmmanuel Vadot flash@0 { 8205f62a964SEmmanuel Vadot compatible = "jedec,spi-nor"; 8215f62a964SEmmanuel Vadot reg = <0x0>; 8225f62a964SEmmanuel Vadot spi-tx-bus-width = <1>; 8235f62a964SEmmanuel Vadot spi-rx-bus-width = <4>; 8245f62a964SEmmanuel Vadot spi-max-frequency = <40000000>; 8255f62a964SEmmanuel Vadot cdns,tshsl-ns = <60>; 8265f62a964SEmmanuel Vadot cdns,tsd2d-ns = <60>; 8275f62a964SEmmanuel Vadot cdns,tchsh-ns = <60>; 8285f62a964SEmmanuel Vadot cdns,tslch-ns = <60>; 8295f62a964SEmmanuel Vadot cdns,read-delay = <2>; 8305f62a964SEmmanuel Vadot 8315f62a964SEmmanuel Vadot partitions { 8325f62a964SEmmanuel Vadot compatible = "fixed-partitions"; 8335f62a964SEmmanuel Vadot #address-cells = <1>; 8345f62a964SEmmanuel Vadot #size-cells = <1>; 8355f62a964SEmmanuel Vadot 8365f62a964SEmmanuel Vadot partition@0 { 8375f62a964SEmmanuel Vadot label = "qspi.tiboot3"; 8385f62a964SEmmanuel Vadot reg = <0x0 0x80000>; 8395f62a964SEmmanuel Vadot }; 8405f62a964SEmmanuel Vadot 8415f62a964SEmmanuel Vadot partition@80000 { 8425f62a964SEmmanuel Vadot label = "qspi.tispl"; 8435f62a964SEmmanuel Vadot reg = <0x80000 0x200000>; 8445f62a964SEmmanuel Vadot }; 8455f62a964SEmmanuel Vadot 8465f62a964SEmmanuel Vadot partition@280000 { 8475f62a964SEmmanuel Vadot label = "qspi.u-boot"; 8485f62a964SEmmanuel Vadot reg = <0x280000 0x400000>; 8495f62a964SEmmanuel Vadot }; 8505f62a964SEmmanuel Vadot 8515f62a964SEmmanuel Vadot partition@680000 { 8525f62a964SEmmanuel Vadot label = "qspi.env"; 8535f62a964SEmmanuel Vadot reg = <0x680000 0x40000>; 8545f62a964SEmmanuel Vadot }; 8555f62a964SEmmanuel Vadot 8565f62a964SEmmanuel Vadot partition@6c0000 { 8575f62a964SEmmanuel Vadot label = "qspi.env.backup"; 8585f62a964SEmmanuel Vadot reg = <0x6c0000 0x40000>; 8595f62a964SEmmanuel Vadot }; 8605f62a964SEmmanuel Vadot 8615f62a964SEmmanuel Vadot partition@800000 { 8625f62a964SEmmanuel Vadot label = "qspi.rootfs"; 8635f62a964SEmmanuel Vadot reg = <0x800000 0x37c0000>; 8645f62a964SEmmanuel Vadot }; 8655f62a964SEmmanuel Vadot 8665f62a964SEmmanuel Vadot partition@3fc0000 { 8675f62a964SEmmanuel Vadot bootph-all; 8685f62a964SEmmanuel Vadot label = "qspi.phypattern"; 8695f62a964SEmmanuel Vadot reg = <0x3fc0000 0x40000>; 8705f62a964SEmmanuel Vadot }; 8715f62a964SEmmanuel Vadot }; 8725f62a964SEmmanuel Vadot 8735f62a964SEmmanuel Vadot }; 8745f62a964SEmmanuel Vadot}; 8755f62a964SEmmanuel Vadot 8765f62a964SEmmanuel Vadot&main_i2c0 { 8775f62a964SEmmanuel Vadot status = "okay"; 8785f62a964SEmmanuel Vadot pinctrl-names = "default"; 8795f62a964SEmmanuel Vadot pinctrl-0 = <&main_i2c0_pins_default>; 8805f62a964SEmmanuel Vadot 8815f62a964SEmmanuel Vadot clock-frequency = <400000>; 8825f62a964SEmmanuel Vadot 8835f62a964SEmmanuel Vadot exp1: gpio@20 { 8845f62a964SEmmanuel Vadot compatible = "ti,tca6416"; 8855f62a964SEmmanuel Vadot reg = <0x20>; 8865f62a964SEmmanuel Vadot gpio-controller; 8875f62a964SEmmanuel Vadot #gpio-cells = <2>; 8885f62a964SEmmanuel Vadot gpio-line-names = "PCIE1_2L_MODE_SEL", "PCIE1_4L_PERSTZ", "PCIE1_2L_RC_RSTZ", 8895f62a964SEmmanuel Vadot "PCIE1_2L_EP_RST_EN", "PCIE0_4L_MODE_SEL", "PCIE0_4L_PERSTZ", 8905f62a964SEmmanuel Vadot "PCIE0_4L_RC_RSTZ", "PCIE0_4L_EP_RST_EN", "PCIE1_4L_PRSNT#", 8915f62a964SEmmanuel Vadot "PCIE0_4L_PRSNT#", "CDCI1_OE1/OE4", "CDCI1_OE2/OE3", 8925f62a964SEmmanuel Vadot "AUDIO_MUX_SEL", "EXP_MUX2", "EXP_MUX3", "GESI_EXP_PHY_RSTZ"; 8935f62a964SEmmanuel Vadot 8945f62a964SEmmanuel Vadot p12-hog { 8955f62a964SEmmanuel Vadot /* P12 - AUDIO_MUX_SEL */ 8965f62a964SEmmanuel Vadot gpio-hog; 8975f62a964SEmmanuel Vadot gpios = <12 GPIO_ACTIVE_HIGH>; 8985f62a964SEmmanuel Vadot output-low; 8995f62a964SEmmanuel Vadot line-name = "AUDIO_MUX_SEL"; 9005f62a964SEmmanuel Vadot }; 9015f62a964SEmmanuel Vadot }; 9025f62a964SEmmanuel Vadot 9035f62a964SEmmanuel Vadot exp2: gpio@22 { 9045f62a964SEmmanuel Vadot compatible = "ti,tca6424"; 9055f62a964SEmmanuel Vadot reg = <0x22>; 9065f62a964SEmmanuel Vadot gpio-controller; 9075f62a964SEmmanuel Vadot #gpio-cells = <2>; 9085f62a964SEmmanuel Vadot gpio-line-names = "R_GPIO_RGMII1_RST", "ENET2_I2CMUX_SEL", "GPIO_USD_PWR_EN", 9095f62a964SEmmanuel Vadot "USBC_PWR_EN", "USBC_MODE_SEL1", "USBC_MODE_SEL0", 9105f62a964SEmmanuel Vadot "GPIO_LIN_EN", "R_CAN_STB", "CTRL_PM_I2C_OE#", 9115f62a964SEmmanuel Vadot "ENET2_EXP_PWRDN", "ENET2_EXP_SPARE2", "CDCI2_RSTZ", 9125f62a964SEmmanuel Vadot "USB2.0_MUX_SEL", "CANUART_MUX_SEL0", "CANUART_MUX2_SEL1", 9135f62a964SEmmanuel Vadot "CANUART_MUX1_SEL1", "ENET1_EXP_PWRDN", "ENET1_EXP_RESETZ", 9145f62a964SEmmanuel Vadot "ENET1_I2CMUX_SEL", "ENET1_EXP_SPARE2", "ENET2_EXP_RESETZ", 9155f62a964SEmmanuel Vadot "USER_INPUT1", "USER_LED1", "USER_LED2"; 9165f62a964SEmmanuel Vadot 9175f62a964SEmmanuel Vadot p13-hog { 9185f62a964SEmmanuel Vadot /* P13 - CANUART_MUX_SEL0 */ 9195f62a964SEmmanuel Vadot gpio-hog; 9205f62a964SEmmanuel Vadot gpios = <13 GPIO_ACTIVE_HIGH>; 9215f62a964SEmmanuel Vadot output-high; 9225f62a964SEmmanuel Vadot line-name = "CANUART_MUX_SEL0"; 9235f62a964SEmmanuel Vadot }; 9245f62a964SEmmanuel Vadot 9255f62a964SEmmanuel Vadot p15-hog { 9265f62a964SEmmanuel Vadot /* P15 - CANUART_MUX1_SEL1 */ 9275f62a964SEmmanuel Vadot gpio-hog; 9285f62a964SEmmanuel Vadot gpios = <15 GPIO_ACTIVE_HIGH>; 9295f62a964SEmmanuel Vadot output-high; 9305f62a964SEmmanuel Vadot line-name = "CANUART_MUX1_SEL1"; 9315f62a964SEmmanuel Vadot }; 9325f62a964SEmmanuel Vadot }; 9335f62a964SEmmanuel Vadot}; 9345f62a964SEmmanuel Vadot 9355f62a964SEmmanuel Vadot&main_i2c5 { 9365f62a964SEmmanuel Vadot pinctrl-names = "default"; 9375f62a964SEmmanuel Vadot pinctrl-0 = <&main_i2c5_pins_default>; 9385f62a964SEmmanuel Vadot clock-frequency = <400000>; 9395f62a964SEmmanuel Vadot status = "okay"; 9405f62a964SEmmanuel Vadot 9415f62a964SEmmanuel Vadot exp5: gpio@20 { 9425f62a964SEmmanuel Vadot compatible = "ti,tca6408"; 9435f62a964SEmmanuel Vadot reg = <0x20>; 9445f62a964SEmmanuel Vadot gpio-controller; 9455f62a964SEmmanuel Vadot #gpio-cells = <2>; 9465f62a964SEmmanuel Vadot gpio-line-names = "CSI2_EXP_RSTZ", "CSI2_EXP_A_GPIO0", 9475f62a964SEmmanuel Vadot "CSI2_EXP_A_GPIO1", "CSI2_EXP_A_GPIO3", 9485f62a964SEmmanuel Vadot "CSI2_EXP_B_GPIO1", "CSI2_EXP_B_GPIO2", 9495f62a964SEmmanuel Vadot "CSI2_EXP_B_GPIO3", "CSI2_EXP_B_GPIO4"; 9505f62a964SEmmanuel Vadot }; 9515f62a964SEmmanuel Vadot}; 9525f62a964SEmmanuel Vadot 9535f62a964SEmmanuel Vadot&main_sdhci0 { 9545f62a964SEmmanuel Vadot bootph-all; 9555f62a964SEmmanuel Vadot /* eMMC */ 9565f62a964SEmmanuel Vadot status = "okay"; 9575f62a964SEmmanuel Vadot non-removable; 9585f62a964SEmmanuel Vadot ti,driver-strength-ohm = <50>; 9595f62a964SEmmanuel Vadot disable-wp; 9605f62a964SEmmanuel Vadot}; 9615f62a964SEmmanuel Vadot 9625f62a964SEmmanuel Vadot&main_sdhci1 { 9635f62a964SEmmanuel Vadot bootph-all; 9645f62a964SEmmanuel Vadot /* SD card */ 9655f62a964SEmmanuel Vadot status = "okay"; 9665f62a964SEmmanuel Vadot pinctrl-0 = <&main_mmc1_pins_default>; 9675f62a964SEmmanuel Vadot pinctrl-names = "default"; 9685f62a964SEmmanuel Vadot disable-wp; 9695f62a964SEmmanuel Vadot vmmc-supply = <&vdd_mmc1>; 9705f62a964SEmmanuel Vadot vqmmc-supply = <&vdd_sd_dv>; 9715f62a964SEmmanuel Vadot}; 9725f62a964SEmmanuel Vadot 9735f62a964SEmmanuel Vadot&main_gpio0 { 9745f62a964SEmmanuel Vadot status = "okay"; 9755f62a964SEmmanuel Vadot}; 9765f62a964SEmmanuel Vadot 9775f62a964SEmmanuel Vadot&mcu_cpsw { 9785f62a964SEmmanuel Vadot status = "okay"; 9795f62a964SEmmanuel Vadot pinctrl-names = "default"; 9805f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_cpsw_pins_default>; 9815f62a964SEmmanuel Vadot}; 9825f62a964SEmmanuel Vadot 9835f62a964SEmmanuel Vadot&davinci_mdio { 9845f62a964SEmmanuel Vadot pinctrl-names = "default"; 9855f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_mdio_pins_default>; 9865f62a964SEmmanuel Vadot 9875f62a964SEmmanuel Vadot mcu_phy0: ethernet-phy@0 { 9885f62a964SEmmanuel Vadot reg = <0>; 9895f62a964SEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 9905f62a964SEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 9915f62a964SEmmanuel Vadot ti,min-output-impedance; 9925f62a964SEmmanuel Vadot }; 9935f62a964SEmmanuel Vadot}; 9945f62a964SEmmanuel Vadot 9955f62a964SEmmanuel Vadot&mcu_cpsw_port1 { 9965f62a964SEmmanuel Vadot status = "okay"; 9975f62a964SEmmanuel Vadot phy-mode = "rgmii-rxid"; 9985f62a964SEmmanuel Vadot phy-handle = <&mcu_phy0>; 9995f62a964SEmmanuel Vadot}; 10005f62a964SEmmanuel Vadot 10015f62a964SEmmanuel Vadot&main_cpsw1 { 10025f62a964SEmmanuel Vadot pinctrl-names = "default"; 10035f62a964SEmmanuel Vadot pinctrl-0 = <&main_cpsw2g_default_pins>; 10045f62a964SEmmanuel Vadot status = "okay"; 10055f62a964SEmmanuel Vadot}; 10065f62a964SEmmanuel Vadot 10075f62a964SEmmanuel Vadot&main_cpsw1_mdio { 10085f62a964SEmmanuel Vadot pinctrl-names = "default"; 10095f62a964SEmmanuel Vadot pinctrl-0 = <&main_cpsw2g_mdio_default_pins>; 10105f62a964SEmmanuel Vadot status = "okay"; 10115f62a964SEmmanuel Vadot 10125f62a964SEmmanuel Vadot main_cpsw1_phy0: ethernet-phy@0 { 10135f62a964SEmmanuel Vadot reg = <0>; 10145f62a964SEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 10155f62a964SEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 10165f62a964SEmmanuel Vadot ti,min-output-impedance; 10175f62a964SEmmanuel Vadot }; 10185f62a964SEmmanuel Vadot}; 10195f62a964SEmmanuel Vadot 10205f62a964SEmmanuel Vadot&main_cpsw1_port1 { 10215f62a964SEmmanuel Vadot phy-mode = "rgmii-rxid"; 10225f62a964SEmmanuel Vadot phy-handle = <&main_cpsw1_phy0>; 10235f62a964SEmmanuel Vadot status = "okay"; 10245f62a964SEmmanuel Vadot}; 10255f62a964SEmmanuel Vadot 10265f62a964SEmmanuel Vadot&mailbox0_cluster0 { 10275f62a964SEmmanuel Vadot status = "okay"; 10285f62a964SEmmanuel Vadot interrupts = <436>; 10295f62a964SEmmanuel Vadot 10305f62a964SEmmanuel Vadot mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { 10315f62a964SEmmanuel Vadot ti,mbox-rx = <0 0 0>; 10325f62a964SEmmanuel Vadot ti,mbox-tx = <1 0 0>; 10335f62a964SEmmanuel Vadot }; 10345f62a964SEmmanuel Vadot 10355f62a964SEmmanuel Vadot mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { 10365f62a964SEmmanuel Vadot ti,mbox-rx = <2 0 0>; 10375f62a964SEmmanuel Vadot ti,mbox-tx = <3 0 0>; 10385f62a964SEmmanuel Vadot }; 10395f62a964SEmmanuel Vadot}; 10405f62a964SEmmanuel Vadot 10415f62a964SEmmanuel Vadot&mailbox0_cluster1 { 10425f62a964SEmmanuel Vadot status = "okay"; 10435f62a964SEmmanuel Vadot interrupts = <432>; 10445f62a964SEmmanuel Vadot 10455f62a964SEmmanuel Vadot mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 10465f62a964SEmmanuel Vadot ti,mbox-rx = <0 0 0>; 10475f62a964SEmmanuel Vadot ti,mbox-tx = <1 0 0>; 10485f62a964SEmmanuel Vadot }; 10495f62a964SEmmanuel Vadot 10505f62a964SEmmanuel Vadot mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { 10515f62a964SEmmanuel Vadot ti,mbox-rx = <2 0 0>; 10525f62a964SEmmanuel Vadot ti,mbox-tx = <3 0 0>; 10535f62a964SEmmanuel Vadot }; 10545f62a964SEmmanuel Vadot}; 10555f62a964SEmmanuel Vadot 10565f62a964SEmmanuel Vadot&mailbox0_cluster2 { 10575f62a964SEmmanuel Vadot status = "okay"; 10585f62a964SEmmanuel Vadot interrupts = <428>; 10595f62a964SEmmanuel Vadot 10605f62a964SEmmanuel Vadot mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 10615f62a964SEmmanuel Vadot ti,mbox-rx = <0 0 0>; 10625f62a964SEmmanuel Vadot ti,mbox-tx = <1 0 0>; 10635f62a964SEmmanuel Vadot }; 10645f62a964SEmmanuel Vadot 10655f62a964SEmmanuel Vadot mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { 10665f62a964SEmmanuel Vadot ti,mbox-rx = <2 0 0>; 10675f62a964SEmmanuel Vadot ti,mbox-tx = <3 0 0>; 10685f62a964SEmmanuel Vadot }; 10695f62a964SEmmanuel Vadot}; 10705f62a964SEmmanuel Vadot 10715f62a964SEmmanuel Vadot&mailbox0_cluster3 { 10725f62a964SEmmanuel Vadot status = "okay"; 10735f62a964SEmmanuel Vadot interrupts = <424>; 10745f62a964SEmmanuel Vadot 10755f62a964SEmmanuel Vadot mbox_main_r5fss2_core0: mbox-main-r5fss2-core0 { 10765f62a964SEmmanuel Vadot ti,mbox-rx = <0 0 0>; 10775f62a964SEmmanuel Vadot ti,mbox-tx = <1 0 0>; 10785f62a964SEmmanuel Vadot }; 10795f62a964SEmmanuel Vadot 10805f62a964SEmmanuel Vadot mbox_main_r5fss2_core1: mbox-main-r5fss2-core1 { 10815f62a964SEmmanuel Vadot ti,mbox-rx = <2 0 0>; 10825f62a964SEmmanuel Vadot ti,mbox-tx = <3 0 0>; 10835f62a964SEmmanuel Vadot }; 10845f62a964SEmmanuel Vadot}; 10855f62a964SEmmanuel Vadot 10865f62a964SEmmanuel Vadot&mailbox0_cluster4 { 10875f62a964SEmmanuel Vadot status = "okay"; 10885f62a964SEmmanuel Vadot interrupts = <420>; 10895f62a964SEmmanuel Vadot 10905f62a964SEmmanuel Vadot mbox_c71_0: mbox-c71-0 { 10915f62a964SEmmanuel Vadot ti,mbox-rx = <0 0 0>; 10925f62a964SEmmanuel Vadot ti,mbox-tx = <1 0 0>; 10935f62a964SEmmanuel Vadot }; 10945f62a964SEmmanuel Vadot 10955f62a964SEmmanuel Vadot mbox_c71_1: mbox-c71-1 { 10965f62a964SEmmanuel Vadot ti,mbox-rx = <2 0 0>; 10975f62a964SEmmanuel Vadot ti,mbox-tx = <3 0 0>; 10985f62a964SEmmanuel Vadot }; 10995f62a964SEmmanuel Vadot}; 11005f62a964SEmmanuel Vadot 11015f62a964SEmmanuel Vadot&mailbox0_cluster5 { 11025f62a964SEmmanuel Vadot status = "okay"; 11035f62a964SEmmanuel Vadot interrupts = <416>; 11045f62a964SEmmanuel Vadot 11055f62a964SEmmanuel Vadot mbox_c71_2: mbox-c71-2 { 11065f62a964SEmmanuel Vadot ti,mbox-rx = <0 0 0>; 11075f62a964SEmmanuel Vadot ti,mbox-tx = <1 0 0>; 11085f62a964SEmmanuel Vadot }; 11095f62a964SEmmanuel Vadot}; 11105f62a964SEmmanuel Vadot 11115f62a964SEmmanuel Vadot&mcu_r5fss0_core0 { 11125f62a964SEmmanuel Vadot status = "okay"; 11135f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 11145f62a964SEmmanuel Vadot memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 11155f62a964SEmmanuel Vadot <&mcu_r5fss0_core0_memory_region>; 11165f62a964SEmmanuel Vadot}; 11175f62a964SEmmanuel Vadot 11185f62a964SEmmanuel Vadot&mcu_r5fss0_core1 { 11195f62a964SEmmanuel Vadot status = "okay"; 11205f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; 11215f62a964SEmmanuel Vadot memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 11225f62a964SEmmanuel Vadot <&mcu_r5fss0_core1_memory_region>; 11235f62a964SEmmanuel Vadot}; 11245f62a964SEmmanuel Vadot 11255f62a964SEmmanuel Vadot&main_r5fss0 { 11265f62a964SEmmanuel Vadot ti,cluster-mode = <0>; 11275f62a964SEmmanuel Vadot}; 11285f62a964SEmmanuel Vadot 11295f62a964SEmmanuel Vadot&main_r5fss1 { 11305f62a964SEmmanuel Vadot ti,cluster-mode = <0>; 11315f62a964SEmmanuel Vadot}; 11325f62a964SEmmanuel Vadot 11335f62a964SEmmanuel Vadot&main_r5fss2 { 11345f62a964SEmmanuel Vadot ti,cluster-mode = <0>; 11355f62a964SEmmanuel Vadot}; 11365f62a964SEmmanuel Vadot 11375f62a964SEmmanuel Vadot/* Timers are used by Remoteproc firmware */ 11385f62a964SEmmanuel Vadot&main_timer0 { 11395f62a964SEmmanuel Vadot status = "reserved"; 11405f62a964SEmmanuel Vadot}; 11415f62a964SEmmanuel Vadot 11425f62a964SEmmanuel Vadot&main_timer1 { 11435f62a964SEmmanuel Vadot status = "reserved"; 11445f62a964SEmmanuel Vadot}; 11455f62a964SEmmanuel Vadot 11465f62a964SEmmanuel Vadot&main_timer2 { 11475f62a964SEmmanuel Vadot status = "reserved"; 11485f62a964SEmmanuel Vadot}; 11495f62a964SEmmanuel Vadot 11505f62a964SEmmanuel Vadot&main_timer3 { 11515f62a964SEmmanuel Vadot status = "reserved"; 11525f62a964SEmmanuel Vadot}; 11535f62a964SEmmanuel Vadot 11545f62a964SEmmanuel Vadot&main_timer4 { 11555f62a964SEmmanuel Vadot status = "reserved"; 11565f62a964SEmmanuel Vadot}; 11575f62a964SEmmanuel Vadot 11585f62a964SEmmanuel Vadot&main_timer5 { 11595f62a964SEmmanuel Vadot status = "reserved"; 11605f62a964SEmmanuel Vadot}; 11615f62a964SEmmanuel Vadot 11625f62a964SEmmanuel Vadot&main_timer6 { 11635f62a964SEmmanuel Vadot status = "reserved"; 11645f62a964SEmmanuel Vadot}; 11655f62a964SEmmanuel Vadot 11665f62a964SEmmanuel Vadot&main_timer7 { 11675f62a964SEmmanuel Vadot status = "reserved"; 11685f62a964SEmmanuel Vadot}; 11695f62a964SEmmanuel Vadot 11705f62a964SEmmanuel Vadot&main_timer8 { 11715f62a964SEmmanuel Vadot status = "reserved"; 11725f62a964SEmmanuel Vadot}; 11735f62a964SEmmanuel Vadot 11745f62a964SEmmanuel Vadot&main_timer9 { 11755f62a964SEmmanuel Vadot status = "reserved"; 11765f62a964SEmmanuel Vadot}; 11775f62a964SEmmanuel Vadot 11785f62a964SEmmanuel Vadot&main_r5fss0_core0 { 11795f62a964SEmmanuel Vadot status = "okay"; 11805f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; 11815f62a964SEmmanuel Vadot memory-region = <&main_r5fss0_core0_dma_memory_region>, 11825f62a964SEmmanuel Vadot <&main_r5fss0_core0_memory_region>; 11835f62a964SEmmanuel Vadot}; 11845f62a964SEmmanuel Vadot 11855f62a964SEmmanuel Vadot&main_r5fss0_core1 { 11865f62a964SEmmanuel Vadot status = "okay"; 11875f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; 11885f62a964SEmmanuel Vadot memory-region = <&main_r5fss0_core1_dma_memory_region>, 11895f62a964SEmmanuel Vadot <&main_r5fss0_core1_memory_region>; 11905f62a964SEmmanuel Vadot}; 11915f62a964SEmmanuel Vadot 11925f62a964SEmmanuel Vadot&main_r5fss1_core0 { 11935f62a964SEmmanuel Vadot status = "okay"; 11945f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; 11955f62a964SEmmanuel Vadot memory-region = <&main_r5fss1_core0_dma_memory_region>, 11965f62a964SEmmanuel Vadot <&main_r5fss1_core0_memory_region>; 11975f62a964SEmmanuel Vadot}; 11985f62a964SEmmanuel Vadot 11995f62a964SEmmanuel Vadot&main_r5fss1_core1 { 12005f62a964SEmmanuel Vadot status = "okay"; 12015f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; 12025f62a964SEmmanuel Vadot memory-region = <&main_r5fss1_core1_dma_memory_region>, 12035f62a964SEmmanuel Vadot <&main_r5fss1_core1_memory_region>; 12045f62a964SEmmanuel Vadot}; 12055f62a964SEmmanuel Vadot 12065f62a964SEmmanuel Vadot&main_r5fss2_core0 { 12075f62a964SEmmanuel Vadot status = "okay"; 12085f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster3 &mbox_main_r5fss2_core0>; 12095f62a964SEmmanuel Vadot memory-region = <&main_r5fss2_core0_dma_memory_region>, 12105f62a964SEmmanuel Vadot <&main_r5fss2_core0_memory_region>; 12115f62a964SEmmanuel Vadot}; 12125f62a964SEmmanuel Vadot 12135f62a964SEmmanuel Vadot&main_r5fss2_core1 { 12145f62a964SEmmanuel Vadot status = "okay"; 12155f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster3 &mbox_main_r5fss2_core1>; 12165f62a964SEmmanuel Vadot memory-region = <&main_r5fss2_core1_dma_memory_region>, 12175f62a964SEmmanuel Vadot <&main_r5fss2_core1_memory_region>; 12185f62a964SEmmanuel Vadot}; 12195f62a964SEmmanuel Vadot 12205f62a964SEmmanuel Vadot&c71_0 { 12215f62a964SEmmanuel Vadot status = "okay"; 12225f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster4 &mbox_c71_0>; 12235f62a964SEmmanuel Vadot memory-region = <&c71_0_dma_memory_region>, 12245f62a964SEmmanuel Vadot <&c71_0_memory_region>; 12255f62a964SEmmanuel Vadot}; 12265f62a964SEmmanuel Vadot 12275f62a964SEmmanuel Vadot&c71_1 { 12285f62a964SEmmanuel Vadot status = "okay"; 12295f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster4 &mbox_c71_1>; 12305f62a964SEmmanuel Vadot memory-region = <&c71_1_dma_memory_region>, 12315f62a964SEmmanuel Vadot <&c71_1_memory_region>; 12325f62a964SEmmanuel Vadot}; 12335f62a964SEmmanuel Vadot 12345f62a964SEmmanuel Vadot&c71_2 { 12355f62a964SEmmanuel Vadot status = "okay"; 12365f62a964SEmmanuel Vadot mboxes = <&mailbox0_cluster5 &mbox_c71_2>; 12375f62a964SEmmanuel Vadot memory-region = <&c71_2_dma_memory_region>, 12385f62a964SEmmanuel Vadot <&c71_2_memory_region>; 12395f62a964SEmmanuel Vadot}; 12405f62a964SEmmanuel Vadot 12415f62a964SEmmanuel Vadot&tscadc0 { 12425f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_adc0_pins_default>; 12435f62a964SEmmanuel Vadot pinctrl-names = "default"; 12445f62a964SEmmanuel Vadot status = "okay"; 12455f62a964SEmmanuel Vadot adc { 12465f62a964SEmmanuel Vadot ti,adc-channels = <0 1 2 3 4 5 6 7>; 12475f62a964SEmmanuel Vadot }; 12485f62a964SEmmanuel Vadot}; 12495f62a964SEmmanuel Vadot 12505f62a964SEmmanuel Vadot&tscadc1 { 12515f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_adc1_pins_default>; 12525f62a964SEmmanuel Vadot pinctrl-names = "default"; 12535f62a964SEmmanuel Vadot status = "okay"; 12545f62a964SEmmanuel Vadot adc { 12555f62a964SEmmanuel Vadot ti,adc-channels = <0 1 2 3 4 5 6 7>; 12565f62a964SEmmanuel Vadot }; 12575f62a964SEmmanuel Vadot}; 12585f62a964SEmmanuel Vadot 12595f62a964SEmmanuel Vadot&serdes_refclk { 12605f62a964SEmmanuel Vadot status = "okay"; 12615f62a964SEmmanuel Vadot clock-frequency = <100000000>; 12625f62a964SEmmanuel Vadot}; 12635f62a964SEmmanuel Vadot 12645f62a964SEmmanuel Vadot&dss { 12655f62a964SEmmanuel Vadot status = "okay"; 12665f62a964SEmmanuel Vadot assigned-clocks = <&k3_clks 218 2>, 12675f62a964SEmmanuel Vadot <&k3_clks 218 5>, 12685f62a964SEmmanuel Vadot <&k3_clks 218 14>, 12695f62a964SEmmanuel Vadot <&k3_clks 218 18>; 12705f62a964SEmmanuel Vadot assigned-clock-parents = <&k3_clks 218 3>, 12715f62a964SEmmanuel Vadot <&k3_clks 218 7>, 12725f62a964SEmmanuel Vadot <&k3_clks 218 16>, 12735f62a964SEmmanuel Vadot <&k3_clks 218 22>; 12745f62a964SEmmanuel Vadot}; 12755f62a964SEmmanuel Vadot 12765f62a964SEmmanuel Vadot&serdes0 { 12775f62a964SEmmanuel Vadot status = "okay"; 12785f62a964SEmmanuel Vadot 12795f62a964SEmmanuel Vadot serdes0_pcie1_link: phy@0 { 12805f62a964SEmmanuel Vadot reg = <0>; 12815f62a964SEmmanuel Vadot cdns,num-lanes = <2>; 12825f62a964SEmmanuel Vadot #phy-cells = <0>; 12835f62a964SEmmanuel Vadot cdns,phy-type = <PHY_TYPE_PCIE>; 12845f62a964SEmmanuel Vadot resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; 12855f62a964SEmmanuel Vadot }; 12865f62a964SEmmanuel Vadot 12875f62a964SEmmanuel Vadot serdes0_usb_link: phy@3 { 12885f62a964SEmmanuel Vadot reg = <3>; 12895f62a964SEmmanuel Vadot cdns,num-lanes = <1>; 12905f62a964SEmmanuel Vadot #phy-cells = <0>; 12915f62a964SEmmanuel Vadot cdns,phy-type = <PHY_TYPE_USB3>; 12925f62a964SEmmanuel Vadot resets = <&serdes_wiz0 4>; 12935f62a964SEmmanuel Vadot }; 12945f62a964SEmmanuel Vadot}; 12955f62a964SEmmanuel Vadot 12965f62a964SEmmanuel Vadot&serdes_wiz0 { 12975f62a964SEmmanuel Vadot status = "okay"; 12985f62a964SEmmanuel Vadot}; 12995f62a964SEmmanuel Vadot 13005f62a964SEmmanuel Vadot&usb_serdes_mux { 13015f62a964SEmmanuel Vadot idle-states = <0>; /* USB0 to SERDES lane 3 */ 13025f62a964SEmmanuel Vadot}; 13035f62a964SEmmanuel Vadot 13045f62a964SEmmanuel Vadot&usbss0 { 13055f62a964SEmmanuel Vadot status = "okay"; 13065f62a964SEmmanuel Vadot pinctrl-0 = <&main_usbss0_pins_default>; 13075f62a964SEmmanuel Vadot pinctrl-names = "default"; 13085f62a964SEmmanuel Vadot ti,vbus-divider; 13095f62a964SEmmanuel Vadot}; 13105f62a964SEmmanuel Vadot 13115f62a964SEmmanuel Vadot&usb0 { 13125f62a964SEmmanuel Vadot dr_mode = "otg"; 13135f62a964SEmmanuel Vadot maximum-speed = "super-speed"; 13145f62a964SEmmanuel Vadot phys = <&serdes0_usb_link>; 13155f62a964SEmmanuel Vadot phy-names = "cdns3,usb3-phy"; 13165f62a964SEmmanuel Vadot}; 13175f62a964SEmmanuel Vadot 13185f62a964SEmmanuel Vadot&serdes_wiz4 { 13195f62a964SEmmanuel Vadot status = "okay"; 13205f62a964SEmmanuel Vadot}; 13215f62a964SEmmanuel Vadot 13225f62a964SEmmanuel Vadot&serdes4 { 13235f62a964SEmmanuel Vadot status = "okay"; 13245f62a964SEmmanuel Vadot serdes4_dp_link: phy@0 { 13255f62a964SEmmanuel Vadot reg = <0>; 13265f62a964SEmmanuel Vadot cdns,num-lanes = <4>; 13275f62a964SEmmanuel Vadot #phy-cells = <0>; 13285f62a964SEmmanuel Vadot cdns,phy-type = <PHY_TYPE_DP>; 13295f62a964SEmmanuel Vadot resets = <&serdes_wiz4 1>, <&serdes_wiz4 2>, 13305f62a964SEmmanuel Vadot <&serdes_wiz4 3>, <&serdes_wiz4 4>; 13315f62a964SEmmanuel Vadot }; 13325f62a964SEmmanuel Vadot}; 13335f62a964SEmmanuel Vadot 13345f62a964SEmmanuel Vadot&mhdp { 13355f62a964SEmmanuel Vadot status = "okay"; 13365f62a964SEmmanuel Vadot pinctrl-names = "default"; 13375f62a964SEmmanuel Vadot pinctrl-0 = <&dp0_pins_default>; 13385f62a964SEmmanuel Vadot phys = <&serdes4_dp_link>; 13395f62a964SEmmanuel Vadot phy-names = "dpphy"; 13405f62a964SEmmanuel Vadot}; 13415f62a964SEmmanuel Vadot 13425f62a964SEmmanuel Vadot&dss_ports { 13435f62a964SEmmanuel Vadot /* DP */ 13445f62a964SEmmanuel Vadot port { 13455f62a964SEmmanuel Vadot dpi0_out: endpoint { 13465f62a964SEmmanuel Vadot remote-endpoint = <&dp0_in>; 13475f62a964SEmmanuel Vadot }; 13485f62a964SEmmanuel Vadot }; 13495f62a964SEmmanuel Vadot}; 13505f62a964SEmmanuel Vadot 13515f62a964SEmmanuel Vadot&main_i2c4 { 13525f62a964SEmmanuel Vadot status = "okay"; 13535f62a964SEmmanuel Vadot pinctrl-names = "default"; 13545f62a964SEmmanuel Vadot pinctrl-0 = <&main_i2c4_pins_default>; 13555f62a964SEmmanuel Vadot clock-frequency = <400000>; 13565f62a964SEmmanuel Vadot 13575f62a964SEmmanuel Vadot exp4: gpio@20 { 13585f62a964SEmmanuel Vadot compatible = "ti,tca6408"; 13595f62a964SEmmanuel Vadot reg = <0x20>; 13605f62a964SEmmanuel Vadot gpio-controller; 13615f62a964SEmmanuel Vadot #gpio-cells = <2>; 13625f62a964SEmmanuel Vadot }; 13635f62a964SEmmanuel Vadot}; 13645f62a964SEmmanuel Vadot 13655f62a964SEmmanuel Vadot&dp0_ports { 13665f62a964SEmmanuel Vadot port@0 { 13675f62a964SEmmanuel Vadot reg = <0>; 13685f62a964SEmmanuel Vadot 13695f62a964SEmmanuel Vadot dp0_in: endpoint { 13705f62a964SEmmanuel Vadot remote-endpoint = <&dpi0_out>; 13715f62a964SEmmanuel Vadot }; 13725f62a964SEmmanuel Vadot }; 13735f62a964SEmmanuel Vadot 13745f62a964SEmmanuel Vadot port@4 { 13755f62a964SEmmanuel Vadot reg = <4>; 13765f62a964SEmmanuel Vadot 13775f62a964SEmmanuel Vadot dp0_out: endpoint { 13785f62a964SEmmanuel Vadot remote-endpoint = <&dp0_connector_in>; 13795f62a964SEmmanuel Vadot }; 13805f62a964SEmmanuel Vadot }; 13815f62a964SEmmanuel Vadot}; 13825f62a964SEmmanuel Vadot 13835f62a964SEmmanuel Vadot&mcu_mcan0 { 13845f62a964SEmmanuel Vadot status = "okay"; 13855f62a964SEmmanuel Vadot pinctrl-names = "default"; 13865f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_mcan0_pins_default>; 13875f62a964SEmmanuel Vadot phys = <&transceiver0>; 13885f62a964SEmmanuel Vadot}; 13895f62a964SEmmanuel Vadot 13905f62a964SEmmanuel Vadot&mcu_mcan1 { 13915f62a964SEmmanuel Vadot status = "okay"; 13925f62a964SEmmanuel Vadot pinctrl-names = "default"; 13935f62a964SEmmanuel Vadot pinctrl-0 = <&mcu_mcan1_pins_default>; 13945f62a964SEmmanuel Vadot phys = <&transceiver1>; 13955f62a964SEmmanuel Vadot}; 13965f62a964SEmmanuel Vadot 13975f62a964SEmmanuel Vadot&main_mcan16 { 13985f62a964SEmmanuel Vadot status = "okay"; 13995f62a964SEmmanuel Vadot pinctrl-names = "default"; 14005f62a964SEmmanuel Vadot pinctrl-0 = <&main_mcan16_pins_default>; 14015f62a964SEmmanuel Vadot phys = <&transceiver2>; 14025f62a964SEmmanuel Vadot}; 14035f62a964SEmmanuel Vadot 14045f62a964SEmmanuel Vadot&main_mcan4 { 14055f62a964SEmmanuel Vadot status = "okay"; 14065f62a964SEmmanuel Vadot pinctrl-names = "default"; 14075f62a964SEmmanuel Vadot pinctrl-0 = <&main_mcan4_pins_default>; 14085f62a964SEmmanuel Vadot phys = <&transceiver3>; 14095f62a964SEmmanuel Vadot}; 14105f62a964SEmmanuel Vadot 14115f62a964SEmmanuel Vadot&pcie1_rc { 14125f62a964SEmmanuel Vadot status = "okay"; 1413*ae5de77eSEmmanuel Vadot clocks = <&k3_clks 333 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>; 1414*ae5de77eSEmmanuel Vadot clock-names = "fck", "pcie_refclk"; 14155f62a964SEmmanuel Vadot num-lanes = <2>; 14165f62a964SEmmanuel Vadot reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>; 14175f62a964SEmmanuel Vadot phys = <&serdes0_pcie1_link>; 14185f62a964SEmmanuel Vadot phy-names = "pcie-phy"; 1419*ae5de77eSEmmanuel Vadot ti,syscon-acspcie-proxy-ctrl = <&acspcie0_proxy_ctrl 0x1>; 14205f62a964SEmmanuel Vadot}; 14215f62a964SEmmanuel Vadot 14225f62a964SEmmanuel Vadot&serdes1 { 14235f62a964SEmmanuel Vadot status = "okay"; 14245f62a964SEmmanuel Vadot 14255f62a964SEmmanuel Vadot serdes1_pcie0_link: phy@0 { 14265f62a964SEmmanuel Vadot reg = <0>; 14275f62a964SEmmanuel Vadot cdns,num-lanes = <4>; 14285f62a964SEmmanuel Vadot #phy-cells = <0>; 14295f62a964SEmmanuel Vadot cdns,phy-type = <PHY_TYPE_PCIE>; 14305f62a964SEmmanuel Vadot resets = <&serdes_wiz1 1>, <&serdes_wiz1 2>, 14315f62a964SEmmanuel Vadot <&serdes_wiz1 3>, <&serdes_wiz1 4>; 14325f62a964SEmmanuel Vadot }; 14335f62a964SEmmanuel Vadot}; 14345f62a964SEmmanuel Vadot 14355f62a964SEmmanuel Vadot&serdes_wiz1 { 14365f62a964SEmmanuel Vadot status = "okay"; 14375f62a964SEmmanuel Vadot}; 14385f62a964SEmmanuel Vadot 14395f62a964SEmmanuel Vadot&pcie0_rc { 14405f62a964SEmmanuel Vadot status = "okay"; 14415f62a964SEmmanuel Vadot reset-gpios = <&exp1 6 GPIO_ACTIVE_HIGH>; 14425f62a964SEmmanuel Vadot phys = <&serdes1_pcie0_link>; 14435f62a964SEmmanuel Vadot phy-names = "pcie-phy"; 14445f62a964SEmmanuel Vadot}; 14455f62a964SEmmanuel Vadot 14465f62a964SEmmanuel Vadot&k3_clks { 14475f62a964SEmmanuel Vadot /* Confiure AUDIO_EXT_REFCLK1 pin as output */ 14485f62a964SEmmanuel Vadot pinctrl-names = "default"; 14495f62a964SEmmanuel Vadot pinctrl-0 = <&audio_ext_refclk1_pins_default>; 14505f62a964SEmmanuel Vadot}; 14515f62a964SEmmanuel Vadot 14525f62a964SEmmanuel Vadot&main_i2c3 { 14535f62a964SEmmanuel Vadot status = "okay"; 14545f62a964SEmmanuel Vadot pinctrl-names = "default"; 14555f62a964SEmmanuel Vadot pinctrl-0 = <&main_i2c3_pins_default>; 14565f62a964SEmmanuel Vadot clock-frequency = <400000>; 14575f62a964SEmmanuel Vadot 14585f62a964SEmmanuel Vadot exp3: gpio@20 { 14595f62a964SEmmanuel Vadot compatible = "ti,tca6408"; 14605f62a964SEmmanuel Vadot reg = <0x20>; 14615f62a964SEmmanuel Vadot gpio-controller; 14625f62a964SEmmanuel Vadot #gpio-cells = <2>; 14635f62a964SEmmanuel Vadot }; 14645f62a964SEmmanuel Vadot 14655f62a964SEmmanuel Vadot pcm3168a_1: audio-codec@44 { 14665f62a964SEmmanuel Vadot compatible = "ti,pcm3168a"; 14675f62a964SEmmanuel Vadot reg = <0x44>; 14685f62a964SEmmanuel Vadot #sound-dai-cells = <1>; 14695f62a964SEmmanuel Vadot reset-gpios = <&exp3 0 GPIO_ACTIVE_LOW>; 14705f62a964SEmmanuel Vadot clocks = <&audio_refclk1>; 14715f62a964SEmmanuel Vadot clock-names = "scki"; 14725f62a964SEmmanuel Vadot VDD1-supply = <&vsys_3v3>; 14735f62a964SEmmanuel Vadot VDD2-supply = <&vsys_3v3>; 14745f62a964SEmmanuel Vadot VCCAD1-supply = <&vsys_5v0>; 14755f62a964SEmmanuel Vadot VCCAD2-supply = <&vsys_5v0>; 14765f62a964SEmmanuel Vadot VCCDA1-supply = <&vsys_5v0>; 14775f62a964SEmmanuel Vadot VCCDA2-supply = <&vsys_5v0>; 14785f62a964SEmmanuel Vadot }; 14795f62a964SEmmanuel Vadot}; 14805f62a964SEmmanuel Vadot 14815f62a964SEmmanuel Vadot&mcasp0 { 14825f62a964SEmmanuel Vadot status = "okay"; 14835f62a964SEmmanuel Vadot #sound-dai-cells = <0>; 14845f62a964SEmmanuel Vadot pinctrl-names = "default"; 14855f62a964SEmmanuel Vadot pinctrl-0 = <&main_mcasp0_pins_default>; 14865f62a964SEmmanuel Vadot op-mode = <0>; /* MCASP_IIS_MODE */ 14875f62a964SEmmanuel Vadot tdm-slots = <2>; 14885f62a964SEmmanuel Vadot auxclk-fs-ratio = <256>; 14895f62a964SEmmanuel Vadot serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 14905f62a964SEmmanuel Vadot 0 0 0 1 14915f62a964SEmmanuel Vadot 2 0 0 0 14925f62a964SEmmanuel Vadot 0 0 0 0 14935f62a964SEmmanuel Vadot 0 0 0 0 14945f62a964SEmmanuel Vadot >; 14955f62a964SEmmanuel Vadot}; 1496