1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright 2023 Toradex 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Common dtsi for Verdin AM62 SoM 6f126890aSEmmanuel Vadot * 7f126890aSEmmanuel Vadot * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8f126890aSEmmanuel Vadot */ 9f126890aSEmmanuel Vadot 10f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 11f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 12f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 13f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 14f126890aSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h> 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot/ { 17f126890aSEmmanuel Vadot chosen { 18f126890aSEmmanuel Vadot stdout-path = "serial2:115200n8"; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot aliases { 22aa1a8ff2SEmmanuel Vadot can0 = &main_mcan0; 23aa1a8ff2SEmmanuel Vadot can1 = &mcu_mcan0; 24f126890aSEmmanuel Vadot ethernet0 = &cpsw_port1; 25f126890aSEmmanuel Vadot ethernet1 = &cpsw_port2; 26f126890aSEmmanuel Vadot i2c0 = &main_i2c0; 27f126890aSEmmanuel Vadot i2c1 = &main_i2c1; 28f126890aSEmmanuel Vadot i2c2 = &main_i2c2; 29f126890aSEmmanuel Vadot i2c3 = &mcu_i2c0; 30f126890aSEmmanuel Vadot i2c4 = &main_i2c3; 31f126890aSEmmanuel Vadot mmc0 = &sdhci0; 32f126890aSEmmanuel Vadot mmc1 = &sdhci1; 33f126890aSEmmanuel Vadot mmc2 = &sdhci2; 34f126890aSEmmanuel Vadot rtc0 = &rtc_i2c; 35f126890aSEmmanuel Vadot rtc1 = &wkup_rtc0; 36f126890aSEmmanuel Vadot serial0 = &main_uart1; 37f126890aSEmmanuel Vadot serial1 = &wkup_uart0; 38f126890aSEmmanuel Vadot serial2 = &main_uart0; 39f126890aSEmmanuel Vadot serial3 = &mcu_uart0; 40f126890aSEmmanuel Vadot serial4 = &main_uart5; 41f126890aSEmmanuel Vadot usb0 = &usb0; 42f126890aSEmmanuel Vadot usb1 = &usb1; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot 4501950c46SEmmanuel Vadot connector { 4601950c46SEmmanuel Vadot compatible = "gpio-usb-b-connector", "usb-b-connector"; 4701950c46SEmmanuel Vadot pinctrl-names = "default"; 4801950c46SEmmanuel Vadot pinctrl-0 = <&pinctrl_usb0_id>; 4901950c46SEmmanuel Vadot id-gpios = <&main_gpio1 19 GPIO_ACTIVE_HIGH>; 5001950c46SEmmanuel Vadot label = "USB_1"; 5101950c46SEmmanuel Vadot self-powered; 5201950c46SEmmanuel Vadot vbus-supply = <®_usb0_vbus>; 5301950c46SEmmanuel Vadot 5401950c46SEmmanuel Vadot port { 5501950c46SEmmanuel Vadot usb_dr_connector: endpoint { 5601950c46SEmmanuel Vadot remote-endpoint = <&usb0_ep>; 5701950c46SEmmanuel Vadot }; 5801950c46SEmmanuel Vadot }; 5901950c46SEmmanuel Vadot }; 6001950c46SEmmanuel Vadot 61f126890aSEmmanuel Vadot verdin_gpio_keys: gpio-keys { 62f126890aSEmmanuel Vadot compatible = "gpio-keys"; 63f126890aSEmmanuel Vadot pinctrl-names = "default"; 64f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ctrl_wake1_mico>; 65f126890aSEmmanuel Vadot status = "disabled"; 66f126890aSEmmanuel Vadot 67f126890aSEmmanuel Vadot verdin_key_wakeup: key-wakeup { 68f126890aSEmmanuel Vadot debounce-interval = <10>; 69f126890aSEmmanuel Vadot /* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */ 70f126890aSEmmanuel Vadot gpios = <&main_gpio0 32 GPIO_ACTIVE_LOW>; 71f126890aSEmmanuel Vadot label = "Wake-Up"; 72f126890aSEmmanuel Vadot linux,code = <KEY_WAKEUP>; 73f126890aSEmmanuel Vadot wakeup-source; 74f126890aSEmmanuel Vadot }; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot memory@80000000 { 78f126890aSEmmanuel Vadot device_type = "memory"; 79*7d0873ebSEmmanuel Vadot reg = <0x00000000 0x80000000 0x00000000 0x80000000>; /* 2G RAM */ 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot 82f126890aSEmmanuel Vadot opp-table { 83f126890aSEmmanuel Vadot /* Add 1.4GHz OPP. Requires VDD_CORE to be at 0.85V */ 84f126890aSEmmanuel Vadot opp-1400000000 { 85f126890aSEmmanuel Vadot opp-hz = /bits/ 64 <1400000000>; 86f126890aSEmmanuel Vadot opp-supported-hw = <0x01 0x0004>; 87f126890aSEmmanuel Vadot clock-latency-ns = <6000000>; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot }; 90f126890aSEmmanuel Vadot 91f126890aSEmmanuel Vadot /* Module Power Supply */ 92f126890aSEmmanuel Vadot reg_vsodimm: regulator-vsodimm { 93f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 94f126890aSEmmanuel Vadot regulator-name = "+V_SODIMM"; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot 97f126890aSEmmanuel Vadot /* Non PMIC On-module Supplies */ 98f126890aSEmmanuel Vadot reg_3v3: regulator-3v3 { 99f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 100f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 101f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 102f126890aSEmmanuel Vadot regulator-name = "On-module +V3.3"; 103f126890aSEmmanuel Vadot vin-supply = <®_vsodimm>; 104f126890aSEmmanuel Vadot }; 105f126890aSEmmanuel Vadot 106f126890aSEmmanuel Vadot reg_1v2_dsi: regulator-1v2-dsi { 107f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 108f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 109f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 110f126890aSEmmanuel Vadot regulator-name = "On-module +V1.2_DSI"; 111f126890aSEmmanuel Vadot vin-supply = <®_1v8>; 112f126890aSEmmanuel Vadot }; 113f126890aSEmmanuel Vadot 114f126890aSEmmanuel Vadot /* Enabled by +V1.2_DSI */ 115f126890aSEmmanuel Vadot reg_1v8_dsi: regulator-1v8-dsi { 116f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 117f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 118f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 119f126890aSEmmanuel Vadot regulator-name = "On-module +V1.8_DSI"; 120f126890aSEmmanuel Vadot vin-supply = <®_1v8>; 121f126890aSEmmanuel Vadot }; 122f126890aSEmmanuel Vadot 123f126890aSEmmanuel Vadot /* Enabled by +V2.5_ETH */ 124f126890aSEmmanuel Vadot reg_1v0_eth: regulator-1v0-eth { 125f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 126f126890aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 127f126890aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 128f126890aSEmmanuel Vadot regulator-name = "On-module +V1.0_ETH"; 129f126890aSEmmanuel Vadot vin-supply = <®_1v8>; 130f126890aSEmmanuel Vadot }; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot /* Enabled by +V2.5_ETH */ 133f126890aSEmmanuel Vadot reg_1v8_eth: regulator-1v8-eth { 134f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 135f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 136f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 137f126890aSEmmanuel Vadot regulator-name = "On-module +V1.8_ETH"; 138f126890aSEmmanuel Vadot vin-supply = <®_1v8>; 139f126890aSEmmanuel Vadot }; 140f126890aSEmmanuel Vadot 141*7d0873ebSEmmanuel Vadot reg_force_sleep_moci: regulator-force-sleep-moci { 142*7d0873ebSEmmanuel Vadot compatible = "regulator-fixed"; 143*7d0873ebSEmmanuel Vadot enable-active-high; 144*7d0873ebSEmmanuel Vadot /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 145*7d0873ebSEmmanuel Vadot gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 146*7d0873ebSEmmanuel Vadot regulator-always-on; 147*7d0873ebSEmmanuel Vadot regulator-boot-on; 148*7d0873ebSEmmanuel Vadot regulator-name = "CTRL_SLEEP_MOCI#"; 149*7d0873ebSEmmanuel Vadot }; 150*7d0873ebSEmmanuel Vadot 151f126890aSEmmanuel Vadot /* Verdin SD_1 Power Supply */ 152f126890aSEmmanuel Vadot reg_sdhc1_vmmc: regulator-sdhci1 { 153f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 154f126890aSEmmanuel Vadot pinctrl-names = "default"; 155f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_sd1_pwr_en>; 156f126890aSEmmanuel Vadot enable-active-high; 157f126890aSEmmanuel Vadot /* Verdin SD_1_PWR_EN (SODIMM 76) */ 158f126890aSEmmanuel Vadot gpio = <&main_gpio0 29 GPIO_ACTIVE_HIGH>; 159f126890aSEmmanuel Vadot off-on-delay-us = <100000>; 160f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 161f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 162f126890aSEmmanuel Vadot regulator-name = "+V3.3_SD"; 163f126890aSEmmanuel Vadot startup-delay-us = <2000>; 164f126890aSEmmanuel Vadot }; 165f126890aSEmmanuel Vadot 166f126890aSEmmanuel Vadot reg_sdhc1_vqmmc: regulator-sdhci1-vqmmc { 167f126890aSEmmanuel Vadot compatible = "regulator-gpio"; 168f126890aSEmmanuel Vadot pinctrl-names = "default"; 169f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_vsel_sd>; 170f126890aSEmmanuel Vadot /* PMIC_VSEL_SD */ 171f126890aSEmmanuel Vadot gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>; 172f126890aSEmmanuel Vadot regulator-name = "LDO1-VSEL-SD (PMIC)"; 173f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 174f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 175f126890aSEmmanuel Vadot states = <1800000 0x0>, 176f126890aSEmmanuel Vadot <3300000 0x1>; 177f126890aSEmmanuel Vadot vin-supply = <®_sd_3v3_1v8>; 178f126890aSEmmanuel Vadot }; 179f126890aSEmmanuel Vadot 18001950c46SEmmanuel Vadot reg_usb0_vbus: regulator-usb0-vbus { 18101950c46SEmmanuel Vadot compatible = "regulator-fixed"; 18201950c46SEmmanuel Vadot pinctrl-names = "default"; 18301950c46SEmmanuel Vadot pinctrl-0 = <&pinctrl_usb0_en>; 18401950c46SEmmanuel Vadot enable-active-high; 18501950c46SEmmanuel Vadot /* Verdin USB_1_EN (SODIMM 155) */ 18601950c46SEmmanuel Vadot gpio = <&main_gpio1 50 GPIO_ACTIVE_HIGH>; 18701950c46SEmmanuel Vadot regulator-max-microvolt = <5000000>; 18801950c46SEmmanuel Vadot regulator-min-microvolt = <5000000>; 18901950c46SEmmanuel Vadot regulator-name = "USB_1_EN"; 19001950c46SEmmanuel Vadot }; 19101950c46SEmmanuel Vadot 192f126890aSEmmanuel Vadot reserved-memory { 193f126890aSEmmanuel Vadot #address-cells = <2>; 194f126890aSEmmanuel Vadot #size-cells = <2>; 195f126890aSEmmanuel Vadot ranges; 196f126890aSEmmanuel Vadot 197f126890aSEmmanuel Vadot secure_tfa_ddr: tfa@9e780000 { 198f126890aSEmmanuel Vadot reg = <0x00 0x9e780000 0x00 0x80000>; 199f126890aSEmmanuel Vadot alignment = <0x1000>; 200f126890aSEmmanuel Vadot no-map; 201f126890aSEmmanuel Vadot }; 202f126890aSEmmanuel Vadot 203f126890aSEmmanuel Vadot secure_ddr: optee@9e800000 { 204f126890aSEmmanuel Vadot reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 205f126890aSEmmanuel Vadot alignment = <0x1000>; 206f126890aSEmmanuel Vadot no-map; 207f126890aSEmmanuel Vadot }; 208f126890aSEmmanuel Vadot 209f126890aSEmmanuel Vadot wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { 210f126890aSEmmanuel Vadot compatible = "shared-dma-pool"; 211f126890aSEmmanuel Vadot reg = <0x00 0x9db00000 0x00 0xc00000>; 212f126890aSEmmanuel Vadot no-map; 213f126890aSEmmanuel Vadot }; 214f126890aSEmmanuel Vadot }; 215f126890aSEmmanuel Vadot}; 216f126890aSEmmanuel Vadot 217f126890aSEmmanuel Vadot&main_pmx0 { 218f126890aSEmmanuel Vadot /* Verdin PWM_1 */ 219f126890aSEmmanuel Vadot pinctrl_epwm0_a: main-epwm0a-default-pins { 220f126890aSEmmanuel Vadot pinctrl-single,pins = < 221f126890aSEmmanuel Vadot AM62X_IOPAD(0x01b4, PIN_OUTPUT, 2) /* (A13) SPI0_CS0.EHRPWM0_A */ /* SODIMM 15 */ 222f126890aSEmmanuel Vadot >; 223f126890aSEmmanuel Vadot }; 224f126890aSEmmanuel Vadot 225f126890aSEmmanuel Vadot /* Verdin PWM_2 */ 226f126890aSEmmanuel Vadot pinctrl_epwm0_b: main-epwm0b-default-pins { 227f126890aSEmmanuel Vadot pinctrl-single,pins = < 228f126890aSEmmanuel Vadot AM62X_IOPAD(0x01b8, PIN_OUTPUT, 2) /* (C13) SPI0_CS1.EHRPWM0_B */ /* SODIMM 16 */ 229f126890aSEmmanuel Vadot >; 230f126890aSEmmanuel Vadot }; 231f126890aSEmmanuel Vadot 232f126890aSEmmanuel Vadot /* Verdin PWM_3_DSI */ 233f126890aSEmmanuel Vadot pinctrl_epwm1_a: main-epwm1a-default-pins { 234f126890aSEmmanuel Vadot pinctrl-single,pins = < 235f126890aSEmmanuel Vadot AM62X_IOPAD(0x01bc, PIN_OUTPUT, 2) /* (A14) SPI0_CLK.EHRPWM1_A */ /* SODIMM 19 */ 236f126890aSEmmanuel Vadot >; 237f126890aSEmmanuel Vadot }; 238f126890aSEmmanuel Vadot 239f126890aSEmmanuel Vadot /* Verdin QSPI_1_CLK as GPIO (conflict with Verdin QSPI_1 interface) */ 240f126890aSEmmanuel Vadot pinctrl_qspi1_clk_gpio: main-gpio0-0-default-pins { 241f126890aSEmmanuel Vadot pinctrl-single,pins = < 242f126890aSEmmanuel Vadot AM62X_IOPAD(0x0000, PIN_INPUT, 7) /* (H24) OSPI0_CLK.GPIO0_0 */ /* SODIMM 52 */ 243f126890aSEmmanuel Vadot >; 244f126890aSEmmanuel Vadot }; 245f126890aSEmmanuel Vadot 246f126890aSEmmanuel Vadot /* Verdin QSPI_1_IO0 as GPIO (conflict with Verdin QSPI_1 interface) */ 247f126890aSEmmanuel Vadot pinctrl_qspi1_io0_gpio: main-gpio0-3-default-pins { 248f126890aSEmmanuel Vadot pinctrl-single,pins = < 249f126890aSEmmanuel Vadot AM62X_IOPAD(0x000c, PIN_INPUT, 7) /* (E25) OSPI0_D0.GPIO0_3 */ /* SODIMM 56 */ 250f126890aSEmmanuel Vadot >; 251f126890aSEmmanuel Vadot }; 252f126890aSEmmanuel Vadot 253f126890aSEmmanuel Vadot /* Verdin QSPI_1_IO1 as GPIO (conflict with Verdin QSPI_1 interface) */ 254f126890aSEmmanuel Vadot pinctrl_qspi1_io1_gpio: main-gpio0-4-default-pins { 255f126890aSEmmanuel Vadot pinctrl-single,pins = < 256f126890aSEmmanuel Vadot AM62X_IOPAD(0x0010, PIN_INPUT, 7) /* (G24) OSPI0_D1.GPIO0_4 */ /* SODIMM 58 */ 257f126890aSEmmanuel Vadot >; 258f126890aSEmmanuel Vadot }; 259f126890aSEmmanuel Vadot 260f126890aSEmmanuel Vadot /* Verdin QSPI_1_IO2 as GPIO (conflict with Verdin QSPI_1 interface) */ 261f126890aSEmmanuel Vadot pinctrl_qspi1_io2_gpio: main-gpio0-5-default-pins { 262f126890aSEmmanuel Vadot pinctrl-single,pins = < 263f126890aSEmmanuel Vadot AM62X_IOPAD(0x0014, PIN_INPUT, 7) /* (F25) OSPI0_D2.GPIO0_5 */ /* SODIMM 60 */ 264f126890aSEmmanuel Vadot >; 265f126890aSEmmanuel Vadot }; 266f126890aSEmmanuel Vadot 267f126890aSEmmanuel Vadot /* Verdin QSPI_1_IO3 as GPIO (conflict with Verdin QSPI_1 interface) */ 268f126890aSEmmanuel Vadot pinctrl_qspi1_io3_gpio: main-gpio0-6-default-pins { 269f126890aSEmmanuel Vadot pinctrl-single,pins = < 270f126890aSEmmanuel Vadot AM62X_IOPAD(0x0018, PIN_INPUT, 7) /* (F24) OSPI0_D3.GPIO0_6 */ /* SODIMM 62 */ 271f126890aSEmmanuel Vadot >; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot 2748d13bc63SEmmanuel Vadot /* Verdin SPI_1 CS as GPIO */ 2758d13bc63SEmmanuel Vadot pinctrl_qspi1_io4_gpio: main-gpio0-7-default-pins { 2768d13bc63SEmmanuel Vadot pinctrl-single,pins = < 2778d13bc63SEmmanuel Vadot AM62X_IOPAD(0x001c, PIN_INPUT, 7) /* (J23) OSPI0_D4.GPIO0_7 */ /* SODIMM 202 */ 2788d13bc63SEmmanuel Vadot >; 2798d13bc63SEmmanuel Vadot }; 2808d13bc63SEmmanuel Vadot 281f126890aSEmmanuel Vadot /* Verdin QSPI_1_CS# as GPIO (conflict with Verdin QSPI_1 interface) */ 282f126890aSEmmanuel Vadot pinctrl_qspi1_cs_gpio: main-gpio0-11-default-pins { 283f126890aSEmmanuel Vadot pinctrl-single,pins = < 284f126890aSEmmanuel Vadot AM62X_IOPAD(0x002c, PIN_INPUT, 7) /* (F23) OSPI0_CSn0.GPIO0_11 */ /* SODIMM 54 */ 285f126890aSEmmanuel Vadot >; 286f126890aSEmmanuel Vadot }; 287f126890aSEmmanuel Vadot 288f126890aSEmmanuel Vadot /* Verdin QSPI_1_CS2# as GPIO (conflict with Verdin QSPI_1 interface) */ 289f126890aSEmmanuel Vadot pinctrl_qspi1_cs2_gpio: main-gpio0-12-default-pins { 290f126890aSEmmanuel Vadot pinctrl-single,pins = < 291f126890aSEmmanuel Vadot AM62X_IOPAD(0x0030, PIN_INPUT, 7) /* (G21) OSPI0_CSn1.GPIO0_12 */ /* SODIMM 64 */ 292f126890aSEmmanuel Vadot >; 293f126890aSEmmanuel Vadot }; 294f126890aSEmmanuel Vadot 295f126890aSEmmanuel Vadot /* WiFi_W_WKUP_HOST# */ 296f126890aSEmmanuel Vadot pinctrl_wifi_w_wkup_host: main-gpio0-15-default-pins { 297f126890aSEmmanuel Vadot pinctrl-single,pins = < 298f126890aSEmmanuel Vadot AM62X_IOPAD(0x003c, PIN_INPUT, 7) /* (M25) GPMC0_AD0.GPIO0_15 */ /* SODIMM 174 */ 299f126890aSEmmanuel Vadot >; 300f126890aSEmmanuel Vadot }; 301f126890aSEmmanuel Vadot 302f126890aSEmmanuel Vadot /* WiFi_BT_WKUP_HOST# */ 303f126890aSEmmanuel Vadot pinctrl_bt_wkup_host: main-gpio0-16-default-pins { 304f126890aSEmmanuel Vadot pinctrl-single,pins = < 305f126890aSEmmanuel Vadot AM62X_IOPAD(0x0040, PIN_INPUT, 7) /* (N23) GPMC0_AD1.GPIO0_16 */ /* SODIMM 172 */ 306f126890aSEmmanuel Vadot >; 307f126890aSEmmanuel Vadot }; 308f126890aSEmmanuel Vadot 309f126890aSEmmanuel Vadot /* PMIC_ETH_RESET# */ 310f126890aSEmmanuel Vadot pinctrl_eth_reset: main-gpio0-17-default-pins { 311f126890aSEmmanuel Vadot pinctrl-single,pins = < 312f126890aSEmmanuel Vadot AM62X_IOPAD(0x0044, PIN_INPUT, 7) /* (N24) GPMC0_AD2.GPIO0_17 */ 313f126890aSEmmanuel Vadot >; 314f126890aSEmmanuel Vadot }; 315f126890aSEmmanuel Vadot 316f126890aSEmmanuel Vadot /* PMIC_BRIDGE_RESET# */ 317f126890aSEmmanuel Vadot pinctrl_bridge_reset: main-gpio0-20-default-pins { 318f126890aSEmmanuel Vadot pinctrl-single,pins = < 319f126890aSEmmanuel Vadot AM62X_IOPAD(0x0050, PIN_INPUT, 7) /* (P22) GPMC0_AD5.GPIO0_20 */ 320f126890aSEmmanuel Vadot >; 321f126890aSEmmanuel Vadot }; 322f126890aSEmmanuel Vadot 323f126890aSEmmanuel Vadot /* PMIC_VSEL_SD */ 324f126890aSEmmanuel Vadot pinctrl_vsel_sd: main-gpio0-21-default-pins { 325f126890aSEmmanuel Vadot pinctrl-single,pins = < 326f126890aSEmmanuel Vadot AM62X_IOPAD(0x0054, PIN_INPUT, 7) /* (P21) GPMC0_AD6.GPIO0_21 */ 327f126890aSEmmanuel Vadot >; 328f126890aSEmmanuel Vadot }; 329f126890aSEmmanuel Vadot 330f126890aSEmmanuel Vadot /* PMIC_EN_WIFI */ 331f126890aSEmmanuel Vadot pinctrl_wifi_en: main-gpio0-22-default-pins { 332f126890aSEmmanuel Vadot pinctrl-single,pins = < 333f126890aSEmmanuel Vadot AM62X_IOPAD(0x0058, PIN_INPUT, 7) /* (R23) GPMC0_AD7.GPIO0_22 */ 334f126890aSEmmanuel Vadot >; 335f126890aSEmmanuel Vadot }; 336f126890aSEmmanuel Vadot 337f126890aSEmmanuel Vadot /* PMIC_ETH_INT# */ 338f126890aSEmmanuel Vadot pinctrl_eth_int: main-gpio0-25-default-pins { 339f126890aSEmmanuel Vadot pinctrl-single,pins = < 340f126890aSEmmanuel Vadot AM62X_IOPAD(0x0064, PIN_INPUT_PULLUP, 7) /* (T25) GPMC0_AD10.GPIO0_25 */ 341f126890aSEmmanuel Vadot >; 342f126890aSEmmanuel Vadot }; 343f126890aSEmmanuel Vadot 344f126890aSEmmanuel Vadot /* WiFi_WKUP_BT# */ 345f126890aSEmmanuel Vadot pinctrl_wifi_wkup_bt: main-gpio0-26-default-pins { 346f126890aSEmmanuel Vadot pinctrl-single,pins = < 347f126890aSEmmanuel Vadot AM62X_IOPAD(0x0068, PIN_INPUT, 7) /* (R21) GPMC0_AD11.GPIO0_26 */ 348f126890aSEmmanuel Vadot >; 349f126890aSEmmanuel Vadot }; 350f126890aSEmmanuel Vadot 351f126890aSEmmanuel Vadot /* WiFi_WKUP_WLAN# */ 352f126890aSEmmanuel Vadot pinctrl_wifi_wkup_wlan: main-gpio0-27-default-pins { 353f126890aSEmmanuel Vadot pinctrl-single,pins = < 354f126890aSEmmanuel Vadot AM62X_IOPAD(0x006c, PIN_INPUT, 7) /* (T22) GPMC0_AD12.GPIO0_27 */ 355f126890aSEmmanuel Vadot >; 356f126890aSEmmanuel Vadot }; 357f126890aSEmmanuel Vadot 358f126890aSEmmanuel Vadot /* Verdin SD_1_PWR_EN */ 359f126890aSEmmanuel Vadot pinctrl_sd1_pwr_en: main-gpio0-29-default-pins { 360f126890aSEmmanuel Vadot pinctrl-single,pins = < 361f126890aSEmmanuel Vadot AM62X_IOPAD(0x0074, PIN_INPUT, 7) /* (U25) GPMC0_AD14.GPIO0_29 */ /* SODIMM 76 */ 362f126890aSEmmanuel Vadot >; 363f126890aSEmmanuel Vadot }; 364f126890aSEmmanuel Vadot 365f126890aSEmmanuel Vadot /* Verdin DSI_1_BKL_EN */ 366f126890aSEmmanuel Vadot pinctrl_dsi1_bkl_en: main-gpio0-30-default-pins { 367f126890aSEmmanuel Vadot pinctrl-single,pins = < 368f126890aSEmmanuel Vadot AM62X_IOPAD(0x0078, PIN_INPUT, 7) /* (U24) GPMC0_AD15.GPIO0_30 */ /* SODIMM 21 */ 369f126890aSEmmanuel Vadot >; 370f126890aSEmmanuel Vadot }; 371f126890aSEmmanuel Vadot 372f126890aSEmmanuel Vadot /* Verdin CTRL_SLEEP_MOCI# */ 373f126890aSEmmanuel Vadot pinctrl_ctrl_sleep_moci: main-gpio0-31-default-pins { 374f126890aSEmmanuel Vadot pinctrl-single,pins = < 375f126890aSEmmanuel Vadot AM62X_IOPAD(0x007c, PIN_INPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */ /* SODIMM 256 */ 376f126890aSEmmanuel Vadot >; 377f126890aSEmmanuel Vadot }; 378f126890aSEmmanuel Vadot 379f126890aSEmmanuel Vadot /* Verdin CTRL_WAKE1_MICO# */ 380f126890aSEmmanuel Vadot pinctrl_ctrl_wake1_mico: main-gpio0-32-default-pins { 381f126890aSEmmanuel Vadot pinctrl-single,pins = < 382f126890aSEmmanuel Vadot AM62X_IOPAD(0x0084, PIN_INPUT_PULLUP, 7) /* (L23) GPMC0_ADVn_ALE.GPIO0_32 */ /* SODIMM 252 */ 383f126890aSEmmanuel Vadot >; 384f126890aSEmmanuel Vadot }; 385f126890aSEmmanuel Vadot 386f126890aSEmmanuel Vadot /* Verdin I2S_2_D_OUT as GPIO (conflict with Verdin I2S_2 interface) */ 387f126890aSEmmanuel Vadot pinctrl_i2s_2_d_out_gpio: main-gpio0-34-default-pins { 388f126890aSEmmanuel Vadot pinctrl-single,pins = < 389f126890aSEmmanuel Vadot AM62X_IOPAD(0x008c, PIN_INPUT, 7) /* (L25) GPMC0_WEn.GPIO0_34 */ /* SODIMM 46 */ 390f126890aSEmmanuel Vadot >; 391f126890aSEmmanuel Vadot }; 392f126890aSEmmanuel Vadot 393f126890aSEmmanuel Vadot /* Verdin I2S_2_BCLK as GPIO (conflict with Verdin I2S_2 interface) */ 394f126890aSEmmanuel Vadot pinctrl_i2s_2_bclk_gpio: main-gpio0-35-default-pins { 395f126890aSEmmanuel Vadot pinctrl-single,pins = < 396f126890aSEmmanuel Vadot AM62X_IOPAD(0x0090, PIN_INPUT, 7) /* (M24) GPMC0_BE0n_CLE.GPIO0_35 */ /* SODIMM 42 */ 397f126890aSEmmanuel Vadot >; 398f126890aSEmmanuel Vadot }; 399f126890aSEmmanuel Vadot 400f126890aSEmmanuel Vadot /* Verdin GPIO_6 */ 401f126890aSEmmanuel Vadot pinctrl_gpio_6: main-gpio0-36-default-pins { 402f126890aSEmmanuel Vadot pinctrl-single,pins = < 403f126890aSEmmanuel Vadot AM62X_IOPAD(0x0094, PIN_INPUT, 7) /* (N20) GPMC0_BE1n.GPIO0_36 */ /* SODIMM 218 */ 404f126890aSEmmanuel Vadot >; 405f126890aSEmmanuel Vadot }; 406f126890aSEmmanuel Vadot 407f126890aSEmmanuel Vadot /* Verdin ETH_2_RGMII_INT# */ 408f126890aSEmmanuel Vadot pinctrl_eth2_rgmii_int: main-gpio0-38-default-pins { 409f126890aSEmmanuel Vadot pinctrl-single,pins = < 410f126890aSEmmanuel Vadot AM62X_IOPAD(0x009c, PIN_INPUT, 7) /* (V25) GPMC0_WAIT1.GPIO0_38 */ /* SODIMM 189 */ 411f126890aSEmmanuel Vadot >; 412f126890aSEmmanuel Vadot }; 413f126890aSEmmanuel Vadot 414f126890aSEmmanuel Vadot /* Verdin GPIO_5 */ 415f126890aSEmmanuel Vadot pinctrl_gpio_5: main-gpio0-40-default-pins { 416f126890aSEmmanuel Vadot pinctrl-single,pins = < 417f126890aSEmmanuel Vadot AM62X_IOPAD(0x00a4, PIN_INPUT, 7) /* (M22) GPMC0_DIR.GPIO0_40 */ /* SODIMM 216 */ 418f126890aSEmmanuel Vadot >; 419f126890aSEmmanuel Vadot }; 420f126890aSEmmanuel Vadot 421f126890aSEmmanuel Vadot /* Verdin GPIO_7 */ 422f126890aSEmmanuel Vadot pinctrl_gpio_7: main-gpio0-41-default-pins { 423f126890aSEmmanuel Vadot pinctrl-single,pins = < 424f126890aSEmmanuel Vadot AM62X_IOPAD(0x00a8, PIN_INPUT, 7) /* (M21) GPMC0_CSn0.GPIO0_41 */ /* SODIMM 220 */ 425f126890aSEmmanuel Vadot >; 426f126890aSEmmanuel Vadot }; 427f126890aSEmmanuel Vadot 428f126890aSEmmanuel Vadot /* Verdin GPIO_8 */ 429f126890aSEmmanuel Vadot pinctrl_gpio_8: main-gpio0-42-default-pins { 430f126890aSEmmanuel Vadot pinctrl-single,pins = < 431f126890aSEmmanuel Vadot AM62X_IOPAD(0x00ac, PIN_INPUT, 7) /* (L21) GPMC0_CSn1.GPIO0_42 */ /* SODIMM 222 */ 432f126890aSEmmanuel Vadot >; 433f126890aSEmmanuel Vadot }; 434f126890aSEmmanuel Vadot 435f126890aSEmmanuel Vadot /* Verdin USB_1_OC# */ 436f126890aSEmmanuel Vadot pinctrl_usb1_oc: main-gpio0-71-default-pins { 437f126890aSEmmanuel Vadot pinctrl-single,pins = < 438f126890aSEmmanuel Vadot AM62X_IOPAD(0x0124, PIN_INPUT, 7) /* (A23) MMC2_SDCD.GPIO0_71 */ /* SODIMM 157 */ 439f126890aSEmmanuel Vadot >; 440f126890aSEmmanuel Vadot }; 441f126890aSEmmanuel Vadot 442f126890aSEmmanuel Vadot /* Verdin USB_2_OC# */ 443f126890aSEmmanuel Vadot pinctrl_usb2_oc: main-gpio0-72-default-pins { 444f126890aSEmmanuel Vadot pinctrl-single,pins = < 445f126890aSEmmanuel Vadot AM62X_IOPAD(0x0128, PIN_INPUT, 7) /* (B23) MMC2_SDWP.GPIO0_72 */ /* SODIMM 187 */ 446f126890aSEmmanuel Vadot >; 447f126890aSEmmanuel Vadot }; 448f126890aSEmmanuel Vadot 449f126890aSEmmanuel Vadot /* Verdin PWM_3_DSI as GPIO */ 450f126890aSEmmanuel Vadot pinctrl_pwm3_dsi_gpio: main-gpio1-17-default-pins { 451f126890aSEmmanuel Vadot pinctrl-single,pins = < 452f126890aSEmmanuel Vadot AM62X_IOPAD(0x01bc, PIN_INPUT, 7) /* (A14) SPI0_CLK.GPIO1_17 */ /* SODIMM 19 */ 453f126890aSEmmanuel Vadot >; 454f126890aSEmmanuel Vadot }; 455f126890aSEmmanuel Vadot 456f126890aSEmmanuel Vadot /* Verdin QSPI_1_DQS as GPIO */ 457f126890aSEmmanuel Vadot pinctrl_qspi1_dqs_gpio: main-gpio1-18-default-pins { 458f126890aSEmmanuel Vadot pinctrl-single,pins = < 459f126890aSEmmanuel Vadot AM62X_IOPAD(0x01c0, PIN_INPUT, 7) /* (B13) SPI0_D0.GPIO1_18 */ /* SODIMM 66 */ 460f126890aSEmmanuel Vadot >; 461f126890aSEmmanuel Vadot }; 462f126890aSEmmanuel Vadot 463f126890aSEmmanuel Vadot /* Verdin USB_1_ID */ 464f126890aSEmmanuel Vadot pinctrl_usb0_id: main-gpio1-19-default-pins { 465f126890aSEmmanuel Vadot pinctrl-single,pins = < 466f126890aSEmmanuel Vadot AM62X_IOPAD(0x01c4, PIN_INPUT, 7) /* (B14) SPI0_D1.GPIO1_19 */ /* SODIMM 161 */ 467f126890aSEmmanuel Vadot >; 468f126890aSEmmanuel Vadot }; 469f126890aSEmmanuel Vadot 470*7d0873ebSEmmanuel Vadot /* Verdin SD_1_CD# as GPIO */ 471*7d0873ebSEmmanuel Vadot pinctrl_sd1_cd_gpio: main-gpio1-48-default-pins { 472*7d0873ebSEmmanuel Vadot pinctrl-single,pins = < 473*7d0873ebSEmmanuel Vadot AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 7) /* (D17) MMC1_SDCD.GPIO1_48 */ /* SODIMM 84 */ 474*7d0873ebSEmmanuel Vadot >; 475*7d0873ebSEmmanuel Vadot }; 476*7d0873ebSEmmanuel Vadot 477f126890aSEmmanuel Vadot /* Verdin DSI_1_INT# (pulled-up as active-low) */ 478f126890aSEmmanuel Vadot pinctrl_dsi1_int: main-gpio1-49-default-pins { 479f126890aSEmmanuel Vadot pinctrl-single,pins = < 480f126890aSEmmanuel Vadot AM62X_IOPAD(0x0244, PIN_INPUT_PULLUP, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ /* SODIMM 17 */ 481f126890aSEmmanuel Vadot >; 482f126890aSEmmanuel Vadot }; 483f126890aSEmmanuel Vadot 48401950c46SEmmanuel Vadot /* Verdin USB_1_EN */ 48501950c46SEmmanuel Vadot pinctrl_usb0_en: main-gpio1-50-default-pins { 48601950c46SEmmanuel Vadot pinctrl-single,pins = < 48701950c46SEmmanuel Vadot AM62X_IOPAD(0x0254, PIN_INPUT, 7) /* (C20) USB0_DRVVBUS.GPIO1_50 */ /* SODIMM 155 */ 48801950c46SEmmanuel Vadot >; 48901950c46SEmmanuel Vadot }; 49001950c46SEmmanuel Vadot 491f126890aSEmmanuel Vadot /* On-module I2C - PMIC_I2C */ 492f126890aSEmmanuel Vadot pinctrl_i2c0: main-i2c0-default-pins { 493f126890aSEmmanuel Vadot pinctrl-single,pins = < 494f126890aSEmmanuel Vadot AM62X_IOPAD(0x01e0, PIN_INPUT, 0) /* (B16) I2C0_SCL */ /* PMIC_I2C_SCL */ 495f126890aSEmmanuel Vadot AM62X_IOPAD(0x01e4, PIN_INPUT, 0) /* (A16) I2C0_SDA */ /* PMIC_I2C_SDA */ 496f126890aSEmmanuel Vadot >; 497f126890aSEmmanuel Vadot }; 498f126890aSEmmanuel Vadot 499f126890aSEmmanuel Vadot /* Verdin I2C_1 */ 500f126890aSEmmanuel Vadot pinctrl_i2c1: main-i2c1-default-pins { 501f126890aSEmmanuel Vadot pinctrl-single,pins = < 502f126890aSEmmanuel Vadot AM62X_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ /* SODIMM 14 */ 503f126890aSEmmanuel Vadot AM62X_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ /* SODIMM 12 */ 504f126890aSEmmanuel Vadot >; 505f126890aSEmmanuel Vadot }; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot /* Verdin I2C_2_DSI */ 508f126890aSEmmanuel Vadot pinctrl_i2c2: main-i2c2-default-pins { 509f126890aSEmmanuel Vadot pinctrl-single,pins = < 510f126890aSEmmanuel Vadot AM62X_IOPAD(0x00b0, PIN_INPUT, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ /* SODIMM 55 */ 511f126890aSEmmanuel Vadot AM62X_IOPAD(0x00b4, PIN_INPUT, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ /* SODIMM 53 */ 512f126890aSEmmanuel Vadot >; 513f126890aSEmmanuel Vadot }; 514f126890aSEmmanuel Vadot 515f126890aSEmmanuel Vadot /* Verdin I2C_4_CSI */ 516f126890aSEmmanuel Vadot pinctrl_i2c3: main-i2c3-default-pins { 517f126890aSEmmanuel Vadot pinctrl-single,pins = < 518f126890aSEmmanuel Vadot AM62X_IOPAD(0x01d0, PIN_INPUT, 2) /* (A15) UART0_CTSn.I2C3_SCL */ /* SODIMM 95 */ 519f126890aSEmmanuel Vadot AM62X_IOPAD(0x01d4, PIN_INPUT, 2) /* (B15) UART0_RTSn.I2C3_SDA */ /* SODIMM 93 */ 520f126890aSEmmanuel Vadot >; 521f126890aSEmmanuel Vadot }; 522f126890aSEmmanuel Vadot 523f126890aSEmmanuel Vadot /* I2S_1_MCLK */ 524f126890aSEmmanuel Vadot pinctrl_i2s1_mclk: main-system-audio-ext-reflock1-default-pins { 525f126890aSEmmanuel Vadot pinctrl-single,pins = < 526f126890aSEmmanuel Vadot AM62X_IOPAD(0x00a0, PIN_OUTPUT, 1) /* (K25) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ /* SODIMM 38 */ 527f126890aSEmmanuel Vadot >; 528f126890aSEmmanuel Vadot }; 529f126890aSEmmanuel Vadot 530f126890aSEmmanuel Vadot /* Verdin I2S_1 */ 531f126890aSEmmanuel Vadot pinctrl_mcasp0: main-mcasp0-default-pins { 532f126890aSEmmanuel Vadot pinctrl-single,pins = < 533f126890aSEmmanuel Vadot AM62X_IOPAD(0x01a4, PIN_INPUT, 0) /* (B20) MCASP0_ACLKX */ /* SODIMM 30 */ 534f126890aSEmmanuel Vadot AM62X_IOPAD(0x01a8, PIN_INPUT, 0) /* (D20) MCASP0_AFSX */ /* SODIMM 32 */ 535f126890aSEmmanuel Vadot AM62X_IOPAD(0x01a0, PIN_OUTPUT, 0) /* (E18) MCASP0_AXR0 */ /* SODIMM 34 */ 536f126890aSEmmanuel Vadot AM62X_IOPAD(0x019c, PIN_INPUT, 0) /* (B18) MCASP0_AXR1 */ /* SODIMM 36 */ 537f126890aSEmmanuel Vadot >; 538f126890aSEmmanuel Vadot }; 539f126890aSEmmanuel Vadot 540f126890aSEmmanuel Vadot /* Verdin I2S_2 */ 541f126890aSEmmanuel Vadot pinctrl_mcasp1: main-mcasp1-default-pins { 542f126890aSEmmanuel Vadot pinctrl-single,pins = < 543f126890aSEmmanuel Vadot AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0n_CLE.MCASP1_ACLKX */ /* SODIMM 42 */ 544f126890aSEmmanuel Vadot AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ /* SODIMM 44 */ 545f126890aSEmmanuel Vadot AM62X_IOPAD(0x008c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEn.MCASP1_AXR0 */ /* SODIMM 46 */ 546f126890aSEmmanuel Vadot AM62X_IOPAD(0x0088, PIN_INPUT, 2) /* (L24) GPMC0_OEn_REn.MCASP1_AXR1 */ /* SODIMM 48 */ 547f126890aSEmmanuel Vadot >; 548f126890aSEmmanuel Vadot }; 549f126890aSEmmanuel Vadot 550f126890aSEmmanuel Vadot /* Verdin CAN_1 */ 551f126890aSEmmanuel Vadot pinctrl_mcan0: main-mcan0-default-pins { 552f126890aSEmmanuel Vadot pinctrl-single,pins = < 553f126890aSEmmanuel Vadot AM62X_IOPAD(0x01dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ /* SODIMM 22 */ 554f126890aSEmmanuel Vadot AM62X_IOPAD(0x01d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ /* SODIMM 20 */ 555f126890aSEmmanuel Vadot >; 556f126890aSEmmanuel Vadot }; 557f126890aSEmmanuel Vadot 558f126890aSEmmanuel Vadot /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 559f126890aSEmmanuel Vadot pinctrl_mdio: main-mdio1-default-pins { 560f126890aSEmmanuel Vadot pinctrl-single,pins = < 561f126890aSEmmanuel Vadot AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */ /* ETH_1_MDC, SODIMM 193 */ 562f126890aSEmmanuel Vadot AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ /* ETH_1_MDIO, SODIMM 191 */ 563f126890aSEmmanuel Vadot >; 564f126890aSEmmanuel Vadot }; 565f126890aSEmmanuel Vadot 566f126890aSEmmanuel Vadot /* On-module eMMC */ 567f126890aSEmmanuel Vadot pinctrl_sdhci0: main-mmc0-default-pins { 568f126890aSEmmanuel Vadot pinctrl-single,pins = < 569f126890aSEmmanuel Vadot AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ 570f126890aSEmmanuel Vadot AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ 571f126890aSEmmanuel Vadot AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ 572f126890aSEmmanuel Vadot AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1) MMC0_DAT1 */ 573f126890aSEmmanuel Vadot AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3) MMC0_DAT2 */ 574f126890aSEmmanuel Vadot AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4) MMC0_DAT3 */ 575f126890aSEmmanuel Vadot AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2) MMC0_DAT4 */ 576f126890aSEmmanuel Vadot AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1) MMC0_DAT5 */ 577f126890aSEmmanuel Vadot AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2) MMC0_DAT6 */ 578f126890aSEmmanuel Vadot AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2) MMC0_DAT7 */ 579f126890aSEmmanuel Vadot >; 580f126890aSEmmanuel Vadot }; 581f126890aSEmmanuel Vadot 582f126890aSEmmanuel Vadot /* Verdin SD_1 */ 583f126890aSEmmanuel Vadot pinctrl_sdhci1: main-mmc1-default-pins { 584f126890aSEmmanuel Vadot pinctrl-single,pins = < 585f126890aSEmmanuel Vadot AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ /* SODIMM 74 */ 586f126890aSEmmanuel Vadot AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ /* SODIMM 78 */ 587f126890aSEmmanuel Vadot AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ /* SODIMM 80 */ 588f126890aSEmmanuel Vadot AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ /* SODIMM 82 */ 589f126890aSEmmanuel Vadot AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ /* SODIMM 70 */ 590f126890aSEmmanuel Vadot AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ /* SODIMM 72 */ 591f126890aSEmmanuel Vadot >; 592f126890aSEmmanuel Vadot }; 593f126890aSEmmanuel Vadot 594f126890aSEmmanuel Vadot /* On-module Wi-Fi on WB SKUs, module-specific SDIO otherwise */ 595f126890aSEmmanuel Vadot pinctrl_sdhci2: main-mmc2-default-pins { 596f126890aSEmmanuel Vadot pinctrl-single,pins = < 597f126890aSEmmanuel Vadot AM62X_IOPAD(0x120, PIN_INPUT, 0) /* (C24) MMC2_CMD */ /* WiFi_SDIO_CMD */ 598f126890aSEmmanuel Vadot AM62X_IOPAD(0x118, PIN_INPUT, 0) /* (D25) MMC2_CLK */ /* WiFi_SDIO_CLK */ 599f126890aSEmmanuel Vadot AM62X_IOPAD(0x114, PIN_INPUT, 0) /* (B24) MMC2_DAT0 */ /* WiFi_SDIO_DATA0 */ 600f126890aSEmmanuel Vadot AM62X_IOPAD(0x110, PIN_INPUT, 0) /* (C25) MMC2_DAT1 */ /* WiFi_SDIO_DATA1 */ 601f126890aSEmmanuel Vadot AM62X_IOPAD(0x10c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */ /* WiFi_SDIO_DATA2 */ 602f126890aSEmmanuel Vadot AM62X_IOPAD(0x108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */ /* WiFi_SDIO_DATA3 */ 603f126890aSEmmanuel Vadot AM62X_IOPAD(0x11c, PIN_INPUT, 0) /* (#N/A) MMC2_CLKB */ 604f126890aSEmmanuel Vadot >; 605f126890aSEmmanuel Vadot }; 606f126890aSEmmanuel Vadot 607f126890aSEmmanuel Vadot /* Verdin QSPI_1 */ 608f126890aSEmmanuel Vadot pinctrl_ospi0: main-ospi0-default-pins { 609f126890aSEmmanuel Vadot pinctrl-single,pins = < 610f126890aSEmmanuel Vadot AM62X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */ /* SODIMM 52 */ 611f126890aSEmmanuel Vadot AM62X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */ /* SODIMM 54 */ 612f126890aSEmmanuel Vadot AM62X_IOPAD(0x0030, PIN_OUTPUT, 0) /* (G21) OSPI0_CSn1 */ /* SODIMM 64 */ 613f126890aSEmmanuel Vadot AM62X_IOPAD(0x000c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */ /* SODIMM 56 */ 614f126890aSEmmanuel Vadot AM62X_IOPAD(0x0010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */ /* SODIMM 58 */ 615f126890aSEmmanuel Vadot AM62X_IOPAD(0x0014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */ /* SODIMM 60 */ 616f126890aSEmmanuel Vadot AM62X_IOPAD(0x0018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */ /* SODIMM 62 */ 617f126890aSEmmanuel Vadot >; 618f126890aSEmmanuel Vadot }; 619f126890aSEmmanuel Vadot 620f126890aSEmmanuel Vadot /* Verdin ETH_1 RGMII (On-module PHY) */ 621f126890aSEmmanuel Vadot pinctrl_rgmii1: main-rgmii1-default-pins { 622f126890aSEmmanuel Vadot pinctrl-single,pins = < 623f126890aSEmmanuel Vadot AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17) RGMII1_RD0 */ 624f126890aSEmmanuel Vadot AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17) RGMII1_RD1 */ 625f126890aSEmmanuel Vadot AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16) RGMII1_RD2 */ 626f126890aSEmmanuel Vadot AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15) RGMII1_RD3 */ 627f126890aSEmmanuel Vadot AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17) RGMII1_RXC */ 628f126890aSEmmanuel Vadot AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17) RGMII1_RX_CTL */ 629f126890aSEmmanuel Vadot AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20) RGMII1_TD0 */ 630f126890aSEmmanuel Vadot AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20) RGMII1_TD1 */ 631f126890aSEmmanuel Vadot AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18) RGMII1_TD2 */ 632f126890aSEmmanuel Vadot AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18) RGMII1_TD3 */ 633f126890aSEmmanuel Vadot AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19) RGMII1_TXC */ 634f126890aSEmmanuel Vadot AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19) RGMII1_TX_CTL */ 635f126890aSEmmanuel Vadot >; 636f126890aSEmmanuel Vadot }; 637f126890aSEmmanuel Vadot 638f126890aSEmmanuel Vadot /* Verdin ETH_2 RGMII */ 639f126890aSEmmanuel Vadot pinctrl_rgmii2: main-rgmii2-default-pins { 640f126890aSEmmanuel Vadot pinctrl-single,pins = < 641f126890aSEmmanuel Vadot AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ /* SODIMM 201 */ 642f126890aSEmmanuel Vadot AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ /* SODIMM 203 */ 643f126890aSEmmanuel Vadot AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ /* SODIMM 205 */ 644f126890aSEmmanuel Vadot AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ /* SODIMM 207 */ 645f126890aSEmmanuel Vadot AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ /* SODIMM 197 */ 646f126890aSEmmanuel Vadot AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ /* SODIMM 199 */ 647f126890aSEmmanuel Vadot AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ /* SODIMM 221 */ 648f126890aSEmmanuel Vadot AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ /* SODIMM 219 */ 649f126890aSEmmanuel Vadot AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ /* SODIMM 217 */ 650f126890aSEmmanuel Vadot AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ /* SODIMM 215 */ 651f126890aSEmmanuel Vadot AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ /* SODIMM 213 */ 652f126890aSEmmanuel Vadot AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ /* SODIMM 211 */ 653f126890aSEmmanuel Vadot >; 654f126890aSEmmanuel Vadot }; 655f126890aSEmmanuel Vadot 656f126890aSEmmanuel Vadot /* Verdin SPI_1 */ 657f126890aSEmmanuel Vadot pinctrl_spi1: main-spi1-default-pins { 658f126890aSEmmanuel Vadot pinctrl-single,pins = < 659f126890aSEmmanuel Vadot AM62X_IOPAD(0x0020, PIN_INPUT, 1) /* (J25) OSPI0_D5.SPI1_CLK */ /* SODIMM 196 */ 660f126890aSEmmanuel Vadot AM62X_IOPAD(0x0024, PIN_INPUT, 1) /* (H25) OSPI0_D6.SPI1_D0 */ /* SODIMM 200 */ 661f126890aSEmmanuel Vadot AM62X_IOPAD(0x0028, PIN_INPUT, 1) /* (J22) OSPI0_D7.SPI1_D1 */ /* SODIMM 198 */ 662f126890aSEmmanuel Vadot >; 663f126890aSEmmanuel Vadot }; 664f126890aSEmmanuel Vadot 6658d13bc63SEmmanuel Vadot /* Verdin SPI_1 CS */ 6668d13bc63SEmmanuel Vadot pinctrl_spi1_cs0: main-spi1-cs0-default-pins { 6678d13bc63SEmmanuel Vadot pinctrl-single,pins = < 6688d13bc63SEmmanuel Vadot AM62X_IOPAD(0x001c, PIN_INPUT, 1) /* (J23) OSPI0_D4.SPI1_CS0 */ /* SODIMM 202 */ 6698d13bc63SEmmanuel Vadot >; 6708d13bc63SEmmanuel Vadot }; 6718d13bc63SEmmanuel Vadot 672f126890aSEmmanuel Vadot /* ETH_25MHz_CLK */ 673f126890aSEmmanuel Vadot pinctrl_eth_clock: main-system-clkout0-default-pins { 674f126890aSEmmanuel Vadot pinctrl-single,pins = < 675f126890aSEmmanuel Vadot AM62X_IOPAD(0x01f0, PIN_OUTPUT_PULLUP, 5) /* (A18) EXT_REFCLK1.CLKOUT0 */ 676f126890aSEmmanuel Vadot >; 677f126890aSEmmanuel Vadot }; 678f126890aSEmmanuel Vadot 679f126890aSEmmanuel Vadot /* PMIC_EXTINT# */ 680f126890aSEmmanuel Vadot pinctrl_pmic_extint: main-system-extint-default-pins { 681f126890aSEmmanuel Vadot pinctrl-single,pins = < 682f126890aSEmmanuel Vadot AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (D16) EXTINTn */ 683f126890aSEmmanuel Vadot >; 684f126890aSEmmanuel Vadot }; 685f126890aSEmmanuel Vadot 686f126890aSEmmanuel Vadot /* Verdin UART_3, used as the Linux console */ 687f126890aSEmmanuel Vadot pinctrl_uart0: main-uart0-default-pins { 688f126890aSEmmanuel Vadot pinctrl-single,pins = < 689f126890aSEmmanuel Vadot AM62X_IOPAD(0x1c8, PIN_INPUT_PULLUP, 0) /* (D14) UART0_RXD */ /* SODIMM 147 */ 690f126890aSEmmanuel Vadot AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ /* SODIMM 149 */ 691f126890aSEmmanuel Vadot >; 692f126890aSEmmanuel Vadot }; 693f126890aSEmmanuel Vadot 694f126890aSEmmanuel Vadot /* Verdin UART_1 */ 695f126890aSEmmanuel Vadot pinctrl_uart1: main-uart1-default-pins { 696f126890aSEmmanuel Vadot pinctrl-single,pins = < 697f126890aSEmmanuel Vadot AM62X_IOPAD(0x0194, PIN_INPUT_PULLUP, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ /* SODIMM 135 */ 698f126890aSEmmanuel Vadot AM62X_IOPAD(0x0198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ /* SODIMM 133 */ 699f126890aSEmmanuel Vadot AM62X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ /* SODIMM 129 */ 700f126890aSEmmanuel Vadot AM62X_IOPAD(0x01b0, PIN_OUTPUT, 2) /* (A20) MCASP0_ACLKR.UART1_TXD */ /* SODIMM 131 */ 701f126890aSEmmanuel Vadot >; 702f126890aSEmmanuel Vadot }; 703f126890aSEmmanuel Vadot 704f126890aSEmmanuel Vadot /* Bluetooth on WB SKUs, module-specific UART otherwise */ 705f126890aSEmmanuel Vadot pinctrl_uart5: main-uart5-default-pins { 706f126890aSEmmanuel Vadot pinctrl-single,pins = < 707f126890aSEmmanuel Vadot AM62X_IOPAD(0x0008, PIN_INPUT_PULLUP, 5) /* (J24) OSPI0_DQS.UART5_CTSn */ /* WiFi_UART_CTS */ 708f126890aSEmmanuel Vadot AM62X_IOPAD(0x0004, PIN_OUTPUT, 5) /* (G25) OSPI0_LBCLKO.UART5_RTSn */ /* WiFi_UART_RTS */ 709f126890aSEmmanuel Vadot AM62X_IOPAD(0x0034, PIN_INPUT_PULLUP, 5) /* (H21) OSPI0_CSn2.UART5_RXD */ /* WiFi_UART_RXD */ 710f126890aSEmmanuel Vadot AM62X_IOPAD(0x0038, PIN_OUTPUT, 5) /* (E24) OSPI0_CSn3.UART5_TXD */ /* WiFi_UART_TXD */ 711f126890aSEmmanuel Vadot >; 712f126890aSEmmanuel Vadot }; 713f126890aSEmmanuel Vadot 714f126890aSEmmanuel Vadot /* Verdin USB_2 */ 715f126890aSEmmanuel Vadot pinctrl_usb1: main-usb1-default-pins { 716f126890aSEmmanuel Vadot pinctrl-single,pins = < 717f126890aSEmmanuel Vadot AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ /* SODIMM 185 */ 718f126890aSEmmanuel Vadot >; 719f126890aSEmmanuel Vadot }; 720f126890aSEmmanuel Vadot 721f126890aSEmmanuel Vadot /* DSS VOUT0 RGB */ 722f126890aSEmmanuel Vadot pinctrl_parallel_rgb: main-vout-default-pins { 723f126890aSEmmanuel Vadot pinctrl-single,pins = < 724f126890aSEmmanuel Vadot AM62X_IOPAD(0x0100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ 725f126890aSEmmanuel Vadot AM62X_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ 726f126890aSEmmanuel Vadot AM62X_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ 727f126890aSEmmanuel Vadot AM62X_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ 728f126890aSEmmanuel Vadot AM62X_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ 729f126890aSEmmanuel Vadot AM62X_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ 730f126890aSEmmanuel Vadot AM62X_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ 731f126890aSEmmanuel Vadot AM62X_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ 732f126890aSEmmanuel Vadot AM62X_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ 733f126890aSEmmanuel Vadot AM62X_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ 734f126890aSEmmanuel Vadot AM62X_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ 735f126890aSEmmanuel Vadot AM62X_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ 736f126890aSEmmanuel Vadot AM62X_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ 737f126890aSEmmanuel Vadot AM62X_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ 738f126890aSEmmanuel Vadot AM62X_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ 739f126890aSEmmanuel Vadot AM62X_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ 740f126890aSEmmanuel Vadot AM62X_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ 741f126890aSEmmanuel Vadot AM62X_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ 742f126890aSEmmanuel Vadot AM62X_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ 743f126890aSEmmanuel Vadot AM62X_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ 744f126890aSEmmanuel Vadot AM62X_IOPAD(0x005c, PIN_OUTPUT, 1) /* (R24) GPMC0_AD8.VOUT0_DATA16 */ 745f126890aSEmmanuel Vadot AM62X_IOPAD(0x0060, PIN_OUTPUT, 1) /* (R25) GPMC0_AD9.VOUT0_DATA17 */ 746f126890aSEmmanuel Vadot >; 747f126890aSEmmanuel Vadot }; 748f126890aSEmmanuel Vadot}; 749f126890aSEmmanuel Vadot 750f126890aSEmmanuel Vadot&mcu_pmx0 { 751f126890aSEmmanuel Vadot /* Verdin PCIE_1_RESET# */ 752f126890aSEmmanuel Vadot pinctrl_pcie_1_reset: mcu-gpio0-0-default-pins { 753f126890aSEmmanuel Vadot pinctrl-single,pins = < 754f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0000, PIN_INPUT, 7) /* (E8) MCU_SPI0_CS0.MCU_GPIO0_0 */ /* SODIMM 244 */ 755f126890aSEmmanuel Vadot >; 756f126890aSEmmanuel Vadot }; 757f126890aSEmmanuel Vadot 758f126890aSEmmanuel Vadot /* Verdin GPIO_1 */ 759f126890aSEmmanuel Vadot pinctrl_gpio_1: mcu-gpio0-1-default-pins { 760f126890aSEmmanuel Vadot pinctrl-single,pins = < 761f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0004, PIN_INPUT, 7) /* (B8) MCU_SPI0_CS1.MCU_GPIO0_1 */ /* SODIMM 206 */ 762f126890aSEmmanuel Vadot >; 763f126890aSEmmanuel Vadot }; 764f126890aSEmmanuel Vadot 765f126890aSEmmanuel Vadot /* Verdin GPIO_2 */ 766f126890aSEmmanuel Vadot pinctrl_gpio_2: mcu-gpio0-2-default-pins { 767f126890aSEmmanuel Vadot pinctrl-single,pins = < 768f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 7) /* (A7) MCU_SPI0_CLK.MCU_GPIO0_2 */ /* SODIMM 208 */ 769f126890aSEmmanuel Vadot >; 770f126890aSEmmanuel Vadot }; 771f126890aSEmmanuel Vadot 772f126890aSEmmanuel Vadot /* Verdin GPIO_3 */ 773f126890aSEmmanuel Vadot pinctrl_gpio_3: mcu-gpio0-3-default-pins { 774f126890aSEmmanuel Vadot pinctrl-single,pins = < 775f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x000c, PIN_INPUT, 7) /* (D9) MCU_SPI0_D0.MCU_GPIO0_3 */ /* SODIMM 210 */ 776f126890aSEmmanuel Vadot >; 777f126890aSEmmanuel Vadot }; 778f126890aSEmmanuel Vadot 779f126890aSEmmanuel Vadot /* Verdin GPIO_4 */ 780f126890aSEmmanuel Vadot pinctrl_gpio_4: mcu-gpio0-4-default-pins { 781f126890aSEmmanuel Vadot pinctrl-single,pins = < 782f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 7) /* (C9) MCU_SPI0_D1.MCU_GPIO0_4 */ /* SODIMM 212 */ 783f126890aSEmmanuel Vadot >; 784f126890aSEmmanuel Vadot }; 785f126890aSEmmanuel Vadot 786f126890aSEmmanuel Vadot /* Verdin I2C_3_HDMI */ 787f126890aSEmmanuel Vadot pinctrl_mcu_i2c0: mcu-i2c0-default-pins { 788f126890aSEmmanuel Vadot pinctrl-single,pins = < 789f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0044, PIN_INPUT, 0) /* (A8) MCU_I2C0_SCL */ /* SODIMM 59 */ 790f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0048, PIN_INPUT, 0) /* (D10) MCU_I2C0_SDA */ /* SODIMM 57 */ 791f126890aSEmmanuel Vadot >; 792f126890aSEmmanuel Vadot }; 793f126890aSEmmanuel Vadot 794aa1a8ff2SEmmanuel Vadot /* Verdin CAN_2 */ 795aa1a8ff2SEmmanuel Vadot pinctrl_mcu_mcan0: mcu-mcan0-default-pins { 796aa1a8ff2SEmmanuel Vadot pinctrl-single,pins = < 797aa1a8ff2SEmmanuel Vadot AM62X_MCU_IOPAD(0x0038, PIN_INPUT, 0) /* (B3) MCU_MCAN0_RX */ /* SODIMM 26 */ 798aa1a8ff2SEmmanuel Vadot AM62X_MCU_IOPAD(0x0034, PIN_OUTPUT, 0) /* (D6) MCU_MCAN0_TX */ /* SODIMM 24 */ 799aa1a8ff2SEmmanuel Vadot >; 800aa1a8ff2SEmmanuel Vadot }; 801aa1a8ff2SEmmanuel Vadot 802f126890aSEmmanuel Vadot /* Verdin UART_4 - Reserved to Cortex-M4 */ 803f126890aSEmmanuel Vadot pinctrl_mcu_uart0: mcu-uart0-default-pins { 804f126890aSEmmanuel Vadot pinctrl-single,pins = < 805f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0014, PIN_INPUT_PULLUP, 0) /* (B5) MCU_UART0_RXD */ /* SODIMM 151 */ 806f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */ /* SODIMM 153 */ 807f126890aSEmmanuel Vadot >; 808f126890aSEmmanuel Vadot }; 809f126890aSEmmanuel Vadot 810f126890aSEmmanuel Vadot /* Verdin CSI_1_MCLK */ 811f126890aSEmmanuel Vadot pinctrl_csi1_mclk: wkup-clkout0-default-pins { 812f126890aSEmmanuel Vadot pinctrl-single,pins = < 813f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0084, PIN_OUTPUT, 0) /* (A12) WKUP_CLKOUT0 */ /* SODIMM 91 */ 814f126890aSEmmanuel Vadot >; 815f126890aSEmmanuel Vadot }; 816f126890aSEmmanuel Vadot 817f126890aSEmmanuel Vadot /* Verdin UART_2 */ 818f126890aSEmmanuel Vadot pinctrl_wkup_uart0: wkup-uart0-default-pins { 819f126890aSEmmanuel Vadot pinctrl-single,pins = < 820f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x002c, PIN_INPUT_PULLUP, 0) /* (C6) WKUP_UART0_CTSn */ /* SODIMM 143 */ 821f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (A4) WKUP_UART0_RTSn */ /* SODIMM 141 */ 822f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0024, PIN_INPUT_PULLUP, 0) /* (B4) WKUP_UART0_RXD */ /* SODIMM 137 */ 823f126890aSEmmanuel Vadot AM62X_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */ /* SODIMM 139 */ 824f126890aSEmmanuel Vadot >; 825f126890aSEmmanuel Vadot }; 826f126890aSEmmanuel Vadot}; 827f126890aSEmmanuel Vadot 828aa1a8ff2SEmmanuel Vadot/* VERDIN I2S_1_MCLK */ 829aa1a8ff2SEmmanuel Vadot&audio_refclk1 { 830aa1a8ff2SEmmanuel Vadot assigned-clock-rates = <25000000>; 831aa1a8ff2SEmmanuel Vadot}; 832aa1a8ff2SEmmanuel Vadot 833f126890aSEmmanuel Vadot&cpsw3g { 834f126890aSEmmanuel Vadot pinctrl-names = "default"; 835f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_rgmii1>; 836f126890aSEmmanuel Vadot status = "disabled"; 837f126890aSEmmanuel Vadot}; 838f126890aSEmmanuel Vadot 839f126890aSEmmanuel Vadot/* Verdin ETH_1 (On-module PHY) */ 840f126890aSEmmanuel Vadot&cpsw_port1 { 841f126890aSEmmanuel Vadot phy-handle = <&cpsw3g_phy0>; 842f126890aSEmmanuel Vadot phy-mode = "rgmii-rxid"; 843f126890aSEmmanuel Vadot status = "disabled"; 844f126890aSEmmanuel Vadot}; 845f126890aSEmmanuel Vadot 846f126890aSEmmanuel Vadot/* Verdin ETH_2_RGMII */ 847f126890aSEmmanuel Vadot&cpsw_port2 { 848f126890aSEmmanuel Vadot status = "disabled"; 849f126890aSEmmanuel Vadot}; 850f126890aSEmmanuel Vadot 851f126890aSEmmanuel Vadot/* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 852f126890aSEmmanuel Vadot&cpsw3g_mdio { 853f126890aSEmmanuel Vadot assigned-clocks = <&k3_clks 157 20>; 854f126890aSEmmanuel Vadot assigned-clock-parents = <&k3_clks 157 22>; 855f126890aSEmmanuel Vadot assigned-clock-rates = <25000000>; 856f126890aSEmmanuel Vadot pinctrl-names = "default"; 857f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_eth_clock>, <&pinctrl_mdio>; 858f126890aSEmmanuel Vadot status = "disabled"; 859f126890aSEmmanuel Vadot 860f126890aSEmmanuel Vadot cpsw3g_phy0: ethernet-phy@0 { 861f126890aSEmmanuel Vadot compatible = "ethernet-phy-id2000.a231"; 862f126890aSEmmanuel Vadot reg = <0>; 863f126890aSEmmanuel Vadot interrupt-parent = <&main_gpio0>; 864f126890aSEmmanuel Vadot interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 865f126890aSEmmanuel Vadot pinctrl-names = "default"; 866f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_eth_int>, <&pinctrl_eth_reset>; 867f126890aSEmmanuel Vadot reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>; 868f126890aSEmmanuel Vadot reset-assert-us = <10>; 869f126890aSEmmanuel Vadot reset-deassert-us = <1000>; 870f126890aSEmmanuel Vadot ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 871f126890aSEmmanuel Vadot ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 872f126890aSEmmanuel Vadot }; 873f126890aSEmmanuel Vadot}; 874f126890aSEmmanuel Vadot 875aa1a8ff2SEmmanuel Vadot&dss { 876aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 877aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_parallel_rgb>; 878aa1a8ff2SEmmanuel Vadot status = "disabled"; 879aa1a8ff2SEmmanuel Vadot}; 880aa1a8ff2SEmmanuel Vadot 881aa1a8ff2SEmmanuel Vadot&dss_ports { 882aa1a8ff2SEmmanuel Vadot #address-cells = <1>; 883aa1a8ff2SEmmanuel Vadot #size-cells = <0>; 884aa1a8ff2SEmmanuel Vadot 885aa1a8ff2SEmmanuel Vadot /* VP2: DPI Output */ 886aa1a8ff2SEmmanuel Vadot port@1 { 887aa1a8ff2SEmmanuel Vadot reg = <1>; 888aa1a8ff2SEmmanuel Vadot 889aa1a8ff2SEmmanuel Vadot dpi_out: endpoint { 890aa1a8ff2SEmmanuel Vadot remote-endpoint = <&rgb_in>; 891aa1a8ff2SEmmanuel Vadot }; 892aa1a8ff2SEmmanuel Vadot }; 893aa1a8ff2SEmmanuel Vadot}; 894aa1a8ff2SEmmanuel Vadot 895f126890aSEmmanuel Vadot/* Verdin PWM_1, PWM_2 */ 896f126890aSEmmanuel Vadot&epwm0 { 897f126890aSEmmanuel Vadot pinctrl-names = "default"; 898f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_epwm0_a>, <&pinctrl_epwm0_b>; 899f126890aSEmmanuel Vadot status = "disabled"; 900f126890aSEmmanuel Vadot}; 901f126890aSEmmanuel Vadot 902f126890aSEmmanuel Vadot/* Verdin PWM_3_DSI */ 903f126890aSEmmanuel Vadot&epwm1 { 904f126890aSEmmanuel Vadot pinctrl-names = "default"; 905f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_epwm1_a>; 906f126890aSEmmanuel Vadot status = "disabled"; 907f126890aSEmmanuel Vadot}; 908f126890aSEmmanuel Vadot 909f126890aSEmmanuel Vadot&main_gpio0 { 910f126890aSEmmanuel Vadot gpio-line-names = 911f126890aSEmmanuel Vadot "SODIMM_52", /* 0 */ 912f126890aSEmmanuel Vadot "", 913f126890aSEmmanuel Vadot "", 914f126890aSEmmanuel Vadot "SODIMM_56", 915f126890aSEmmanuel Vadot "SODIMM_58", 916f126890aSEmmanuel Vadot "SODIMM_60", 917f126890aSEmmanuel Vadot "SODIMM_62", 918f126890aSEmmanuel Vadot "", 919f126890aSEmmanuel Vadot "", 920f126890aSEmmanuel Vadot "", 921f126890aSEmmanuel Vadot "", /* 10 */ 922f126890aSEmmanuel Vadot "SODIMM_54", 923f126890aSEmmanuel Vadot "SODIMM_64", 924f126890aSEmmanuel Vadot "", 925f126890aSEmmanuel Vadot "", 926f126890aSEmmanuel Vadot "SODIMM_174", 927f126890aSEmmanuel Vadot "SODIMM_172", 928f126890aSEmmanuel Vadot "", 929f126890aSEmmanuel Vadot "", 930f126890aSEmmanuel Vadot "", 931f126890aSEmmanuel Vadot "", /* 20 */ 932f126890aSEmmanuel Vadot "", 933f126890aSEmmanuel Vadot "", 934f126890aSEmmanuel Vadot "", 935f126890aSEmmanuel Vadot "", 936f126890aSEmmanuel Vadot "", 937f126890aSEmmanuel Vadot "", 938f126890aSEmmanuel Vadot "", 939f126890aSEmmanuel Vadot "", 940f126890aSEmmanuel Vadot "SODIMM_76", 941f126890aSEmmanuel Vadot "SODIMM_21", /* 30 */ 942f126890aSEmmanuel Vadot "SODIMM_256", 943f126890aSEmmanuel Vadot "SODIMM_252", 944f126890aSEmmanuel Vadot "", 945f126890aSEmmanuel Vadot "SODIMM_46", 946f126890aSEmmanuel Vadot "SODIMM_42", 947f126890aSEmmanuel Vadot "SODIMM_218", 948f126890aSEmmanuel Vadot "", 949f126890aSEmmanuel Vadot "SODIMM_189", 950f126890aSEmmanuel Vadot "", 951f126890aSEmmanuel Vadot "SODIMM_216", /* 40 */ 952f126890aSEmmanuel Vadot "SODIMM_220", 953f126890aSEmmanuel Vadot "SODIMM_222", 954f126890aSEmmanuel Vadot "", 955f126890aSEmmanuel Vadot "", 956f126890aSEmmanuel Vadot "", 957f126890aSEmmanuel Vadot "", 958f126890aSEmmanuel Vadot "", 959f126890aSEmmanuel Vadot "", 960f126890aSEmmanuel Vadot "", 961f126890aSEmmanuel Vadot "", /* 50 */ 962f126890aSEmmanuel Vadot "", 963f126890aSEmmanuel Vadot "", 964f126890aSEmmanuel Vadot "", 965f126890aSEmmanuel Vadot "", 966f126890aSEmmanuel Vadot "", 967f126890aSEmmanuel Vadot "", 968f126890aSEmmanuel Vadot "", 969f126890aSEmmanuel Vadot "", 970f126890aSEmmanuel Vadot "", 971f126890aSEmmanuel Vadot "", /* 60 */ 972f126890aSEmmanuel Vadot "", 973f126890aSEmmanuel Vadot "", 974f126890aSEmmanuel Vadot "", 975f126890aSEmmanuel Vadot "", 976f126890aSEmmanuel Vadot "", 977f126890aSEmmanuel Vadot "", 978f126890aSEmmanuel Vadot "", 979f126890aSEmmanuel Vadot "", 980f126890aSEmmanuel Vadot "", 981f126890aSEmmanuel Vadot "", /* 70 */ 982f126890aSEmmanuel Vadot "SODIMM_157", 983f126890aSEmmanuel Vadot "SODIMM_187", 984f126890aSEmmanuel Vadot "", 985f126890aSEmmanuel Vadot "", 986f126890aSEmmanuel Vadot "", 987f126890aSEmmanuel Vadot "", 988f126890aSEmmanuel Vadot "", 989f126890aSEmmanuel Vadot "", 990f126890aSEmmanuel Vadot "", 991f126890aSEmmanuel Vadot "", /* 80 */ 992f126890aSEmmanuel Vadot "", 993f126890aSEmmanuel Vadot "", 994f126890aSEmmanuel Vadot "", 995f126890aSEmmanuel Vadot "", 996f126890aSEmmanuel Vadot "", 997f126890aSEmmanuel Vadot ""; 998f126890aSEmmanuel Vadot}; 999f126890aSEmmanuel Vadot 1000f126890aSEmmanuel Vadot&main_gpio1 { 1001f126890aSEmmanuel Vadot gpio-line-names = 1002f126890aSEmmanuel Vadot "", /* 0 */ 1003f126890aSEmmanuel Vadot "", 1004f126890aSEmmanuel Vadot "", 1005f126890aSEmmanuel Vadot "", 1006f126890aSEmmanuel Vadot "", 1007f126890aSEmmanuel Vadot "", 1008f126890aSEmmanuel Vadot "", 1009f126890aSEmmanuel Vadot "", 1010f126890aSEmmanuel Vadot "", 1011f126890aSEmmanuel Vadot "", 1012f126890aSEmmanuel Vadot "", /* 10 */ 1013f126890aSEmmanuel Vadot "", 1014f126890aSEmmanuel Vadot "", 1015f126890aSEmmanuel Vadot "", 1016f126890aSEmmanuel Vadot "", 1017f126890aSEmmanuel Vadot "SODIMM_15", 1018f126890aSEmmanuel Vadot "SODIMM_16", 1019f126890aSEmmanuel Vadot "SODIMM_19", 1020f126890aSEmmanuel Vadot "SODIMM_66", 1021f126890aSEmmanuel Vadot "SODIMM_161", 1022f126890aSEmmanuel Vadot "", /* 20 */ 1023f126890aSEmmanuel Vadot "", 1024f126890aSEmmanuel Vadot "", 1025f126890aSEmmanuel Vadot "", 1026f126890aSEmmanuel Vadot "", 1027f126890aSEmmanuel Vadot "", 1028f126890aSEmmanuel Vadot "", 1029f126890aSEmmanuel Vadot "", 1030f126890aSEmmanuel Vadot "", 1031f126890aSEmmanuel Vadot "", 1032f126890aSEmmanuel Vadot "", /* 30 */ 1033f126890aSEmmanuel Vadot "", 1034f126890aSEmmanuel Vadot "", 1035f126890aSEmmanuel Vadot "", 1036f126890aSEmmanuel Vadot "", 1037f126890aSEmmanuel Vadot "", 1038f126890aSEmmanuel Vadot "", 1039f126890aSEmmanuel Vadot "", 1040f126890aSEmmanuel Vadot "", 1041f126890aSEmmanuel Vadot "", 1042f126890aSEmmanuel Vadot "", /* 40 */ 1043f126890aSEmmanuel Vadot "", 1044f126890aSEmmanuel Vadot "", 1045f126890aSEmmanuel Vadot "", 1046f126890aSEmmanuel Vadot "", 1047f126890aSEmmanuel Vadot "", 1048f126890aSEmmanuel Vadot "", 1049f126890aSEmmanuel Vadot "", 1050f126890aSEmmanuel Vadot "", 1051f126890aSEmmanuel Vadot "SODIMM_17", 105201950c46SEmmanuel Vadot "SODIMM_155", /* 50 */ 1053f126890aSEmmanuel Vadot "", 1054f126890aSEmmanuel Vadot "", 1055f126890aSEmmanuel Vadot "", 1056f126890aSEmmanuel Vadot "", 1057f126890aSEmmanuel Vadot "", 1058f126890aSEmmanuel Vadot "", 1059f126890aSEmmanuel Vadot "", 1060f126890aSEmmanuel Vadot "", 1061f126890aSEmmanuel Vadot "", 1062f126890aSEmmanuel Vadot "", /* 60 */ 1063f126890aSEmmanuel Vadot "", 1064f126890aSEmmanuel Vadot "", 1065f126890aSEmmanuel Vadot "", 1066f126890aSEmmanuel Vadot "", 1067f126890aSEmmanuel Vadot "", 1068f126890aSEmmanuel Vadot "", 1069f126890aSEmmanuel Vadot "", 1070f126890aSEmmanuel Vadot "", 1071f126890aSEmmanuel Vadot "", 1072f126890aSEmmanuel Vadot "", /* 70 */ 1073f126890aSEmmanuel Vadot "", 1074f126890aSEmmanuel Vadot "", 1075f126890aSEmmanuel Vadot "", 1076f126890aSEmmanuel Vadot "", 1077f126890aSEmmanuel Vadot "", 1078f126890aSEmmanuel Vadot "", 1079f126890aSEmmanuel Vadot "", 1080f126890aSEmmanuel Vadot "", 1081f126890aSEmmanuel Vadot "", 1082f126890aSEmmanuel Vadot "", /* 80 */ 1083f126890aSEmmanuel Vadot "", 1084f126890aSEmmanuel Vadot "", 1085f126890aSEmmanuel Vadot "", 1086f126890aSEmmanuel Vadot "", 1087f126890aSEmmanuel Vadot "", 1088f126890aSEmmanuel Vadot "", 1089f126890aSEmmanuel Vadot ""; 1090f126890aSEmmanuel Vadot}; 1091f126890aSEmmanuel Vadot 1092f126890aSEmmanuel Vadot/* On-module I2C - PMIC_I2C */ 1093f126890aSEmmanuel Vadot&main_i2c0 { 1094f126890aSEmmanuel Vadot pinctrl-names = "default"; 1095f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c0>; 1096f126890aSEmmanuel Vadot clock-frequency = <400000>; 1097f126890aSEmmanuel Vadot status = "okay"; 1098f126890aSEmmanuel Vadot 1099f126890aSEmmanuel Vadot dsi_bridge: dsi@e { 1100f126890aSEmmanuel Vadot compatible = "toshiba,tc358778"; 1101f126890aSEmmanuel Vadot reg = <0xe>; 1102f126890aSEmmanuel Vadot assigned-clocks = <&k3_clks 157 20>; 1103f126890aSEmmanuel Vadot assigned-clock-parents = <&k3_clks 157 22>; 1104f126890aSEmmanuel Vadot assigned-clock-rates = <25000000>; 1105f126890aSEmmanuel Vadot pinctrl-names = "default"; 1106f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_bridge_reset>; 1107f126890aSEmmanuel Vadot clocks = <&k3_clks 157 20>; 1108f126890aSEmmanuel Vadot clock-names = "refclk"; 1109f126890aSEmmanuel Vadot reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>; 1110f126890aSEmmanuel Vadot vddc-supply = <®_1v2_dsi>; 1111f126890aSEmmanuel Vadot vddmipi-supply = <®_1v2_dsi>; 1112f126890aSEmmanuel Vadot vddio-supply = <®_1v8_dsi>; 111384943d6fSEmmanuel Vadot status = "disabled"; 1114f126890aSEmmanuel Vadot 1115f126890aSEmmanuel Vadot dsi_bridge_ports: ports { 1116f126890aSEmmanuel Vadot #address-cells = <1>; 1117f126890aSEmmanuel Vadot #size-cells = <0>; 1118f126890aSEmmanuel Vadot 1119f126890aSEmmanuel Vadot port@0 { 1120f126890aSEmmanuel Vadot reg = <0>; 1121f126890aSEmmanuel Vadot 1122f126890aSEmmanuel Vadot rgb_in: endpoint { 1123f126890aSEmmanuel Vadot data-lines = <18>; 1124aa1a8ff2SEmmanuel Vadot remote-endpoint = <&dpi_out>; 1125f126890aSEmmanuel Vadot }; 1126f126890aSEmmanuel Vadot }; 1127f126890aSEmmanuel Vadot 1128f126890aSEmmanuel Vadot port@1 { 1129f126890aSEmmanuel Vadot reg = <1>; 1130f126890aSEmmanuel Vadot }; 1131f126890aSEmmanuel Vadot }; 1132f126890aSEmmanuel Vadot }; 1133f126890aSEmmanuel Vadot 1134f126890aSEmmanuel Vadot pmic@30 { 1135f126890aSEmmanuel Vadot compatible = "ti,tps65219"; 1136f126890aSEmmanuel Vadot reg = <0x30>; 1137f126890aSEmmanuel Vadot pinctrl-names = "default"; 1138f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pmic_extint>; 1139f126890aSEmmanuel Vadot interrupt-parent = <&gic500>; 1140f126890aSEmmanuel Vadot interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 1141f126890aSEmmanuel Vadot 1142f126890aSEmmanuel Vadot buck1-supply = <®_vsodimm>; 1143f126890aSEmmanuel Vadot buck2-supply = <®_vsodimm>; 1144f126890aSEmmanuel Vadot buck3-supply = <®_vsodimm>; 1145f126890aSEmmanuel Vadot ldo1-supply = <®_3v3>; 1146f126890aSEmmanuel Vadot ldo2-supply = <®_1v8>; 1147f126890aSEmmanuel Vadot ldo3-supply = <®_3v3>; 1148f126890aSEmmanuel Vadot ldo4-supply = <®_3v3>; 1149f126890aSEmmanuel Vadot system-power-controller; 1150f126890aSEmmanuel Vadot ti,power-button; 1151f126890aSEmmanuel Vadot 1152f126890aSEmmanuel Vadot regulators { 1153f126890aSEmmanuel Vadot reg_vdd_core: buck1 { 1154f126890aSEmmanuel Vadot regulator-always-on; 1155f126890aSEmmanuel Vadot regulator-boot-on; 1156f126890aSEmmanuel Vadot regulator-max-microvolt = <850000>; 115701950c46SEmmanuel Vadot regulator-min-microvolt = <750000>; 1158f126890aSEmmanuel Vadot regulator-name = "+VDD_CORE (PMIC BUCK1)"; 1159f126890aSEmmanuel Vadot }; 1160f126890aSEmmanuel Vadot 1161f126890aSEmmanuel Vadot reg_1v8: buck2 { 1162f126890aSEmmanuel Vadot regulator-always-on; 1163f126890aSEmmanuel Vadot regulator-boot-on; 1164f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 1165f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 1166f126890aSEmmanuel Vadot regulator-name = "+V1.8 (PMIC BUCK2)"; /* On-module and SODIMM 214 */ 1167f126890aSEmmanuel Vadot }; 1168f126890aSEmmanuel Vadot 1169f126890aSEmmanuel Vadot reg_vdd_ddr: buck3 { 1170f126890aSEmmanuel Vadot regulator-always-on; 1171f126890aSEmmanuel Vadot regulator-boot-on; 1172f126890aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 1173f126890aSEmmanuel Vadot regulator-min-microvolt = <1100000>; 1174f126890aSEmmanuel Vadot regulator-name = "+VDD_DDR (PMIC BUCK3)"; 1175f126890aSEmmanuel Vadot }; 1176f126890aSEmmanuel Vadot 1177f126890aSEmmanuel Vadot reg_sd_3v3_1v8: ldo1 { 1178f126890aSEmmanuel Vadot regulator-allow-bypass; 1179f126890aSEmmanuel Vadot regulator-always-on; 1180f126890aSEmmanuel Vadot regulator-boot-on; 1181f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1182f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1183f126890aSEmmanuel Vadot regulator-name = "+V3.3_1.8_SD (PMIC LDO1)"; 1184f126890aSEmmanuel Vadot }; 1185f126890aSEmmanuel Vadot 1186f126890aSEmmanuel Vadot reg_vddr_core: ldo2 { 1187f126890aSEmmanuel Vadot regulator-always-on; 1188f126890aSEmmanuel Vadot regulator-boot-on; 1189f126890aSEmmanuel Vadot regulator-max-microvolt = <850000>; 1190f126890aSEmmanuel Vadot regulator-min-microvolt = <850000>; 1191f126890aSEmmanuel Vadot regulator-name = "+VDDR_CORE (PMIC LDO2)"; 1192f126890aSEmmanuel Vadot }; 1193f126890aSEmmanuel Vadot 1194f126890aSEmmanuel Vadot reg_1v8a: ldo3 { 1195f126890aSEmmanuel Vadot regulator-always-on; 1196f126890aSEmmanuel Vadot regulator-boot-on; 1197f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 1198f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 1199f126890aSEmmanuel Vadot regulator-name = "+V1.8A (PMIC LDO3)"; 1200f126890aSEmmanuel Vadot }; 1201f126890aSEmmanuel Vadot 1202f126890aSEmmanuel Vadot reg_eth_2v5: ldo4 { 1203f126890aSEmmanuel Vadot regulator-always-on; 1204f126890aSEmmanuel Vadot regulator-boot-on; 1205f126890aSEmmanuel Vadot regulator-max-microvolt = <2500000>; 1206f126890aSEmmanuel Vadot regulator-min-microvolt = <2500000>; 1207f126890aSEmmanuel Vadot regulator-name = "+V2.5_ETH (PMIC LDO4)"; 1208f126890aSEmmanuel Vadot }; 1209f126890aSEmmanuel Vadot }; 1210f126890aSEmmanuel Vadot }; 1211f126890aSEmmanuel Vadot 1212f126890aSEmmanuel Vadot rtc_i2c: rtc@32 { 1213f126890aSEmmanuel Vadot compatible = "epson,rx8130"; 1214f126890aSEmmanuel Vadot reg = <0x32>; 1215f126890aSEmmanuel Vadot }; 1216f126890aSEmmanuel Vadot 1217f126890aSEmmanuel Vadot sensor@48 { 1218f126890aSEmmanuel Vadot compatible = "ti,tmp1075"; 1219f126890aSEmmanuel Vadot reg = <0x48>; 1220f126890aSEmmanuel Vadot }; 1221f126890aSEmmanuel Vadot 1222f126890aSEmmanuel Vadot adc@49 { 1223f126890aSEmmanuel Vadot compatible = "ti,ads1015"; 1224f126890aSEmmanuel Vadot reg = <0x49>; 1225f126890aSEmmanuel Vadot #address-cells = <1>; 1226f126890aSEmmanuel Vadot #size-cells = <0>; 1227f126890aSEmmanuel Vadot 1228f126890aSEmmanuel Vadot /* Verdin PMIC_I2C (ADC_4 - ADC_3) */ 1229f126890aSEmmanuel Vadot channel@0 { 1230f126890aSEmmanuel Vadot reg = <0>; 1231f126890aSEmmanuel Vadot ti,datarate = <4>; 1232f126890aSEmmanuel Vadot ti,gain = <2>; 1233f126890aSEmmanuel Vadot }; 1234f126890aSEmmanuel Vadot 1235f126890aSEmmanuel Vadot /* Verdin PMIC_I2C (ADC_4 - ADC_1) */ 1236f126890aSEmmanuel Vadot channel@1 { 1237f126890aSEmmanuel Vadot reg = <1>; 1238f126890aSEmmanuel Vadot ti,datarate = <4>; 1239f126890aSEmmanuel Vadot ti,gain = <2>; 1240f126890aSEmmanuel Vadot }; 1241f126890aSEmmanuel Vadot 1242f126890aSEmmanuel Vadot /* Verdin PMIC_I2C (ADC_3 - ADC_1) */ 1243f126890aSEmmanuel Vadot channel@2 { 1244f126890aSEmmanuel Vadot reg = <2>; 1245f126890aSEmmanuel Vadot ti,datarate = <4>; 1246f126890aSEmmanuel Vadot ti,gain = <2>; 1247f126890aSEmmanuel Vadot }; 1248f126890aSEmmanuel Vadot 1249f126890aSEmmanuel Vadot /* Verdin PMIC_I2C (ADC_2 - ADC_1) */ 1250f126890aSEmmanuel Vadot channel@3 { 1251f126890aSEmmanuel Vadot reg = <3>; 1252f126890aSEmmanuel Vadot ti,datarate = <4>; 1253f126890aSEmmanuel Vadot ti,gain = <2>; 1254f126890aSEmmanuel Vadot }; 1255f126890aSEmmanuel Vadot 1256f126890aSEmmanuel Vadot /* Verdin PMIC_I2C ADC_4 */ 1257f126890aSEmmanuel Vadot channel@4 { 1258f126890aSEmmanuel Vadot reg = <4>; 1259f126890aSEmmanuel Vadot ti,datarate = <4>; 1260f126890aSEmmanuel Vadot ti,gain = <2>; 1261f126890aSEmmanuel Vadot }; 1262f126890aSEmmanuel Vadot 1263f126890aSEmmanuel Vadot /* Verdin PMIC_I2C ADC_3 */ 1264f126890aSEmmanuel Vadot channel@5 { 1265f126890aSEmmanuel Vadot reg = <5>; 1266f126890aSEmmanuel Vadot ti,datarate = <4>; 1267f126890aSEmmanuel Vadot ti,gain = <2>; 1268f126890aSEmmanuel Vadot }; 1269f126890aSEmmanuel Vadot 1270f126890aSEmmanuel Vadot /* Verdin PMIC_I2C ADC_2 */ 1271f126890aSEmmanuel Vadot channel@6 { 1272f126890aSEmmanuel Vadot reg = <6>; 1273f126890aSEmmanuel Vadot ti,datarate = <4>; 1274f126890aSEmmanuel Vadot ti,gain = <2>; 1275f126890aSEmmanuel Vadot }; 1276f126890aSEmmanuel Vadot 1277f126890aSEmmanuel Vadot /* Verdin PMIC_I2C ADC_1 */ 1278f126890aSEmmanuel Vadot channel@7 { 1279f126890aSEmmanuel Vadot reg = <7>; 1280f126890aSEmmanuel Vadot ti,datarate = <4>; 1281f126890aSEmmanuel Vadot ti,gain = <2>; 1282f126890aSEmmanuel Vadot }; 1283f126890aSEmmanuel Vadot }; 1284f126890aSEmmanuel Vadot 1285f126890aSEmmanuel Vadot eeprom@50 { 1286f126890aSEmmanuel Vadot compatible = "st,24c02", "atmel,24c02"; 1287f126890aSEmmanuel Vadot pagesize = <16>; 1288f126890aSEmmanuel Vadot reg = <0x50>; 1289f126890aSEmmanuel Vadot }; 1290f126890aSEmmanuel Vadot}; 1291f126890aSEmmanuel Vadot 1292f126890aSEmmanuel Vadot/* Verdin I2C_1 */ 1293f126890aSEmmanuel Vadot&main_i2c1 { 1294f126890aSEmmanuel Vadot pinctrl-names = "default"; 1295f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c1>; 1296f126890aSEmmanuel Vadot status = "disabled"; 1297f126890aSEmmanuel Vadot}; 1298f126890aSEmmanuel Vadot 1299f126890aSEmmanuel Vadot/* Verdin I2C_2_DSI */ 1300f126890aSEmmanuel Vadot&main_i2c2 { 1301f126890aSEmmanuel Vadot pinctrl-names = "default"; 1302f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c2>; 1303f126890aSEmmanuel Vadot status = "disabled"; 1304f126890aSEmmanuel Vadot}; 1305f126890aSEmmanuel Vadot 1306f126890aSEmmanuel Vadot/* Verdin I2C_4_CSI */ 1307f126890aSEmmanuel Vadot&main_i2c3 { 1308f126890aSEmmanuel Vadot pinctrl-names = "default"; 1309f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_i2c3>; 1310f126890aSEmmanuel Vadot status = "disabled"; 1311f126890aSEmmanuel Vadot}; 1312f126890aSEmmanuel Vadot 1313f126890aSEmmanuel Vadot&mailbox0_cluster0 { 1314f126890aSEmmanuel Vadot mbox_m4_0: mbox-m4-0 { 1315f126890aSEmmanuel Vadot ti,mbox-rx = <0 0 0>; 1316f126890aSEmmanuel Vadot ti,mbox-tx = <1 0 0>; 1317f126890aSEmmanuel Vadot }; 1318f126890aSEmmanuel Vadot}; 1319f126890aSEmmanuel Vadot 1320f126890aSEmmanuel Vadot/* Verdin CAN_1 */ 1321f126890aSEmmanuel Vadot&main_mcan0 { 1322f126890aSEmmanuel Vadot pinctrl-names = "default"; 1323f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mcan0>; 1324f126890aSEmmanuel Vadot status = "disabled"; 1325f126890aSEmmanuel Vadot}; 1326f126890aSEmmanuel Vadot 1327f126890aSEmmanuel Vadot/* Verdin SPI_1 */ 1328f126890aSEmmanuel Vadot&main_spi1 { 1329f126890aSEmmanuel Vadot pinctrl-names = "default"; 13308d13bc63SEmmanuel Vadot pinctrl-0 = <&pinctrl_spi1>, <&pinctrl_spi1_cs0>; 1331f126890aSEmmanuel Vadot ti,pindir-d0-out-d1-in; 1332f126890aSEmmanuel Vadot status = "disabled"; 1333f126890aSEmmanuel Vadot}; 1334f126890aSEmmanuel Vadot 1335f126890aSEmmanuel Vadot/* Verdin UART_3, used as the Linux console */ 1336f126890aSEmmanuel Vadot&main_uart0 { 1337f126890aSEmmanuel Vadot pinctrl-names = "default"; 1338f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart0>; 1339f126890aSEmmanuel Vadot status = "disabled"; 1340f126890aSEmmanuel Vadot}; 1341f126890aSEmmanuel Vadot 1342f126890aSEmmanuel Vadot/* Verdin UART_1 */ 1343f126890aSEmmanuel Vadot&main_uart1 { 1344f126890aSEmmanuel Vadot pinctrl-names = "default"; 1345f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart1>; 1346f126890aSEmmanuel Vadot status = "disabled"; 1347f126890aSEmmanuel Vadot}; 1348f126890aSEmmanuel Vadot 1349f126890aSEmmanuel Vadot/* Verdin I2S_1 */ 1350f126890aSEmmanuel Vadot&mcasp0 { 1351f126890aSEmmanuel Vadot pinctrl-names = "default"; 1352f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mcasp0>; 1353f126890aSEmmanuel Vadot op-mode = <0>; /* I2S mode */ 1354f126890aSEmmanuel Vadot serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1355f126890aSEmmanuel Vadot 1 2 0 0 1356f126890aSEmmanuel Vadot 0 0 0 0 1357f126890aSEmmanuel Vadot 0 0 0 0 1358f126890aSEmmanuel Vadot 0 0 0 0 1359f126890aSEmmanuel Vadot >; 1360f126890aSEmmanuel Vadot tdm-slots = <2>; 1361f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 1362f126890aSEmmanuel Vadot status = "disabled"; 1363f126890aSEmmanuel Vadot}; 1364f126890aSEmmanuel Vadot 1365f126890aSEmmanuel Vadot/* Verdin I2S_2 */ 1366f126890aSEmmanuel Vadot&mcasp1 { 1367f126890aSEmmanuel Vadot pinctrl-names = "default"; 1368f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mcasp1>; 1369f126890aSEmmanuel Vadot op-mode = <0>; /* I2S mode */ 1370f126890aSEmmanuel Vadot serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1371f126890aSEmmanuel Vadot 1 2 0 0 1372f126890aSEmmanuel Vadot 0 0 0 0 1373f126890aSEmmanuel Vadot 0 0 0 0 1374f126890aSEmmanuel Vadot 0 0 0 0 1375f126890aSEmmanuel Vadot >; 1376f126890aSEmmanuel Vadot tdm-slots = <2>; 1377f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 1378f126890aSEmmanuel Vadot status = "disabled"; 1379f126890aSEmmanuel Vadot}; 1380f126890aSEmmanuel Vadot 1381f126890aSEmmanuel Vadot/* Verdin I2C_3_HDMI */ 1382f126890aSEmmanuel Vadot&mcu_i2c0 { 1383f126890aSEmmanuel Vadot pinctrl-names = "default"; 1384f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mcu_i2c0>; 1385f126890aSEmmanuel Vadot status = "disabled"; 1386f126890aSEmmanuel Vadot}; 1387f126890aSEmmanuel Vadot 1388f126890aSEmmanuel Vadot&mcu_gpio0 { 1389f126890aSEmmanuel Vadot gpio-line-names = 1390f126890aSEmmanuel Vadot "SODIMM_244", 1391f126890aSEmmanuel Vadot "SODIMM_206", 1392f126890aSEmmanuel Vadot "SODIMM_208", 1393f126890aSEmmanuel Vadot "SODIMM_210", 1394f126890aSEmmanuel Vadot "SODIMM_212", 1395f126890aSEmmanuel Vadot "", 1396f126890aSEmmanuel Vadot "", 1397f126890aSEmmanuel Vadot "", 1398f126890aSEmmanuel Vadot "", 1399f126890aSEmmanuel Vadot "", 1400f126890aSEmmanuel Vadot "", 1401f126890aSEmmanuel Vadot "", 1402f126890aSEmmanuel Vadot "", 1403f126890aSEmmanuel Vadot "", 1404f126890aSEmmanuel Vadot "", 1405f126890aSEmmanuel Vadot "", 1406f126890aSEmmanuel Vadot "", 1407f126890aSEmmanuel Vadot "", 1408f126890aSEmmanuel Vadot "", 1409f126890aSEmmanuel Vadot "", 1410f126890aSEmmanuel Vadot "", 1411f126890aSEmmanuel Vadot "", 1412f126890aSEmmanuel Vadot "", 1413f126890aSEmmanuel Vadot ""; 1414*7d0873ebSEmmanuel Vadot 1415*7d0873ebSEmmanuel Vadot verdin_pcie_1_reset_hog: pcie-1-reset-hog { 1416*7d0873ebSEmmanuel Vadot gpio-hog; 1417*7d0873ebSEmmanuel Vadot /* Verdin PCIE_1_RESET# (SODIMM 244) */ 1418*7d0873ebSEmmanuel Vadot gpios = <0 GPIO_ACTIVE_LOW>; 1419*7d0873ebSEmmanuel Vadot line-name = "PCIE_1_RESET#"; 1420*7d0873ebSEmmanuel Vadot output-low; 1421*7d0873ebSEmmanuel Vadot status = "disabled"; 1422*7d0873ebSEmmanuel Vadot }; 1423f126890aSEmmanuel Vadot}; 1424f126890aSEmmanuel Vadot 1425aa1a8ff2SEmmanuel Vadot/* Verdin CAN_2 */ 1426aa1a8ff2SEmmanuel Vadot&mcu_mcan0 { 1427aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 1428aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&pinctrl_mcu_mcan0>; 1429aa1a8ff2SEmmanuel Vadot status = "disabled"; 1430aa1a8ff2SEmmanuel Vadot}; 1431aa1a8ff2SEmmanuel Vadot 1432f126890aSEmmanuel Vadot/* Verdin UART_4 - Cortex-M4 UART */ 1433f126890aSEmmanuel Vadot&mcu_uart0 { 1434f126890aSEmmanuel Vadot pinctrl-names = "default"; 1435f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_mcu_uart0>; 1436f126890aSEmmanuel Vadot status = "disabled"; 1437f126890aSEmmanuel Vadot}; 1438f126890aSEmmanuel Vadot 1439f126890aSEmmanuel Vadot/* Verdin QSPI_1 */ 1440f126890aSEmmanuel Vadot&ospi0 { 1441f126890aSEmmanuel Vadot pinctrl-names = "default"; 1442f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ospi0>; 1443f126890aSEmmanuel Vadot status = "disabled"; 1444f126890aSEmmanuel Vadot}; 1445f126890aSEmmanuel Vadot 1446f126890aSEmmanuel Vadot/* On-module eMMC */ 1447f126890aSEmmanuel Vadot&sdhci0 { 1448f126890aSEmmanuel Vadot pinctrl-names = "default"; 1449f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_sdhci0>; 1450f126890aSEmmanuel Vadot non-removable; 1451f126890aSEmmanuel Vadot status = "okay"; 1452f126890aSEmmanuel Vadot}; 1453f126890aSEmmanuel Vadot 1454f126890aSEmmanuel Vadot/* Verdin SD_1 */ 1455f126890aSEmmanuel Vadot&sdhci1 { 1456f126890aSEmmanuel Vadot pinctrl-names = "default"; 1457*7d0873ebSEmmanuel Vadot pinctrl-0 = <&pinctrl_sdhci1>, <&pinctrl_sd1_cd_gpio>; 1458*7d0873ebSEmmanuel Vadot cd-gpios = <&main_gpio1 48 GPIO_ACTIVE_LOW>; 1459f126890aSEmmanuel Vadot disable-wp; 1460f126890aSEmmanuel Vadot vmmc-supply = <®_sdhc1_vmmc>; 1461f126890aSEmmanuel Vadot vqmmc-supply = <®_sdhc1_vqmmc>; 1462*7d0873ebSEmmanuel Vadot ti,fails-without-test-cd; 1463f126890aSEmmanuel Vadot status = "disabled"; 1464f126890aSEmmanuel Vadot}; 1465f126890aSEmmanuel Vadot 1466f126890aSEmmanuel Vadot/* Verdin USB_1 */ 1467f126890aSEmmanuel Vadot&usbss0 { 1468f126890aSEmmanuel Vadot ti,vbus-divider; 1469f126890aSEmmanuel Vadot status = "disabled"; 1470f126890aSEmmanuel Vadot}; 1471f126890aSEmmanuel Vadot 1472f126890aSEmmanuel Vadot&usb0 { 147301950c46SEmmanuel Vadot adp-disable; 147401950c46SEmmanuel Vadot usb-role-switch; 1475f126890aSEmmanuel Vadot status = "disabled"; 147601950c46SEmmanuel Vadot 147701950c46SEmmanuel Vadot port { 147801950c46SEmmanuel Vadot usb0_ep: endpoint { 147901950c46SEmmanuel Vadot remote-endpoint = <&usb_dr_connector>; 148001950c46SEmmanuel Vadot }; 148101950c46SEmmanuel Vadot }; 1482f126890aSEmmanuel Vadot}; 1483f126890aSEmmanuel Vadot 1484f126890aSEmmanuel Vadot/* Verdin USB_2 */ 1485f126890aSEmmanuel Vadot&usbss1 { 1486f126890aSEmmanuel Vadot ti,vbus-divider; 1487f126890aSEmmanuel Vadot status = "disabled"; 1488f126890aSEmmanuel Vadot}; 1489f126890aSEmmanuel Vadot 1490f126890aSEmmanuel Vadot&usb1 { 1491f126890aSEmmanuel Vadot pinctrl-names = "default"; 1492f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usb1>; 1493f126890aSEmmanuel Vadot dr_mode = "host"; 1494f126890aSEmmanuel Vadot status = "disabled"; 1495f126890aSEmmanuel Vadot}; 1496f126890aSEmmanuel Vadot 1497f126890aSEmmanuel Vadot/* Verdin UART_2 */ 1498f126890aSEmmanuel Vadot&wkup_uart0 { 1499f126890aSEmmanuel Vadot pinctrl-names = "default"; 1500f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wkup_uart0>; 1501f126890aSEmmanuel Vadot status = "disabled"; 1502f126890aSEmmanuel Vadot}; 1503