1cb7aa33aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2cb7aa33aSEmmanuel Vadot/* 3cb7aa33aSEmmanuel Vadot * Copyright 2023 Toradex 4cb7aa33aSEmmanuel Vadot */ 5cb7aa33aSEmmanuel Vadot 6cb7aa33aSEmmanuel Vadot#include <dt-bindings/leds/common.h> 7cb7aa33aSEmmanuel Vadot 8cb7aa33aSEmmanuel Vadot/ { 90e8011faSEmmanuel Vadot native-hdmi-connector { 100e8011faSEmmanuel Vadot compatible = "hdmi-connector"; 110e8011faSEmmanuel Vadot label = "J15"; 120e8011faSEmmanuel Vadot type = "a"; 130e8011faSEmmanuel Vadot 140e8011faSEmmanuel Vadot port { 150e8011faSEmmanuel Vadot native_hdmi_connector_in: endpoint { 160e8011faSEmmanuel Vadot remote-endpoint = <&hdmi_tx_out>; 170e8011faSEmmanuel Vadot }; 180e8011faSEmmanuel Vadot }; 190e8011faSEmmanuel Vadot }; 200e8011faSEmmanuel Vadot 21cb7aa33aSEmmanuel Vadot /* Carrier Board Supply +V1.8 */ 22cb7aa33aSEmmanuel Vadot reg_1p8v: regulator-1p8v { 23cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 24cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 25cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 26cb7aa33aSEmmanuel Vadot regulator-name = "+V1.8_SW"; 27cb7aa33aSEmmanuel Vadot }; 28cb7aa33aSEmmanuel Vadot 29cb7aa33aSEmmanuel Vadot /* Carrier Board Supply +V3.3 */ 30cb7aa33aSEmmanuel Vadot reg_3p3v: regulator-3p3v { 31cb7aa33aSEmmanuel Vadot compatible = "regulator-fixed"; 32cb7aa33aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 33cb7aa33aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 34cb7aa33aSEmmanuel Vadot regulator-name = "+V3.3_SW"; 35cb7aa33aSEmmanuel Vadot }; 36cb7aa33aSEmmanuel Vadot 37cb7aa33aSEmmanuel Vadot leds { 38cb7aa33aSEmmanuel Vadot compatible = "gpio-leds"; 39cb7aa33aSEmmanuel Vadot 40cb7aa33aSEmmanuel Vadot pinctrl-names = "default"; 41cb7aa33aSEmmanuel Vadot pinctrl-0 = <&pinctrl_leds_yavia>; 42cb7aa33aSEmmanuel Vadot 43cb7aa33aSEmmanuel Vadot /* SODIMM 52 - LD1_RED */ 44cb7aa33aSEmmanuel Vadot led-0 { 45cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_RED>; 46cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_DEBUG; 47cb7aa33aSEmmanuel Vadot function-enumerator = <1>; 48cb7aa33aSEmmanuel Vadot gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; 49cb7aa33aSEmmanuel Vadot }; 50cb7aa33aSEmmanuel Vadot /* SODIMM 54 - LD1_GREEN */ 51cb7aa33aSEmmanuel Vadot led-1 { 52cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 53cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_DEBUG; 54cb7aa33aSEmmanuel Vadot function-enumerator = <1>; 55cb7aa33aSEmmanuel Vadot gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>; 56cb7aa33aSEmmanuel Vadot }; 57cb7aa33aSEmmanuel Vadot /* SODIMM 56 - LD1_BLUE */ 58cb7aa33aSEmmanuel Vadot led-2 { 59cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 60cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_DEBUG; 61cb7aa33aSEmmanuel Vadot function-enumerator = <1>; 62cb7aa33aSEmmanuel Vadot gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>; 63cb7aa33aSEmmanuel Vadot }; 64cb7aa33aSEmmanuel Vadot /* SODIMM 58 - LD2_RED */ 65cb7aa33aSEmmanuel Vadot led-3 { 66cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_RED>; 67cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_DEBUG; 68cb7aa33aSEmmanuel Vadot function-enumerator = <2>; 69cb7aa33aSEmmanuel Vadot gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>; 70cb7aa33aSEmmanuel Vadot }; 71cb7aa33aSEmmanuel Vadot /* SODIMM 60 - LD2_GREEN */ 72cb7aa33aSEmmanuel Vadot led-4 { 73cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 74cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_DEBUG; 75cb7aa33aSEmmanuel Vadot function-enumerator = <2>; 76cb7aa33aSEmmanuel Vadot gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>; 77cb7aa33aSEmmanuel Vadot }; 78cb7aa33aSEmmanuel Vadot /* SODIMM 62 - LD2_BLUE */ 79cb7aa33aSEmmanuel Vadot led-5 { 80cb7aa33aSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 81cb7aa33aSEmmanuel Vadot function = LED_FUNCTION_DEBUG; 82cb7aa33aSEmmanuel Vadot function-enumerator = <2>; 83cb7aa33aSEmmanuel Vadot gpios = <&gpio3 9 GPIO_ACTIVE_HIGH>; 84cb7aa33aSEmmanuel Vadot }; 85cb7aa33aSEmmanuel Vadot }; 86cb7aa33aSEmmanuel Vadot}; 87cb7aa33aSEmmanuel Vadot 88*b2d2a78aSEmmanuel Vadot/* Verdin HDMI_1 Audio */ 89*b2d2a78aSEmmanuel Vadot&aud2htx { 90*b2d2a78aSEmmanuel Vadot status = "okay"; 91*b2d2a78aSEmmanuel Vadot}; 92*b2d2a78aSEmmanuel Vadot 93cb7aa33aSEmmanuel Vadot&backlight { 94cb7aa33aSEmmanuel Vadot power-supply = <®_3p3v>; 95cb7aa33aSEmmanuel Vadot}; 96cb7aa33aSEmmanuel Vadot 97cb7aa33aSEmmanuel Vadot/* Verdin SPI_1 */ 98cb7aa33aSEmmanuel Vadot&ecspi1 { 99cb7aa33aSEmmanuel Vadot status = "okay"; 100cb7aa33aSEmmanuel Vadot}; 101cb7aa33aSEmmanuel Vadot 102cb7aa33aSEmmanuel Vadot/* EEPROM on display adapter boards */ 103cb7aa33aSEmmanuel Vadot&eeprom_display_adapter { 104cb7aa33aSEmmanuel Vadot status = "okay"; 105cb7aa33aSEmmanuel Vadot}; 106cb7aa33aSEmmanuel Vadot 107fac71e4eSEmmanuel Vadot/* EEPROM on Verdin Yavia board */ 108cb7aa33aSEmmanuel Vadot&eeprom_carrier_board { 109cb7aa33aSEmmanuel Vadot status = "okay"; 110cb7aa33aSEmmanuel Vadot}; 111cb7aa33aSEmmanuel Vadot 112cb7aa33aSEmmanuel Vadot&eqos { 113cb7aa33aSEmmanuel Vadot status = "okay"; 114cb7aa33aSEmmanuel Vadot}; 115cb7aa33aSEmmanuel Vadot 116cb7aa33aSEmmanuel Vadot&flexcan1 { 117cb7aa33aSEmmanuel Vadot status = "okay"; 118cb7aa33aSEmmanuel Vadot}; 119cb7aa33aSEmmanuel Vadot 1207d0873ebSEmmanuel Vadot&gpio4 { 1217d0873ebSEmmanuel Vadot pinctrl-names = "default"; 1227d0873ebSEmmanuel Vadot pinctrl-0 = <&pinctrl_ctrl_sleep_moci>; 1237d0873ebSEmmanuel Vadot}; 1247d0873ebSEmmanuel Vadot 1250e8011faSEmmanuel Vadot/* Verdin HDMI_1 */ 1260e8011faSEmmanuel Vadot&hdmi_pvi { 1270e8011faSEmmanuel Vadot status = "okay"; 1280e8011faSEmmanuel Vadot}; 1290e8011faSEmmanuel Vadot 1300e8011faSEmmanuel Vadot&hdmi_tx { 1310e8011faSEmmanuel Vadot status = "okay"; 1320e8011faSEmmanuel Vadot 1330e8011faSEmmanuel Vadot ports { 1340e8011faSEmmanuel Vadot port@1 { 1350e8011faSEmmanuel Vadot hdmi_tx_out: endpoint { 1360e8011faSEmmanuel Vadot remote-endpoint = <&native_hdmi_connector_in>; 1370e8011faSEmmanuel Vadot }; 1380e8011faSEmmanuel Vadot }; 1390e8011faSEmmanuel Vadot }; 1400e8011faSEmmanuel Vadot}; 1410e8011faSEmmanuel Vadot 1420e8011faSEmmanuel Vadot&hdmi_tx_phy { 1430e8011faSEmmanuel Vadot status = "okay"; 1440e8011faSEmmanuel Vadot}; 1450e8011faSEmmanuel Vadot 146cb7aa33aSEmmanuel Vadot&hwmon_temp { 147cb7aa33aSEmmanuel Vadot status = "okay"; 148cb7aa33aSEmmanuel Vadot}; 149cb7aa33aSEmmanuel Vadot 150cb7aa33aSEmmanuel Vadot/* Verdin I2C_2_DSI */ 151cb7aa33aSEmmanuel Vadot&i2c2 { 152cb7aa33aSEmmanuel Vadot status = "okay"; 153cb7aa33aSEmmanuel Vadot}; 154cb7aa33aSEmmanuel Vadot 155cb7aa33aSEmmanuel Vadot&i2c3 { 156cb7aa33aSEmmanuel Vadot status = "okay"; 157cb7aa33aSEmmanuel Vadot}; 158cb7aa33aSEmmanuel Vadot 159cb7aa33aSEmmanuel Vadot&i2c4 { 160cb7aa33aSEmmanuel Vadot status = "okay"; 161cb7aa33aSEmmanuel Vadot}; 162cb7aa33aSEmmanuel Vadot 1637d0873ebSEmmanuel Vadot/* Verdin I2C_3_HDMI */ 1647d0873ebSEmmanuel Vadot&i2c5 { 1657d0873ebSEmmanuel Vadot status = "okay"; 1667d0873ebSEmmanuel Vadot}; 1677d0873ebSEmmanuel Vadot 1680e8011faSEmmanuel Vadot&lcdif3 { 1690e8011faSEmmanuel Vadot status = "okay"; 1700e8011faSEmmanuel Vadot}; 1710e8011faSEmmanuel Vadot 172cb7aa33aSEmmanuel Vadot/* Verdin PCIE_1 */ 173cb7aa33aSEmmanuel Vadot&pcie { 174cb7aa33aSEmmanuel Vadot status = "okay"; 175cb7aa33aSEmmanuel Vadot}; 176cb7aa33aSEmmanuel Vadot 177cb7aa33aSEmmanuel Vadot&pcie_phy { 178cb7aa33aSEmmanuel Vadot status = "okay"; 179cb7aa33aSEmmanuel Vadot}; 180cb7aa33aSEmmanuel Vadot 181cb7aa33aSEmmanuel Vadot/* Verdin PWM_1 */ 182cb7aa33aSEmmanuel Vadot&pwm1 { 183cb7aa33aSEmmanuel Vadot status = "okay"; 184cb7aa33aSEmmanuel Vadot}; 185cb7aa33aSEmmanuel Vadot 186cb7aa33aSEmmanuel Vadot/* Verdin PWM_2 */ 187cb7aa33aSEmmanuel Vadot&pwm2 { 188cb7aa33aSEmmanuel Vadot status = "okay"; 189cb7aa33aSEmmanuel Vadot}; 190cb7aa33aSEmmanuel Vadot 191cb7aa33aSEmmanuel Vadot/* Verdin PWM_3_DSI */ 192cb7aa33aSEmmanuel Vadot&pwm3 { 193cb7aa33aSEmmanuel Vadot status = "okay"; 194cb7aa33aSEmmanuel Vadot}; 195cb7aa33aSEmmanuel Vadot 196cb7aa33aSEmmanuel Vadot®_usdhc2_vmmc { 197cb7aa33aSEmmanuel Vadot vin-supply = <®_3p3v>; 198cb7aa33aSEmmanuel Vadot}; 199cb7aa33aSEmmanuel Vadot 200*b2d2a78aSEmmanuel Vadot/* Verdin HDMI_1 Audio */ 201*b2d2a78aSEmmanuel Vadot&sound_hdmi { 202*b2d2a78aSEmmanuel Vadot status = "okay"; 203*b2d2a78aSEmmanuel Vadot}; 204*b2d2a78aSEmmanuel Vadot 205cb7aa33aSEmmanuel Vadot/* Verdin UART_1 */ 206cb7aa33aSEmmanuel Vadot&uart1 { 207cb7aa33aSEmmanuel Vadot status = "okay"; 208cb7aa33aSEmmanuel Vadot}; 209cb7aa33aSEmmanuel Vadot 210cb7aa33aSEmmanuel Vadot/* Verdin UART_2 */ 211cb7aa33aSEmmanuel Vadot&uart2 { 212cb7aa33aSEmmanuel Vadot status = "okay"; 213cb7aa33aSEmmanuel Vadot}; 214cb7aa33aSEmmanuel Vadot 215cb7aa33aSEmmanuel Vadot/* Verdin UART_3, used as the Linux Console */ 216cb7aa33aSEmmanuel Vadot&uart3 { 217cb7aa33aSEmmanuel Vadot status = "okay"; 218cb7aa33aSEmmanuel Vadot}; 219cb7aa33aSEmmanuel Vadot 220cb7aa33aSEmmanuel Vadot/* Verdin USB_1 */ 221cb7aa33aSEmmanuel Vadot&usb3_phy0 { 222cb7aa33aSEmmanuel Vadot status = "okay"; 223cb7aa33aSEmmanuel Vadot}; 224cb7aa33aSEmmanuel Vadot 225cb7aa33aSEmmanuel Vadot&usb3_0 { 226cb7aa33aSEmmanuel Vadot status = "okay"; 227cb7aa33aSEmmanuel Vadot}; 228cb7aa33aSEmmanuel Vadot 229cb7aa33aSEmmanuel Vadot&usb_dwc3_0 { 230cb7aa33aSEmmanuel Vadot status = "okay"; 231cb7aa33aSEmmanuel Vadot}; 232cb7aa33aSEmmanuel Vadot 233cb7aa33aSEmmanuel Vadot/* Verdin USB_2 */ 234cb7aa33aSEmmanuel Vadot&usb3_phy1 { 235cb7aa33aSEmmanuel Vadot status = "okay"; 236cb7aa33aSEmmanuel Vadot}; 237cb7aa33aSEmmanuel Vadot 238cb7aa33aSEmmanuel Vadot&usb3_1 { 239cb7aa33aSEmmanuel Vadot status = "okay"; 240cb7aa33aSEmmanuel Vadot}; 241cb7aa33aSEmmanuel Vadot 242cb7aa33aSEmmanuel Vadot&usb_dwc3_1 { 243cb7aa33aSEmmanuel Vadot status = "okay"; 244cb7aa33aSEmmanuel Vadot}; 245cb7aa33aSEmmanuel Vadot 246cb7aa33aSEmmanuel Vadot/* Verdin SD_1 */ 247cb7aa33aSEmmanuel Vadot&usdhc2 { 248cb7aa33aSEmmanuel Vadot status = "okay"; 249cb7aa33aSEmmanuel Vadot}; 250cb7aa33aSEmmanuel Vadot 251cb7aa33aSEmmanuel Vadot&iomuxc { 252cb7aa33aSEmmanuel Vadot pinctrl_leds_yavia: ledsyaviagrp { 253cb7aa33aSEmmanuel Vadot fsl,pins = < 254cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_ALE__GPIO3_IO00 0x106 /* SODIMM 52 */ 255cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_CE0_B__GPIO3_IO01 0x106 /* SODIMM 54 */ 256cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_DATA00__GPIO3_IO06 0x106 /* SODIMM 56 */ 257cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_DATA01__GPIO3_IO07 0x106 /* SODIMM 58 */ 258cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_DATA02__GPIO3_IO08 0x106 /* SODIMM 60 */ 259cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_DATA03__GPIO3_IO09 0x106 /* SODIMM 62 */ 260cb7aa33aSEmmanuel Vadot >; 261cb7aa33aSEmmanuel Vadot }; 262cb7aa33aSEmmanuel Vadot 263cb7aa33aSEmmanuel Vadot pinctrl_gpios_ext_yavia: gpiosextyaviagrp { 264cb7aa33aSEmmanuel Vadot fsl,pins = < 265cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_CE1_B__GPIO3_IO02 0x106 /* SODIMM 64 */ 266cb7aa33aSEmmanuel Vadot MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x106 /* SODIMM 66 */ 267cb7aa33aSEmmanuel Vadot >; 268cb7aa33aSEmmanuel Vadot }; 269cb7aa33aSEmmanuel Vadot}; 270