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