1316b8024SFrancesco Dolcini// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2316b8024SFrancesco Dolcini/* 3316b8024SFrancesco Dolcini * Copyright 2023 Toradex 4316b8024SFrancesco Dolcini * 5316b8024SFrancesco Dolcini * Common dtsi for Verdin AM62 SoM 6316b8024SFrancesco Dolcini * 7316b8024SFrancesco Dolcini * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8316b8024SFrancesco Dolcini */ 9316b8024SFrancesco Dolcini 10316b8024SFrancesco Dolcini#include <dt-bindings/gpio/gpio.h> 11316b8024SFrancesco Dolcini#include <dt-bindings/input/input.h> 12316b8024SFrancesco Dolcini#include <dt-bindings/interrupt-controller/arm-gic.h> 13316b8024SFrancesco Dolcini#include <dt-bindings/interrupt-controller/irq.h> 14316b8024SFrancesco Dolcini#include <dt-bindings/net/ti-dp83867.h> 15316b8024SFrancesco Dolcini 16316b8024SFrancesco Dolcini/ { 17316b8024SFrancesco Dolcini chosen { 18316b8024SFrancesco Dolcini stdout-path = "serial2:115200n8"; 19316b8024SFrancesco Dolcini }; 20316b8024SFrancesco Dolcini 21316b8024SFrancesco Dolcini aliases { 227480cea3SHiago De Franco can0 = &main_mcan0; 237480cea3SHiago De Franco can1 = &mcu_mcan0; 24316b8024SFrancesco Dolcini ethernet0 = &cpsw_port1; 25316b8024SFrancesco Dolcini ethernet1 = &cpsw_port2; 26316b8024SFrancesco Dolcini i2c0 = &main_i2c0; 27316b8024SFrancesco Dolcini i2c1 = &main_i2c1; 28316b8024SFrancesco Dolcini i2c2 = &main_i2c2; 29316b8024SFrancesco Dolcini i2c3 = &mcu_i2c0; 30316b8024SFrancesco Dolcini i2c4 = &main_i2c3; 31316b8024SFrancesco Dolcini mmc0 = &sdhci0; 32316b8024SFrancesco Dolcini mmc1 = &sdhci1; 33316b8024SFrancesco Dolcini mmc2 = &sdhci2; 34316b8024SFrancesco Dolcini rtc0 = &rtc_i2c; 35316b8024SFrancesco Dolcini rtc1 = &wkup_rtc0; 36316b8024SFrancesco Dolcini serial0 = &main_uart1; 37316b8024SFrancesco Dolcini serial1 = &wkup_uart0; 38316b8024SFrancesco Dolcini serial2 = &main_uart0; 39316b8024SFrancesco Dolcini serial3 = &mcu_uart0; 40316b8024SFrancesco Dolcini serial4 = &main_uart5; 41316b8024SFrancesco Dolcini usb0 = &usb0; 42316b8024SFrancesco Dolcini usb1 = &usb1; 43316b8024SFrancesco Dolcini }; 44316b8024SFrancesco Dolcini 45316b8024SFrancesco Dolcini verdin_gpio_keys: gpio-keys { 46316b8024SFrancesco Dolcini compatible = "gpio-keys"; 47316b8024SFrancesco Dolcini pinctrl-names = "default"; 48316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_ctrl_wake1_mico>; 49316b8024SFrancesco Dolcini status = "disabled"; 50316b8024SFrancesco Dolcini 51316b8024SFrancesco Dolcini verdin_key_wakeup: key-wakeup { 52316b8024SFrancesco Dolcini debounce-interval = <10>; 53316b8024SFrancesco Dolcini /* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */ 54316b8024SFrancesco Dolcini gpios = <&main_gpio0 32 GPIO_ACTIVE_LOW>; 55316b8024SFrancesco Dolcini label = "Wake-Up"; 56316b8024SFrancesco Dolcini linux,code = <KEY_WAKEUP>; 57316b8024SFrancesco Dolcini wakeup-source; 58316b8024SFrancesco Dolcini }; 59316b8024SFrancesco Dolcini }; 60316b8024SFrancesco Dolcini 61316b8024SFrancesco Dolcini memory@80000000 { 62316b8024SFrancesco Dolcini device_type = "memory"; 63*2a24da4cSMax Krummenacher reg = <0x00000000 0x80000000 0x00000000 0x80000000>; /* 2G RAM */ 64316b8024SFrancesco Dolcini }; 65316b8024SFrancesco Dolcini 66316b8024SFrancesco Dolcini opp-table { 67316b8024SFrancesco Dolcini /* Add 1.4GHz OPP. Requires VDD_CORE to be at 0.85V */ 68316b8024SFrancesco Dolcini opp-1400000000 { 69316b8024SFrancesco Dolcini opp-hz = /bits/ 64 <1400000000>; 70316b8024SFrancesco Dolcini opp-supported-hw = <0x01 0x0004>; 71316b8024SFrancesco Dolcini clock-latency-ns = <6000000>; 72316b8024SFrancesco Dolcini }; 73316b8024SFrancesco Dolcini }; 74316b8024SFrancesco Dolcini 75316b8024SFrancesco Dolcini /* Module Power Supply */ 76316b8024SFrancesco Dolcini reg_vsodimm: regulator-vsodimm { 77316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 78316b8024SFrancesco Dolcini regulator-name = "+V_SODIMM"; 79316b8024SFrancesco Dolcini }; 80316b8024SFrancesco Dolcini 81316b8024SFrancesco Dolcini /* Non PMIC On-module Supplies */ 82316b8024SFrancesco Dolcini reg_3v3: regulator-3v3 { 83316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 84316b8024SFrancesco Dolcini regulator-max-microvolt = <3300000>; 85316b8024SFrancesco Dolcini regulator-min-microvolt = <3300000>; 86316b8024SFrancesco Dolcini regulator-name = "On-module +V3.3"; 87316b8024SFrancesco Dolcini vin-supply = <®_vsodimm>; 88316b8024SFrancesco Dolcini }; 89316b8024SFrancesco Dolcini 90316b8024SFrancesco Dolcini reg_1v2_dsi: regulator-1v2-dsi { 91316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 92316b8024SFrancesco Dolcini regulator-max-microvolt = <1200000>; 93316b8024SFrancesco Dolcini regulator-min-microvolt = <1200000>; 94316b8024SFrancesco Dolcini regulator-name = "On-module +V1.2_DSI"; 95316b8024SFrancesco Dolcini vin-supply = <®_1v8>; 96316b8024SFrancesco Dolcini }; 97316b8024SFrancesco Dolcini 98316b8024SFrancesco Dolcini /* Enabled by +V1.2_DSI */ 99316b8024SFrancesco Dolcini reg_1v8_dsi: regulator-1v8-dsi { 100316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 101316b8024SFrancesco Dolcini regulator-max-microvolt = <1800000>; 102316b8024SFrancesco Dolcini regulator-min-microvolt = <1800000>; 103316b8024SFrancesco Dolcini regulator-name = "On-module +V1.8_DSI"; 104316b8024SFrancesco Dolcini vin-supply = <®_1v8>; 105316b8024SFrancesco Dolcini }; 106316b8024SFrancesco Dolcini 107316b8024SFrancesco Dolcini /* Enabled by +V2.5_ETH */ 108316b8024SFrancesco Dolcini reg_1v0_eth: regulator-1v0-eth { 109316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 110316b8024SFrancesco Dolcini regulator-max-microvolt = <1000000>; 111316b8024SFrancesco Dolcini regulator-min-microvolt = <1000000>; 112316b8024SFrancesco Dolcini regulator-name = "On-module +V1.0_ETH"; 113316b8024SFrancesco Dolcini vin-supply = <®_1v8>; 114316b8024SFrancesco Dolcini }; 115316b8024SFrancesco Dolcini 116316b8024SFrancesco Dolcini /* Enabled by +V2.5_ETH */ 117316b8024SFrancesco Dolcini reg_1v8_eth: regulator-1v8-eth { 118316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 119316b8024SFrancesco Dolcini regulator-max-microvolt = <1800000>; 120316b8024SFrancesco Dolcini regulator-min-microvolt = <1800000>; 121316b8024SFrancesco Dolcini regulator-name = "On-module +V1.8_ETH"; 122316b8024SFrancesco Dolcini vin-supply = <®_1v8>; 123316b8024SFrancesco Dolcini }; 124316b8024SFrancesco Dolcini 125316b8024SFrancesco Dolcini /* Verdin SD_1 Power Supply */ 126316b8024SFrancesco Dolcini reg_sdhc1_vmmc: regulator-sdhci1 { 127316b8024SFrancesco Dolcini compatible = "regulator-fixed"; 128316b8024SFrancesco Dolcini pinctrl-names = "default"; 129316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_sd1_pwr_en>; 130316b8024SFrancesco Dolcini enable-active-high; 131316b8024SFrancesco Dolcini /* Verdin SD_1_PWR_EN (SODIMM 76) */ 132316b8024SFrancesco Dolcini gpio = <&main_gpio0 29 GPIO_ACTIVE_HIGH>; 133316b8024SFrancesco Dolcini off-on-delay-us = <100000>; 134316b8024SFrancesco Dolcini regulator-max-microvolt = <3300000>; 135316b8024SFrancesco Dolcini regulator-min-microvolt = <3300000>; 136316b8024SFrancesco Dolcini regulator-name = "+V3.3_SD"; 137316b8024SFrancesco Dolcini startup-delay-us = <2000>; 138316b8024SFrancesco Dolcini }; 139316b8024SFrancesco Dolcini 140316b8024SFrancesco Dolcini reg_sdhc1_vqmmc: regulator-sdhci1-vqmmc { 141316b8024SFrancesco Dolcini compatible = "regulator-gpio"; 142316b8024SFrancesco Dolcini pinctrl-names = "default"; 143316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_vsel_sd>; 144316b8024SFrancesco Dolcini /* PMIC_VSEL_SD */ 145316b8024SFrancesco Dolcini gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>; 146316b8024SFrancesco Dolcini regulator-name = "LDO1-VSEL-SD (PMIC)"; 147316b8024SFrancesco Dolcini regulator-min-microvolt = <1800000>; 148316b8024SFrancesco Dolcini regulator-max-microvolt = <3300000>; 149316b8024SFrancesco Dolcini states = <1800000 0x0>, 150316b8024SFrancesco Dolcini <3300000 0x1>; 151316b8024SFrancesco Dolcini vin-supply = <®_sd_3v3_1v8>; 152316b8024SFrancesco Dolcini }; 153316b8024SFrancesco Dolcini 154316b8024SFrancesco Dolcini reserved-memory { 155316b8024SFrancesco Dolcini #address-cells = <2>; 156316b8024SFrancesco Dolcini #size-cells = <2>; 157316b8024SFrancesco Dolcini ranges; 158316b8024SFrancesco Dolcini 159316b8024SFrancesco Dolcini secure_tfa_ddr: tfa@9e780000 { 160316b8024SFrancesco Dolcini reg = <0x00 0x9e780000 0x00 0x80000>; 161316b8024SFrancesco Dolcini alignment = <0x1000>; 162316b8024SFrancesco Dolcini no-map; 163316b8024SFrancesco Dolcini }; 164316b8024SFrancesco Dolcini 165316b8024SFrancesco Dolcini secure_ddr: optee@9e800000 { 166316b8024SFrancesco Dolcini reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 167316b8024SFrancesco Dolcini alignment = <0x1000>; 168316b8024SFrancesco Dolcini no-map; 169316b8024SFrancesco Dolcini }; 170316b8024SFrancesco Dolcini 171316b8024SFrancesco Dolcini wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { 172316b8024SFrancesco Dolcini compatible = "shared-dma-pool"; 173316b8024SFrancesco Dolcini reg = <0x00 0x9db00000 0x00 0xc00000>; 174316b8024SFrancesco Dolcini no-map; 175316b8024SFrancesco Dolcini }; 176316b8024SFrancesco Dolcini }; 177316b8024SFrancesco Dolcini}; 178316b8024SFrancesco Dolcini 179316b8024SFrancesco Dolcini&main_pmx0 { 180316b8024SFrancesco Dolcini /* Verdin PWM_1 */ 181a4956811STony Lindgren pinctrl_epwm0_a: main-epwm0a-default-pins { 182316b8024SFrancesco Dolcini pinctrl-single,pins = < 183316b8024SFrancesco Dolcini AM62X_IOPAD(0x01b4, PIN_OUTPUT, 2) /* (A13) SPI0_CS0.EHRPWM0_A */ /* SODIMM 15 */ 184316b8024SFrancesco Dolcini >; 185316b8024SFrancesco Dolcini }; 186316b8024SFrancesco Dolcini 187316b8024SFrancesco Dolcini /* Verdin PWM_2 */ 188a4956811STony Lindgren pinctrl_epwm0_b: main-epwm0b-default-pins { 189316b8024SFrancesco Dolcini pinctrl-single,pins = < 190316b8024SFrancesco Dolcini AM62X_IOPAD(0x01b8, PIN_OUTPUT, 2) /* (C13) SPI0_CS1.EHRPWM0_B */ /* SODIMM 16 */ 191316b8024SFrancesco Dolcini >; 192316b8024SFrancesco Dolcini }; 193316b8024SFrancesco Dolcini 194316b8024SFrancesco Dolcini /* Verdin PWM_3_DSI */ 195a4956811STony Lindgren pinctrl_epwm1_a: main-epwm1a-default-pins { 196316b8024SFrancesco Dolcini pinctrl-single,pins = < 197316b8024SFrancesco Dolcini AM62X_IOPAD(0x01bc, PIN_OUTPUT, 2) /* (A14) SPI0_CLK.EHRPWM1_A */ /* SODIMM 19 */ 198316b8024SFrancesco Dolcini >; 199316b8024SFrancesco Dolcini }; 200316b8024SFrancesco Dolcini 201316b8024SFrancesco Dolcini /* Verdin QSPI_1_CLK as GPIO (conflict with Verdin QSPI_1 interface) */ 202a4956811STony Lindgren pinctrl_qspi1_clk_gpio: main-gpio0-0-default-pins { 203316b8024SFrancesco Dolcini pinctrl-single,pins = < 204316b8024SFrancesco Dolcini AM62X_IOPAD(0x0000, PIN_INPUT, 7) /* (H24) OSPI0_CLK.GPIO0_0 */ /* SODIMM 52 */ 205316b8024SFrancesco Dolcini >; 206316b8024SFrancesco Dolcini }; 207316b8024SFrancesco Dolcini 208316b8024SFrancesco Dolcini /* Verdin QSPI_1_IO0 as GPIO (conflict with Verdin QSPI_1 interface) */ 209a4956811STony Lindgren pinctrl_qspi1_io0_gpio: main-gpio0-3-default-pins { 210316b8024SFrancesco Dolcini pinctrl-single,pins = < 211316b8024SFrancesco Dolcini AM62X_IOPAD(0x000c, PIN_INPUT, 7) /* (E25) OSPI0_D0.GPIO0_3 */ /* SODIMM 56 */ 212316b8024SFrancesco Dolcini >; 213316b8024SFrancesco Dolcini }; 214316b8024SFrancesco Dolcini 215316b8024SFrancesco Dolcini /* Verdin QSPI_1_IO1 as GPIO (conflict with Verdin QSPI_1 interface) */ 216a4956811STony Lindgren pinctrl_qspi1_io1_gpio: main-gpio0-4-default-pins { 217316b8024SFrancesco Dolcini pinctrl-single,pins = < 218316b8024SFrancesco Dolcini AM62X_IOPAD(0x0010, PIN_INPUT, 7) /* (G24) OSPI0_D1.GPIO0_4 */ /* SODIMM 58 */ 219316b8024SFrancesco Dolcini >; 220316b8024SFrancesco Dolcini }; 221316b8024SFrancesco Dolcini 222316b8024SFrancesco Dolcini /* Verdin QSPI_1_IO2 as GPIO (conflict with Verdin QSPI_1 interface) */ 223a4956811STony Lindgren pinctrl_qspi1_io2_gpio: main-gpio0-5-default-pins { 224316b8024SFrancesco Dolcini pinctrl-single,pins = < 225316b8024SFrancesco Dolcini AM62X_IOPAD(0x0014, PIN_INPUT, 7) /* (F25) OSPI0_D2.GPIO0_5 */ /* SODIMM 60 */ 226316b8024SFrancesco Dolcini >; 227316b8024SFrancesco Dolcini }; 228316b8024SFrancesco Dolcini 229316b8024SFrancesco Dolcini /* Verdin QSPI_1_IO3 as GPIO (conflict with Verdin QSPI_1 interface) */ 230a4956811STony Lindgren pinctrl_qspi1_io3_gpio: main-gpio0-6-default-pins { 231316b8024SFrancesco Dolcini pinctrl-single,pins = < 232316b8024SFrancesco Dolcini AM62X_IOPAD(0x0018, PIN_INPUT, 7) /* (F24) OSPI0_D3.GPIO0_6 */ /* SODIMM 62 */ 233316b8024SFrancesco Dolcini >; 234316b8024SFrancesco Dolcini }; 235316b8024SFrancesco Dolcini 236316b8024SFrancesco Dolcini /* Verdin QSPI_1_CS# as GPIO (conflict with Verdin QSPI_1 interface) */ 237a4956811STony Lindgren pinctrl_qspi1_cs_gpio: main-gpio0-11-default-pins { 238316b8024SFrancesco Dolcini pinctrl-single,pins = < 239316b8024SFrancesco Dolcini AM62X_IOPAD(0x002c, PIN_INPUT, 7) /* (F23) OSPI0_CSn0.GPIO0_11 */ /* SODIMM 54 */ 240316b8024SFrancesco Dolcini >; 241316b8024SFrancesco Dolcini }; 242316b8024SFrancesco Dolcini 243316b8024SFrancesco Dolcini /* Verdin QSPI_1_CS2# as GPIO (conflict with Verdin QSPI_1 interface) */ 244a4956811STony Lindgren pinctrl_qspi1_cs2_gpio: main-gpio0-12-default-pins { 245316b8024SFrancesco Dolcini pinctrl-single,pins = < 246316b8024SFrancesco Dolcini AM62X_IOPAD(0x0030, PIN_INPUT, 7) /* (G21) OSPI0_CSn1.GPIO0_12 */ /* SODIMM 64 */ 247316b8024SFrancesco Dolcini >; 248316b8024SFrancesco Dolcini }; 249316b8024SFrancesco Dolcini 250316b8024SFrancesco Dolcini /* WiFi_W_WKUP_HOST# */ 251a4956811STony Lindgren pinctrl_wifi_w_wkup_host: main-gpio0-15-default-pins { 252316b8024SFrancesco Dolcini pinctrl-single,pins = < 253316b8024SFrancesco Dolcini AM62X_IOPAD(0x003c, PIN_INPUT, 7) /* (M25) GPMC0_AD0.GPIO0_15 */ /* SODIMM 174 */ 254316b8024SFrancesco Dolcini >; 255316b8024SFrancesco Dolcini }; 256316b8024SFrancesco Dolcini 257316b8024SFrancesco Dolcini /* WiFi_BT_WKUP_HOST# */ 258a4956811STony Lindgren pinctrl_bt_wkup_host: main-gpio0-16-default-pins { 259316b8024SFrancesco Dolcini pinctrl-single,pins = < 260316b8024SFrancesco Dolcini AM62X_IOPAD(0x0040, PIN_INPUT, 7) /* (N23) GPMC0_AD1.GPIO0_16 */ /* SODIMM 172 */ 261316b8024SFrancesco Dolcini >; 262316b8024SFrancesco Dolcini }; 263316b8024SFrancesco Dolcini 264316b8024SFrancesco Dolcini /* PMIC_ETH_RESET# */ 265a4956811STony Lindgren pinctrl_eth_reset: main-gpio0-17-default-pins { 266316b8024SFrancesco Dolcini pinctrl-single,pins = < 267316b8024SFrancesco Dolcini AM62X_IOPAD(0x0044, PIN_INPUT, 7) /* (N24) GPMC0_AD2.GPIO0_17 */ 268316b8024SFrancesco Dolcini >; 269316b8024SFrancesco Dolcini }; 270316b8024SFrancesco Dolcini 271316b8024SFrancesco Dolcini /* PMIC_BRIDGE_RESET# */ 272a4956811STony Lindgren pinctrl_bridge_reset: main-gpio0-20-default-pins { 273316b8024SFrancesco Dolcini pinctrl-single,pins = < 274316b8024SFrancesco Dolcini AM62X_IOPAD(0x0050, PIN_INPUT, 7) /* (P22) GPMC0_AD5.GPIO0_20 */ 275316b8024SFrancesco Dolcini >; 276316b8024SFrancesco Dolcini }; 277316b8024SFrancesco Dolcini 278316b8024SFrancesco Dolcini /* PMIC_VSEL_SD */ 279a4956811STony Lindgren pinctrl_vsel_sd: main-gpio0-21-default-pins { 280316b8024SFrancesco Dolcini pinctrl-single,pins = < 281316b8024SFrancesco Dolcini AM62X_IOPAD(0x0054, PIN_INPUT, 7) /* (P21) GPMC0_AD6.GPIO0_21 */ 282316b8024SFrancesco Dolcini >; 283316b8024SFrancesco Dolcini }; 284316b8024SFrancesco Dolcini 285316b8024SFrancesco Dolcini /* PMIC_EN_WIFI */ 286a4956811STony Lindgren pinctrl_wifi_en: main-gpio0-22-default-pins { 287316b8024SFrancesco Dolcini pinctrl-single,pins = < 288316b8024SFrancesco Dolcini AM62X_IOPAD(0x0058, PIN_INPUT, 7) /* (R23) GPMC0_AD7.GPIO0_22 */ 289316b8024SFrancesco Dolcini >; 290316b8024SFrancesco Dolcini }; 291316b8024SFrancesco Dolcini 292316b8024SFrancesco Dolcini /* PMIC_ETH_INT# */ 293a4956811STony Lindgren pinctrl_eth_int: main-gpio0-25-default-pins { 294316b8024SFrancesco Dolcini pinctrl-single,pins = < 295316b8024SFrancesco Dolcini AM62X_IOPAD(0x0064, PIN_INPUT_PULLUP, 7) /* (T25) GPMC0_AD10.GPIO0_25 */ 296316b8024SFrancesco Dolcini >; 297316b8024SFrancesco Dolcini }; 298316b8024SFrancesco Dolcini 299316b8024SFrancesco Dolcini /* WiFi_WKUP_BT# */ 300a4956811STony Lindgren pinctrl_wifi_wkup_bt: main-gpio0-26-default-pins { 301316b8024SFrancesco Dolcini pinctrl-single,pins = < 302316b8024SFrancesco Dolcini AM62X_IOPAD(0x0068, PIN_INPUT, 7) /* (R21) GPMC0_AD11.GPIO0_26 */ 303316b8024SFrancesco Dolcini >; 304316b8024SFrancesco Dolcini }; 305316b8024SFrancesco Dolcini 306316b8024SFrancesco Dolcini /* WiFi_WKUP_WLAN# */ 307a4956811STony Lindgren pinctrl_wifi_wkup_wlan: main-gpio0-27-default-pins { 308316b8024SFrancesco Dolcini pinctrl-single,pins = < 309316b8024SFrancesco Dolcini AM62X_IOPAD(0x006c, PIN_INPUT, 7) /* (T22) GPMC0_AD12.GPIO0_27 */ 310316b8024SFrancesco Dolcini >; 311316b8024SFrancesco Dolcini }; 312316b8024SFrancesco Dolcini 313316b8024SFrancesco Dolcini /* Verdin SD_1_PWR_EN */ 314a4956811STony Lindgren pinctrl_sd1_pwr_en: main-gpio0-29-default-pins { 315316b8024SFrancesco Dolcini pinctrl-single,pins = < 316316b8024SFrancesco Dolcini AM62X_IOPAD(0x0074, PIN_INPUT, 7) /* (U25) GPMC0_AD14.GPIO0_29 */ /* SODIMM 76 */ 317316b8024SFrancesco Dolcini >; 318316b8024SFrancesco Dolcini }; 319316b8024SFrancesco Dolcini 320316b8024SFrancesco Dolcini /* Verdin DSI_1_BKL_EN */ 321a4956811STony Lindgren pinctrl_dsi1_bkl_en: main-gpio0-30-default-pins { 322316b8024SFrancesco Dolcini pinctrl-single,pins = < 323316b8024SFrancesco Dolcini AM62X_IOPAD(0x0078, PIN_INPUT, 7) /* (U24) GPMC0_AD15.GPIO0_30 */ /* SODIMM 21 */ 324316b8024SFrancesco Dolcini >; 325316b8024SFrancesco Dolcini }; 326316b8024SFrancesco Dolcini 327316b8024SFrancesco Dolcini /* Verdin CTRL_SLEEP_MOCI# */ 328a4956811STony Lindgren pinctrl_ctrl_sleep_moci: main-gpio0-31-default-pins { 329316b8024SFrancesco Dolcini pinctrl-single,pins = < 330316b8024SFrancesco Dolcini AM62X_IOPAD(0x007c, PIN_INPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */ /* SODIMM 256 */ 331316b8024SFrancesco Dolcini >; 332316b8024SFrancesco Dolcini }; 333316b8024SFrancesco Dolcini 334316b8024SFrancesco Dolcini /* Verdin CTRL_WAKE1_MICO# */ 335a4956811STony Lindgren pinctrl_ctrl_wake1_mico: main-gpio0-32-default-pins { 336316b8024SFrancesco Dolcini pinctrl-single,pins = < 337316b8024SFrancesco Dolcini AM62X_IOPAD(0x0084, PIN_INPUT_PULLUP, 7) /* (L23) GPMC0_ADVn_ALE.GPIO0_32 */ /* SODIMM 252 */ 338316b8024SFrancesco Dolcini >; 339316b8024SFrancesco Dolcini }; 340316b8024SFrancesco Dolcini 341316b8024SFrancesco Dolcini /* Verdin I2S_2_D_OUT as GPIO (conflict with Verdin I2S_2 interface) */ 342a4956811STony Lindgren pinctrl_i2s_2_d_out_gpio: main-gpio0-34-default-pins { 343316b8024SFrancesco Dolcini pinctrl-single,pins = < 344316b8024SFrancesco Dolcini AM62X_IOPAD(0x008c, PIN_INPUT, 7) /* (L25) GPMC0_WEn.GPIO0_34 */ /* SODIMM 46 */ 345316b8024SFrancesco Dolcini >; 346316b8024SFrancesco Dolcini }; 347316b8024SFrancesco Dolcini 348316b8024SFrancesco Dolcini /* Verdin I2S_2_BCLK as GPIO (conflict with Verdin I2S_2 interface) */ 349a4956811STony Lindgren pinctrl_i2s_2_bclk_gpio: main-gpio0-35-default-pins { 350316b8024SFrancesco Dolcini pinctrl-single,pins = < 351316b8024SFrancesco Dolcini AM62X_IOPAD(0x0090, PIN_INPUT, 7) /* (M24) GPMC0_BE0n_CLE.GPIO0_35 */ /* SODIMM 42 */ 352316b8024SFrancesco Dolcini >; 353316b8024SFrancesco Dolcini }; 354316b8024SFrancesco Dolcini 355316b8024SFrancesco Dolcini /* Verdin GPIO_6 */ 356a4956811STony Lindgren pinctrl_gpio_6: main-gpio0-36-default-pins { 357316b8024SFrancesco Dolcini pinctrl-single,pins = < 358316b8024SFrancesco Dolcini AM62X_IOPAD(0x0094, PIN_INPUT, 7) /* (N20) GPMC0_BE1n.GPIO0_36 */ /* SODIMM 218 */ 359316b8024SFrancesco Dolcini >; 360316b8024SFrancesco Dolcini }; 361316b8024SFrancesco Dolcini 362316b8024SFrancesco Dolcini /* Verdin ETH_2_RGMII_INT# */ 363a4956811STony Lindgren pinctrl_eth2_rgmii_int: main-gpio0-38-default-pins { 364316b8024SFrancesco Dolcini pinctrl-single,pins = < 365316b8024SFrancesco Dolcini AM62X_IOPAD(0x009c, PIN_INPUT, 7) /* (V25) GPMC0_WAIT1.GPIO0_38 */ /* SODIMM 189 */ 366316b8024SFrancesco Dolcini >; 367316b8024SFrancesco Dolcini }; 368316b8024SFrancesco Dolcini 369316b8024SFrancesco Dolcini /* Verdin GPIO_5 */ 370a4956811STony Lindgren pinctrl_gpio_5: main-gpio0-40-default-pins { 371316b8024SFrancesco Dolcini pinctrl-single,pins = < 372316b8024SFrancesco Dolcini AM62X_IOPAD(0x00a4, PIN_INPUT, 7) /* (M22) GPMC0_DIR.GPIO0_40 */ /* SODIMM 216 */ 373316b8024SFrancesco Dolcini >; 374316b8024SFrancesco Dolcini }; 375316b8024SFrancesco Dolcini 376316b8024SFrancesco Dolcini /* Verdin GPIO_7 */ 377a4956811STony Lindgren pinctrl_gpio_7: main-gpio0-41-default-pins { 378316b8024SFrancesco Dolcini pinctrl-single,pins = < 379316b8024SFrancesco Dolcini AM62X_IOPAD(0x00a8, PIN_INPUT, 7) /* (M21) GPMC0_CSn0.GPIO0_41 */ /* SODIMM 220 */ 380316b8024SFrancesco Dolcini >; 381316b8024SFrancesco Dolcini }; 382316b8024SFrancesco Dolcini 383316b8024SFrancesco Dolcini /* Verdin GPIO_8 */ 384a4956811STony Lindgren pinctrl_gpio_8: main-gpio0-42-default-pins { 385316b8024SFrancesco Dolcini pinctrl-single,pins = < 386316b8024SFrancesco Dolcini AM62X_IOPAD(0x00ac, PIN_INPUT, 7) /* (L21) GPMC0_CSn1.GPIO0_42 */ /* SODIMM 222 */ 387316b8024SFrancesco Dolcini >; 388316b8024SFrancesco Dolcini }; 389316b8024SFrancesco Dolcini 390316b8024SFrancesco Dolcini /* Verdin USB_1_OC# */ 391a4956811STony Lindgren pinctrl_usb1_oc: main-gpio0-71-default-pins { 392316b8024SFrancesco Dolcini pinctrl-single,pins = < 393316b8024SFrancesco Dolcini AM62X_IOPAD(0x0124, PIN_INPUT, 7) /* (A23) MMC2_SDCD.GPIO0_71 */ /* SODIMM 157 */ 394316b8024SFrancesco Dolcini >; 395316b8024SFrancesco Dolcini }; 396316b8024SFrancesco Dolcini 397316b8024SFrancesco Dolcini /* Verdin USB_2_OC# */ 398a4956811STony Lindgren pinctrl_usb2_oc: main-gpio0-72-default-pins { 399316b8024SFrancesco Dolcini pinctrl-single,pins = < 400316b8024SFrancesco Dolcini AM62X_IOPAD(0x0128, PIN_INPUT, 7) /* (B23) MMC2_SDWP.GPIO0_72 */ /* SODIMM 187 */ 401316b8024SFrancesco Dolcini >; 402316b8024SFrancesco Dolcini }; 403316b8024SFrancesco Dolcini 404316b8024SFrancesco Dolcini /* Verdin PWM_3_DSI as GPIO */ 405a4956811STony Lindgren pinctrl_pwm3_dsi_gpio: main-gpio1-17-default-pins { 406316b8024SFrancesco Dolcini pinctrl-single,pins = < 407316b8024SFrancesco Dolcini AM62X_IOPAD(0x01bc, PIN_INPUT, 7) /* (A14) SPI0_CLK.GPIO1_17 */ /* SODIMM 19 */ 408316b8024SFrancesco Dolcini >; 409316b8024SFrancesco Dolcini }; 410316b8024SFrancesco Dolcini 411316b8024SFrancesco Dolcini /* Verdin QSPI_1_DQS as GPIO */ 412a4956811STony Lindgren pinctrl_qspi1_dqs_gpio: main-gpio1-18-default-pins { 413316b8024SFrancesco Dolcini pinctrl-single,pins = < 414316b8024SFrancesco Dolcini AM62X_IOPAD(0x01c0, PIN_INPUT, 7) /* (B13) SPI0_D0.GPIO1_18 */ /* SODIMM 66 */ 415316b8024SFrancesco Dolcini >; 416316b8024SFrancesco Dolcini }; 417316b8024SFrancesco Dolcini 418316b8024SFrancesco Dolcini /* Verdin USB_1_ID */ 419a4956811STony Lindgren pinctrl_usb0_id: main-gpio1-19-default-pins { 420316b8024SFrancesco Dolcini pinctrl-single,pins = < 421316b8024SFrancesco Dolcini AM62X_IOPAD(0x01c4, PIN_INPUT, 7) /* (B14) SPI0_D1.GPIO1_19 */ /* SODIMM 161 */ 422316b8024SFrancesco Dolcini >; 423316b8024SFrancesco Dolcini }; 424316b8024SFrancesco Dolcini 425316b8024SFrancesco Dolcini /* Verdin DSI_1_INT# (pulled-up as active-low) */ 426a4956811STony Lindgren pinctrl_dsi1_int: main-gpio1-49-default-pins { 427316b8024SFrancesco Dolcini pinctrl-single,pins = < 428316b8024SFrancesco Dolcini AM62X_IOPAD(0x0244, PIN_INPUT_PULLUP, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ /* SODIMM 17 */ 429316b8024SFrancesco Dolcini >; 430316b8024SFrancesco Dolcini }; 431316b8024SFrancesco Dolcini 432316b8024SFrancesco Dolcini /* On-module I2C - PMIC_I2C */ 433a4956811STony Lindgren pinctrl_i2c0: main-i2c0-default-pins { 434316b8024SFrancesco Dolcini pinctrl-single,pins = < 435316b8024SFrancesco Dolcini AM62X_IOPAD(0x01e0, PIN_INPUT, 0) /* (B16) I2C0_SCL */ /* PMIC_I2C_SCL */ 436316b8024SFrancesco Dolcini AM62X_IOPAD(0x01e4, PIN_INPUT, 0) /* (A16) I2C0_SDA */ /* PMIC_I2C_SDA */ 437316b8024SFrancesco Dolcini >; 438316b8024SFrancesco Dolcini }; 439316b8024SFrancesco Dolcini 440316b8024SFrancesco Dolcini /* Verdin I2C_1 */ 441a4956811STony Lindgren pinctrl_i2c1: main-i2c1-default-pins { 442316b8024SFrancesco Dolcini pinctrl-single,pins = < 443316b8024SFrancesco Dolcini AM62X_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ /* SODIMM 14 */ 444316b8024SFrancesco Dolcini AM62X_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ /* SODIMM 12 */ 445316b8024SFrancesco Dolcini >; 446316b8024SFrancesco Dolcini }; 447316b8024SFrancesco Dolcini 448316b8024SFrancesco Dolcini /* Verdin I2C_2_DSI */ 449a4956811STony Lindgren pinctrl_i2c2: main-i2c2-default-pins { 450316b8024SFrancesco Dolcini pinctrl-single,pins = < 451316b8024SFrancesco Dolcini AM62X_IOPAD(0x00b0, PIN_INPUT, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ /* SODIMM 55 */ 452316b8024SFrancesco Dolcini AM62X_IOPAD(0x00b4, PIN_INPUT, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ /* SODIMM 53 */ 453316b8024SFrancesco Dolcini >; 454316b8024SFrancesco Dolcini }; 455316b8024SFrancesco Dolcini 456316b8024SFrancesco Dolcini /* Verdin I2C_4_CSI */ 457a4956811STony Lindgren pinctrl_i2c3: main-i2c3-default-pins { 458316b8024SFrancesco Dolcini pinctrl-single,pins = < 459316b8024SFrancesco Dolcini AM62X_IOPAD(0x01d0, PIN_INPUT, 2) /* (A15) UART0_CTSn.I2C3_SCL */ /* SODIMM 95 */ 460316b8024SFrancesco Dolcini AM62X_IOPAD(0x01d4, PIN_INPUT, 2) /* (B15) UART0_RTSn.I2C3_SDA */ /* SODIMM 93 */ 461316b8024SFrancesco Dolcini >; 462316b8024SFrancesco Dolcini }; 463316b8024SFrancesco Dolcini 464316b8024SFrancesco Dolcini /* I2S_1_MCLK */ 465a4956811STony Lindgren pinctrl_i2s1_mclk: main-system-audio-ext-reflock1-default-pins { 466316b8024SFrancesco Dolcini pinctrl-single,pins = < 467316b8024SFrancesco Dolcini AM62X_IOPAD(0x00a0, PIN_OUTPUT, 1) /* (K25) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ /* SODIMM 38 */ 468316b8024SFrancesco Dolcini >; 469316b8024SFrancesco Dolcini }; 470316b8024SFrancesco Dolcini 471316b8024SFrancesco Dolcini /* Verdin I2S_1 */ 472a4956811STony Lindgren pinctrl_mcasp0: main-mcasp0-default-pins { 473316b8024SFrancesco Dolcini pinctrl-single,pins = < 474316b8024SFrancesco Dolcini AM62X_IOPAD(0x01a4, PIN_INPUT, 0) /* (B20) MCASP0_ACLKX */ /* SODIMM 30 */ 475316b8024SFrancesco Dolcini AM62X_IOPAD(0x01a8, PIN_INPUT, 0) /* (D20) MCASP0_AFSX */ /* SODIMM 32 */ 476316b8024SFrancesco Dolcini AM62X_IOPAD(0x01a0, PIN_OUTPUT, 0) /* (E18) MCASP0_AXR0 */ /* SODIMM 34 */ 477316b8024SFrancesco Dolcini AM62X_IOPAD(0x019c, PIN_INPUT, 0) /* (B18) MCASP0_AXR1 */ /* SODIMM 36 */ 478316b8024SFrancesco Dolcini >; 479316b8024SFrancesco Dolcini }; 480316b8024SFrancesco Dolcini 481316b8024SFrancesco Dolcini /* Verdin I2S_2 */ 482a4956811STony Lindgren pinctrl_mcasp1: main-mcasp1-default-pins { 483316b8024SFrancesco Dolcini pinctrl-single,pins = < 484316b8024SFrancesco Dolcini AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0n_CLE.MCASP1_ACLKX */ /* SODIMM 42 */ 485316b8024SFrancesco Dolcini AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ /* SODIMM 44 */ 486316b8024SFrancesco Dolcini AM62X_IOPAD(0x008c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEn.MCASP1_AXR0 */ /* SODIMM 46 */ 487316b8024SFrancesco Dolcini AM62X_IOPAD(0x0088, PIN_INPUT, 2) /* (L24) GPMC0_OEn_REn.MCASP1_AXR1 */ /* SODIMM 48 */ 488316b8024SFrancesco Dolcini >; 489316b8024SFrancesco Dolcini }; 490316b8024SFrancesco Dolcini 491316b8024SFrancesco Dolcini /* Verdin CAN_1 */ 492a4956811STony Lindgren pinctrl_mcan0: main-mcan0-default-pins { 493316b8024SFrancesco Dolcini pinctrl-single,pins = < 494316b8024SFrancesco Dolcini AM62X_IOPAD(0x01dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ /* SODIMM 22 */ 495316b8024SFrancesco Dolcini AM62X_IOPAD(0x01d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ /* SODIMM 20 */ 496316b8024SFrancesco Dolcini >; 497316b8024SFrancesco Dolcini }; 498316b8024SFrancesco Dolcini 499316b8024SFrancesco Dolcini /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 500a4956811STony Lindgren pinctrl_mdio: main-mdio1-default-pins { 501316b8024SFrancesco Dolcini pinctrl-single,pins = < 502316b8024SFrancesco Dolcini AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */ /* ETH_1_MDC, SODIMM 193 */ 503316b8024SFrancesco Dolcini AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ /* ETH_1_MDIO, SODIMM 191 */ 504316b8024SFrancesco Dolcini >; 505316b8024SFrancesco Dolcini }; 506316b8024SFrancesco Dolcini 507316b8024SFrancesco Dolcini /* On-module eMMC */ 508a4956811STony Lindgren pinctrl_sdhci0: main-mmc0-default-pins { 509316b8024SFrancesco Dolcini pinctrl-single,pins = < 510316b8024SFrancesco Dolcini AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ 511316b8024SFrancesco Dolcini AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ 512316b8024SFrancesco Dolcini AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ 513316b8024SFrancesco Dolcini AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1) MMC0_DAT1 */ 514316b8024SFrancesco Dolcini AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3) MMC0_DAT2 */ 515316b8024SFrancesco Dolcini AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4) MMC0_DAT3 */ 516316b8024SFrancesco Dolcini AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2) MMC0_DAT4 */ 517316b8024SFrancesco Dolcini AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1) MMC0_DAT5 */ 518316b8024SFrancesco Dolcini AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2) MMC0_DAT6 */ 519316b8024SFrancesco Dolcini AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2) MMC0_DAT7 */ 520316b8024SFrancesco Dolcini >; 521316b8024SFrancesco Dolcini }; 522316b8024SFrancesco Dolcini 523316b8024SFrancesco Dolcini /* Verdin SD_1 */ 524a4956811STony Lindgren pinctrl_sdhci1: main-mmc1-default-pins { 525316b8024SFrancesco Dolcini pinctrl-single,pins = < 526316b8024SFrancesco Dolcini AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ /* SODIMM 74 */ 527316b8024SFrancesco Dolcini AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ /* SODIMM 78 */ 528316b8024SFrancesco Dolcini AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ /* SODIMM 80 */ 529316b8024SFrancesco Dolcini AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ /* SODIMM 82 */ 530316b8024SFrancesco Dolcini AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ /* SODIMM 70 */ 531316b8024SFrancesco Dolcini AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ /* SODIMM 72 */ 532316b8024SFrancesco Dolcini AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 0) /* (D17) MMC1_SDCD */ /* SODIMM 84 */ 533316b8024SFrancesco Dolcini >; 534316b8024SFrancesco Dolcini }; 535316b8024SFrancesco Dolcini 536316b8024SFrancesco Dolcini /* On-module Wi-Fi on WB SKUs, module-specific SDIO otherwise */ 537a4956811STony Lindgren pinctrl_sdhci2: main-mmc2-default-pins { 538316b8024SFrancesco Dolcini pinctrl-single,pins = < 539316b8024SFrancesco Dolcini AM62X_IOPAD(0x120, PIN_INPUT, 0) /* (C24) MMC2_CMD */ /* WiFi_SDIO_CMD */ 540316b8024SFrancesco Dolcini AM62X_IOPAD(0x118, PIN_INPUT, 0) /* (D25) MMC2_CLK */ /* WiFi_SDIO_CLK */ 541316b8024SFrancesco Dolcini AM62X_IOPAD(0x114, PIN_INPUT, 0) /* (B24) MMC2_DAT0 */ /* WiFi_SDIO_DATA0 */ 542316b8024SFrancesco Dolcini AM62X_IOPAD(0x110, PIN_INPUT, 0) /* (C25) MMC2_DAT1 */ /* WiFi_SDIO_DATA1 */ 543316b8024SFrancesco Dolcini AM62X_IOPAD(0x10c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */ /* WiFi_SDIO_DATA2 */ 544316b8024SFrancesco Dolcini AM62X_IOPAD(0x108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */ /* WiFi_SDIO_DATA3 */ 545316b8024SFrancesco Dolcini AM62X_IOPAD(0x11c, PIN_INPUT, 0) /* (#N/A) MMC2_CLKB */ 546316b8024SFrancesco Dolcini >; 547316b8024SFrancesco Dolcini }; 548316b8024SFrancesco Dolcini 549316b8024SFrancesco Dolcini /* Verdin QSPI_1 */ 550a4956811STony Lindgren pinctrl_ospi0: main-ospi0-default-pins { 551316b8024SFrancesco Dolcini pinctrl-single,pins = < 552316b8024SFrancesco Dolcini AM62X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */ /* SODIMM 52 */ 553316b8024SFrancesco Dolcini AM62X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */ /* SODIMM 54 */ 554316b8024SFrancesco Dolcini AM62X_IOPAD(0x0030, PIN_OUTPUT, 0) /* (G21) OSPI0_CSn1 */ /* SODIMM 64 */ 555316b8024SFrancesco Dolcini AM62X_IOPAD(0x000c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */ /* SODIMM 56 */ 556316b8024SFrancesco Dolcini AM62X_IOPAD(0x0010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */ /* SODIMM 58 */ 557316b8024SFrancesco Dolcini AM62X_IOPAD(0x0014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */ /* SODIMM 60 */ 558316b8024SFrancesco Dolcini AM62X_IOPAD(0x0018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */ /* SODIMM 62 */ 559316b8024SFrancesco Dolcini >; 560316b8024SFrancesco Dolcini }; 561316b8024SFrancesco Dolcini 562316b8024SFrancesco Dolcini /* Verdin ETH_1 RGMII (On-module PHY) */ 563a4956811STony Lindgren pinctrl_rgmii1: main-rgmii1-default-pins { 564316b8024SFrancesco Dolcini pinctrl-single,pins = < 565316b8024SFrancesco Dolcini AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17) RGMII1_RD0 */ 566316b8024SFrancesco Dolcini AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17) RGMII1_RD1 */ 567316b8024SFrancesco Dolcini AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16) RGMII1_RD2 */ 568316b8024SFrancesco Dolcini AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15) RGMII1_RD3 */ 569316b8024SFrancesco Dolcini AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17) RGMII1_RXC */ 570316b8024SFrancesco Dolcini AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17) RGMII1_RX_CTL */ 571316b8024SFrancesco Dolcini AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20) RGMII1_TD0 */ 572316b8024SFrancesco Dolcini AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20) RGMII1_TD1 */ 573316b8024SFrancesco Dolcini AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18) RGMII1_TD2 */ 574316b8024SFrancesco Dolcini AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18) RGMII1_TD3 */ 575316b8024SFrancesco Dolcini AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19) RGMII1_TXC */ 576316b8024SFrancesco Dolcini AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19) RGMII1_TX_CTL */ 577316b8024SFrancesco Dolcini >; 578316b8024SFrancesco Dolcini }; 579316b8024SFrancesco Dolcini 580316b8024SFrancesco Dolcini /* Verdin ETH_2 RGMII */ 581a4956811STony Lindgren pinctrl_rgmii2: main-rgmii2-default-pins { 582316b8024SFrancesco Dolcini pinctrl-single,pins = < 583316b8024SFrancesco Dolcini AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ /* SODIMM 201 */ 584316b8024SFrancesco Dolcini AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ /* SODIMM 203 */ 585316b8024SFrancesco Dolcini AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ /* SODIMM 205 */ 586316b8024SFrancesco Dolcini AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ /* SODIMM 207 */ 587316b8024SFrancesco Dolcini AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ /* SODIMM 197 */ 588316b8024SFrancesco Dolcini AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ /* SODIMM 199 */ 589316b8024SFrancesco Dolcini AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ /* SODIMM 221 */ 590316b8024SFrancesco Dolcini AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ /* SODIMM 219 */ 591316b8024SFrancesco Dolcini AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ /* SODIMM 217 */ 592316b8024SFrancesco Dolcini AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ /* SODIMM 215 */ 593316b8024SFrancesco Dolcini AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ /* SODIMM 213 */ 594316b8024SFrancesco Dolcini AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ /* SODIMM 211 */ 595316b8024SFrancesco Dolcini >; 596316b8024SFrancesco Dolcini }; 597316b8024SFrancesco Dolcini 598316b8024SFrancesco Dolcini /* Verdin SPI_1 */ 599a4956811STony Lindgren pinctrl_spi1: main-spi1-default-pins { 600316b8024SFrancesco Dolcini pinctrl-single,pins = < 601316b8024SFrancesco Dolcini AM62X_IOPAD(0x0020, PIN_INPUT, 1) /* (J25) OSPI0_D5.SPI1_CLK */ /* SODIMM 196 */ 602316b8024SFrancesco Dolcini AM62X_IOPAD(0x001c, PIN_INPUT, 1) /* (J23) OSPI0_D4.SPI1_CS0 */ /* SODIMM 202 */ 603316b8024SFrancesco Dolcini AM62X_IOPAD(0x0024, PIN_INPUT, 1) /* (H25) OSPI0_D6.SPI1_D0 */ /* SODIMM 200 */ 604316b8024SFrancesco Dolcini AM62X_IOPAD(0x0028, PIN_INPUT, 1) /* (J22) OSPI0_D7.SPI1_D1 */ /* SODIMM 198 */ 605316b8024SFrancesco Dolcini >; 606316b8024SFrancesco Dolcini }; 607316b8024SFrancesco Dolcini 608316b8024SFrancesco Dolcini /* ETH_25MHz_CLK */ 609a4956811STony Lindgren pinctrl_eth_clock: main-system-clkout0-default-pins { 610316b8024SFrancesco Dolcini pinctrl-single,pins = < 611316b8024SFrancesco Dolcini AM62X_IOPAD(0x01f0, PIN_OUTPUT_PULLUP, 5) /* (A18) EXT_REFCLK1.CLKOUT0 */ 612316b8024SFrancesco Dolcini >; 613316b8024SFrancesco Dolcini }; 614316b8024SFrancesco Dolcini 615316b8024SFrancesco Dolcini /* PMIC_EXTINT# */ 616a4956811STony Lindgren pinctrl_pmic_extint: main-system-extint-default-pins { 617316b8024SFrancesco Dolcini pinctrl-single,pins = < 618316b8024SFrancesco Dolcini AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (D16) EXTINTn */ 619316b8024SFrancesco Dolcini >; 620316b8024SFrancesco Dolcini }; 621316b8024SFrancesco Dolcini 622316b8024SFrancesco Dolcini /* Verdin UART_3, used as the Linux console */ 623a4956811STony Lindgren pinctrl_uart0: main-uart0-default-pins { 624316b8024SFrancesco Dolcini pinctrl-single,pins = < 625316b8024SFrancesco Dolcini AM62X_IOPAD(0x1c8, PIN_INPUT_PULLUP, 0) /* (D14) UART0_RXD */ /* SODIMM 147 */ 626316b8024SFrancesco Dolcini AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ /* SODIMM 149 */ 627316b8024SFrancesco Dolcini >; 628316b8024SFrancesco Dolcini }; 629316b8024SFrancesco Dolcini 630316b8024SFrancesco Dolcini /* Verdin UART_1 */ 631a4956811STony Lindgren pinctrl_uart1: main-uart1-default-pins { 632316b8024SFrancesco Dolcini pinctrl-single,pins = < 633316b8024SFrancesco Dolcini AM62X_IOPAD(0x0194, PIN_INPUT_PULLUP, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ /* SODIMM 135 */ 634316b8024SFrancesco Dolcini AM62X_IOPAD(0x0198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ /* SODIMM 133 */ 635316b8024SFrancesco Dolcini AM62X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ /* SODIMM 129 */ 636316b8024SFrancesco Dolcini AM62X_IOPAD(0x01b0, PIN_OUTPUT, 2) /* (A20) MCASP0_ACLKR.UART1_TXD */ /* SODIMM 131 */ 637316b8024SFrancesco Dolcini >; 638316b8024SFrancesco Dolcini }; 639316b8024SFrancesco Dolcini 640316b8024SFrancesco Dolcini /* Bluetooth on WB SKUs, module-specific UART otherwise */ 641a4956811STony Lindgren pinctrl_uart5: main-uart5-default-pins { 642316b8024SFrancesco Dolcini pinctrl-single,pins = < 643316b8024SFrancesco Dolcini AM62X_IOPAD(0x0008, PIN_INPUT_PULLUP, 5) /* (J24) OSPI0_DQS.UART5_CTSn */ /* WiFi_UART_CTS */ 644316b8024SFrancesco Dolcini AM62X_IOPAD(0x0004, PIN_OUTPUT, 5) /* (G25) OSPI0_LBCLKO.UART5_RTSn */ /* WiFi_UART_RTS */ 645316b8024SFrancesco Dolcini AM62X_IOPAD(0x0034, PIN_INPUT_PULLUP, 5) /* (H21) OSPI0_CSn2.UART5_RXD */ /* WiFi_UART_RXD */ 646316b8024SFrancesco Dolcini AM62X_IOPAD(0x0038, PIN_OUTPUT, 5) /* (E24) OSPI0_CSn3.UART5_TXD */ /* WiFi_UART_TXD */ 647316b8024SFrancesco Dolcini >; 648316b8024SFrancesco Dolcini }; 649316b8024SFrancesco Dolcini 650316b8024SFrancesco Dolcini /* Verdin USB_1 */ 651a4956811STony Lindgren pinctrl_usb0: main-usb0-default-pins { 652316b8024SFrancesco Dolcini pinctrl-single,pins = < 653316b8024SFrancesco Dolcini AM62X_IOPAD(0x0254, PIN_OUTPUT, 0) /* (C20) USB0_DRVVBUS */ /* SODIMM 155 */ 654316b8024SFrancesco Dolcini >; 655316b8024SFrancesco Dolcini }; 656316b8024SFrancesco Dolcini 657316b8024SFrancesco Dolcini /* Verdin USB_2 */ 658a4956811STony Lindgren pinctrl_usb1: main-usb1-default-pins { 659316b8024SFrancesco Dolcini pinctrl-single,pins = < 660316b8024SFrancesco Dolcini AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ /* SODIMM 185 */ 661316b8024SFrancesco Dolcini >; 662316b8024SFrancesco Dolcini }; 663316b8024SFrancesco Dolcini 664316b8024SFrancesco Dolcini /* DSS VOUT0 RGB */ 665a4956811STony Lindgren pinctrl_parallel_rgb: main-vout-default-pins { 666316b8024SFrancesco Dolcini pinctrl-single,pins = < 667316b8024SFrancesco Dolcini AM62X_IOPAD(0x0100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ 668316b8024SFrancesco Dolcini AM62X_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ 669316b8024SFrancesco Dolcini AM62X_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ 670316b8024SFrancesco Dolcini AM62X_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ 671316b8024SFrancesco Dolcini AM62X_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ 672316b8024SFrancesco Dolcini AM62X_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ 673316b8024SFrancesco Dolcini AM62X_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ 674316b8024SFrancesco Dolcini AM62X_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ 675316b8024SFrancesco Dolcini AM62X_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ 676316b8024SFrancesco Dolcini AM62X_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ 677316b8024SFrancesco Dolcini AM62X_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ 678316b8024SFrancesco Dolcini AM62X_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ 679316b8024SFrancesco Dolcini AM62X_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ 680316b8024SFrancesco Dolcini AM62X_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ 681316b8024SFrancesco Dolcini AM62X_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ 682316b8024SFrancesco Dolcini AM62X_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ 683316b8024SFrancesco Dolcini AM62X_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ 684316b8024SFrancesco Dolcini AM62X_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ 685316b8024SFrancesco Dolcini AM62X_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ 686316b8024SFrancesco Dolcini AM62X_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ 687316b8024SFrancesco Dolcini AM62X_IOPAD(0x005c, PIN_OUTPUT, 1) /* (R24) GPMC0_AD8.VOUT0_DATA16 */ 688316b8024SFrancesco Dolcini AM62X_IOPAD(0x0060, PIN_OUTPUT, 1) /* (R25) GPMC0_AD9.VOUT0_DATA17 */ 689316b8024SFrancesco Dolcini >; 690316b8024SFrancesco Dolcini }; 691316b8024SFrancesco Dolcini}; 692316b8024SFrancesco Dolcini 693316b8024SFrancesco Dolcini&mcu_pmx0 { 694316b8024SFrancesco Dolcini /* Verdin PCIE_1_RESET# */ 695a4956811STony Lindgren pinctrl_pcie_1_reset: mcu-gpio0-0-default-pins { 696316b8024SFrancesco Dolcini pinctrl-single,pins = < 697316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0000, PIN_INPUT, 7) /* (E8) MCU_SPI0_CS0.MCU_GPIO0_0 */ /* SODIMM 244 */ 698316b8024SFrancesco Dolcini >; 699316b8024SFrancesco Dolcini }; 700316b8024SFrancesco Dolcini 701316b8024SFrancesco Dolcini /* Verdin GPIO_1 */ 702a4956811STony Lindgren pinctrl_gpio_1: mcu-gpio0-1-default-pins { 703316b8024SFrancesco Dolcini pinctrl-single,pins = < 704316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0004, PIN_INPUT, 7) /* (B8) MCU_SPI0_CS1.MCU_GPIO0_1 */ /* SODIMM 206 */ 705316b8024SFrancesco Dolcini >; 706316b8024SFrancesco Dolcini }; 707316b8024SFrancesco Dolcini 708316b8024SFrancesco Dolcini /* Verdin GPIO_2 */ 709a4956811STony Lindgren pinctrl_gpio_2: mcu-gpio0-2-default-pins { 710316b8024SFrancesco Dolcini pinctrl-single,pins = < 711316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 7) /* (A7) MCU_SPI0_CLK.MCU_GPIO0_2 */ /* SODIMM 208 */ 712316b8024SFrancesco Dolcini >; 713316b8024SFrancesco Dolcini }; 714316b8024SFrancesco Dolcini 715316b8024SFrancesco Dolcini /* Verdin GPIO_3 */ 716a4956811STony Lindgren pinctrl_gpio_3: mcu-gpio0-3-default-pins { 717316b8024SFrancesco Dolcini pinctrl-single,pins = < 718316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x000c, PIN_INPUT, 7) /* (D9) MCU_SPI0_D0.MCU_GPIO0_3 */ /* SODIMM 210 */ 719316b8024SFrancesco Dolcini >; 720316b8024SFrancesco Dolcini }; 721316b8024SFrancesco Dolcini 722316b8024SFrancesco Dolcini /* Verdin GPIO_4 */ 723a4956811STony Lindgren pinctrl_gpio_4: mcu-gpio0-4-default-pins { 724316b8024SFrancesco Dolcini pinctrl-single,pins = < 725316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 7) /* (C9) MCU_SPI0_D1.MCU_GPIO0_4 */ /* SODIMM 212 */ 726316b8024SFrancesco Dolcini >; 727316b8024SFrancesco Dolcini }; 728316b8024SFrancesco Dolcini 729316b8024SFrancesco Dolcini /* Verdin I2C_3_HDMI */ 730a4956811STony Lindgren pinctrl_mcu_i2c0: mcu-i2c0-default-pins { 731316b8024SFrancesco Dolcini pinctrl-single,pins = < 732316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0044, PIN_INPUT, 0) /* (A8) MCU_I2C0_SCL */ /* SODIMM 59 */ 733316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0048, PIN_INPUT, 0) /* (D10) MCU_I2C0_SDA */ /* SODIMM 57 */ 734316b8024SFrancesco Dolcini >; 735316b8024SFrancesco Dolcini }; 736316b8024SFrancesco Dolcini 7377480cea3SHiago De Franco /* Verdin CAN_2 */ 7387480cea3SHiago De Franco pinctrl_mcu_mcan0: mcu-mcan0-default-pins { 7397480cea3SHiago De Franco pinctrl-single,pins = < 7407480cea3SHiago De Franco AM62X_MCU_IOPAD(0x0038, PIN_INPUT, 0) /* (B3) MCU_MCAN0_RX */ /* SODIMM 26 */ 7417480cea3SHiago De Franco AM62X_MCU_IOPAD(0x0034, PIN_OUTPUT, 0) /* (D6) MCU_MCAN0_TX */ /* SODIMM 24 */ 7427480cea3SHiago De Franco >; 7437480cea3SHiago De Franco }; 7447480cea3SHiago De Franco 745316b8024SFrancesco Dolcini /* Verdin UART_4 - Reserved to Cortex-M4 */ 746a4956811STony Lindgren pinctrl_mcu_uart0: mcu-uart0-default-pins { 747316b8024SFrancesco Dolcini pinctrl-single,pins = < 748316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0014, PIN_INPUT_PULLUP, 0) /* (B5) MCU_UART0_RXD */ /* SODIMM 151 */ 749316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */ /* SODIMM 153 */ 750316b8024SFrancesco Dolcini >; 751316b8024SFrancesco Dolcini }; 752316b8024SFrancesco Dolcini 753316b8024SFrancesco Dolcini /* Verdin CSI_1_MCLK */ 754a4956811STony Lindgren pinctrl_csi1_mclk: wkup-clkout0-default-pins { 755316b8024SFrancesco Dolcini pinctrl-single,pins = < 756316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0084, PIN_OUTPUT, 0) /* (A12) WKUP_CLKOUT0 */ /* SODIMM 91 */ 757316b8024SFrancesco Dolcini >; 758316b8024SFrancesco Dolcini }; 759316b8024SFrancesco Dolcini 760316b8024SFrancesco Dolcini /* Verdin UART_2 */ 761a4956811STony Lindgren pinctrl_wkup_uart0: wkup-uart0-default-pins { 762316b8024SFrancesco Dolcini pinctrl-single,pins = < 763316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x002c, PIN_INPUT_PULLUP, 0) /* (C6) WKUP_UART0_CTSn */ /* SODIMM 143 */ 764316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (A4) WKUP_UART0_RTSn */ /* SODIMM 141 */ 765316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0024, PIN_INPUT_PULLUP, 0) /* (B4) WKUP_UART0_RXD */ /* SODIMM 137 */ 766316b8024SFrancesco Dolcini AM62X_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */ /* SODIMM 139 */ 767316b8024SFrancesco Dolcini >; 768316b8024SFrancesco Dolcini }; 769316b8024SFrancesco Dolcini}; 770316b8024SFrancesco Dolcini 7710bf6d62cSFrancesco Dolcini/* VERDIN I2S_1_MCLK */ 7720bf6d62cSFrancesco Dolcini&audio_refclk1 { 7730bf6d62cSFrancesco Dolcini assigned-clock-rates = <25000000>; 7740bf6d62cSFrancesco Dolcini}; 7750bf6d62cSFrancesco Dolcini 776316b8024SFrancesco Dolcini&cpsw3g { 777316b8024SFrancesco Dolcini pinctrl-names = "default"; 778316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_rgmii1>; 779316b8024SFrancesco Dolcini status = "disabled"; 780316b8024SFrancesco Dolcini}; 781316b8024SFrancesco Dolcini 782316b8024SFrancesco Dolcini/* Verdin ETH_1 (On-module PHY) */ 783316b8024SFrancesco Dolcini&cpsw_port1 { 784316b8024SFrancesco Dolcini phy-handle = <&cpsw3g_phy0>; 785316b8024SFrancesco Dolcini phy-mode = "rgmii-rxid"; 786316b8024SFrancesco Dolcini status = "disabled"; 787316b8024SFrancesco Dolcini}; 788316b8024SFrancesco Dolcini 789316b8024SFrancesco Dolcini/* Verdin ETH_2_RGMII */ 790316b8024SFrancesco Dolcini&cpsw_port2 { 791316b8024SFrancesco Dolcini status = "disabled"; 792316b8024SFrancesco Dolcini}; 793316b8024SFrancesco Dolcini 794316b8024SFrancesco Dolcini/* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 795316b8024SFrancesco Dolcini&cpsw3g_mdio { 796316b8024SFrancesco Dolcini assigned-clocks = <&k3_clks 157 20>; 797316b8024SFrancesco Dolcini assigned-clock-parents = <&k3_clks 157 22>; 798316b8024SFrancesco Dolcini assigned-clock-rates = <25000000>; 799316b8024SFrancesco Dolcini pinctrl-names = "default"; 800316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_eth_clock>, <&pinctrl_mdio>; 801316b8024SFrancesco Dolcini status = "disabled"; 802316b8024SFrancesco Dolcini 803316b8024SFrancesco Dolcini cpsw3g_phy0: ethernet-phy@0 { 804316b8024SFrancesco Dolcini compatible = "ethernet-phy-id2000.a231"; 805316b8024SFrancesco Dolcini reg = <0>; 806316b8024SFrancesco Dolcini interrupt-parent = <&main_gpio0>; 807316b8024SFrancesco Dolcini interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 808316b8024SFrancesco Dolcini pinctrl-names = "default"; 809316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_eth_int>, <&pinctrl_eth_reset>; 810316b8024SFrancesco Dolcini reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>; 811316b8024SFrancesco Dolcini reset-assert-us = <10>; 812316b8024SFrancesco Dolcini reset-deassert-us = <1000>; 813316b8024SFrancesco Dolcini ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 814316b8024SFrancesco Dolcini ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 815316b8024SFrancesco Dolcini }; 816316b8024SFrancesco Dolcini}; 817316b8024SFrancesco Dolcini 8189e772003SFrancesco Dolcini&dss { 8199e772003SFrancesco Dolcini pinctrl-names = "default"; 8209e772003SFrancesco Dolcini pinctrl-0 = <&pinctrl_parallel_rgb>; 8219e772003SFrancesco Dolcini status = "disabled"; 8229e772003SFrancesco Dolcini}; 8239e772003SFrancesco Dolcini 8249e772003SFrancesco Dolcini&dss_ports { 8259e772003SFrancesco Dolcini #address-cells = <1>; 8269e772003SFrancesco Dolcini #size-cells = <0>; 8279e772003SFrancesco Dolcini 8289e772003SFrancesco Dolcini /* VP2: DPI Output */ 8299e772003SFrancesco Dolcini port@1 { 8309e772003SFrancesco Dolcini reg = <1>; 8319e772003SFrancesco Dolcini 8329e772003SFrancesco Dolcini dpi_out: endpoint { 8339e772003SFrancesco Dolcini remote-endpoint = <&rgb_in>; 8349e772003SFrancesco Dolcini }; 8359e772003SFrancesco Dolcini }; 8369e772003SFrancesco Dolcini}; 8379e772003SFrancesco Dolcini 838316b8024SFrancesco Dolcini/* Verdin PWM_1, PWM_2 */ 839316b8024SFrancesco Dolcini&epwm0 { 840316b8024SFrancesco Dolcini pinctrl-names = "default"; 841316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_epwm0_a>, <&pinctrl_epwm0_b>; 842316b8024SFrancesco Dolcini status = "disabled"; 843316b8024SFrancesco Dolcini}; 844316b8024SFrancesco Dolcini 845316b8024SFrancesco Dolcini/* Verdin PWM_3_DSI */ 846316b8024SFrancesco Dolcini&epwm1 { 847316b8024SFrancesco Dolcini pinctrl-names = "default"; 848316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_epwm1_a>; 849316b8024SFrancesco Dolcini status = "disabled"; 850316b8024SFrancesco Dolcini}; 851316b8024SFrancesco Dolcini 852316b8024SFrancesco Dolcini&main_gpio0 { 853316b8024SFrancesco Dolcini gpio-line-names = 854316b8024SFrancesco Dolcini "SODIMM_52", /* 0 */ 855316b8024SFrancesco Dolcini "", 856316b8024SFrancesco Dolcini "", 857316b8024SFrancesco Dolcini "SODIMM_56", 858316b8024SFrancesco Dolcini "SODIMM_58", 859316b8024SFrancesco Dolcini "SODIMM_60", 860316b8024SFrancesco Dolcini "SODIMM_62", 861316b8024SFrancesco Dolcini "", 862316b8024SFrancesco Dolcini "", 863316b8024SFrancesco Dolcini "", 864316b8024SFrancesco Dolcini "", /* 10 */ 865316b8024SFrancesco Dolcini "SODIMM_54", 866316b8024SFrancesco Dolcini "SODIMM_64", 867316b8024SFrancesco Dolcini "", 868316b8024SFrancesco Dolcini "", 869316b8024SFrancesco Dolcini "SODIMM_174", 870316b8024SFrancesco Dolcini "SODIMM_172", 871316b8024SFrancesco Dolcini "", 872316b8024SFrancesco Dolcini "", 873316b8024SFrancesco Dolcini "", 874316b8024SFrancesco Dolcini "", /* 20 */ 875316b8024SFrancesco Dolcini "", 876316b8024SFrancesco Dolcini "", 877316b8024SFrancesco Dolcini "", 878316b8024SFrancesco Dolcini "", 879316b8024SFrancesco Dolcini "", 880316b8024SFrancesco Dolcini "", 881316b8024SFrancesco Dolcini "", 882316b8024SFrancesco Dolcini "", 883316b8024SFrancesco Dolcini "SODIMM_76", 884316b8024SFrancesco Dolcini "SODIMM_21", /* 30 */ 885316b8024SFrancesco Dolcini "SODIMM_256", 886316b8024SFrancesco Dolcini "SODIMM_252", 887316b8024SFrancesco Dolcini "", 888316b8024SFrancesco Dolcini "SODIMM_46", 889316b8024SFrancesco Dolcini "SODIMM_42", 890316b8024SFrancesco Dolcini "SODIMM_218", 891316b8024SFrancesco Dolcini "", 892316b8024SFrancesco Dolcini "SODIMM_189", 893316b8024SFrancesco Dolcini "", 894316b8024SFrancesco Dolcini "SODIMM_216", /* 40 */ 895316b8024SFrancesco Dolcini "SODIMM_220", 896316b8024SFrancesco Dolcini "SODIMM_222", 897316b8024SFrancesco Dolcini "", 898316b8024SFrancesco Dolcini "", 899316b8024SFrancesco Dolcini "", 900316b8024SFrancesco Dolcini "", 901316b8024SFrancesco Dolcini "", 902316b8024SFrancesco Dolcini "", 903316b8024SFrancesco Dolcini "", 904316b8024SFrancesco Dolcini "", /* 50 */ 905316b8024SFrancesco Dolcini "", 906316b8024SFrancesco Dolcini "", 907316b8024SFrancesco Dolcini "", 908316b8024SFrancesco Dolcini "", 909316b8024SFrancesco Dolcini "", 910316b8024SFrancesco Dolcini "", 911316b8024SFrancesco Dolcini "", 912316b8024SFrancesco Dolcini "", 913316b8024SFrancesco Dolcini "", 914316b8024SFrancesco Dolcini "", /* 60 */ 915316b8024SFrancesco Dolcini "", 916316b8024SFrancesco Dolcini "", 917316b8024SFrancesco Dolcini "", 918316b8024SFrancesco Dolcini "", 919316b8024SFrancesco Dolcini "", 920316b8024SFrancesco Dolcini "", 921316b8024SFrancesco Dolcini "", 922316b8024SFrancesco Dolcini "", 923316b8024SFrancesco Dolcini "", 924316b8024SFrancesco Dolcini "", /* 70 */ 925316b8024SFrancesco Dolcini "SODIMM_157", 926316b8024SFrancesco Dolcini "SODIMM_187", 927316b8024SFrancesco Dolcini "", 928316b8024SFrancesco Dolcini "", 929316b8024SFrancesco Dolcini "", 930316b8024SFrancesco Dolcini "", 931316b8024SFrancesco Dolcini "", 932316b8024SFrancesco Dolcini "", 933316b8024SFrancesco Dolcini "", 934316b8024SFrancesco Dolcini "", /* 80 */ 935316b8024SFrancesco Dolcini "", 936316b8024SFrancesco Dolcini "", 937316b8024SFrancesco Dolcini "", 938316b8024SFrancesco Dolcini "", 939316b8024SFrancesco Dolcini "", 940316b8024SFrancesco Dolcini ""; 941316b8024SFrancesco Dolcini 942316b8024SFrancesco Dolcini verdin_ctrl_sleep_moci: ctrl-sleep-moci-hog { 943316b8024SFrancesco Dolcini gpio-hog; 944316b8024SFrancesco Dolcini /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 945316b8024SFrancesco Dolcini gpios = <31 GPIO_ACTIVE_HIGH>; 946316b8024SFrancesco Dolcini line-name = "CTRL_SLEEP_MOCI#"; 947316b8024SFrancesco Dolcini output-high; 948316b8024SFrancesco Dolcini }; 949316b8024SFrancesco Dolcini}; 950316b8024SFrancesco Dolcini 951316b8024SFrancesco Dolcini&main_gpio1 { 952316b8024SFrancesco Dolcini gpio-line-names = 953316b8024SFrancesco Dolcini "", /* 0 */ 954316b8024SFrancesco Dolcini "", 955316b8024SFrancesco Dolcini "", 956316b8024SFrancesco Dolcini "", 957316b8024SFrancesco Dolcini "", 958316b8024SFrancesco Dolcini "", 959316b8024SFrancesco Dolcini "", 960316b8024SFrancesco Dolcini "", 961316b8024SFrancesco Dolcini "", 962316b8024SFrancesco Dolcini "", 963316b8024SFrancesco Dolcini "", /* 10 */ 964316b8024SFrancesco Dolcini "", 965316b8024SFrancesco Dolcini "", 966316b8024SFrancesco Dolcini "", 967316b8024SFrancesco Dolcini "", 968316b8024SFrancesco Dolcini "SODIMM_15", 969316b8024SFrancesco Dolcini "SODIMM_16", 970316b8024SFrancesco Dolcini "SODIMM_19", 971316b8024SFrancesco Dolcini "SODIMM_66", 972316b8024SFrancesco Dolcini "SODIMM_161", 973316b8024SFrancesco Dolcini "", /* 20 */ 974316b8024SFrancesco Dolcini "", 975316b8024SFrancesco Dolcini "", 976316b8024SFrancesco Dolcini "", 977316b8024SFrancesco Dolcini "", 978316b8024SFrancesco Dolcini "", 979316b8024SFrancesco Dolcini "", 980316b8024SFrancesco Dolcini "", 981316b8024SFrancesco Dolcini "", 982316b8024SFrancesco Dolcini "", 983316b8024SFrancesco Dolcini "", /* 30 */ 984316b8024SFrancesco Dolcini "", 985316b8024SFrancesco Dolcini "", 986316b8024SFrancesco Dolcini "", 987316b8024SFrancesco Dolcini "", 988316b8024SFrancesco Dolcini "", 989316b8024SFrancesco Dolcini "", 990316b8024SFrancesco Dolcini "", 991316b8024SFrancesco Dolcini "", 992316b8024SFrancesco Dolcini "", 993316b8024SFrancesco Dolcini "", /* 40 */ 994316b8024SFrancesco Dolcini "", 995316b8024SFrancesco Dolcini "", 996316b8024SFrancesco Dolcini "", 997316b8024SFrancesco Dolcini "", 998316b8024SFrancesco Dolcini "", 999316b8024SFrancesco Dolcini "", 1000316b8024SFrancesco Dolcini "", 1001316b8024SFrancesco Dolcini "", 1002316b8024SFrancesco Dolcini "SODIMM_17", 1003316b8024SFrancesco Dolcini "", /* 50 */ 1004316b8024SFrancesco Dolcini "", 1005316b8024SFrancesco Dolcini "", 1006316b8024SFrancesco Dolcini "", 1007316b8024SFrancesco Dolcini "", 1008316b8024SFrancesco Dolcini "", 1009316b8024SFrancesco Dolcini "", 1010316b8024SFrancesco Dolcini "", 1011316b8024SFrancesco Dolcini "", 1012316b8024SFrancesco Dolcini "", 1013316b8024SFrancesco Dolcini "", /* 60 */ 1014316b8024SFrancesco Dolcini "", 1015316b8024SFrancesco Dolcini "", 1016316b8024SFrancesco Dolcini "", 1017316b8024SFrancesco Dolcini "", 1018316b8024SFrancesco Dolcini "", 1019316b8024SFrancesco Dolcini "", 1020316b8024SFrancesco Dolcini "", 1021316b8024SFrancesco Dolcini "", 1022316b8024SFrancesco Dolcini "", 1023316b8024SFrancesco Dolcini "", /* 70 */ 1024316b8024SFrancesco Dolcini "", 1025316b8024SFrancesco Dolcini "", 1026316b8024SFrancesco Dolcini "", 1027316b8024SFrancesco Dolcini "", 1028316b8024SFrancesco Dolcini "", 1029316b8024SFrancesco Dolcini "", 1030316b8024SFrancesco Dolcini "", 1031316b8024SFrancesco Dolcini "", 1032316b8024SFrancesco Dolcini "", 1033316b8024SFrancesco Dolcini "", /* 80 */ 1034316b8024SFrancesco Dolcini "", 1035316b8024SFrancesco Dolcini "", 1036316b8024SFrancesco Dolcini "", 1037316b8024SFrancesco Dolcini "", 1038316b8024SFrancesco Dolcini "", 1039316b8024SFrancesco Dolcini "", 1040316b8024SFrancesco Dolcini ""; 1041316b8024SFrancesco Dolcini}; 1042316b8024SFrancesco Dolcini 1043316b8024SFrancesco Dolcini/* On-module I2C - PMIC_I2C */ 1044316b8024SFrancesco Dolcini&main_i2c0 { 1045316b8024SFrancesco Dolcini pinctrl-names = "default"; 1046316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_i2c0>; 1047316b8024SFrancesco Dolcini clock-frequency = <400000>; 1048316b8024SFrancesco Dolcini status = "okay"; 1049316b8024SFrancesco Dolcini 1050316b8024SFrancesco Dolcini dsi_bridge: dsi@e { 1051316b8024SFrancesco Dolcini compatible = "toshiba,tc358778"; 1052316b8024SFrancesco Dolcini reg = <0xe>; 1053316b8024SFrancesco Dolcini assigned-clocks = <&k3_clks 157 20>; 1054316b8024SFrancesco Dolcini assigned-clock-parents = <&k3_clks 157 22>; 1055316b8024SFrancesco Dolcini assigned-clock-rates = <25000000>; 1056316b8024SFrancesco Dolcini pinctrl-names = "default"; 1057316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_bridge_reset>; 1058316b8024SFrancesco Dolcini clocks = <&k3_clks 157 20>; 1059316b8024SFrancesco Dolcini clock-names = "refclk"; 1060316b8024SFrancesco Dolcini reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>; 1061316b8024SFrancesco Dolcini vddc-supply = <®_1v2_dsi>; 1062316b8024SFrancesco Dolcini vddmipi-supply = <®_1v2_dsi>; 1063316b8024SFrancesco Dolcini vddio-supply = <®_1v8_dsi>; 1064d0f54578SFrancesco Dolcini status = "disabled"; 1065316b8024SFrancesco Dolcini 1066316b8024SFrancesco Dolcini dsi_bridge_ports: ports { 1067316b8024SFrancesco Dolcini #address-cells = <1>; 1068316b8024SFrancesco Dolcini #size-cells = <0>; 1069316b8024SFrancesco Dolcini 1070316b8024SFrancesco Dolcini port@0 { 1071316b8024SFrancesco Dolcini reg = <0>; 1072316b8024SFrancesco Dolcini 1073316b8024SFrancesco Dolcini rgb_in: endpoint { 1074316b8024SFrancesco Dolcini data-lines = <18>; 10759e772003SFrancesco Dolcini remote-endpoint = <&dpi_out>; 1076316b8024SFrancesco Dolcini }; 1077316b8024SFrancesco Dolcini }; 1078316b8024SFrancesco Dolcini 1079316b8024SFrancesco Dolcini port@1 { 1080316b8024SFrancesco Dolcini reg = <1>; 1081316b8024SFrancesco Dolcini }; 1082316b8024SFrancesco Dolcini }; 1083316b8024SFrancesco Dolcini }; 1084316b8024SFrancesco Dolcini 1085316b8024SFrancesco Dolcini pmic@30 { 1086316b8024SFrancesco Dolcini compatible = "ti,tps65219"; 1087316b8024SFrancesco Dolcini reg = <0x30>; 1088316b8024SFrancesco Dolcini pinctrl-names = "default"; 1089316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_pmic_extint>; 1090316b8024SFrancesco Dolcini interrupt-parent = <&gic500>; 1091316b8024SFrancesco Dolcini interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 1092316b8024SFrancesco Dolcini 1093316b8024SFrancesco Dolcini buck1-supply = <®_vsodimm>; 1094316b8024SFrancesco Dolcini buck2-supply = <®_vsodimm>; 1095316b8024SFrancesco Dolcini buck3-supply = <®_vsodimm>; 1096316b8024SFrancesco Dolcini ldo1-supply = <®_3v3>; 1097316b8024SFrancesco Dolcini ldo2-supply = <®_1v8>; 1098316b8024SFrancesco Dolcini ldo3-supply = <®_3v3>; 1099316b8024SFrancesco Dolcini ldo4-supply = <®_3v3>; 1100316b8024SFrancesco Dolcini system-power-controller; 1101316b8024SFrancesco Dolcini ti,power-button; 1102316b8024SFrancesco Dolcini 1103316b8024SFrancesco Dolcini regulators { 1104316b8024SFrancesco Dolcini reg_vdd_core: buck1 { 1105316b8024SFrancesco Dolcini regulator-always-on; 1106316b8024SFrancesco Dolcini regulator-boot-on; 1107316b8024SFrancesco Dolcini regulator-max-microvolt = <850000>; 1108316b8024SFrancesco Dolcini regulator-min-microvolt = <850000>; 1109316b8024SFrancesco Dolcini regulator-name = "+VDD_CORE (PMIC BUCK1)"; 1110316b8024SFrancesco Dolcini }; 1111316b8024SFrancesco Dolcini 1112316b8024SFrancesco Dolcini reg_1v8: buck2 { 1113316b8024SFrancesco Dolcini regulator-always-on; 1114316b8024SFrancesco Dolcini regulator-boot-on; 1115316b8024SFrancesco Dolcini regulator-max-microvolt = <1800000>; 1116316b8024SFrancesco Dolcini regulator-min-microvolt = <1800000>; 1117316b8024SFrancesco Dolcini regulator-name = "+V1.8 (PMIC BUCK2)"; /* On-module and SODIMM 214 */ 1118316b8024SFrancesco Dolcini }; 1119316b8024SFrancesco Dolcini 1120316b8024SFrancesco Dolcini reg_vdd_ddr: buck3 { 1121316b8024SFrancesco Dolcini regulator-always-on; 1122316b8024SFrancesco Dolcini regulator-boot-on; 1123316b8024SFrancesco Dolcini regulator-max-microvolt = <1100000>; 1124316b8024SFrancesco Dolcini regulator-min-microvolt = <1100000>; 1125316b8024SFrancesco Dolcini regulator-name = "+VDD_DDR (PMIC BUCK3)"; 1126316b8024SFrancesco Dolcini }; 1127316b8024SFrancesco Dolcini 1128316b8024SFrancesco Dolcini reg_sd_3v3_1v8: ldo1 { 1129316b8024SFrancesco Dolcini regulator-allow-bypass; 1130316b8024SFrancesco Dolcini regulator-always-on; 1131316b8024SFrancesco Dolcini regulator-boot-on; 1132316b8024SFrancesco Dolcini regulator-max-microvolt = <3300000>; 1133316b8024SFrancesco Dolcini regulator-min-microvolt = <3300000>; 1134316b8024SFrancesco Dolcini regulator-name = "+V3.3_1.8_SD (PMIC LDO1)"; 1135316b8024SFrancesco Dolcini }; 1136316b8024SFrancesco Dolcini 1137316b8024SFrancesco Dolcini reg_vddr_core: ldo2 { 1138316b8024SFrancesco Dolcini regulator-always-on; 1139316b8024SFrancesco Dolcini regulator-boot-on; 1140316b8024SFrancesco Dolcini regulator-max-microvolt = <850000>; 1141316b8024SFrancesco Dolcini regulator-min-microvolt = <850000>; 1142316b8024SFrancesco Dolcini regulator-name = "+VDDR_CORE (PMIC LDO2)"; 1143316b8024SFrancesco Dolcini }; 1144316b8024SFrancesco Dolcini 1145316b8024SFrancesco Dolcini reg_1v8a: ldo3 { 1146316b8024SFrancesco Dolcini regulator-always-on; 1147316b8024SFrancesco Dolcini regulator-boot-on; 1148316b8024SFrancesco Dolcini regulator-max-microvolt = <1800000>; 1149316b8024SFrancesco Dolcini regulator-min-microvolt = <1800000>; 1150316b8024SFrancesco Dolcini regulator-name = "+V1.8A (PMIC LDO3)"; 1151316b8024SFrancesco Dolcini }; 1152316b8024SFrancesco Dolcini 1153316b8024SFrancesco Dolcini reg_eth_2v5: ldo4 { 1154316b8024SFrancesco Dolcini regulator-always-on; 1155316b8024SFrancesco Dolcini regulator-boot-on; 1156316b8024SFrancesco Dolcini regulator-max-microvolt = <2500000>; 1157316b8024SFrancesco Dolcini regulator-min-microvolt = <2500000>; 1158316b8024SFrancesco Dolcini regulator-name = "+V2.5_ETH (PMIC LDO4)"; 1159316b8024SFrancesco Dolcini }; 1160316b8024SFrancesco Dolcini }; 1161316b8024SFrancesco Dolcini }; 1162316b8024SFrancesco Dolcini 1163316b8024SFrancesco Dolcini rtc_i2c: rtc@32 { 1164316b8024SFrancesco Dolcini compatible = "epson,rx8130"; 1165316b8024SFrancesco Dolcini reg = <0x32>; 1166316b8024SFrancesco Dolcini }; 1167316b8024SFrancesco Dolcini 1168316b8024SFrancesco Dolcini sensor@48 { 1169316b8024SFrancesco Dolcini compatible = "ti,tmp1075"; 1170316b8024SFrancesco Dolcini reg = <0x48>; 1171316b8024SFrancesco Dolcini }; 1172316b8024SFrancesco Dolcini 1173316b8024SFrancesco Dolcini adc@49 { 1174316b8024SFrancesco Dolcini compatible = "ti,ads1015"; 1175316b8024SFrancesco Dolcini reg = <0x49>; 1176316b8024SFrancesco Dolcini #address-cells = <1>; 1177316b8024SFrancesco Dolcini #size-cells = <0>; 1178316b8024SFrancesco Dolcini 1179316b8024SFrancesco Dolcini /* Verdin PMIC_I2C (ADC_4 - ADC_3) */ 1180316b8024SFrancesco Dolcini channel@0 { 1181316b8024SFrancesco Dolcini reg = <0>; 1182316b8024SFrancesco Dolcini ti,datarate = <4>; 1183316b8024SFrancesco Dolcini ti,gain = <2>; 1184316b8024SFrancesco Dolcini }; 1185316b8024SFrancesco Dolcini 1186316b8024SFrancesco Dolcini /* Verdin PMIC_I2C (ADC_4 - ADC_1) */ 1187316b8024SFrancesco Dolcini channel@1 { 1188316b8024SFrancesco Dolcini reg = <1>; 1189316b8024SFrancesco Dolcini ti,datarate = <4>; 1190316b8024SFrancesco Dolcini ti,gain = <2>; 1191316b8024SFrancesco Dolcini }; 1192316b8024SFrancesco Dolcini 1193316b8024SFrancesco Dolcini /* Verdin PMIC_I2C (ADC_3 - ADC_1) */ 1194316b8024SFrancesco Dolcini channel@2 { 1195316b8024SFrancesco Dolcini reg = <2>; 1196316b8024SFrancesco Dolcini ti,datarate = <4>; 1197316b8024SFrancesco Dolcini ti,gain = <2>; 1198316b8024SFrancesco Dolcini }; 1199316b8024SFrancesco Dolcini 1200316b8024SFrancesco Dolcini /* Verdin PMIC_I2C (ADC_2 - ADC_1) */ 1201316b8024SFrancesco Dolcini channel@3 { 1202316b8024SFrancesco Dolcini reg = <3>; 1203316b8024SFrancesco Dolcini ti,datarate = <4>; 1204316b8024SFrancesco Dolcini ti,gain = <2>; 1205316b8024SFrancesco Dolcini }; 1206316b8024SFrancesco Dolcini 1207316b8024SFrancesco Dolcini /* Verdin PMIC_I2C ADC_4 */ 1208316b8024SFrancesco Dolcini channel@4 { 1209316b8024SFrancesco Dolcini reg = <4>; 1210316b8024SFrancesco Dolcini ti,datarate = <4>; 1211316b8024SFrancesco Dolcini ti,gain = <2>; 1212316b8024SFrancesco Dolcini }; 1213316b8024SFrancesco Dolcini 1214316b8024SFrancesco Dolcini /* Verdin PMIC_I2C ADC_3 */ 1215316b8024SFrancesco Dolcini channel@5 { 1216316b8024SFrancesco Dolcini reg = <5>; 1217316b8024SFrancesco Dolcini ti,datarate = <4>; 1218316b8024SFrancesco Dolcini ti,gain = <2>; 1219316b8024SFrancesco Dolcini }; 1220316b8024SFrancesco Dolcini 1221316b8024SFrancesco Dolcini /* Verdin PMIC_I2C ADC_2 */ 1222316b8024SFrancesco Dolcini channel@6 { 1223316b8024SFrancesco Dolcini reg = <6>; 1224316b8024SFrancesco Dolcini ti,datarate = <4>; 1225316b8024SFrancesco Dolcini ti,gain = <2>; 1226316b8024SFrancesco Dolcini }; 1227316b8024SFrancesco Dolcini 1228316b8024SFrancesco Dolcini /* Verdin PMIC_I2C ADC_1 */ 1229316b8024SFrancesco Dolcini channel@7 { 1230316b8024SFrancesco Dolcini reg = <7>; 1231316b8024SFrancesco Dolcini ti,datarate = <4>; 1232316b8024SFrancesco Dolcini ti,gain = <2>; 1233316b8024SFrancesco Dolcini }; 1234316b8024SFrancesco Dolcini }; 1235316b8024SFrancesco Dolcini 1236316b8024SFrancesco Dolcini eeprom@50 { 1237316b8024SFrancesco Dolcini compatible = "st,24c02", "atmel,24c02"; 1238316b8024SFrancesco Dolcini pagesize = <16>; 1239316b8024SFrancesco Dolcini reg = <0x50>; 1240316b8024SFrancesco Dolcini }; 1241316b8024SFrancesco Dolcini}; 1242316b8024SFrancesco Dolcini 1243316b8024SFrancesco Dolcini/* Verdin I2C_1 */ 1244316b8024SFrancesco Dolcini&main_i2c1 { 1245316b8024SFrancesco Dolcini pinctrl-names = "default"; 1246316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_i2c1>; 1247316b8024SFrancesco Dolcini status = "disabled"; 1248316b8024SFrancesco Dolcini}; 1249316b8024SFrancesco Dolcini 1250316b8024SFrancesco Dolcini/* Verdin I2C_2_DSI */ 1251316b8024SFrancesco Dolcini&main_i2c2 { 1252316b8024SFrancesco Dolcini pinctrl-names = "default"; 1253316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_i2c2>; 1254316b8024SFrancesco Dolcini status = "disabled"; 1255316b8024SFrancesco Dolcini}; 1256316b8024SFrancesco Dolcini 1257316b8024SFrancesco Dolcini/* Verdin I2C_4_CSI */ 1258316b8024SFrancesco Dolcini&main_i2c3 { 1259316b8024SFrancesco Dolcini pinctrl-names = "default"; 1260316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_i2c3>; 1261316b8024SFrancesco Dolcini status = "disabled"; 1262316b8024SFrancesco Dolcini}; 1263316b8024SFrancesco Dolcini 1264316b8024SFrancesco Dolcini&mailbox0_cluster0 { 1265316b8024SFrancesco Dolcini mbox_m4_0: mbox-m4-0 { 1266316b8024SFrancesco Dolcini ti,mbox-rx = <0 0 0>; 1267316b8024SFrancesco Dolcini ti,mbox-tx = <1 0 0>; 1268316b8024SFrancesco Dolcini }; 1269316b8024SFrancesco Dolcini}; 1270316b8024SFrancesco Dolcini 1271316b8024SFrancesco Dolcini/* Verdin CAN_1 */ 1272316b8024SFrancesco Dolcini&main_mcan0 { 1273316b8024SFrancesco Dolcini pinctrl-names = "default"; 1274316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_mcan0>; 1275316b8024SFrancesco Dolcini status = "disabled"; 1276316b8024SFrancesco Dolcini}; 1277316b8024SFrancesco Dolcini 1278316b8024SFrancesco Dolcini/* Verdin SPI_1 */ 1279316b8024SFrancesco Dolcini&main_spi1 { 1280316b8024SFrancesco Dolcini pinctrl-names = "default"; 1281316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_spi1>; 1282316b8024SFrancesco Dolcini ti,pindir-d0-out-d1-in; 1283316b8024SFrancesco Dolcini status = "disabled"; 1284316b8024SFrancesco Dolcini}; 1285316b8024SFrancesco Dolcini 1286316b8024SFrancesco Dolcini/* Verdin UART_3, used as the Linux console */ 1287316b8024SFrancesco Dolcini&main_uart0 { 1288316b8024SFrancesco Dolcini pinctrl-names = "default"; 1289316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_uart0>; 1290316b8024SFrancesco Dolcini status = "disabled"; 1291316b8024SFrancesco Dolcini}; 1292316b8024SFrancesco Dolcini 1293316b8024SFrancesco Dolcini/* Verdin UART_1 */ 1294316b8024SFrancesco Dolcini&main_uart1 { 1295316b8024SFrancesco Dolcini pinctrl-names = "default"; 1296316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_uart1>; 1297316b8024SFrancesco Dolcini status = "disabled"; 1298316b8024SFrancesco Dolcini}; 1299316b8024SFrancesco Dolcini 1300316b8024SFrancesco Dolcini/* Verdin I2S_1 */ 1301316b8024SFrancesco Dolcini&mcasp0 { 1302316b8024SFrancesco Dolcini pinctrl-names = "default"; 1303316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_mcasp0>; 1304316b8024SFrancesco Dolcini op-mode = <0>; /* I2S mode */ 1305316b8024SFrancesco Dolcini serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1306316b8024SFrancesco Dolcini 1 2 0 0 1307316b8024SFrancesco Dolcini 0 0 0 0 1308316b8024SFrancesco Dolcini 0 0 0 0 1309316b8024SFrancesco Dolcini 0 0 0 0 1310316b8024SFrancesco Dolcini >; 1311316b8024SFrancesco Dolcini tdm-slots = <2>; 1312316b8024SFrancesco Dolcini #sound-dai-cells = <0>; 1313316b8024SFrancesco Dolcini status = "disabled"; 1314316b8024SFrancesco Dolcini}; 1315316b8024SFrancesco Dolcini 1316316b8024SFrancesco Dolcini/* Verdin I2S_2 */ 1317316b8024SFrancesco Dolcini&mcasp1 { 1318316b8024SFrancesco Dolcini pinctrl-names = "default"; 1319316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_mcasp1>; 1320316b8024SFrancesco Dolcini op-mode = <0>; /* I2S mode */ 1321316b8024SFrancesco Dolcini serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1322316b8024SFrancesco Dolcini 1 2 0 0 1323316b8024SFrancesco Dolcini 0 0 0 0 1324316b8024SFrancesco Dolcini 0 0 0 0 1325316b8024SFrancesco Dolcini 0 0 0 0 1326316b8024SFrancesco Dolcini >; 1327316b8024SFrancesco Dolcini tdm-slots = <2>; 1328316b8024SFrancesco Dolcini #sound-dai-cells = <0>; 1329316b8024SFrancesco Dolcini status = "disabled"; 1330316b8024SFrancesco Dolcini}; 1331316b8024SFrancesco Dolcini 1332316b8024SFrancesco Dolcini/* Verdin I2C_3_HDMI */ 1333316b8024SFrancesco Dolcini&mcu_i2c0 { 1334316b8024SFrancesco Dolcini pinctrl-names = "default"; 1335316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_mcu_i2c0>; 1336316b8024SFrancesco Dolcini status = "disabled"; 1337316b8024SFrancesco Dolcini}; 1338316b8024SFrancesco Dolcini 1339316b8024SFrancesco Dolcini&mcu_gpio0 { 1340316b8024SFrancesco Dolcini gpio-line-names = 1341316b8024SFrancesco Dolcini "SODIMM_244", 1342316b8024SFrancesco Dolcini "SODIMM_206", 1343316b8024SFrancesco Dolcini "SODIMM_208", 1344316b8024SFrancesco Dolcini "SODIMM_210", 1345316b8024SFrancesco Dolcini "SODIMM_212", 1346316b8024SFrancesco Dolcini "", 1347316b8024SFrancesco Dolcini "", 1348316b8024SFrancesco Dolcini "", 1349316b8024SFrancesco Dolcini "", 1350316b8024SFrancesco Dolcini "", 1351316b8024SFrancesco Dolcini "", 1352316b8024SFrancesco Dolcini "", 1353316b8024SFrancesco Dolcini "", 1354316b8024SFrancesco Dolcini "", 1355316b8024SFrancesco Dolcini "", 1356316b8024SFrancesco Dolcini "", 1357316b8024SFrancesco Dolcini "", 1358316b8024SFrancesco Dolcini "", 1359316b8024SFrancesco Dolcini "", 1360316b8024SFrancesco Dolcini "", 1361316b8024SFrancesco Dolcini "", 1362316b8024SFrancesco Dolcini "", 1363316b8024SFrancesco Dolcini "", 1364316b8024SFrancesco Dolcini ""; 1365316b8024SFrancesco Dolcini}; 1366316b8024SFrancesco Dolcini 13677480cea3SHiago De Franco/* Verdin CAN_2 */ 13687480cea3SHiago De Franco&mcu_mcan0 { 13697480cea3SHiago De Franco pinctrl-names = "default"; 13707480cea3SHiago De Franco pinctrl-0 = <&pinctrl_mcu_mcan0>; 13717480cea3SHiago De Franco status = "disabled"; 13727480cea3SHiago De Franco}; 13737480cea3SHiago De Franco 1374316b8024SFrancesco Dolcini/* Verdin UART_4 - Cortex-M4 UART */ 1375316b8024SFrancesco Dolcini&mcu_uart0 { 1376316b8024SFrancesco Dolcini pinctrl-names = "default"; 1377316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_mcu_uart0>; 1378316b8024SFrancesco Dolcini status = "disabled"; 1379316b8024SFrancesco Dolcini}; 1380316b8024SFrancesco Dolcini 1381316b8024SFrancesco Dolcini/* Verdin QSPI_1 */ 1382316b8024SFrancesco Dolcini&ospi0 { 1383316b8024SFrancesco Dolcini pinctrl-names = "default"; 1384316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_ospi0>; 1385316b8024SFrancesco Dolcini status = "disabled"; 1386316b8024SFrancesco Dolcini}; 1387316b8024SFrancesco Dolcini 1388316b8024SFrancesco Dolcini/* On-module eMMC */ 1389316b8024SFrancesco Dolcini&sdhci0 { 1390316b8024SFrancesco Dolcini pinctrl-names = "default"; 1391316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_sdhci0>; 1392316b8024SFrancesco Dolcini non-removable; 1393316b8024SFrancesco Dolcini ti,driver-strength-ohm = <50>; 1394316b8024SFrancesco Dolcini status = "okay"; 1395316b8024SFrancesco Dolcini}; 1396316b8024SFrancesco Dolcini 1397316b8024SFrancesco Dolcini/* Verdin SD_1 */ 1398316b8024SFrancesco Dolcini&sdhci1 { 1399316b8024SFrancesco Dolcini pinctrl-names = "default"; 1400316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_sdhci1>; 1401316b8024SFrancesco Dolcini disable-wp; 1402316b8024SFrancesco Dolcini ti,driver-strength-ohm = <50>; 1403316b8024SFrancesco Dolcini vmmc-supply = <®_sdhc1_vmmc>; 1404316b8024SFrancesco Dolcini vqmmc-supply = <®_sdhc1_vqmmc>; 1405316b8024SFrancesco Dolcini status = "disabled"; 1406316b8024SFrancesco Dolcini}; 1407316b8024SFrancesco Dolcini 1408316b8024SFrancesco Dolcini/* Verdin USB_1 */ 1409316b8024SFrancesco Dolcini&usbss0 { 1410316b8024SFrancesco Dolcini ti,vbus-divider; 1411316b8024SFrancesco Dolcini status = "disabled"; 1412316b8024SFrancesco Dolcini}; 1413316b8024SFrancesco Dolcini 1414316b8024SFrancesco Dolcini/* TODO: role swich using ID pin */ 1415316b8024SFrancesco Dolcini&usb0 { 1416316b8024SFrancesco Dolcini pinctrl-names = "default"; 1417316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb0_id>; 1418316b8024SFrancesco Dolcini status = "disabled"; 1419316b8024SFrancesco Dolcini}; 1420316b8024SFrancesco Dolcini 1421316b8024SFrancesco Dolcini/* Verdin USB_2 */ 1422316b8024SFrancesco Dolcini&usbss1 { 1423316b8024SFrancesco Dolcini ti,vbus-divider; 1424316b8024SFrancesco Dolcini status = "disabled"; 1425316b8024SFrancesco Dolcini}; 1426316b8024SFrancesco Dolcini 1427316b8024SFrancesco Dolcini&usb1 { 1428316b8024SFrancesco Dolcini pinctrl-names = "default"; 1429316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_usb1>; 1430316b8024SFrancesco Dolcini dr_mode = "host"; 1431316b8024SFrancesco Dolcini status = "disabled"; 1432316b8024SFrancesco Dolcini}; 1433316b8024SFrancesco Dolcini 1434316b8024SFrancesco Dolcini/* Verdin UART_2 */ 1435316b8024SFrancesco Dolcini&wkup_uart0 { 1436316b8024SFrancesco Dolcini pinctrl-names = "default"; 1437316b8024SFrancesco Dolcini pinctrl-0 = <&pinctrl_wkup_uart0>; 1438316b8024SFrancesco Dolcini status = "disabled"; 1439316b8024SFrancesco Dolcini}; 1440