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