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