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 2022 Toradex 3 * Copyright 2022 Toradex 4 */ 4 */ 5 5 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 7 #include <dt-bindings/pwm/pwm.h> 7 #include <dt-bindings/pwm/pwm.h> 8 #include "imx8mp.dtsi" 8 #include "imx8mp.dtsi" 9 9 10 / { 10 / { 11 chosen { 11 chosen { 12 stdout-path = &uart3; 12 stdout-path = &uart3; 13 }; 13 }; 14 14 15 aliases { 15 aliases { 16 /* Ethernet aliases to ensure 16 /* Ethernet aliases to ensure correct MAC addresses */ 17 ethernet0 = &eqos; 17 ethernet0 = &eqos; 18 ethernet1 = &fec; 18 ethernet1 = &fec; 19 rtc0 = &rtc_i2c; 19 rtc0 = &rtc_i2c; 20 rtc1 = &snvs_rtc; 20 rtc1 = &snvs_rtc; 21 }; 21 }; 22 22 23 backlight: backlight { 23 backlight: backlight { 24 compatible = "pwm-backlight"; 24 compatible = "pwm-backlight"; 25 brightness-levels = <0 45 63 8 25 brightness-levels = <0 45 63 88 119 158 203 255>; 26 default-brightness-level = <4> 26 default-brightness-level = <4>; 27 /* Verdin I2S_2_D_OUT (DSI_1_B 27 /* Verdin I2S_2_D_OUT (DSI_1_BKL_EN/DSI_1_BKL_EN_LVDS, SODIMM 46) */ 28 enable-gpios = <&gpio5 1 GPIO_ 28 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 29 pinctrl-names = "default"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pinctrl_i2s_2_d_ 30 pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; 31 power-supply = <®_3p3v>; 31 power-supply = <®_3p3v>; 32 /* Verdin PWM_3_DSI/PWM_3_DSI_ 32 /* Verdin PWM_3_DSI/PWM_3_DSI_LVDS (SODIMM 19) */ 33 pwms = <&pwm3 0 6666667 PWM_PO 33 pwms = <&pwm3 0 6666667 PWM_POLARITY_INVERTED>; 34 status = "disabled"; 34 status = "disabled"; 35 }; 35 }; 36 36 37 backlight_mezzanine: backlight-mezzani 37 backlight_mezzanine: backlight-mezzanine { 38 compatible = "pwm-backlight"; 38 compatible = "pwm-backlight"; 39 brightness-levels = <0 45 63 8 39 brightness-levels = <0 45 63 88 119 158 203 255>; 40 default-brightness-level = <4> 40 default-brightness-level = <4>; 41 /* Verdin GPIO 4 (SODIMM 212) 41 /* Verdin GPIO 4 (SODIMM 212) */ 42 enable-gpios = <&gpio1 6 GPIO_ 42 enable-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; 43 /* Verdin PWM_2 (SODIMM 16) */ 43 /* Verdin PWM_2 (SODIMM 16) */ 44 pwms = <&pwm2 0 6666667 PWM_PO 44 pwms = <&pwm2 0 6666667 PWM_POLARITY_INVERTED>; 45 status = "disabled"; 45 status = "disabled"; 46 }; 46 }; 47 47 48 connector { 48 connector { 49 compatible = "gpio-usb-b-conne 49 compatible = "gpio-usb-b-connector", "usb-b-connector"; 50 id-gpios = <&gpio2 10 GPIO_ACT 50 id-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; 51 label = "Type-C"; 51 label = "Type-C"; 52 pinctrl-names = "default"; 52 pinctrl-names = "default"; 53 pinctrl-0 = <&pinctrl_usb_1_id 53 pinctrl-0 = <&pinctrl_usb_1_id>; 54 self-powered; 54 self-powered; 55 type = "micro"; 55 type = "micro"; 56 vbus-supply = <®_usb1_vbus> 56 vbus-supply = <®_usb1_vbus>; 57 57 58 port { 58 port { 59 usb_dr_connector: endp 59 usb_dr_connector: endpoint { 60 remote-endpoin 60 remote-endpoint = <&usb3_dwc>; 61 }; 61 }; 62 }; 62 }; 63 }; 63 }; 64 64 65 gpio-keys { 65 gpio-keys { 66 compatible = "gpio-keys"; 66 compatible = "gpio-keys"; 67 pinctrl-names = "default"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&pinctrl_gpio_key 68 pinctrl-0 = <&pinctrl_gpio_keys>; 69 69 70 key-wakeup { 70 key-wakeup { 71 debounce-interval = <1 71 debounce-interval = <10>; 72 /* Verdin CTRL_WAKE1_M 72 /* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */ 73 gpios = <&gpio4 0 GPIO 73 gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; 74 label = "Wake-Up"; 74 label = "Wake-Up"; 75 linux,code = <KEY_WAKE 75 linux,code = <KEY_WAKEUP>; 76 wakeup-source; 76 wakeup-source; 77 }; 77 }; 78 }; 78 }; 79 79 80 sound_hdmi: sound-hdmi { << 81 compatible = "fsl,imx-audio-hd << 82 model = "audio-hdmi"; << 83 audio-cpu = <&aud2htx>; << 84 hdmi-out; << 85 status = "disabled"; << 86 }; << 87 << 88 /* Carrier Board Supplies */ 80 /* Carrier Board Supplies */ 89 reg_1p8v: regulator-1p8v { 81 reg_1p8v: regulator-1p8v { 90 compatible = "regulator-fixed" 82 compatible = "regulator-fixed"; 91 regulator-max-microvolt = <180 83 regulator-max-microvolt = <1800000>; 92 regulator-min-microvolt = <180 84 regulator-min-microvolt = <1800000>; 93 regulator-name = "+V1.8_SW"; 85 regulator-name = "+V1.8_SW"; 94 }; 86 }; 95 87 96 reg_3p3v: regulator-3p3v { 88 reg_3p3v: regulator-3p3v { 97 compatible = "regulator-fixed" 89 compatible = "regulator-fixed"; 98 regulator-max-microvolt = <330 90 regulator-max-microvolt = <3300000>; 99 regulator-min-microvolt = <330 91 regulator-min-microvolt = <3300000>; 100 regulator-name = "+V3.3_SW"; 92 regulator-name = "+V3.3_SW"; 101 }; 93 }; 102 94 103 reg_5p0v: regulator-5p0v { 95 reg_5p0v: regulator-5p0v { 104 compatible = "regulator-fixed" 96 compatible = "regulator-fixed"; 105 regulator-max-microvolt = <500 97 regulator-max-microvolt = <5000000>; 106 regulator-min-microvolt = <500 98 regulator-min-microvolt = <5000000>; 107 regulator-name = "+V5_SW"; 99 regulator-name = "+V5_SW"; 108 }; 100 }; 109 101 110 /* Non PMIC On-module Supplies */ 102 /* Non PMIC On-module Supplies */ 111 reg_module_eth1phy: regulator-module-e 103 reg_module_eth1phy: regulator-module-eth1phy { 112 compatible = "regulator-fixed" 104 compatible = "regulator-fixed"; 113 enable-active-high; 105 enable-active-high; 114 gpio = <&gpio2 20 GPIO_ACTIVE_ 106 gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>; /* PMIC_EN_ETH */ 115 off-on-delay-us = <500000>; 107 off-on-delay-us = <500000>; 116 pinctrl-names = "default"; 108 pinctrl-names = "default"; 117 pinctrl-0 = <&pinctrl_reg_eth> 109 pinctrl-0 = <&pinctrl_reg_eth>; 118 regulator-always-on; 110 regulator-always-on; 119 regulator-boot-on; 111 regulator-boot-on; 120 regulator-max-microvolt = <330 112 regulator-max-microvolt = <3300000>; 121 regulator-min-microvolt = <330 113 regulator-min-microvolt = <3300000>; 122 regulator-name = "On-module +V 114 regulator-name = "On-module +V3.3_ETH"; 123 startup-delay-us = <200000>; 115 startup-delay-us = <200000>; 124 vin-supply = <®_vdd_3v3>; 116 vin-supply = <®_vdd_3v3>; 125 }; 117 }; 126 118 127 /* << 128 * By default we enable CTRL_SLEEP_MOC << 129 * peripherals on the carrier board po << 130 * If more granularity or power saving << 131 * in the carrier board device tree fi << 132 */ << 133 reg_force_sleep_moci: regulator-force- << 134 compatible = "regulator-fixed" << 135 enable-active-high; << 136 /* Verdin CTRL_SLEEP_MOCI# (SO << 137 gpio = <&gpio4 29 GPIO_ACTIVE_ << 138 regulator-always-on; << 139 regulator-boot-on; << 140 regulator-name = "CTRL_SLEEP_M << 141 }; << 142 << 143 reg_usb1_vbus: regulator-usb1-vbus { 119 reg_usb1_vbus: regulator-usb1-vbus { 144 compatible = "regulator-fixed" 120 compatible = "regulator-fixed"; 145 enable-active-high; 121 enable-active-high; 146 /* Verdin USB_1_EN (SODIMM 155 122 /* Verdin USB_1_EN (SODIMM 155) */ 147 gpio = <&gpio1 12 GPIO_ACTIVE_ 123 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; 148 pinctrl-names = "default"; 124 pinctrl-names = "default"; 149 pinctrl-0 = <&pinctrl_usb1_vbu 125 pinctrl-0 = <&pinctrl_usb1_vbus>; 150 regulator-max-microvolt = <500 126 regulator-max-microvolt = <5000000>; 151 regulator-min-microvolt = <500 127 regulator-min-microvolt = <5000000>; 152 regulator-name = "USB_1_EN"; 128 regulator-name = "USB_1_EN"; 153 }; 129 }; 154 130 155 reg_usb2_vbus: regulator-usb2-vbus { 131 reg_usb2_vbus: regulator-usb2-vbus { 156 compatible = "regulator-fixed" 132 compatible = "regulator-fixed"; 157 enable-active-high; 133 enable-active-high; 158 /* Verdin USB_2_EN (SODIMM 185 134 /* Verdin USB_2_EN (SODIMM 185) */ 159 gpio = <&gpio1 14 GPIO_ACTIVE_ 135 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; 160 pinctrl-names = "default"; 136 pinctrl-names = "default"; 161 pinctrl-0 = <&pinctrl_usb2_vbu 137 pinctrl-0 = <&pinctrl_usb2_vbus>; 162 regulator-max-microvolt = <500 138 regulator-max-microvolt = <5000000>; 163 regulator-min-microvolt = <500 139 regulator-min-microvolt = <5000000>; 164 regulator-name = "USB_2_EN"; 140 regulator-name = "USB_2_EN"; 165 }; 141 }; 166 142 167 reg_usdhc2_vmmc: regulator-usdhc2 { 143 reg_usdhc2_vmmc: regulator-usdhc2 { 168 compatible = "regulator-fixed" 144 compatible = "regulator-fixed"; 169 enable-active-high; 145 enable-active-high; 170 /* Verdin SD_1_PWR_EN (SODIMM 146 /* Verdin SD_1_PWR_EN (SODIMM 76) */ 171 gpio = <&gpio4 22 GPIO_ACTIVE_ 147 gpio = <&gpio4 22 GPIO_ACTIVE_HIGH>; 172 off-on-delay-us = <100000>; 148 off-on-delay-us = <100000>; 173 pinctrl-names = "default"; 149 pinctrl-names = "default"; 174 pinctrl-0 = <&pinctrl_usdhc2_p 150 pinctrl-0 = <&pinctrl_usdhc2_pwr_en>; 175 regulator-max-microvolt = <330 151 regulator-max-microvolt = <3300000>; 176 regulator-min-microvolt = <330 152 regulator-min-microvolt = <3300000>; 177 regulator-name = "+V3.3_SD"; 153 regulator-name = "+V3.3_SD"; 178 startup-delay-us = <2000>; 154 startup-delay-us = <2000>; 179 }; 155 }; 180 156 181 reserved-memory { 157 reserved-memory { 182 #address-cells = <2>; 158 #address-cells = <2>; 183 #size-cells = <2>; 159 #size-cells = <2>; 184 ranges; 160 ranges; 185 161 186 /* Use the kernel configuratio 162 /* Use the kernel configuration settings instead */ 187 /delete-node/ linux,cma; 163 /delete-node/ linux,cma; 188 }; 164 }; 189 }; 165 }; 190 166 191 &A53_0 { 167 &A53_0 { 192 cpu-supply = <®_vdd_arm>; 168 cpu-supply = <®_vdd_arm>; 193 }; 169 }; 194 170 195 &A53_1 { 171 &A53_1 { 196 cpu-supply = <®_vdd_arm>; 172 cpu-supply = <®_vdd_arm>; 197 }; 173 }; 198 174 199 &A53_2 { 175 &A53_2 { 200 cpu-supply = <®_vdd_arm>; 176 cpu-supply = <®_vdd_arm>; 201 }; 177 }; 202 178 203 &A53_3 { 179 &A53_3 { 204 cpu-supply = <®_vdd_arm>; 180 cpu-supply = <®_vdd_arm>; 205 }; 181 }; 206 182 207 &cpu_alert0 { 183 &cpu_alert0 { 208 temperature = <95000>; 184 temperature = <95000>; 209 }; 185 }; 210 186 211 &cpu_crit0 { 187 &cpu_crit0 { 212 temperature = <105000>; 188 temperature = <105000>; 213 }; 189 }; 214 190 215 /* Verdin SPI_1 */ 191 /* Verdin SPI_1 */ 216 &ecspi1 { 192 &ecspi1 { 217 #address-cells = <1>; 193 #address-cells = <1>; 218 #size-cells = <0>; 194 #size-cells = <0>; 219 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 195 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; 220 pinctrl-names = "default"; 196 pinctrl-names = "default"; 221 pinctrl-0 = <&pinctrl_ecspi1>; 197 pinctrl-0 = <&pinctrl_ecspi1>; 222 }; 198 }; 223 199 224 /* Verdin ETH_1 (On-module PHY) */ 200 /* Verdin ETH_1 (On-module PHY) */ 225 &eqos { 201 &eqos { 226 phy-handle = <ðphy0>; 202 phy-handle = <ðphy0>; 227 phy-mode = "rgmii-id"; 203 phy-mode = "rgmii-id"; 228 pinctrl-names = "default"; 204 pinctrl-names = "default"; 229 pinctrl-0 = <&pinctrl_eqos>; 205 pinctrl-0 = <&pinctrl_eqos>; 230 snps,force_thresh_dma_mode; 206 snps,force_thresh_dma_mode; 231 snps,mtl-rx-config = <&mtl_rx_setup>; 207 snps,mtl-rx-config = <&mtl_rx_setup>; 232 snps,mtl-tx-config = <&mtl_tx_setup>; 208 snps,mtl-tx-config = <&mtl_tx_setup>; 233 209 234 mdio { 210 mdio { 235 compatible = "snps,dwmac-mdio" 211 compatible = "snps,dwmac-mdio"; 236 #address-cells = <1>; 212 #address-cells = <1>; 237 #size-cells = <0>; 213 #size-cells = <0>; 238 214 239 ethphy0: ethernet-phy@7 { 215 ethphy0: ethernet-phy@7 { 240 compatible = "ethernet 216 compatible = "ethernet-phy-ieee802.3-c22"; 241 eee-broken-100tx; 217 eee-broken-100tx; 242 eee-broken-1000t; 218 eee-broken-1000t; 243 interrupt-parent = <&g 219 interrupt-parent = <&gpio1>; 244 interrupts = <10 IRQ_T 220 interrupts = <10 IRQ_TYPE_LEVEL_LOW>; 245 micrel,led-mode = <0>; 221 micrel,led-mode = <0>; 246 reg = <7>; 222 reg = <7>; 247 }; 223 }; 248 }; 224 }; 249 225 250 mtl_rx_setup: rx-queues-config { 226 mtl_rx_setup: rx-queues-config { 251 snps,rx-queues-to-use = <5>; 227 snps,rx-queues-to-use = <5>; >> 228 snps,rx-sched-sp; 252 229 253 queue0 { 230 queue0 { 254 snps,dcb-algorithm; 231 snps,dcb-algorithm; 255 snps,priority = <0x1>; 232 snps,priority = <0x1>; 256 snps,map-to-dma-channe 233 snps,map-to-dma-channel = <0>; 257 }; 234 }; 258 235 259 queue1 { 236 queue1 { 260 snps,dcb-algorithm; 237 snps,dcb-algorithm; 261 snps,priority = <0x2>; 238 snps,priority = <0x2>; 262 snps,map-to-dma-channe 239 snps,map-to-dma-channel = <1>; 263 }; 240 }; 264 241 265 queue2 { 242 queue2 { 266 snps,dcb-algorithm; 243 snps,dcb-algorithm; 267 snps,priority = <0x4>; 244 snps,priority = <0x4>; 268 snps,map-to-dma-channe 245 snps,map-to-dma-channel = <2>; 269 }; 246 }; 270 247 271 queue3 { 248 queue3 { 272 snps,dcb-algorithm; 249 snps,dcb-algorithm; 273 snps,priority = <0x8>; 250 snps,priority = <0x8>; 274 snps,map-to-dma-channe 251 snps,map-to-dma-channel = <3>; 275 }; 252 }; 276 253 277 queue4 { 254 queue4 { 278 snps,dcb-algorithm; 255 snps,dcb-algorithm; 279 snps,priority = <0xf0> 256 snps,priority = <0xf0>; 280 snps,map-to-dma-channe 257 snps,map-to-dma-channel = <4>; 281 }; 258 }; 282 }; 259 }; 283 260 284 mtl_tx_setup: tx-queues-config { 261 mtl_tx_setup: tx-queues-config { 285 snps,tx-queues-to-use = <5>; 262 snps,tx-queues-to-use = <5>; >> 263 snps,tx-sched-sp; 286 264 287 queue0 { 265 queue0 { 288 snps,dcb-algorithm; 266 snps,dcb-algorithm; 289 snps,priority = <0x1>; 267 snps,priority = <0x1>; 290 }; 268 }; 291 269 292 queue1 { 270 queue1 { 293 snps,dcb-algorithm; 271 snps,dcb-algorithm; 294 snps,priority = <0x2>; 272 snps,priority = <0x2>; 295 }; 273 }; 296 274 297 queue2 { 275 queue2 { 298 snps,dcb-algorithm; 276 snps,dcb-algorithm; 299 snps,priority = <0x4>; 277 snps,priority = <0x4>; 300 }; 278 }; 301 279 302 queue3 { 280 queue3 { 303 snps,dcb-algorithm; 281 snps,dcb-algorithm; 304 snps,priority = <0x8>; 282 snps,priority = <0x8>; 305 }; 283 }; 306 284 307 queue4 { 285 queue4 { 308 snps,dcb-algorithm; 286 snps,dcb-algorithm; 309 snps,priority = <0xf0> 287 snps,priority = <0xf0>; 310 }; 288 }; 311 }; 289 }; 312 }; 290 }; 313 291 314 /* Verdin ETH_2_RGMII */ 292 /* Verdin ETH_2_RGMII */ 315 &fec { 293 &fec { 316 fsl,magic-packet; 294 fsl,magic-packet; 317 phy-handle = <ðphy1>; 295 phy-handle = <ðphy1>; 318 phy-mode = "rgmii-id"; 296 phy-mode = "rgmii-id"; 319 pinctrl-names = "default", "sleep"; 297 pinctrl-names = "default", "sleep"; 320 pinctrl-0 = <&pinctrl_fec>; 298 pinctrl-0 = <&pinctrl_fec>; 321 pinctrl-1 = <&pinctrl_fec_sleep>; 299 pinctrl-1 = <&pinctrl_fec_sleep>; 322 300 323 mdio { 301 mdio { 324 #address-cells = <1>; 302 #address-cells = <1>; 325 #size-cells = <0>; 303 #size-cells = <0>; 326 304 327 ethphy1: ethernet-phy@7 { 305 ethphy1: ethernet-phy@7 { 328 compatible = "ethernet 306 compatible = "ethernet-phy-ieee802.3-c22"; 329 interrupt-parent = <&g 307 interrupt-parent = <&gpio4>; 330 interrupts = <18 IRQ_T 308 interrupts = <18 IRQ_TYPE_LEVEL_LOW>; 331 micrel,led-mode = <0>; 309 micrel,led-mode = <0>; 332 reg = <7>; 310 reg = <7>; 333 }; 311 }; 334 }; 312 }; 335 }; 313 }; 336 314 337 /* Verdin CAN_1 */ 315 /* Verdin CAN_1 */ 338 &flexcan1 { 316 &flexcan1 { 339 pinctrl-names = "default"; 317 pinctrl-names = "default"; 340 pinctrl-0 = <&pinctrl_flexcan1>; 318 pinctrl-0 = <&pinctrl_flexcan1>; 341 status = "disabled"; 319 status = "disabled"; 342 }; 320 }; 343 321 344 /* Verdin CAN_2 */ 322 /* Verdin CAN_2 */ 345 &flexcan2 { 323 &flexcan2 { 346 pinctrl-names = "default"; 324 pinctrl-names = "default"; 347 pinctrl-0 = <&pinctrl_flexcan2>; 325 pinctrl-0 = <&pinctrl_flexcan2>; 348 status = "disabled"; 326 status = "disabled"; 349 }; 327 }; 350 328 351 /* Verdin QSPI_1 */ 329 /* Verdin QSPI_1 */ 352 &flexspi { 330 &flexspi { 353 pinctrl-names = "default"; 331 pinctrl-names = "default"; 354 pinctrl-0 = <&pinctrl_flexspi0>; 332 pinctrl-0 = <&pinctrl_flexspi0>; 355 }; 333 }; 356 334 357 &gpio1 { 335 &gpio1 { 358 gpio-line-names = "SODIMM_206", 336 gpio-line-names = "SODIMM_206", 359 "SODIMM_208", 337 "SODIMM_208", 360 "", 338 "", 361 "", 339 "", 362 "", 340 "", 363 "SODIMM_210", 341 "SODIMM_210", 364 "SODIMM_212", 342 "SODIMM_212", 365 "SODIMM_216", 343 "SODIMM_216", 366 "SODIMM_218", 344 "SODIMM_218", 367 "", 345 "", 368 "", 346 "", 369 "SODIMM_16", 347 "SODIMM_16", 370 "SODIMM_155", 348 "SODIMM_155", 371 "SODIMM_157", 349 "SODIMM_157", 372 "SODIMM_185", 350 "SODIMM_185", 373 "SODIMM_91"; 351 "SODIMM_91"; 374 }; 352 }; 375 353 376 &gpio2 { 354 &gpio2 { 377 gpio-line-names = "", 355 gpio-line-names = "", 378 "", 356 "", 379 "", 357 "", 380 "", 358 "", 381 "", 359 "", 382 "", 360 "", 383 "SODIMM_143", 361 "SODIMM_143", 384 "SODIMM_141", 362 "SODIMM_141", 385 "", 363 "", 386 "", 364 "", 387 "SODIMM_161", 365 "SODIMM_161", 388 "", 366 "", 389 "SODIMM_84", 367 "SODIMM_84", 390 "SODIMM_78", 368 "SODIMM_78", 391 "SODIMM_74", 369 "SODIMM_74", 392 "SODIMM_80", 370 "SODIMM_80", 393 "SODIMM_82", 371 "SODIMM_82", 394 "SODIMM_70", 372 "SODIMM_70", 395 "SODIMM_72"; 373 "SODIMM_72"; 396 }; 374 }; 397 375 398 &gpio3 { 376 &gpio3 { 399 gpio-line-names = "SODIMM_52", 377 gpio-line-names = "SODIMM_52", 400 "SODIMM_54", 378 "SODIMM_54", 401 "", 379 "", 402 "", 380 "", 403 "", 381 "", 404 "", 382 "", 405 "SODIMM_56", 383 "SODIMM_56", 406 "SODIMM_58", 384 "SODIMM_58", 407 "SODIMM_60", 385 "SODIMM_60", 408 "SODIMM_62", 386 "SODIMM_62", 409 "", 387 "", 410 "", 388 "", 411 "", 389 "", 412 "", 390 "", 413 "SODIMM_66", 391 "SODIMM_66", 414 "", 392 "", 415 "SODIMM_64", 393 "SODIMM_64", 416 "", 394 "", 417 "", 395 "", 418 "SODIMM_34", 396 "SODIMM_34", 419 "SODIMM_19", 397 "SODIMM_19", 420 "", 398 "", 421 "SODIMM_32", 399 "SODIMM_32", 422 "", 400 "", 423 "", 401 "", 424 "SODIMM_30", 402 "SODIMM_30", 425 "SODIMM_59", 403 "SODIMM_59", 426 "SODIMM_57", 404 "SODIMM_57", 427 "SODIMM_63", 405 "SODIMM_63", 428 "SODIMM_61"; 406 "SODIMM_61"; 429 }; 407 }; 430 408 431 &gpio4 { 409 &gpio4 { 432 gpio-line-names = "SODIMM_252", 410 gpio-line-names = "SODIMM_252", 433 "SODIMM_222", 411 "SODIMM_222", 434 "SODIMM_36", 412 "SODIMM_36", 435 "SODIMM_220", 413 "SODIMM_220", 436 "SODIMM_193", 414 "SODIMM_193", 437 "SODIMM_191", 415 "SODIMM_191", 438 "SODIMM_201", 416 "SODIMM_201", 439 "SODIMM_203", 417 "SODIMM_203", 440 "SODIMM_205", 418 "SODIMM_205", 441 "SODIMM_207", 419 "SODIMM_207", 442 "SODIMM_199", 420 "SODIMM_199", 443 "SODIMM_197", 421 "SODIMM_197", 444 "SODIMM_221", 422 "SODIMM_221", 445 "SODIMM_219", 423 "SODIMM_219", 446 "SODIMM_217", 424 "SODIMM_217", 447 "SODIMM_215", 425 "SODIMM_215", 448 "SODIMM_211", 426 "SODIMM_211", 449 "SODIMM_213", 427 "SODIMM_213", 450 "SODIMM_189", 428 "SODIMM_189", 451 "SODIMM_244", 429 "SODIMM_244", 452 "SODIMM_38", 430 "SODIMM_38", 453 "", 431 "", 454 "SODIMM_76", 432 "SODIMM_76", 455 "SODIMM_135", 433 "SODIMM_135", 456 "SODIMM_133", 434 "SODIMM_133", 457 "SODIMM_17", 435 "SODIMM_17", 458 "SODIMM_24", 436 "SODIMM_24", 459 "SODIMM_26", 437 "SODIMM_26", 460 "SODIMM_21", 438 "SODIMM_21", 461 "SODIMM_256", 439 "SODIMM_256", 462 "SODIMM_48", 440 "SODIMM_48", 463 "SODIMM_44"; 441 "SODIMM_44"; 464 }; << 465 442 466 /* Verdin HDMI_1 */ !! 443 ctrl-sleep-moci-hog { 467 &hdmi_tx { !! 444 gpio-hog; 468 ddc-i2c-bus = <&i2c5>; !! 445 /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 469 pinctrl-names = "default"; !! 446 gpios = <29 GPIO_ACTIVE_HIGH>; 470 pinctrl-0 = <&pinctrl_hdmi>; !! 447 line-name = "CTRL_SLEEP_MOCI#"; >> 448 output-high; >> 449 pinctrl-names = "default"; >> 450 pinctrl-0 = <&pinctrl_ctrl_sleep_moci>; >> 451 }; 471 }; 452 }; 472 453 473 /* On-module I2C */ 454 /* On-module I2C */ 474 &i2c1 { 455 &i2c1 { 475 clock-frequency = <400000>; 456 clock-frequency = <400000>; 476 pinctrl-names = "default", "gpio"; 457 pinctrl-names = "default", "gpio"; 477 pinctrl-0 = <&pinctrl_i2c1>; 458 pinctrl-0 = <&pinctrl_i2c1>; 478 pinctrl-1 = <&pinctrl_i2c1_gpio>; 459 pinctrl-1 = <&pinctrl_i2c1_gpio>; 479 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HI 460 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 480 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HI 461 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 481 status = "okay"; 462 status = "okay"; 482 463 483 pca9450: pmic@25 { 464 pca9450: pmic@25 { 484 compatible = "nxp,pca9450c"; 465 compatible = "nxp,pca9450c"; 485 interrupt-parent = <&gpio1>; 466 interrupt-parent = <&gpio1>; 486 /* PMIC PCA9450 PMIC_nINT GPIO 467 /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */ 487 interrupts = <3 IRQ_TYPE_LEVEL 468 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 488 pinctrl-names = "default"; 469 pinctrl-names = "default"; 489 pinctrl-0 = <&pinctrl_pmic>; 470 pinctrl-0 = <&pinctrl_pmic>; 490 reg = <0x25>; 471 reg = <0x25>; 491 472 492 /* 473 /* 493 * The bootloader is expected 474 * The bootloader is expected to switch on LDO4 for the on-module +V3.3_ADC and the 494 * I2C level shifter for the T 475 * I2C level shifter for the TLA2024 ADC behind this PMIC. 495 */ 476 */ 496 477 497 regulators { 478 regulators { 498 BUCK1 { 479 BUCK1 { 499 regulator-alwa 480 regulator-always-on; 500 regulator-boot 481 regulator-boot-on; 501 regulator-max- 482 regulator-max-microvolt = <1000000>; 502 regulator-min- 483 regulator-min-microvolt = <720000>; 503 regulator-name 484 regulator-name = "On-module +VDD_SOC (BUCK1)"; 504 regulator-ramp 485 regulator-ramp-delay = <3125>; 505 }; 486 }; 506 487 507 reg_vdd_arm: BUCK2 { 488 reg_vdd_arm: BUCK2 { 508 nxp,dvs-run-vo 489 nxp,dvs-run-voltage = <950000>; 509 nxp,dvs-standb 490 nxp,dvs-standby-voltage = <850000>; 510 regulator-alwa 491 regulator-always-on; 511 regulator-boot 492 regulator-boot-on; 512 regulator-max- 493 regulator-max-microvolt = <1025000>; 513 regulator-min- 494 regulator-min-microvolt = <720000>; 514 regulator-name 495 regulator-name = "On-module +VDD_ARM (BUCK2)"; 515 regulator-ramp 496 regulator-ramp-delay = <3125>; 516 }; 497 }; 517 498 518 reg_vdd_3v3: BUCK4 { 499 reg_vdd_3v3: BUCK4 { 519 regulator-alwa 500 regulator-always-on; 520 regulator-boot 501 regulator-boot-on; 521 regulator-max- 502 regulator-max-microvolt = <3300000>; 522 regulator-min- 503 regulator-min-microvolt = <3300000>; 523 regulator-name 504 regulator-name = "On-module +V3.3 (BUCK4)"; 524 }; 505 }; 525 506 526 reg_vdd_1v8: BUCK5 { 507 reg_vdd_1v8: BUCK5 { 527 regulator-alwa 508 regulator-always-on; 528 regulator-boot 509 regulator-boot-on; 529 regulator-max- 510 regulator-max-microvolt = <1800000>; 530 regulator-min- 511 regulator-min-microvolt = <1800000>; 531 regulator-name 512 regulator-name = "PWR_1V8_MOCI (BUCK5)"; 532 }; 513 }; 533 514 534 BUCK6 { 515 BUCK6 { 535 regulator-alwa 516 regulator-always-on; 536 regulator-boot 517 regulator-boot-on; 537 regulator-max- 518 regulator-max-microvolt = <1155000>; 538 regulator-min- 519 regulator-min-microvolt = <1045000>; 539 regulator-name 520 regulator-name = "On-module +VDD_DDR (BUCK6)"; 540 }; 521 }; 541 522 542 LDO1 { 523 LDO1 { 543 regulator-alwa 524 regulator-always-on; 544 regulator-boot 525 regulator-boot-on; 545 regulator-max- 526 regulator-max-microvolt = <1950000>; 546 regulator-min- 527 regulator-min-microvolt = <1650000>; 547 regulator-name 528 regulator-name = "On-module +V1.8_SNVS (LDO1)"; 548 }; 529 }; 549 530 550 LDO2 { 531 LDO2 { 551 regulator-alwa 532 regulator-always-on; 552 regulator-boot 533 regulator-boot-on; 553 regulator-max- 534 regulator-max-microvolt = <1150000>; 554 regulator-min- 535 regulator-min-microvolt = <800000>; 555 regulator-name 536 regulator-name = "On-module +V0.8_SNVS (LDO2)"; 556 }; 537 }; 557 538 558 LDO3 { 539 LDO3 { 559 regulator-alwa 540 regulator-always-on; 560 regulator-boot 541 regulator-boot-on; 561 regulator-max- 542 regulator-max-microvolt = <1800000>; 562 regulator-min- 543 regulator-min-microvolt = <1800000>; 563 regulator-name 544 regulator-name = "On-module +V1.8A (LDO3)"; 564 }; 545 }; 565 546 566 LDO4 { 547 LDO4 { 567 regulator-alwa 548 regulator-always-on; 568 regulator-boot 549 regulator-boot-on; 569 regulator-max- 550 regulator-max-microvolt = <3300000>; 570 regulator-min- 551 regulator-min-microvolt = <3300000>; 571 regulator-name 552 regulator-name = "On-module +V3.3_ADC (LDO4)"; 572 }; 553 }; 573 554 574 reg_vdd_sdio: LDO5 { !! 555 LDO5 { 575 regulator-max- 556 regulator-max-microvolt = <3300000>; 576 regulator-min- 557 regulator-min-microvolt = <1800000>; 577 regulator-name 558 regulator-name = "On-module +V3.3_1.8_SD (LDO5)"; 578 }; 559 }; 579 }; 560 }; 580 }; 561 }; 581 562 582 rtc_i2c: rtc@32 { 563 rtc_i2c: rtc@32 { 583 compatible = "epson,rx8130"; 564 compatible = "epson,rx8130"; 584 reg = <0x32>; 565 reg = <0x32>; 585 }; 566 }; 586 567 587 /* On-module temperature sensor */ 568 /* On-module temperature sensor */ 588 hwmon_temp_module: sensor@48 { 569 hwmon_temp_module: sensor@48 { 589 compatible = "ti,tmp1075"; 570 compatible = "ti,tmp1075"; 590 reg = <0x48>; 571 reg = <0x48>; 591 vs-supply = <®_vdd_1v8>; 572 vs-supply = <®_vdd_1v8>; 592 }; 573 }; 593 574 594 adc@49 { 575 adc@49 { 595 compatible = "ti,ads1015"; 576 compatible = "ti,ads1015"; 596 reg = <0x49>; 577 reg = <0x49>; 597 #address-cells = <1>; 578 #address-cells = <1>; 598 #size-cells = <0>; 579 #size-cells = <0>; 599 580 600 /* Verdin I2C_1 (ADC_4 - ADC_3 581 /* Verdin I2C_1 (ADC_4 - ADC_3) */ 601 channel@0 { 582 channel@0 { 602 reg = <0>; 583 reg = <0>; 603 ti,datarate = <4>; 584 ti,datarate = <4>; 604 ti,gain = <2>; 585 ti,gain = <2>; 605 }; 586 }; 606 587 607 /* Verdin I2C_1 (ADC_4 - ADC_1 588 /* Verdin I2C_1 (ADC_4 - ADC_1) */ 608 channel@1 { 589 channel@1 { 609 reg = <1>; 590 reg = <1>; 610 ti,datarate = <4>; 591 ti,datarate = <4>; 611 ti,gain = <2>; 592 ti,gain = <2>; 612 }; 593 }; 613 594 614 /* Verdin I2C_1 (ADC_3 - ADC_1 595 /* Verdin I2C_1 (ADC_3 - ADC_1) */ 615 channel@2 { 596 channel@2 { 616 reg = <2>; 597 reg = <2>; 617 ti,datarate = <4>; 598 ti,datarate = <4>; 618 ti,gain = <2>; 599 ti,gain = <2>; 619 }; 600 }; 620 601 621 /* Verdin I2C_1 (ADC_2 - ADC_1 602 /* Verdin I2C_1 (ADC_2 - ADC_1) */ 622 channel@3 { 603 channel@3 { 623 reg = <3>; 604 reg = <3>; 624 ti,datarate = <4>; 605 ti,datarate = <4>; 625 ti,gain = <2>; 606 ti,gain = <2>; 626 }; 607 }; 627 608 628 /* Verdin I2C_1 ADC_4 */ 609 /* Verdin I2C_1 ADC_4 */ 629 channel@4 { 610 channel@4 { 630 reg = <4>; 611 reg = <4>; 631 ti,datarate = <4>; 612 ti,datarate = <4>; 632 ti,gain = <2>; 613 ti,gain = <2>; 633 }; 614 }; 634 615 635 /* Verdin I2C_1 ADC_3 */ 616 /* Verdin I2C_1 ADC_3 */ 636 channel@5 { 617 channel@5 { 637 reg = <5>; 618 reg = <5>; 638 ti,datarate = <4>; 619 ti,datarate = <4>; 639 ti,gain = <2>; 620 ti,gain = <2>; 640 }; 621 }; 641 622 642 /* Verdin I2C_1 ADC_2 */ 623 /* Verdin I2C_1 ADC_2 */ 643 channel@6 { 624 channel@6 { 644 reg = <6>; 625 reg = <6>; 645 ti,datarate = <4>; 626 ti,datarate = <4>; 646 ti,gain = <2>; 627 ti,gain = <2>; 647 }; 628 }; 648 629 649 /* Verdin I2C_1 ADC_1 */ 630 /* Verdin I2C_1 ADC_1 */ 650 channel@7 { 631 channel@7 { 651 reg = <7>; 632 reg = <7>; 652 ti,datarate = <4>; 633 ti,datarate = <4>; 653 ti,gain = <2>; 634 ti,gain = <2>; 654 }; 635 }; 655 }; 636 }; 656 637 657 eeprom@50 { 638 eeprom@50 { 658 compatible = "st,24c02"; 639 compatible = "st,24c02"; 659 pagesize = <16>; 640 pagesize = <16>; 660 reg = <0x50>; 641 reg = <0x50>; 661 }; 642 }; 662 }; 643 }; 663 644 664 /* Verdin I2C_2_DSI */ 645 /* Verdin I2C_2_DSI */ 665 &i2c2 { 646 &i2c2 { 666 clock-frequency = <400000>; !! 647 /* Lower frequency to avoid DDC/EDID issues with certain displays/screens. */ >> 648 clock-frequency = <10000>; 667 pinctrl-names = "default", "gpio"; 649 pinctrl-names = "default", "gpio"; 668 pinctrl-0 = <&pinctrl_i2c2>; 650 pinctrl-0 = <&pinctrl_i2c2>; 669 pinctrl-1 = <&pinctrl_i2c2_gpio>; 651 pinctrl-1 = <&pinctrl_i2c2_gpio>; 670 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HI 652 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 671 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HI 653 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 672 654 673 atmel_mxt_ts_mezzanine: touch-mezzanin 655 atmel_mxt_ts_mezzanine: touch-mezzanine@4a { 674 compatible = "atmel,maxtouch"; 656 compatible = "atmel,maxtouch"; 675 /* Verdin GPIO_3 (SODIMM 210) 657 /* Verdin GPIO_3 (SODIMM 210) */ 676 interrupt-parent = <&gpio1>; 658 interrupt-parent = <&gpio1>; 677 interrupts = <5 IRQ_TYPE_EDGE_ 659 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 678 reg = <0x4a>; 660 reg = <0x4a>; 679 /* Verdin GPIO_2 (SODIMM 208) 661 /* Verdin GPIO_2 (SODIMM 208) */ 680 reset-gpios = <&gpio1 1 GPIO_A 662 reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; 681 status = "disabled"; 663 status = "disabled"; 682 }; 664 }; 683 }; 665 }; 684 666 >> 667 /* TODO: Verdin I2C_3_HDMI */ >> 668 685 /* Verdin I2C_4_CSI */ 669 /* Verdin I2C_4_CSI */ 686 &i2c3 { 670 &i2c3 { 687 clock-frequency = <400000>; 671 clock-frequency = <400000>; 688 pinctrl-names = "default", "gpio"; 672 pinctrl-names = "default", "gpio"; 689 pinctrl-0 = <&pinctrl_i2c3>; 673 pinctrl-0 = <&pinctrl_i2c3>; 690 pinctrl-1 = <&pinctrl_i2c3_gpio>; 674 pinctrl-1 = <&pinctrl_i2c3_gpio>; 691 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HI 675 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 692 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HI 676 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 693 }; 677 }; 694 678 695 /* Verdin I2C_1 */ 679 /* Verdin I2C_1 */ 696 &i2c4 { 680 &i2c4 { 697 clock-frequency = <400000>; 681 clock-frequency = <400000>; 698 pinctrl-names = "default", "gpio"; 682 pinctrl-names = "default", "gpio"; 699 pinctrl-0 = <&pinctrl_i2c4>; 683 pinctrl-0 = <&pinctrl_i2c4>; 700 pinctrl-1 = <&pinctrl_i2c4_gpio>; 684 pinctrl-1 = <&pinctrl_i2c4_gpio>; 701 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HI 685 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 702 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HI 686 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 703 687 704 gpio_expander_21: gpio-expander@21 { 688 gpio_expander_21: gpio-expander@21 { 705 compatible = "nxp,pcal6416"; 689 compatible = "nxp,pcal6416"; 706 #gpio-cells = <2>; 690 #gpio-cells = <2>; 707 gpio-controller; 691 gpio-controller; 708 reg = <0x21>; 692 reg = <0x21>; 709 vcc-supply = <®_3p3v>; 693 vcc-supply = <®_3p3v>; 710 status = "disabled"; 694 status = "disabled"; 711 }; 695 }; 712 696 713 lvds_ti_sn65dsi84: bridge@2c { 697 lvds_ti_sn65dsi84: bridge@2c { 714 compatible = "ti,sn65dsi84"; 698 compatible = "ti,sn65dsi84"; 715 /* Verdin GPIO_9_DSI (SN65DSI8 699 /* Verdin GPIO_9_DSI (SN65DSI84 IRQ, SODIMM 17, unused) */ 716 /* Verdin GPIO_10_DSI (SODIMM 700 /* Verdin GPIO_10_DSI (SODIMM 21) */ 717 enable-gpios = <&gpio4 28 GPIO 701 enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; 718 pinctrl-names = "default"; 702 pinctrl-names = "default"; 719 pinctrl-0 = <&pinctrl_gpio_10_ 703 pinctrl-0 = <&pinctrl_gpio_10_dsi>; 720 reg = <0x2c>; 704 reg = <0x2c>; 721 status = "disabled"; 705 status = "disabled"; 722 }; 706 }; 723 707 724 /* Current measurement into module VCC 708 /* Current measurement into module VCC */ 725 hwmon: hwmon@40 { 709 hwmon: hwmon@40 { 726 compatible = "ti,ina219"; 710 compatible = "ti,ina219"; 727 reg = <0x40>; 711 reg = <0x40>; 728 shunt-resistor = <10000>; 712 shunt-resistor = <10000>; 729 status = "disabled"; 713 status = "disabled"; 730 }; 714 }; 731 715 732 hdmi_lontium_lt8912: hdmi@48 { 716 hdmi_lontium_lt8912: hdmi@48 { 733 compatible = "lontium,lt8912b" 717 compatible = "lontium,lt8912b"; 734 pinctrl-names = "default"; 718 pinctrl-names = "default"; 735 pinctrl-0 = <&pinctrl_gpio_10_ 719 pinctrl-0 = <&pinctrl_gpio_10_dsi>, <&pinctrl_pwm_3_dsi_hpd_gpio>; 736 reg = <0x48>; 720 reg = <0x48>; 737 /* Verdin GPIO_9_DSI (LT8912 I 721 /* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */ 738 /* Verdin GPIO_10_DSI (SODIMM 722 /* Verdin GPIO_10_DSI (SODIMM 21) */ 739 reset-gpios = <&gpio4 28 GPIO_ 723 reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; 740 status = "disabled"; 724 status = "disabled"; 741 }; 725 }; 742 726 743 atmel_mxt_ts: touch@4a { 727 atmel_mxt_ts: touch@4a { 744 compatible = "atmel,maxtouch"; 728 compatible = "atmel,maxtouch"; 745 /* 729 /* 746 * Verdin GPIO_9_DSI 730 * Verdin GPIO_9_DSI 747 * (TOUCH_INT#, SODIMM 17, als 731 * (TOUCH_INT#, SODIMM 17, also routed to SN65DSI84 IRQ albeit currently unused) 748 */ 732 */ 749 interrupt-parent = <&gpio4>; 733 interrupt-parent = <&gpio4>; 750 interrupts = <25 IRQ_TYPE_EDGE 734 interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 751 pinctrl-names = "default"; 735 pinctrl-names = "default"; 752 pinctrl-0 = <&pinctrl_gpio_9_d 736 pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>; 753 reg = <0x4a>; 737 reg = <0x4a>; 754 /* Verdin I2S_2_BCLK (TOUCH_RE 738 /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ 755 reset-gpios = <&gpio5 0 GPIO_A 739 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; 756 status = "disabled"; 740 status = "disabled"; 757 }; 741 }; 758 742 759 /* Temperature sensor on carrier board 743 /* Temperature sensor on carrier board */ 760 hwmon_temp: sensor@4f { 744 hwmon_temp: sensor@4f { 761 compatible = "ti,tmp75c"; 745 compatible = "ti,tmp75c"; 762 reg = <0x4f>; 746 reg = <0x4f>; 763 status = "disabled"; 747 status = "disabled"; 764 }; 748 }; 765 749 766 /* EEPROM on display adapter (MIPI DSI 750 /* EEPROM on display adapter (MIPI DSI Display Adapter) */ 767 eeprom_display_adapter: eeprom@50 { 751 eeprom_display_adapter: eeprom@50 { 768 compatible = "st,24c02"; 752 compatible = "st,24c02"; 769 pagesize = <16>; 753 pagesize = <16>; 770 reg = <0x50>; 754 reg = <0x50>; 771 status = "disabled"; 755 status = "disabled"; 772 }; 756 }; 773 757 774 /* EEPROM on carrier board */ 758 /* EEPROM on carrier board */ 775 eeprom_carrier_board: eeprom@57 { 759 eeprom_carrier_board: eeprom@57 { 776 compatible = "st,24c02"; 760 compatible = "st,24c02"; 777 pagesize = <16>; 761 pagesize = <16>; 778 reg = <0x57>; 762 reg = <0x57>; 779 status = "disabled"; 763 status = "disabled"; 780 }; 764 }; 781 }; 765 }; 782 766 783 /* Verdin I2C_3_HDMI */ << 784 &i2c5 { << 785 clock-frequency = <100000>; << 786 pinctrl-names = "default", "gpio"; << 787 pinctrl-0 = <&pinctrl_i2c5>; << 788 pinctrl-1 = <&pinctrl_i2c5_gpio>; << 789 scl-gpios = <&gpio3 26 (GPIO_ACTIVE_HI << 790 sda-gpios = <&gpio3 27 (GPIO_ACTIVE_HI << 791 }; << 792 << 793 /* Verdin PCIE_1 */ 767 /* Verdin PCIE_1 */ 794 &pcie { 768 &pcie { 795 pinctrl-names = "default"; 769 pinctrl-names = "default"; 796 pinctrl-0 = <&pinctrl_pcie>; 770 pinctrl-0 = <&pinctrl_pcie>; 797 /* PCIE_1_RESET# (SODIMM 244) */ 771 /* PCIE_1_RESET# (SODIMM 244) */ 798 reset-gpio = <&gpio4 19 GPIO_ACTIVE_LO 772 reset-gpio = <&gpio4 19 GPIO_ACTIVE_LOW>; 799 }; 773 }; 800 774 801 &pcie_phy { 775 &pcie_phy { 802 clocks = <&hsio_blk_ctrl>; 776 clocks = <&hsio_blk_ctrl>; 803 clock-names = "ref"; 777 clock-names = "ref"; 804 fsl,clkreq-unsupported; 778 fsl,clkreq-unsupported; 805 fsl,refclk-pad-mode = <IMX8_PCIE_REFCL 779 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>; 806 }; 780 }; 807 781 808 /* Verdin PWM_1 */ 782 /* Verdin PWM_1 */ 809 &pwm1 { 783 &pwm1 { 810 pinctrl-names = "default"; 784 pinctrl-names = "default"; 811 pinctrl-0 = <&pinctrl_pwm_1>; 785 pinctrl-0 = <&pinctrl_pwm_1>; 812 #pwm-cells = <3>; 786 #pwm-cells = <3>; 813 }; 787 }; 814 788 815 /* Verdin PWM_2 */ 789 /* Verdin PWM_2 */ 816 &pwm2 { 790 &pwm2 { 817 pinctrl-names = "default"; 791 pinctrl-names = "default"; 818 pinctrl-0 = <&pinctrl_pwm_2>; 792 pinctrl-0 = <&pinctrl_pwm_2>; 819 #pwm-cells = <3>; 793 #pwm-cells = <3>; 820 }; 794 }; 821 795 822 /* Verdin PWM_3_DSI */ 796 /* Verdin PWM_3_DSI */ 823 &pwm3 { 797 &pwm3 { 824 pinctrl-names = "default"; 798 pinctrl-names = "default"; 825 pinctrl-0 = <&pinctrl_pwm_3>; 799 pinctrl-0 = <&pinctrl_pwm_3>; 826 #pwm-cells = <3>; 800 #pwm-cells = <3>; 827 }; 801 }; 828 802 829 /* TODO: Verdin I2S_1 */ 803 /* TODO: Verdin I2S_1 */ 830 804 831 /* TODO: Verdin I2S_2 */ 805 /* TODO: Verdin I2S_2 */ 832 806 833 &snvs_pwrkey { 807 &snvs_pwrkey { 834 status = "okay"; 808 status = "okay"; 835 }; 809 }; 836 810 837 /* Verdin UART_1 */ 811 /* Verdin UART_1 */ 838 &uart1 { 812 &uart1 { 839 pinctrl-names = "default"; 813 pinctrl-names = "default"; 840 pinctrl-0 = <&pinctrl_uart1>; 814 pinctrl-0 = <&pinctrl_uart1>; 841 uart-has-rtscts; 815 uart-has-rtscts; 842 }; 816 }; 843 817 844 /* Verdin UART_2 */ 818 /* Verdin UART_2 */ 845 &uart2 { 819 &uart2 { 846 pinctrl-names = "default"; 820 pinctrl-names = "default"; 847 pinctrl-0 = <&pinctrl_uart2>; 821 pinctrl-0 = <&pinctrl_uart2>; 848 uart-has-rtscts; 822 uart-has-rtscts; 849 }; 823 }; 850 824 851 /* Verdin UART_3, used as the Linux Console */ 825 /* Verdin UART_3, used as the Linux Console */ 852 &uart3 { 826 &uart3 { 853 pinctrl-names = "default"; 827 pinctrl-names = "default"; 854 pinctrl-0 = <&pinctrl_uart3>; 828 pinctrl-0 = <&pinctrl_uart3>; 855 }; 829 }; 856 830 857 /* Verdin UART_4, used for Bluetooth on Wi-Fi/ 831 /* Verdin UART_4, used for Bluetooth on Wi-Fi/Bluetooth SKUs */ 858 &uart4 { 832 &uart4 { 859 pinctrl-names = "default"; 833 pinctrl-names = "default"; 860 pinctrl-0 = <&pinctrl_uart4>; 834 pinctrl-0 = <&pinctrl_uart4>; 861 }; 835 }; 862 836 863 /* Verdin USB_1 */ 837 /* Verdin USB_1 */ 864 &usb3_0 { 838 &usb3_0 { 865 fsl,disable-port-power-control; 839 fsl,disable-port-power-control; 866 fsl,over-current-active-low; 840 fsl,over-current-active-low; 867 pinctrl-names = "default"; 841 pinctrl-names = "default"; 868 pinctrl-0 = <&pinctrl_usb_1_oc_n>; 842 pinctrl-0 = <&pinctrl_usb_1_oc_n>; 869 }; 843 }; 870 844 871 &usb_dwc3_0 { 845 &usb_dwc3_0 { 872 /* dual role only, not full featured O 846 /* dual role only, not full featured OTG */ 873 adp-disable; 847 adp-disable; 874 dr_mode = "otg"; 848 dr_mode = "otg"; 875 hnp-disable; 849 hnp-disable; 876 maximum-speed = "high-speed"; 850 maximum-speed = "high-speed"; 877 role-switch-default-mode = "peripheral 851 role-switch-default-mode = "peripheral"; 878 srp-disable; 852 srp-disable; 879 usb-role-switch; 853 usb-role-switch; 880 854 881 port { 855 port { 882 usb3_dwc: endpoint { 856 usb3_dwc: endpoint { 883 remote-endpoint = <&us 857 remote-endpoint = <&usb_dr_connector>; 884 }; 858 }; 885 }; 859 }; 886 }; 860 }; 887 861 888 /* Verdin USB_2 */ 862 /* Verdin USB_2 */ 889 &usb3_1 { 863 &usb3_1 { 890 fsl,disable-port-power-control; 864 fsl,disable-port-power-control; 891 }; 865 }; 892 866 893 &usb3_phy1 { 867 &usb3_phy1 { 894 vbus-supply = <®_usb2_vbus>; 868 vbus-supply = <®_usb2_vbus>; 895 }; 869 }; 896 870 897 &usb_dwc3_1 { 871 &usb_dwc3_1 { 898 dr_mode = "host"; 872 dr_mode = "host"; 899 }; 873 }; 900 874 901 /* Verdin SD_1 */ 875 /* Verdin SD_1 */ 902 &usdhc2 { 876 &usdhc2 { 903 assigned-clocks = <&clk IMX8MP_CLK_USD 877 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; 904 assigned-clock-rates = <400000000>; 878 assigned-clock-rates = <400000000>; 905 bus-width = <4>; 879 bus-width = <4>; 906 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW> 880 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 907 disable-wp; 881 disable-wp; 908 pinctrl-names = "default", "state_100m 882 pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; 909 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct 883 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_cd>; 910 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, 884 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>; 911 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, 885 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; 912 pinctrl-3 = <&pinctrl_usdhc2_sleep>, < 886 pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_cd_sleep>; 913 vmmc-supply = <®_usdhc2_vmmc>; 887 vmmc-supply = <®_usdhc2_vmmc>; 914 vqmmc-supply = <®_vdd_sdio>; << 915 }; 888 }; 916 889 917 /* On-module eMMC */ 890 /* On-module eMMC */ 918 &usdhc3 { 891 &usdhc3 { 919 assigned-clocks = <&clk IMX8MP_CLK_USD 892 assigned-clocks = <&clk IMX8MP_CLK_USDHC3_ROOT>; 920 assigned-clock-rates = <400000000>; 893 assigned-clock-rates = <400000000>; 921 bus-width = <8>; 894 bus-width = <8>; 922 non-removable; 895 non-removable; 923 pinctrl-names = "default", "state_100m 896 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 924 pinctrl-0 = <&pinctrl_usdhc3>; 897 pinctrl-0 = <&pinctrl_usdhc3>; 925 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 898 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 926 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 899 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 927 status = "okay"; 900 status = "okay"; 928 }; 901 }; 929 902 930 &wdog1 { 903 &wdog1 { 931 fsl,ext-reset-output; 904 fsl,ext-reset-output; 932 pinctrl-names = "default"; 905 pinctrl-names = "default"; 933 pinctrl-0 = <&pinctrl_wdog>; 906 pinctrl-0 = <&pinctrl_wdog>; 934 status = "okay"; 907 status = "okay"; 935 }; 908 }; 936 909 937 &iomuxc { 910 &iomuxc { 938 pinctrl_bt_uart: btuartgrp { 911 pinctrl_bt_uart: btuartgrp { 939 fsl,pins = 912 fsl,pins = 940 <MX8MP_IOMUXC_ECSPI2_M 913 <MX8MP_IOMUXC_ECSPI2_MISO__UART4_DCE_CTS 0x1c4>, 941 <MX8MP_IOMUXC_ECSPI2_M 914 <MX8MP_IOMUXC_ECSPI2_MOSI__UART4_DCE_TX 0x1c4>, 942 <MX8MP_IOMUXC_ECSPI2_S 915 <MX8MP_IOMUXC_ECSPI2_SCLK__UART4_DCE_RX 0x1c4>, 943 <MX8MP_IOMUXC_ECSPI2_S 916 <MX8MP_IOMUXC_ECSPI2_SS0__UART4_DCE_RTS 0x1c4>; 944 }; 917 }; 945 918 946 pinctrl_ctrl_sleep_moci: ctrlsleepmoci 919 pinctrl_ctrl_sleep_moci: ctrlsleepmocigrp { 947 fsl,pins = 920 fsl,pins = 948 <MX8MP_IOMUXC_SAI3_RXC 921 <MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x1c4>; /* SODIMM 256 */ 949 }; 922 }; 950 923 951 pinctrl_ecspi1: ecspi1grp { 924 pinctrl_ecspi1: ecspi1grp { 952 fsl,pins = 925 fsl,pins = 953 <MX8MP_IOMUXC_ECSPI1_M 926 <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x1c4>, /* SODIMM 198 */ 954 <MX8MP_IOMUXC_ECSPI1_M 927 <MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x4>, /* SODIMM 200 */ 955 <MX8MP_IOMUXC_ECSPI1_S 928 <MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x4>, /* SODIMM 196 */ 956 <MX8MP_IOMUXC_ECSPI1_S 929 <MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x1c4>; /* SODIMM 202 */ 957 }; 930 }; 958 931 959 /* Connection On Board PHY */ 932 /* Connection On Board PHY */ 960 pinctrl_eqos: eqosgrp { 933 pinctrl_eqos: eqosgrp { 961 fsl,pins = 934 fsl,pins = 962 <MX8MP_IOMUXC_ENET_MDC 935 <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3>, 963 <MX8MP_IOMUXC_ENET_MDI 936 <MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3>, 964 <MX8MP_IOMUXC_ENET_RD0 937 <MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91>, 965 <MX8MP_IOMUXC_ENET_RD1 938 <MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91>, 966 <MX8MP_IOMUXC_ENET_RD2 939 <MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91>, 967 <MX8MP_IOMUXC_ENET_RD3 940 <MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91>, 968 <MX8MP_IOMUXC_ENET_RXC 941 <MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91>, 969 <MX8MP_IOMUXC_ENET_RX_ 942 <MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91>, 970 <MX8MP_IOMUXC_ENET_TD0 943 <MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f>, 971 <MX8MP_IOMUXC_ENET_TD1 944 <MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f>, 972 <MX8MP_IOMUXC_ENET_TD2 945 <MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f>, 973 <MX8MP_IOMUXC_ENET_TD3 946 <MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f>, 974 <MX8MP_IOMUXC_ENET_TX_ 947 <MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f>, 975 <MX8MP_IOMUXC_ENET_TXC 948 <MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f>; 976 }; 949 }; 977 950 978 /* ETH_INT# shared with TPM_INT# (usua 951 /* ETH_INT# shared with TPM_INT# (usually N/A) */ 979 pinctrl_eth_tpm_int: ethtpmintgrp { 952 pinctrl_eth_tpm_int: ethtpmintgrp { 980 fsl,pins = 953 fsl,pins = 981 <MX8MP_IOMUXC_GPIO1_IO 954 <MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x1c4>; 982 }; 955 }; 983 956 984 /* Connection Carrier Board PHY ETH_2 957 /* Connection Carrier Board PHY ETH_2 */ 985 pinctrl_fec: fecgrp { 958 pinctrl_fec: fecgrp { 986 fsl,pins = 959 fsl,pins = 987 <MX8MP_IOMUXC_SAI1_RXD 960 <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3>, /* SODIMM 193 */ 988 <MX8MP_IOMUXC_SAI1_RXD 961 <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3>, /* SODIMM 191 */ 989 <MX8MP_IOMUXC_SAI1_RXD 962 <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91>, /* SODIMM 201 */ 990 <MX8MP_IOMUXC_SAI1_RXD 963 <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91>, /* SODIMM 203 */ 991 <MX8MP_IOMUXC_SAI1_RXD 964 <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x91>, /* SODIMM 205 */ 992 <MX8MP_IOMUXC_SAI1_RXD 965 <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x91>, /* SODIMM 207 */ 993 <MX8MP_IOMUXC_SAI1_TXC 966 <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x91>, /* SODIMM 197 */ 994 <MX8MP_IOMUXC_SAI1_TXF 967 <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91>, /* SODIMM 199 */ 995 <MX8MP_IOMUXC_SAI1_TXD 968 <MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f>, /* SODIMM 221 */ 996 <MX8MP_IOMUXC_SAI1_TXD 969 <MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f>, /* SODIMM 219 */ 997 <MX8MP_IOMUXC_SAI1_TXD 970 <MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x1f>, /* SODIMM 217 */ 998 <MX8MP_IOMUXC_SAI1_TXD 971 <MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x1f>, /* SODIMM 215 */ 999 <MX8MP_IOMUXC_SAI1_TXD 972 <MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f>, /* SODIMM 211 */ 1000 <MX8MP_IOMUXC_SAI1_TX 973 <MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x1f>, /* SODIMM 213 */ 1001 <MX8MP_IOMUXC_SAI1_TX 974 <MX8MP_IOMUXC_SAI1_TXD6__GPIO4_IO18 0x1c4>; /* SODIMM 189 */ 1002 }; 975 }; 1003 976 1004 pinctrl_fec_sleep: fecsleepgrp { 977 pinctrl_fec_sleep: fecsleepgrp { 1005 fsl,pins = 978 fsl,pins = 1006 <MX8MP_IOMUXC_SAI1_RX 979 <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3>, /* SODIMM 193 */ 1007 <MX8MP_IOMUXC_SAI1_RX 980 <MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3>, /* SODIMM 191 */ 1008 <MX8MP_IOMUXC_SAI1_RX 981 <MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91>, /* SODIMM 201 */ 1009 <MX8MP_IOMUXC_SAI1_RX 982 <MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91>, /* SODIMM 203 */ 1010 <MX8MP_IOMUXC_SAI1_RX 983 <MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x91>, /* SODIMM 205 */ 1011 <MX8MP_IOMUXC_SAI1_RX 984 <MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x91>, /* SODIMM 207 */ 1012 <MX8MP_IOMUXC_SAI1_TX 985 <MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x91>, /* SODIMM 197 */ 1013 <MX8MP_IOMUXC_SAI1_TX 986 <MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91>, /* SODIMM 199 */ 1014 <MX8MP_IOMUXC_SAI1_TX 987 <MX8MP_IOMUXC_SAI1_TXD0__GPIO4_IO12 0x1f>, /* SODIMM 221 */ 1015 <MX8MP_IOMUXC_SAI1_TX 988 <MX8MP_IOMUXC_SAI1_TXD1__GPIO4_IO13 0x1f>, /* SODIMM 219 */ 1016 <MX8MP_IOMUXC_SAI1_TX 989 <MX8MP_IOMUXC_SAI1_TXD2__GPIO4_IO14 0x1f>, /* SODIMM 217 */ 1017 <MX8MP_IOMUXC_SAI1_TX 990 <MX8MP_IOMUXC_SAI1_TXD3__GPIO4_IO15 0x1f>, /* SODIMM 215 */ 1018 <MX8MP_IOMUXC_SAI1_TX 991 <MX8MP_IOMUXC_SAI1_TXD4__GPIO4_IO16 0x1f>, /* SODIMM 211 */ 1019 <MX8MP_IOMUXC_SAI1_TX 992 <MX8MP_IOMUXC_SAI1_TXD5__GPIO4_IO17 0x1f>, /* SODIMM 213 */ 1020 <MX8MP_IOMUXC_SAI1_TX 993 <MX8MP_IOMUXC_SAI1_TXD6__GPIO4_IO18 0x184>; /* SODIMM 189 */ 1021 }; 994 }; 1022 995 1023 pinctrl_flexcan1: flexcan1grp { 996 pinctrl_flexcan1: flexcan1grp { 1024 fsl,pins = 997 fsl,pins = 1025 <MX8MP_IOMUXC_SPDIF_R 998 <MX8MP_IOMUXC_SPDIF_RX__CAN1_RX 0x154>, /* SODIMM 22 */ 1026 <MX8MP_IOMUXC_SPDIF_T 999 <MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154>; /* SODIMM 20 */ 1027 }; 1000 }; 1028 1001 1029 pinctrl_flexcan2: flexcan2grp { 1002 pinctrl_flexcan2: flexcan2grp { 1030 fsl,pins = 1003 fsl,pins = 1031 <MX8MP_IOMUXC_SAI2_MC 1004 <MX8MP_IOMUXC_SAI2_MCLK__CAN2_RX 0x154>, /* SODIMM 26 */ 1032 <MX8MP_IOMUXC_SAI2_TX 1005 <MX8MP_IOMUXC_SAI2_TXD0__CAN2_TX 0x154>; /* SODIMM 24 */ 1033 }; 1006 }; 1034 1007 1035 pinctrl_flexspi0: flexspi0grp { 1008 pinctrl_flexspi0: flexspi0grp { 1036 fsl,pins = 1009 fsl,pins = 1037 <MX8MP_IOMUXC_NAND_AL 1010 <MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK 0x1c2>, /* SODIMM 52 */ 1038 <MX8MP_IOMUXC_NAND_CE 1011 <MX8MP_IOMUXC_NAND_CE0_B__FLEXSPI_A_SS0_B 0x82>, /* SODIMM 54 */ 1039 <MX8MP_IOMUXC_NAND_DQ 1012 <MX8MP_IOMUXC_NAND_DQS__FLEXSPI_A_DQS 0x82>, /* SODIMM 66 */ 1040 <MX8MP_IOMUXC_NAND_DA 1013 <MX8MP_IOMUXC_NAND_DATA00__FLEXSPI_A_DATA00 0x82>, /* SODIMM 56 */ 1041 <MX8MP_IOMUXC_NAND_DA 1014 <MX8MP_IOMUXC_NAND_DATA01__FLEXSPI_A_DATA01 0x82>, /* SODIMM 58 */ 1042 <MX8MP_IOMUXC_NAND_DA 1015 <MX8MP_IOMUXC_NAND_DATA02__FLEXSPI_A_DATA02 0x82>, /* SODIMM 60 */ 1043 <MX8MP_IOMUXC_NAND_DA 1016 <MX8MP_IOMUXC_NAND_DATA03__FLEXSPI_A_DATA03 0x82>, /* SODIMM 62 */ 1044 <MX8MP_IOMUXC_NAND_RE 1017 <MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x82>; /* SODIMM 64 */ 1045 }; 1018 }; 1046 1019 1047 pinctrl_gpio1: gpio1grp { 1020 pinctrl_gpio1: gpio1grp { 1048 fsl,pins = 1021 fsl,pins = 1049 <MX8MP_IOMUXC_GPIO1_I 1022 <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x184>; /* SODIMM 206 */ 1050 }; 1023 }; 1051 1024 1052 pinctrl_gpio2: gpio2grp { 1025 pinctrl_gpio2: gpio2grp { 1053 fsl,pins = 1026 fsl,pins = 1054 <MX8MP_IOMUXC_GPIO1_I 1027 <MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x1c4>; /* SODIMM 208 */ 1055 }; 1028 }; 1056 1029 1057 pinctrl_gpio3: gpio3grp { 1030 pinctrl_gpio3: gpio3grp { 1058 fsl,pins = 1031 fsl,pins = 1059 <MX8MP_IOMUXC_GPIO1_I 1032 <MX8MP_IOMUXC_GPIO1_IO05__GPIO1_IO05 0x184>; /* SODIMM 210 */ 1060 }; 1033 }; 1061 1034 1062 pinctrl_gpio4: gpio4grp { 1035 pinctrl_gpio4: gpio4grp { 1063 fsl,pins = 1036 fsl,pins = 1064 <MX8MP_IOMUXC_GPIO1_I 1037 <MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x184>; /* SODIMM 212 */ 1065 }; 1038 }; 1066 1039 1067 pinctrl_gpio5: gpio5grp { 1040 pinctrl_gpio5: gpio5grp { 1068 fsl,pins = 1041 fsl,pins = 1069 <MX8MP_IOMUXC_GPIO1_I 1042 <MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x184>; /* SODIMM 216 */ 1070 }; 1043 }; 1071 1044 1072 pinctrl_gpio6: gpio6grp { 1045 pinctrl_gpio6: gpio6grp { 1073 fsl,pins = 1046 fsl,pins = 1074 <MX8MP_IOMUXC_GPIO1_I 1047 <MX8MP_IOMUXC_GPIO1_IO08__GPIO1_IO08 0x184>; /* SODIMM 218 */ 1075 }; 1048 }; 1076 1049 1077 pinctrl_gpio7: gpio7grp { 1050 pinctrl_gpio7: gpio7grp { 1078 fsl,pins = 1051 fsl,pins = 1079 <MX8MP_IOMUXC_SAI1_RX 1052 <MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x184>; /* SODIMM 220 */ 1080 }; 1053 }; 1081 1054 1082 pinctrl_gpio8: gpio8grp { 1055 pinctrl_gpio8: gpio8grp { 1083 fsl,pins = 1056 fsl,pins = 1084 <MX8MP_IOMUXC_SAI1_RX 1057 <MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x184>; /* SODIMM 222 */ 1085 }; 1058 }; 1086 1059 1087 /* Verdin GPIO_9_DSI (pulled-up as ac 1060 /* Verdin GPIO_9_DSI (pulled-up as active-low) */ 1088 pinctrl_gpio_9_dsi: gpio9dsigrp { 1061 pinctrl_gpio_9_dsi: gpio9dsigrp { 1089 fsl,pins = 1062 fsl,pins = 1090 <MX8MP_IOMUXC_SAI2_TX 1063 <MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 0x1c4>; /* SODIMM 17 */ 1091 }; 1064 }; 1092 1065 1093 /* Verdin GPIO_10_DSI */ 1066 /* Verdin GPIO_10_DSI */ 1094 pinctrl_gpio_10_dsi: gpio10dsigrp { 1067 pinctrl_gpio_10_dsi: gpio10dsigrp { 1095 fsl,pins = 1068 fsl,pins = 1096 <MX8MP_IOMUXC_SAI3_RX 1069 <MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x1c4>; /* SODIMM 21 */ 1097 }; 1070 }; 1098 1071 1099 /* Non-wifi MSP usage only */ 1072 /* Non-wifi MSP usage only */ 1100 pinctrl_gpio_hog1: gpiohog1grp { 1073 pinctrl_gpio_hog1: gpiohog1grp { 1101 fsl,pins = 1074 fsl,pins = 1102 <MX8MP_IOMUXC_ECSPI2_ 1075 <MX8MP_IOMUXC_ECSPI2_MISO__GPIO5_IO12 0x1c4>, /* SODIMM 116 */ 1103 <MX8MP_IOMUXC_ECSPI2_ 1076 <MX8MP_IOMUXC_ECSPI2_MOSI__GPIO5_IO11 0x1c4>, /* SODIMM 152 */ 1104 <MX8MP_IOMUXC_ECSPI2_ 1077 <MX8MP_IOMUXC_ECSPI2_SCLK__GPIO5_IO10 0x1c4>, /* SODIMM 164 */ 1105 <MX8MP_IOMUXC_ECSPI2_ 1078 <MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x1c4>; /* SODIMM 128 */ 1106 }; 1079 }; 1107 1080 1108 /* USB_2_OC# */ 1081 /* USB_2_OC# */ 1109 pinctrl_gpio_hog2: gpiohog2grp { 1082 pinctrl_gpio_hog2: gpiohog2grp { 1110 fsl,pins = 1083 fsl,pins = 1111 <MX8MP_IOMUXC_SAI3_MC 1084 <MX8MP_IOMUXC_SAI3_MCLK__GPIO5_IO02 0x1c4>; /* SODIMM 187 */ 1112 }; 1085 }; 1113 1086 1114 pinctrl_gpio_hog3: gpiohog3grp { 1087 pinctrl_gpio_hog3: gpiohog3grp { 1115 fsl,pins = 1088 fsl,pins = 1116 /* CSI_1_MCLK */ 1089 /* CSI_1_MCLK */ 1117 <MX8MP_IOMUXC_GPIO1_I 1090 <MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15 0x1c4>; /* SODIMM 91 */ 1118 }; 1091 }; 1119 1092 1120 /* Wifi usage only */ 1093 /* Wifi usage only */ 1121 pinctrl_gpio_hog4: gpiohog4grp { 1094 pinctrl_gpio_hog4: gpiohog4grp { 1122 fsl,pins = 1095 fsl,pins = 1123 <MX8MP_IOMUXC_UART4_R 1096 <MX8MP_IOMUXC_UART4_RXD__GPIO5_IO28 0x1c4>, /* SODIMM 151 */ 1124 <MX8MP_IOMUXC_UART4_T 1097 <MX8MP_IOMUXC_UART4_TXD__GPIO5_IO29 0x1c4>; /* SODIMM 153 */ 1125 }; 1098 }; 1126 1099 1127 pinctrl_gpio_keys: gpiokeysgrp { 1100 pinctrl_gpio_keys: gpiokeysgrp { 1128 fsl,pins = 1101 fsl,pins = 1129 <MX8MP_IOMUXC_SAI1_RX 1102 <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x1c4>; /* SODIMM 252 */ 1130 }; 1103 }; 1131 1104 1132 pinctrl_hdmi: hdmigrp { !! 1105 pinctrl_hdmi_hog: hdmihoggrp { 1133 fsl,pins = 1106 fsl,pins = 1134 <MX8MP_IOMUXC_HDMI_CE !! 1107 <MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000019>, /* SODIMM 63 */ 1135 <MX8MP_IOMUXC_HDMI_HP !! 1108 <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c3>, /* SODIMM 59 */ >> 1109 <MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c3>, /* SODIMM 57 */ >> 1110 <MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000019>; /* SODIMM 61 */ 1136 }; 1111 }; 1137 1112 1138 /* On-module I2C */ 1113 /* On-module I2C */ 1139 pinctrl_i2c1: i2c1grp { 1114 pinctrl_i2c1: i2c1grp { 1140 fsl,pins = 1115 fsl,pins = 1141 <MX8MP_IOMUXC_I2C1_SC 1116 <MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c6>, /* PMIC_I2C_SCL */ 1142 <MX8MP_IOMUXC_I2C1_SD 1117 <MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c6>; /* PMIC_I2C_SDA */ 1143 }; 1118 }; 1144 1119 1145 pinctrl_i2c1_gpio: i2c1gpiogrp { 1120 pinctrl_i2c1_gpio: i2c1gpiogrp { 1146 fsl,pins = 1121 fsl,pins = 1147 <MX8MP_IOMUXC_I2C1_SC 1122 <MX8MP_IOMUXC_I2C1_SCL__GPIO5_IO14 0x400001c6>, /* PMIC_I2C_SCL */ 1148 <MX8MP_IOMUXC_I2C1_SD 1123 <MX8MP_IOMUXC_I2C1_SDA__GPIO5_IO15 0x400001c6>; /* PMIC_I2C_SDA */ 1149 }; 1124 }; 1150 1125 1151 /* Verdin I2C_2_DSI */ 1126 /* Verdin I2C_2_DSI */ 1152 pinctrl_i2c2: i2c2grp { 1127 pinctrl_i2c2: i2c2grp { 1153 fsl,pins = 1128 fsl,pins = 1154 <MX8MP_IOMUXC_I2C2_SC 1129 <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001c6>, /* SODIMM 55 */ 1155 <MX8MP_IOMUXC_I2C2_SD 1130 <MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001c6>; /* SODIMM 53 */ 1156 }; 1131 }; 1157 1132 1158 pinctrl_i2c2_gpio: i2c2gpiogrp { 1133 pinctrl_i2c2_gpio: i2c2gpiogrp { 1159 fsl,pins = 1134 fsl,pins = 1160 <MX8MP_IOMUXC_I2C2_SC 1135 <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x400001c6>, /* SODIMM 55 */ 1161 <MX8MP_IOMUXC_I2C2_SD 1136 <MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x400001c6>; /* SODIMM 53 */ 1162 }; 1137 }; 1163 1138 1164 /* Verdin I2C_4_CSI */ 1139 /* Verdin I2C_4_CSI */ 1165 pinctrl_i2c3: i2c3grp { 1140 pinctrl_i2c3: i2c3grp { 1166 fsl,pins = 1141 fsl,pins = 1167 <MX8MP_IOMUXC_I2C3_SC 1142 <MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c6>, /* SODIMM 95 */ 1168 <MX8MP_IOMUXC_I2C3_SD 1143 <MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x400001c6>; /* SODIMM 93 */ 1169 }; 1144 }; 1170 1145 1171 pinctrl_i2c3_gpio: i2c3gpiogrp { 1146 pinctrl_i2c3_gpio: i2c3gpiogrp { 1172 fsl,pins = 1147 fsl,pins = 1173 <MX8MP_IOMUXC_I2C3_SC 1148 <MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x400001c6>, /* SODIMM 95 */ 1174 <MX8MP_IOMUXC_I2C3_SD 1149 <MX8MP_IOMUXC_I2C3_SDA__GPIO5_IO19 0x400001c6>; /* SODIMM 93 */ 1175 }; 1150 }; 1176 1151 1177 /* Verdin I2C_1 */ 1152 /* Verdin I2C_1 */ 1178 pinctrl_i2c4: i2c4grp { 1153 pinctrl_i2c4: i2c4grp { 1179 fsl,pins = 1154 fsl,pins = 1180 <MX8MP_IOMUXC_I2C4_SC 1155 <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001c6>, /* SODIMM 14 */ 1181 <MX8MP_IOMUXC_I2C4_SD 1156 <MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001c6>; /* SODIMM 12 */ 1182 }; 1157 }; 1183 1158 1184 pinctrl_i2c4_gpio: i2c4gpiogrp { 1159 pinctrl_i2c4_gpio: i2c4gpiogrp { 1185 fsl,pins = 1160 fsl,pins = 1186 <MX8MP_IOMUXC_I2C4_SC 1161 <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x400001c6>, /* SODIMM 14 */ 1187 <MX8MP_IOMUXC_I2C4_SD 1162 <MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001c6>; /* SODIMM 12 */ 1188 }; << 1189 << 1190 /* Verdin I2C_3_HDMI */ << 1191 pinctrl_i2c5: i2c5grp { << 1192 fsl,pins = << 1193 <MX8MP_IOMUXC_HDMI_DD << 1194 <MX8MP_IOMUXC_HDMI_DD << 1195 }; << 1196 << 1197 pinctrl_i2c5_gpio: i2c5gpiogrp { << 1198 fsl,pins = << 1199 <MX8MP_IOMUXC_HDMI_DD << 1200 <MX8MP_IOMUXC_HDMI_DD << 1201 }; 1163 }; 1202 1164 1203 /* Verdin I2S_2_BCLK (TOUCH_RESET#) * 1165 /* Verdin I2S_2_BCLK (TOUCH_RESET#) */ 1204 pinctrl_i2s_2_bclk_touch_reset: i2s2b 1166 pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp { 1205 fsl,pins = 1167 fsl,pins = 1206 <MX8MP_IOMUXC_SAI3_TX 1168 <MX8MP_IOMUXC_SAI3_TXC__GPIO5_IO00 0x184>; /* SODIMM 42 */ 1207 }; 1169 }; 1208 1170 1209 /* Verdin I2S_2_D_OUT shared with SAI 1171 /* Verdin I2S_2_D_OUT shared with SAI3 */ 1210 pinctrl_i2s_2_d_out_dsi_1_bkl_en: i2s 1172 pinctrl_i2s_2_d_out_dsi_1_bkl_en: i2s2doutdsi1bklengrp { 1211 fsl,pins = 1173 fsl,pins = 1212 <MX8MP_IOMUXC_SAI3_TX 1174 <MX8MP_IOMUXC_SAI3_TXD__GPIO5_IO01 0x184>; /* SODIMM 46 */ 1213 }; 1175 }; 1214 1176 1215 pinctrl_pcie: pciegrp { 1177 pinctrl_pcie: pciegrp { 1216 fsl,pins = 1178 fsl,pins = 1217 <MX8MP_IOMUXC_SAI1_TX 1179 <MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x4>, /* SODIMM 244 */ 1218 <MX8MP_IOMUXC_SD2_RES 1180 <MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x1c4>; /* PMIC_EN_PCIe_CLK, unused */ 1219 }; 1181 }; 1220 1182 1221 pinctrl_pmic: pmicirqgrp { 1183 pinctrl_pmic: pmicirqgrp { 1222 fsl,pins = 1184 fsl,pins = 1223 <MX8MP_IOMUXC_GPIO1_I 1185 <MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x1c4>; /* PMIC_INT# */ 1224 }; 1186 }; 1225 1187 1226 pinctrl_pwm_1: pwm1grp { 1188 pinctrl_pwm_1: pwm1grp { 1227 fsl,pins = 1189 fsl,pins = 1228 <MX8MP_IOMUXC_SPDIF_E 1190 <MX8MP_IOMUXC_SPDIF_EXT_CLK__PWM1_OUT 0x6>; /* SODIMM 15 */ 1229 }; 1191 }; 1230 1192 1231 pinctrl_pwm_2: pwm2grp { 1193 pinctrl_pwm_2: pwm2grp { 1232 fsl,pins = 1194 fsl,pins = 1233 <MX8MP_IOMUXC_GPIO1_I 1195 <MX8MP_IOMUXC_GPIO1_IO11__PWM2_OUT 0x6>; /* SODIMM 16 */ 1234 }; 1196 }; 1235 1197 1236 /* Verdin PWM_3_DSI shared with GPIO3 1198 /* Verdin PWM_3_DSI shared with GPIO3_IO20 */ 1237 pinctrl_pwm_3: pwm3grp { 1199 pinctrl_pwm_3: pwm3grp { 1238 fsl,pins = 1200 fsl,pins = 1239 <MX8MP_IOMUXC_SAI5_RX 1201 <MX8MP_IOMUXC_SAI5_RXC__PWM3_OUT 0x6>; /* SODIMM 19 */ 1240 }; 1202 }; 1241 1203 1242 /* Verdin PWM_3_DSI (pulled-down as a 1204 /* Verdin PWM_3_DSI (pulled-down as active-high) shared with PWM3_OUT */ 1243 pinctrl_pwm_3_dsi_hpd_gpio: pwm3dsi1h 1205 pinctrl_pwm_3_dsi_hpd_gpio: pwm3dsi1hpdgpiogrp { 1244 fsl,pins = 1206 fsl,pins = 1245 <MX8MP_IOMUXC_SAI5_RX 1207 <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x184>; /* SODIMM 19 */ 1246 }; 1208 }; 1247 1209 1248 pinctrl_reg_eth: regethgrp { 1210 pinctrl_reg_eth: regethgrp { 1249 fsl,pins = 1211 fsl,pins = 1250 <MX8MP_IOMUXC_SD2_WP_ 1212 <MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x184>; /* PMIC_EN_ETH */ 1251 }; 1213 }; 1252 1214 1253 pinctrl_sai1: sai1grp { 1215 pinctrl_sai1: sai1grp { 1254 fsl,pins = 1216 fsl,pins = 1255 <MX8MP_IOMUXC_SAI1_MC 1217 <MX8MP_IOMUXC_SAI1_MCLK__AUDIOMIX_SAI1_MCLK 0x96>, /* SODIMM 38 */ 1256 <MX8MP_IOMUXC_SAI1_RX 1218 <MX8MP_IOMUXC_SAI1_RXD0__AUDIOMIX_SAI1_RX_DATA00 0x1d6>, /* SODIMM 36 */ 1257 <MX8MP_IOMUXC_SAI5_MC 1219 <MX8MP_IOMUXC_SAI5_MCLK__AUDIOMIX_SAI1_TX_BCLK 0x1d6>, /* SODIMM 30 */ 1258 <MX8MP_IOMUXC_SAI5_RX 1220 <MX8MP_IOMUXC_SAI5_RXD1__AUDIOMIX_SAI1_TX_SYNC 0x1d6>, /* SODIMM 32 */ 1259 <MX8MP_IOMUXC_SAI5_RX 1221 <MX8MP_IOMUXC_SAI5_RXFS__AUDIOMIX_SAI1_TX_DATA00 0x96>; /* SODIMM 34 */ 1260 }; 1222 }; 1261 1223 1262 pinctrl_sai3: sai3grp { 1224 pinctrl_sai3: sai3grp { 1263 fsl,pins = 1225 fsl,pins = 1264 <MX8MP_IOMUXC_SAI3_RX 1226 <MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0x1d6>, /* SODIMM 48 */ 1265 <MX8MP_IOMUXC_SAI3_TX 1227 <MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0x1d6>, /* SODIMM 42 */ 1266 <MX8MP_IOMUXC_SAI3_TX 1228 <MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0x96>, /* SODIMM 46 */ 1267 <MX8MP_IOMUXC_SAI3_TX 1229 <MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0x1d6>; /* SODIMM 44 */ 1268 }; 1230 }; 1269 1231 1270 pinctrl_uart1: uart1grp { 1232 pinctrl_uart1: uart1grp { 1271 fsl,pins = 1233 fsl,pins = 1272 <MX8MP_IOMUXC_SAI2_RX 1234 <MX8MP_IOMUXC_SAI2_RXD0__UART1_DCE_RTS 0x1c4>, /* SODIMM 135 */ 1273 <MX8MP_IOMUXC_SAI2_TX 1235 <MX8MP_IOMUXC_SAI2_TXFS__UART1_DCE_CTS 0x1c4>, /* SODIMM 133 */ 1274 <MX8MP_IOMUXC_UART1_R 1236 <MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x1c4>, /* SODIMM 129 */ 1275 <MX8MP_IOMUXC_UART1_T 1237 <MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x1c4>; /* SODIMM 131 */ 1276 }; 1238 }; 1277 1239 1278 pinctrl_uart2: uart2grp { 1240 pinctrl_uart2: uart2grp { 1279 fsl,pins = 1241 fsl,pins = 1280 <MX8MP_IOMUXC_SD1_DAT 1242 <MX8MP_IOMUXC_SD1_DATA4__UART2_DCE_RTS 0x1c4>, /* SODIMM 143 */ 1281 <MX8MP_IOMUXC_SD1_DAT 1243 <MX8MP_IOMUXC_SD1_DATA5__UART2_DCE_CTS 0x1c4>, /* SODIMM 141 */ 1282 <MX8MP_IOMUXC_UART2_R 1244 <MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x1c4>, /* SODIMM 137 */ 1283 <MX8MP_IOMUXC_UART2_T 1245 <MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x1c4>; /* SODIMM 139 */ 1284 }; 1246 }; 1285 1247 1286 pinctrl_uart3: uart3grp { 1248 pinctrl_uart3: uart3grp { 1287 fsl,pins = 1249 fsl,pins = 1288 <MX8MP_IOMUXC_UART3_R 1250 <MX8MP_IOMUXC_UART3_RXD__UART3_DCE_RX 0x1c4>, /* SODIMM 147 */ 1289 <MX8MP_IOMUXC_UART3_T 1251 <MX8MP_IOMUXC_UART3_TXD__UART3_DCE_TX 0x1c4>; /* SODIMM 149 */ 1290 }; 1252 }; 1291 1253 1292 /* Non-wifi usage only */ 1254 /* Non-wifi usage only */ 1293 pinctrl_uart4: uart4grp { 1255 pinctrl_uart4: uart4grp { 1294 fsl,pins = 1256 fsl,pins = 1295 <MX8MP_IOMUXC_UART4_R 1257 <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x1c4>, /* SODIMM 151 */ 1296 <MX8MP_IOMUXC_UART4_T 1258 <MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x1c4>; /* SODIMM 153 */ 1297 }; 1259 }; 1298 1260 1299 pinctrl_usb1_vbus: usb1vbusgrp { 1261 pinctrl_usb1_vbus: usb1vbusgrp { 1300 fsl,pins = 1262 fsl,pins = 1301 <MX8MP_IOMUXC_GPIO1_I 1263 <MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x106>; /* SODIMM 155 */ 1302 }; 1264 }; 1303 1265 1304 /* USB_1_ID */ 1266 /* USB_1_ID */ 1305 pinctrl_usb_1_id: usb1idgrp { 1267 pinctrl_usb_1_id: usb1idgrp { 1306 fsl,pins = 1268 fsl,pins = 1307 <MX8MP_IOMUXC_SD1_RES 1269 <MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x1c4>; /* SODIMM 161 */ 1308 }; 1270 }; 1309 1271 1310 /* USB_1_OC# */ 1272 /* USB_1_OC# */ 1311 pinctrl_usb_1_oc_n: usb1ocngrp { 1273 pinctrl_usb_1_oc_n: usb1ocngrp { 1312 fsl,pins = 1274 fsl,pins = 1313 <MX8MP_IOMUXC_GPIO1_I 1275 <MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x1c4>; /* SODIMM 157 */ 1314 }; 1276 }; 1315 1277 1316 pinctrl_usb2_vbus: usb2vbusgrp { 1278 pinctrl_usb2_vbus: usb2vbusgrp { 1317 fsl,pins = 1279 fsl,pins = 1318 <MX8MP_IOMUXC_GPIO1_I 1280 <MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x106>; /* SODIMM 185 */ 1319 }; 1281 }; 1320 1282 1321 /* On-module Wi-Fi */ 1283 /* On-module Wi-Fi */ 1322 pinctrl_usdhc1: usdhc1grp { 1284 pinctrl_usdhc1: usdhc1grp { 1323 fsl,pins = 1285 fsl,pins = 1324 <MX8MP_IOMUXC_SD1_CLK 1286 <MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x190>, 1325 <MX8MP_IOMUXC_SD1_CMD 1287 <MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d0>, 1326 <MX8MP_IOMUXC_SD1_DAT 1288 <MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d0>, 1327 <MX8MP_IOMUXC_SD1_DAT 1289 <MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d0>, 1328 <MX8MP_IOMUXC_SD1_DAT 1290 <MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d0>, 1329 <MX8MP_IOMUXC_SD1_DAT 1291 <MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d0>; 1330 }; 1292 }; 1331 1293 1332 pinctrl_usdhc1_100mhz: usdhc1-100mhzg 1294 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { 1333 fsl,pins = 1295 fsl,pins = 1334 <MX8MP_IOMUXC_SD1_CLK 1296 <MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x194>, 1335 <MX8MP_IOMUXC_SD1_CMD 1297 <MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d4>, 1336 <MX8MP_IOMUXC_SD1_DAT 1298 <MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d4>, 1337 <MX8MP_IOMUXC_SD1_DAT 1299 <MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d4>, 1338 <MX8MP_IOMUXC_SD1_DAT 1300 <MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d4>, 1339 <MX8MP_IOMUXC_SD1_DAT 1301 <MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d4>; 1340 }; 1302 }; 1341 1303 1342 pinctrl_usdhc1_200mhz: usdhc1-200mhzg 1304 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { 1343 fsl,pins = 1305 fsl,pins = 1344 <MX8MP_IOMUXC_SD1_CLK 1306 <MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x196>, 1345 <MX8MP_IOMUXC_SD1_CMD 1307 <MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d6>, 1346 <MX8MP_IOMUXC_SD1_DAT 1308 <MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d6>, 1347 <MX8MP_IOMUXC_SD1_DAT 1309 <MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d6>, 1348 <MX8MP_IOMUXC_SD1_DAT 1310 <MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d6>, 1349 <MX8MP_IOMUXC_SD1_DAT 1311 <MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d6>; 1350 }; 1312 }; 1351 1313 1352 pinctrl_usdhc2_cd: usdhc2cdgrp { 1314 pinctrl_usdhc2_cd: usdhc2cdgrp { 1353 fsl,pins = 1315 fsl,pins = 1354 <MX8MP_IOMUXC_SD2_CD_ 1316 <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c4>; /* SODIMM 84 */ 1355 }; 1317 }; 1356 1318 1357 pinctrl_usdhc2_cd_sleep: usdhc2cdslpg 1319 pinctrl_usdhc2_cd_sleep: usdhc2cdslpgrp { 1358 fsl,pins = 1320 fsl,pins = 1359 <MX8MP_IOMUXC_SD2_CD_ 1321 <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x0>; /* SODIMM 84 */ 1360 }; 1322 }; 1361 1323 1362 pinctrl_usdhc2_pwr_en: usdhc2pwrengrp 1324 pinctrl_usdhc2_pwr_en: usdhc2pwrengrp { 1363 fsl,pins = 1325 fsl,pins = 1364 <MX8MP_IOMUXC_SAI2_RX 1326 <MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x4>; /* SODIMM 76 */ 1365 }; 1327 }; 1366 1328 1367 pinctrl_usdhc2: usdhc2grp { 1329 pinctrl_usdhc2: usdhc2grp { 1368 fsl,pins = 1330 fsl,pins = 1369 <MX8MP_IOMUXC_GPIO1_I 1331 <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0x4>, /* PMIC_USDHC_VSELECT */ 1370 <MX8MP_IOMUXC_SD2_CLK 1332 <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190>, /* SODIMM 78 */ 1371 <MX8MP_IOMUXC_SD2_CMD 1333 <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0>, /* SODIMM 74 */ 1372 <MX8MP_IOMUXC_SD2_DAT 1334 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0>, /* SODIMM 80 */ 1373 <MX8MP_IOMUXC_SD2_DAT 1335 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0>, /* SODIMM 82 */ 1374 <MX8MP_IOMUXC_SD2_DAT 1336 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0>, /* SODIMM 70 */ 1375 <MX8MP_IOMUXC_SD2_DAT 1337 <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0>; /* SODIMM 72 */ 1376 }; 1338 }; 1377 1339 1378 pinctrl_usdhc2_100mhz: usdhc2-100mhzg 1340 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 1379 fsl,pins = 1341 fsl,pins = 1380 <MX8MP_IOMUXC_GPIO1_I 1342 <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0x4>, 1381 <MX8MP_IOMUXC_SD2_CLK 1343 <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, 1382 <MX8MP_IOMUXC_SD2_CMD 1344 <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, 1383 <MX8MP_IOMUXC_SD2_DAT 1345 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, 1384 <MX8MP_IOMUXC_SD2_DAT 1346 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, 1385 <MX8MP_IOMUXC_SD2_DAT 1347 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, 1386 <MX8MP_IOMUXC_SD2_DAT 1348 <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; 1387 }; 1349 }; 1388 1350 1389 pinctrl_usdhc2_200mhz: usdhc2-200mhzg 1351 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 1390 fsl,pins = 1352 fsl,pins = 1391 <MX8MP_IOMUXC_GPIO1_I 1353 <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0x4>, 1392 <MX8MP_IOMUXC_SD2_CLK 1354 <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196>, 1393 <MX8MP_IOMUXC_SD2_CMD 1355 <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6>, 1394 <MX8MP_IOMUXC_SD2_DAT 1356 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6>, 1395 <MX8MP_IOMUXC_SD2_DAT 1357 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6>, 1396 <MX8MP_IOMUXC_SD2_DAT 1358 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6>, 1397 <MX8MP_IOMUXC_SD2_DAT 1359 <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6>; 1398 }; 1360 }; 1399 1361 1400 /* Avoid backfeeding with removed car 1362 /* Avoid backfeeding with removed card power */ 1401 pinctrl_usdhc2_sleep: usdhc2slpgrp { 1363 pinctrl_usdhc2_sleep: usdhc2slpgrp { 1402 fsl,pins = 1364 fsl,pins = 1403 <MX8MP_IOMUXC_GPIO1_I 1365 <MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0x0>, 1404 <MX8MP_IOMUXC_SD2_CLK 1366 <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x100>, 1405 <MX8MP_IOMUXC_SD2_CMD 1367 <MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x100>, 1406 <MX8MP_IOMUXC_SD2_DAT 1368 <MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x100>, 1407 <MX8MP_IOMUXC_SD2_DAT 1369 <MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x100>, 1408 <MX8MP_IOMUXC_SD2_DAT 1370 <MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x100>, 1409 <MX8MP_IOMUXC_SD2_DAT 1371 <MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x100>; 1410 }; 1372 }; 1411 1373 1412 pinctrl_usdhc3: usdhc3grp { 1374 pinctrl_usdhc3: usdhc3grp { 1413 fsl,pins = 1375 fsl,pins = 1414 <MX8MP_IOMUXC_GPIO1_I 1376 <MX8MP_IOMUXC_GPIO1_IO09__USDHC3_RESET_B 0x1d1>, 1415 <MX8MP_IOMUXC_NAND_CE 1377 <MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190>, 1416 <MX8MP_IOMUXC_NAND_CE 1378 <MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0>, 1417 <MX8MP_IOMUXC_NAND_CE 1379 <MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0>, 1418 <MX8MP_IOMUXC_NAND_CL 1380 <MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0>, 1419 <MX8MP_IOMUXC_NAND_DA 1381 <MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0>, 1420 <MX8MP_IOMUXC_NAND_DA 1382 <MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0>, 1421 <MX8MP_IOMUXC_NAND_DA 1383 <MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0>, 1422 <MX8MP_IOMUXC_NAND_DA 1384 <MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0>, 1423 <MX8MP_IOMUXC_NAND_RE 1385 <MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0>, 1424 <MX8MP_IOMUXC_NAND_WE 1386 <MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190>, 1425 <MX8MP_IOMUXC_NAND_WP 1387 <MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0>; 1426 }; 1388 }; 1427 1389 1428 pinctrl_usdhc3_100mhz: usdhc3-100mhzg 1390 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 1429 fsl,pins = 1391 fsl,pins = 1430 <MX8MP_IOMUXC_GPIO1_I 1392 <MX8MP_IOMUXC_GPIO1_IO09__USDHC3_RESET_B 0x1d1>, 1431 <MX8MP_IOMUXC_NAND_CE 1393 <MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194>, 1432 <MX8MP_IOMUXC_NAND_CE 1394 <MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4>, 1433 <MX8MP_IOMUXC_NAND_CE 1395 <MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4>, 1434 <MX8MP_IOMUXC_NAND_CL 1396 <MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4>, 1435 <MX8MP_IOMUXC_NAND_DA 1397 <MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4>, 1436 <MX8MP_IOMUXC_NAND_DA 1398 <MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4>, 1437 <MX8MP_IOMUXC_NAND_DA 1399 <MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4>, 1438 <MX8MP_IOMUXC_NAND_DA 1400 <MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4>, 1439 <MX8MP_IOMUXC_NAND_RE 1401 <MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4>, 1440 <MX8MP_IOMUXC_NAND_WE 1402 <MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194>, 1441 <MX8MP_IOMUXC_NAND_WP 1403 <MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4>; 1442 }; 1404 }; 1443 1405 1444 pinctrl_usdhc3_200mhz: usdhc3-200mhzg 1406 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 1445 fsl,pins = 1407 fsl,pins = 1446 <MX8MP_IOMUXC_GPIO1_I 1408 <MX8MP_IOMUXC_GPIO1_IO09__USDHC3_RESET_B 0x1d1>, 1447 <MX8MP_IOMUXC_NAND_CE 1409 <MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196>, 1448 <MX8MP_IOMUXC_NAND_CE 1410 <MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d2>, 1449 <MX8MP_IOMUXC_NAND_CE 1411 <MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d2>, 1450 <MX8MP_IOMUXC_NAND_CL 1412 <MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d2>, 1451 <MX8MP_IOMUXC_NAND_DA 1413 <MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d2>, 1452 <MX8MP_IOMUXC_NAND_DA 1414 <MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d2>, 1453 <MX8MP_IOMUXC_NAND_DA 1415 <MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d2>, 1454 <MX8MP_IOMUXC_NAND_DA 1416 <MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d2>, 1455 <MX8MP_IOMUXC_NAND_RE 1417 <MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d2>, 1456 <MX8MP_IOMUXC_NAND_WE 1418 <MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196>, 1457 <MX8MP_IOMUXC_NAND_WP 1419 <MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6>; 1458 }; 1420 }; 1459 1421 1460 pinctrl_wdog: wdoggrp { 1422 pinctrl_wdog: wdoggrp { 1461 fsl,pins = 1423 fsl,pins = 1462 <MX8MP_IOMUXC_GPIO1_I 1424 <MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0xc6>; /* PMIC_WDI */ 1463 }; 1425 }; 1464 1426 1465 pinctrl_bluetooth_ctrl: bluetoothctrl 1427 pinctrl_bluetooth_ctrl: bluetoothctrlgrp { 1466 fsl,pins = 1428 fsl,pins = 1467 <MX8MP_IOMUXC_SD1_DAT 1429 <MX8MP_IOMUXC_SD1_DATA6__GPIO2_IO08 0x1c4>; /* WIFI_WKUP_BT */ 1468 }; 1430 }; 1469 1431 1470 pinctrl_wifi_ctrl: wifictrlgrp { 1432 pinctrl_wifi_ctrl: wifictrlgrp { 1471 fsl,pins = 1433 fsl,pins = 1472 <MX8MP_IOMUXC_SD1_DAT 1434 <MX8MP_IOMUXC_SD1_DATA7__GPIO2_IO09 0x1c4>; /* WIFI_WKUP_WLAN */ 1473 }; 1435 }; 1474 1436 1475 pinctrl_wifi_i2s: wifii2sgrp { 1437 pinctrl_wifi_i2s: wifii2sgrp { 1476 fsl,pins = 1438 fsl,pins = 1477 <MX8MP_IOMUXC_SAI2_RX 1439 <MX8MP_IOMUXC_SAI2_RXFS__GPIO4_IO21 0x1d6>, /* WIFI_TX_SYNC */ 1478 <MX8MP_IOMUXC_SAI5_RX 1440 <MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21 0x96>, /* WIFI_RX_DATA0 */ 1479 <MX8MP_IOMUXC_SAI5_RX 1441 <MX8MP_IOMUXC_SAI5_RXD2__GPIO3_IO23 0x1d6>, /* WIFI_TX_BCLK */ 1480 <MX8MP_IOMUXC_SAI5_RX 1442 <MX8MP_IOMUXC_SAI5_RXD3__GPIO3_IO24 0x1d6>; /* WIFI_TX_DATA0 */ 1481 }; 1443 }; 1482 1444 1483 pinctrl_wifi_pwr_en: wifipwrengrp { 1445 pinctrl_wifi_pwr_en: wifipwrengrp { 1484 fsl,pins = 1446 fsl,pins = 1485 <MX8MP_IOMUXC_SD1_STR 1447 <MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x184>; /* PMIC_EN_WIFI */ 1486 }; 1448 }; 1487 }; 1449 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.