| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 |
/* |
| 3 |
* Copyright 2021-2025 TQ-Systems GmbH <[email protected]>, |
| 4 |
* D-82229 Seefeld, Germany. |
| 5 |
* Author: Alexander Stein |
| 6 |
*/ |
| 7 |
|
| 8 |
/dts-v1/; |
| 9 |
|
| 10 |
#include <dt-bindings/leds/common.h> |
| 11 |
#include <dt-bindings/net/ti-dp83867.h> |
| 12 |
#include <dt-bindings/phy/phy-imx8-pcie.h> |
| 13 |
#include <dt-bindings/pwm/pwm.h> |
| 14 |
#include "imx8mp-tqma8mpql.dtsi" |
| 15 |
|
| 16 |
/ { |
| 17 |
model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL"; |
| 18 |
compatible = "tq,imx8mp-tqma8mpql-mba8mpxl", "tq,imx8mp-tqma8mpql", "fsl,imx8mp"; |
| 19 |
chassis-type = "embedded"; |
| 20 |
|
| 21 |
chosen { |
| 22 |
stdout-path = &uart4; |
| 23 |
}; |
| 24 |
|
| 25 |
iio-hwmon { |
| 26 |
compatible = "iio-hwmon"; |
| 27 |
io-channels = <&adc 0>, <&adc 1>; |
| 28 |
}; |
| 29 |
|
| 30 |
aliases { |
| 31 |
mmc0 = &usdhc3; |
| 32 |
mmc1 = &usdhc2; |
| 33 |
mmc2 = &usdhc1; |
| 34 |
rtc0 = &pcf85063; |
| 35 |
rtc1 = &snvs_rtc; |
| 36 |
spi0 = &flexspi; |
| 37 |
spi1 = &ecspi1; |
| 38 |
spi2 = &ecspi2; |
| 39 |
spi3 = &ecspi3; |
| 40 |
}; |
| 41 |
|
| 42 |
backlight_lvds: backlight { |
| 43 |
compatible = "pwm-backlight"; |
| 44 |
pinctrl-names = "default"; |
| 45 |
pinctrl-0 = <&pinctrl_backlight>; |
| 46 |
pwms = <&pwm2 0 5000000 0>; |
| 47 |
brightness-levels = <0 4 8 16 32 64 128 255>; |
| 48 |
default-brightness-level = <7>; |
| 49 |
power-supply = <®_vcc_12v0>; |
| 50 |
enable-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; |
| 51 |
status = "disabled"; |
| 52 |
}; |
| 53 |
|
| 54 |
clk_xtal25: clk-xtal25 { |
| 55 |
compatible = "fixed-clock"; |
| 56 |
#clock-cells = <0>; |
| 57 |
clock-frequency = <25000000>; |
| 58 |
}; |
| 59 |
|
| 60 |
connector { |
| 61 |
compatible = "gpio-usb-b-connector", "usb-b-connector"; |
| 62 |
type = "micro"; |
| 63 |
label = "X29"; |
| 64 |
pinctrl-names = "default"; |
| 65 |
pinctrl-0 = <&pinctrl_usbcon0>; |
| 66 |
id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
| 67 |
|
| 68 |
port { |
| 69 |
usb_dr_connector: endpoint { |
| 70 |
remote-endpoint = <&usb3_dwc>; |
| 71 |
}; |
| 72 |
}; |
| 73 |
}; |
| 74 |
|
| 75 |
fan0: pwm-fan { |
| 76 |
compatible = "pwm-fan"; |
| 77 |
pinctrl-names = "default"; |
| 78 |
pinctrl-0 = <&pinctrl_pwmfan>; |
| 79 |
fan-supply = <®_pwm_fan>; |
| 80 |
#cooling-cells = <2>; |
| 81 |
/* typical 25 kHz -> 40.000 nsec */ |
| 82 |
pwms = <&pwm3 0 40000 PWM_POLARITY_INVERTED>; |
| 83 |
cooling-levels = <0 32 64 128 196 240>; |
| 84 |
pulses-per-revolution = <2>; |
| 85 |
interrupt-parent = <&gpio5>; |
| 86 |
interrupts = <18 IRQ_TYPE_EDGE_FALLING>; |
| 87 |
status = "disabled"; |
| 88 |
}; |
| 89 |
|
| 90 |
gpio-keys { |
| 91 |
compatible = "gpio-keys"; |
| 92 |
pinctrl-names = "default"; |
| 93 |
pinctrl-0 = <&pinctrl_gpiobutton>; |
| 94 |
autorepeat; |
| 95 |
|
| 96 |
switch-1 { |
| 97 |
label = "S12"; |
| 98 |
linux,code = <BTN_0>; |
| 99 |
gpios = <&gpio5 27 GPIO_ACTIVE_LOW>; |
| 100 |
wakeup-source; |
| 101 |
}; |
| 102 |
|
| 103 |
switch-2 { |
| 104 |
label = "S13"; |
| 105 |
linux,code = <BTN_1>; |
| 106 |
gpios = <&gpio5 26 GPIO_ACTIVE_LOW>; |
| 107 |
wakeup-source; |
| 108 |
}; |
| 109 |
}; |
| 110 |
|
| 111 |
gpio-leds { |
| 112 |
compatible = "gpio-leds"; |
| 113 |
pinctrl-names = "default"; |
| 114 |
pinctrl-0 = <&pinctrl_gpioled>; |
| 115 |
|
| 116 |
led-0 { |
| 117 |
color = <LED_COLOR_ID_GREEN>; |
| 118 |
function = LED_FUNCTION_STATUS; |
| 119 |
function-enumerator = <0>; |
| 120 |
gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; |
| 121 |
linux,default-trigger = "default-on"; |
| 122 |
}; |
| 123 |
|
| 124 |
led-1 { |
| 125 |
color = <LED_COLOR_ID_GREEN>; |
| 126 |
function = LED_FUNCTION_HEARTBEAT; |
| 127 |
gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>; |
| 128 |
linux,default-trigger = "heartbeat"; |
| 129 |
}; |
| 130 |
|
| 131 |
led-2 { |
| 132 |
color = <LED_COLOR_ID_YELLOW>; |
| 133 |
function = LED_FUNCTION_STATUS; |
| 134 |
function-enumerator = <1>; |
| 135 |
gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; |
| 136 |
}; |
| 137 |
}; |
| 138 |
|
| 139 |
hdmi-connector { |
| 140 |
compatible = "hdmi-connector"; |
| 141 |
label = "X44"; |
| 142 |
type = "a"; |
| 143 |
|
| 144 |
port { |
| 145 |
hdmi_connector_in: endpoint { |
| 146 |
remote-endpoint = <&hdmi_tx_out>; |
| 147 |
}; |
| 148 |
}; |
| 149 |
}; |
| 150 |
|
| 151 |
display: display { |
| 152 |
/* |
| 153 |
* Display is not fixed, so compatible has to be added from |
| 154 |
* DT overlay |
| 155 |
*/ |
| 156 |
pinctrl-names = "default"; |
| 157 |
pinctrl-0 = <&pinctrl_lvdsdisplay>; |
| 158 |
power-supply = <®_vcc_3v3>; |
| 159 |
enable-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; |
| 160 |
backlight = <&backlight_lvds>; |
| 161 |
status = "disabled"; |
| 162 |
}; |
| 163 |
|
| 164 |
reg_pwm_fan: regulator-pwm-fan { |
| 165 |
compatible = "regulator-fixed"; |
| 166 |
pinctrl-names = "default"; |
| 167 |
pinctrl-0 = <&pinctrl_regpwmfan>; |
| 168 |
regulator-name = "FAN_PWR"; |
| 169 |
regulator-min-microvolt = <12000000>; |
| 170 |
regulator-max-microvolt = <12000000>; |
| 171 |
gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>; |
| 172 |
enable-active-high; |
| 173 |
vin-supply = <®_vcc_12v0>; |
| 174 |
}; |
| 175 |
|
| 176 |
reg_usdhc2_vmmc: regulator-usdhc2 { |
| 177 |
compatible = "regulator-fixed"; |
| 178 |
pinctrl-names = "default"; |
| 179 |
pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; |
| 180 |
regulator-name = "VSD_3V3"; |
| 181 |
regulator-min-microvolt = <3300000>; |
| 182 |
regulator-max-microvolt = <3300000>; |
| 183 |
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
| 184 |
enable-active-high; |
| 185 |
startup-delay-us = <100>; |
| 186 |
off-on-delay-us = <12000>; |
| 187 |
}; |
| 188 |
|
| 189 |
reg_vcc_12v0: regulator-12v0 { |
| 190 |
compatible = "regulator-fixed"; |
| 191 |
pinctrl-names = "default"; |
| 192 |
pinctrl-0 = <&pinctrl_reg12v0>; |
| 193 |
regulator-name = "VCC_12V0"; |
| 194 |
regulator-min-microvolt = <12000000>; |
| 195 |
regulator-max-microvolt = <12000000>; |
| 196 |
gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>; |
| 197 |
enable-active-high; |
| 198 |
}; |
| 199 |
|
| 200 |
reg_vcc_1v8: regulator-1v8 { |
| 201 |
compatible = "regulator-fixed"; |
| 202 |
regulator-name = "VCC_1V8"; |
| 203 |
regulator-min-microvolt = <1800000>; |
| 204 |
regulator-max-microvolt = <1800000>; |
| 205 |
}; |
| 206 |
|
| 207 |
reg_vcc_3v3: regulator-3v3 { |
| 208 |
compatible = "regulator-fixed"; |
| 209 |
regulator-name = "VCC_3V3"; |
| 210 |
regulator-min-microvolt = <3300000>; |
| 211 |
regulator-max-microvolt = <3300000>; |
| 212 |
}; |
| 213 |
|
| 214 |
reg_vcc_5v0: regulator-5v0 { |
| 215 |
compatible = "regulator-fixed"; |
| 216 |
regulator-name = "VCC_5V0"; |
| 217 |
regulator-min-microvolt = <5000000>; |
| 218 |
regulator-max-microvolt = <5000000>; |
| 219 |
}; |
| 220 |
|
| 221 |
reserved-memory { |
| 222 |
#address-cells = <2>; |
| 223 |
#size-cells = <2>; |
| 224 |
ranges; |
| 225 |
|
| 226 |
/* global autoconfigured region for contiguous allocations */ |
| 227 |
linux,cma { |
| 228 |
compatible = "shared-dma-pool"; |
| 229 |
reusable; |
| 230 |
size = <0 0x38000000>; |
| 231 |
alloc-ranges = <0 0x40000000 0 0xb0000000>; |
| 232 |
linux,cma-default; |
| 233 |
}; |
| 234 |
}; |
| 235 |
|
| 236 |
sound { |
| 237 |
compatible = "fsl,imx-audio-tlv320aic32x4"; |
| 238 |
model = "tqm-tlv320aic32"; |
| 239 |
audio-asrc = <&easrc>; |
| 240 |
audio-cpu = <&sai3>; |
| 241 |
audio-codec = <&tlv320aic3x04>; |
| 242 |
audio-routing = |
| 243 |
"IN3_L", "Mic Jack", |
| 244 |
"Mic Jack", "Mic Bias", |
| 245 |
"IN1_L", "Line In Jack", |
| 246 |
"IN1_R", "Line In Jack", |
| 247 |
"Line Out Jack", "LOL", |
| 248 |
"Line Out Jack", "LOR"; |
| 249 |
}; |
| 250 |
|
| 251 |
sound-hdmi { |
| 252 |
compatible = "fsl,imx-audio-hdmi"; |
| 253 |
model = "audio-hdmi"; |
| 254 |
audio-cpu = <&aud2htx>; |
| 255 |
hdmi-out; |
| 256 |
}; |
| 257 |
|
| 258 |
thermal-zones { |
| 259 |
soc-thermal { |
| 260 |
trips { |
| 261 |
soc_active0: trip-active0 { |
| 262 |
temperature = <40000>; |
| 263 |
hysteresis = <5000>; |
| 264 |
type = "active"; |
| 265 |
}; |
| 266 |
|
| 267 |
soc_active1: trip-active1 { |
| 268 |
temperature = <48000>; |
| 269 |
hysteresis = <3000>; |
| 270 |
type = "active"; |
| 271 |
}; |
| 272 |
|
| 273 |
soc_active2: trip-active2 { |
| 274 |
temperature = <60000>; |
| 275 |
hysteresis = <10000>; |
| 276 |
type = "active"; |
| 277 |
}; |
| 278 |
}; |
| 279 |
|
| 280 |
cooling-maps { |
| 281 |
map1 { |
| 282 |
trip = <&soc_active0>; |
| 283 |
cooling-device = <&fan0 1 1>; |
| 284 |
}; |
| 285 |
|
| 286 |
map2 { |
| 287 |
trip = <&soc_active1>; |
| 288 |
cooling-device = <&fan0 2 2>; |
| 289 |
}; |
| 290 |
|
| 291 |
map3 { |
| 292 |
trip = <&soc_active2>; |
| 293 |
cooling-device = <&fan0 3 3>; |
| 294 |
}; |
| 295 |
}; |
| 296 |
}; |
| 297 |
}; |
| 298 |
}; |
| 299 |
|
| 300 |
&aud2htx { |
| 301 |
status = "okay"; |
| 302 |
}; |
| 303 |
|
| 304 |
&ecspi1 { |
| 305 |
pinctrl-names = "default"; |
| 306 |
pinctrl-0 = <&pinctrl_ecspi1>; |
| 307 |
cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; |
| 308 |
status = "okay"; |
| 309 |
}; |
| 310 |
|
| 311 |
&ecspi2 { |
| 312 |
pinctrl-names = "default"; |
| 313 |
pinctrl-0 = <&pinctrl_ecspi2>; |
| 314 |
cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; |
| 315 |
status = "okay"; |
| 316 |
}; |
| 317 |
|
| 318 |
&ecspi3 { |
| 319 |
pinctrl-names = "default"; |
| 320 |
pinctrl-0 = <&pinctrl_ecspi3>; |
| 321 |
cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; |
| 322 |
status = "okay"; |
| 323 |
|
| 324 |
adc: adc@0 { |
| 325 |
reg = <0>; |
| 326 |
compatible = "microchip,mcp3202"; |
| 327 |
/* 100 ksps * 18 */ |
| 328 |
spi-max-frequency = <1800000>; |
| 329 |
vref-supply = <®_vcc_3v3>; |
| 330 |
#io-channel-cells = <1>; |
| 331 |
}; |
| 332 |
}; |
| 333 |
|
| 334 |
&eqos { |
| 335 |
pinctrl-names = "default"; |
| 336 |
pinctrl-0 = <&pinctrl_eqos>, <&pinctrl_eqos_phy>; |
| 337 |
phy-mode = "rgmii-id"; |
| 338 |
phy-handle = <ðphy3>; |
| 339 |
status = "okay"; |
| 340 |
|
| 341 |
mdio { |
| 342 |
compatible = "snps,dwmac-mdio"; |
| 343 |
#address-cells = <1>; |
| 344 |
#size-cells = <0>; |
| 345 |
|
| 346 |
ethphy3: ethernet-phy@3 { |
| 347 |
compatible = "ethernet-phy-ieee802.3-c22"; |
| 348 |
reg = <3>; |
| 349 |
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
| 350 |
ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
| 351 |
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 352 |
ti,dp83867-rxctrl-strap-quirk; |
| 353 |
ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; |
| 354 |
reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; |
| 355 |
reset-assert-us = <500000>; |
| 356 |
reset-deassert-us = <50000>; |
| 357 |
enet-phy-lane-no-swap; |
| 358 |
interrupt-parent = <&gpio4>; |
| 359 |
interrupts = <3 IRQ_TYPE_LEVEL_LOW>; |
| 360 |
}; |
| 361 |
}; |
| 362 |
}; |
| 363 |
|
| 364 |
&fec { |
| 365 |
pinctrl-names = "default"; |
| 366 |
pinctrl-0 = <&pinctrl_fec>, <&pinctrl_fec_phy>; |
| 367 |
phy-mode = "rgmii-id"; |
| 368 |
phy-handle = <ðphy0>; |
| 369 |
fsl,magic-packet; |
| 370 |
status = "okay"; |
| 371 |
|
| 372 |
mdio { |
| 373 |
#address-cells = <1>; |
| 374 |
#size-cells = <0>; |
| 375 |
|
| 376 |
ethphy0: ethernet-phy@0 { |
| 377 |
compatible = "ethernet-phy-ieee802.3-c22"; |
| 378 |
reg = <0>; |
| 379 |
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
| 380 |
ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>; |
| 381 |
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; |
| 382 |
ti,dp83867-rxctrl-strap-quirk; |
| 383 |
ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; |
| 384 |
reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>; |
| 385 |
reset-assert-us = <500000>; |
| 386 |
reset-deassert-us = <50000>; |
| 387 |
enet-phy-lane-no-swap; |
| 388 |
interrupt-parent = <&gpio4>; |
| 389 |
interrupts = <1 IRQ_TYPE_LEVEL_LOW>; |
| 390 |
}; |
| 391 |
}; |
| 392 |
}; |
| 393 |
|
| 394 |
&flexcan1 { |
| 395 |
pinctrl-names = "default"; |
| 396 |
pinctrl-0 = <&pinctrl_flexcan1>; |
| 397 |
xceiver-supply = <®_vcc_3v3>; |
| 398 |
status = "okay"; |
| 399 |
}; |
| 400 |
|
| 401 |
&flexcan2 { |
| 402 |
pinctrl-names = "default"; |
| 403 |
pinctrl-0 = <&pinctrl_flexcan2>; |
| 404 |
xceiver-supply = <®_vcc_3v3>; |
| 405 |
status = "okay"; |
| 406 |
}; |
| 407 |
|
| 408 |
&gpio1 { |
| 409 |
pinctrl-names = "default"; |
| 410 |
pinctrl-0 = <&pinctrl_gpio1>; |
| 411 |
|
| 412 |
gpio-line-names = "GPO1", "GPO0", "", "GPO3", |
| 413 |
"", "", "GPO2", "GPI0", |
| 414 |
"PMIC_IRQ", "GPI1", "OTG_ID", "USB_HUB_RST#", |
| 415 |
"OTG_PWR", "", "GPI2", "GPI3", |
| 416 |
"", "", "", "", |
| 417 |
"", "", "", "", |
| 418 |
"", "", "", "", |
| 419 |
"", "", "", ""; |
| 420 |
}; |
| 421 |
|
| 422 |
&gpio2 { |
| 423 |
pinctrl-names = "default"; |
| 424 |
pinctrl-0 = <&pinctrl_hoggpio2>; |
| 425 |
|
| 426 |
gpio-line-names = "", "", "", "", |
| 427 |
"", "", "VCC12V_EN", "PERST#", |
| 428 |
"", "", "CLKREQ#", "PEWAKE#", |
| 429 |
"USDHC2_CD", "", "", "", |
| 430 |
"", "", "", "V_SD3V3_EN", |
| 431 |
"", "", "", "", |
| 432 |
"", "", "", "", |
| 433 |
"", "", "", ""; |
| 434 |
|
| 435 |
perst-hog { |
| 436 |
gpio-hog; |
| 437 |
gpios = <7 0>; |
| 438 |
output-high; |
| 439 |
line-name = "PERST#"; |
| 440 |
}; |
| 441 |
|
| 442 |
clkreq-hog { |
| 443 |
gpio-hog; |
| 444 |
gpios = <10 0>; |
| 445 |
input; |
| 446 |
line-name = "CLKREQ#"; |
| 447 |
}; |
| 448 |
|
| 449 |
pewake-hog { |
| 450 |
gpio-hog; |
| 451 |
gpios = <11 0>; |
| 452 |
input; |
| 453 |
line-name = "PEWAKE#"; |
| 454 |
}; |
| 455 |
}; |
| 456 |
|
| 457 |
&gpio3 { |
| 458 |
gpio-line-names = "", "", "", "", |
| 459 |
"", "", "", "", |
| 460 |
"", "", "", "", |
| 461 |
"", "", "LVDS0_RESET#", "", |
| 462 |
"", "", "", "LVDS0_BLT_EN", |
| 463 |
"LVDS0_PWR_EN", "", "", "", |
| 464 |
"", "", "", "", |
| 465 |
"", "", "", ""; |
| 466 |
}; |
| 467 |
|
| 468 |
&gpio4 { |
| 469 |
pinctrl-names = "default"; |
| 470 |
pinctrl-0 = <&pinctrl_gpio4>; |
| 471 |
|
| 472 |
gpio-line-names = "ENET0_RST#", "ENET0_INT#", "ENET1_RST#", "ENET1_INT#", |
| 473 |
"", "", "", "", |
| 474 |
"", "", "", "", |
| 475 |
"", "", "", "", |
| 476 |
"", "", "DP_IRQ", "DSI_EN", |
| 477 |
"HDMI_OC#", "TEMP_EVENT#", "PCIE_REFCLK_OE#", "", |
| 478 |
"", "", "", "FAN_PWR", |
| 479 |
"RTC_EVENT#", "CODEC_RST#", "", ""; |
| 480 |
|
| 481 |
pcie-refclkreq-hog { |
| 482 |
gpio-hog; |
| 483 |
gpios = <22 0>; |
| 484 |
output-high; |
| 485 |
line-name = "PCIE_REFCLK_OE#"; |
| 486 |
}; |
| 487 |
}; |
| 488 |
|
| 489 |
&gpio5 { |
| 490 |
gpio-line-names = "", "", "", "LED2", |
| 491 |
"LED1", "LED0", "CSI0_RESET#", "CSI0_SYNC", |
| 492 |
"CSI0_TRIGGER", "CSI0_ENABLE", "", "", |
| 493 |
"", "ECSPI2_SS0", "", "", |
| 494 |
"", "", "", "", |
| 495 |
"", "", "", "", |
| 496 |
"", "ECSPI3_SS0", "SWITCH_A", "SWITCH_B", |
| 497 |
"", "", "", ""; |
| 498 |
}; |
| 499 |
|
| 500 |
&hdmi_pai { |
| 501 |
status = "okay"; |
| 502 |
}; |
| 503 |
|
| 504 |
&hdmi_pvi { |
| 505 |
status = "okay"; |
| 506 |
}; |
| 507 |
|
| 508 |
&hdmi_tx { |
| 509 |
pinctrl-names = "default"; |
| 510 |
pinctrl-0 = <&pinctrl_hdmi>; |
| 511 |
status = "okay"; |
| 512 |
|
| 513 |
ports { |
| 514 |
port@1 { |
| 515 |
hdmi_tx_out: endpoint { |
| 516 |
remote-endpoint = <&hdmi_connector_in>; |
| 517 |
}; |
| 518 |
}; |
| 519 |
}; |
| 520 |
}; |
| 521 |
|
| 522 |
&hdmi_tx_phy { |
| 523 |
status = "okay"; |
| 524 |
}; |
| 525 |
|
| 526 |
&i2c2 { |
| 527 |
clock-frequency = <384000>; |
| 528 |
pinctrl-names = "default", "gpio"; |
| 529 |
pinctrl-0 = <&pinctrl_i2c2>; |
| 530 |
pinctrl-1 = <&pinctrl_i2c2_gpio>; |
| 531 |
scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 532 |
sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 533 |
status = "okay"; |
| 534 |
|
| 535 |
tlv320aic3x04: audio-codec@18 { |
| 536 |
compatible = "ti,tlv320aic32x4"; |
| 537 |
pinctrl-names = "default"; |
| 538 |
pinctrl-0 = <&pinctrl_tlv320aic3x04>; |
| 539 |
reg = <0x18>; |
| 540 |
clock-names = "mclk"; |
| 541 |
clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>; |
| 542 |
reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>; |
| 543 |
iov-supply = <®_vcc_1v8>; |
| 544 |
ldoin-supply = <®_vcc_3v3>; |
| 545 |
}; |
| 546 |
|
| 547 |
se97_1c: temperature-sensor@1c { |
| 548 |
compatible = "nxp,se97b", "jedec,jc-42.4-temp"; |
| 549 |
reg = <0x1c>; |
| 550 |
}; |
| 551 |
|
| 552 |
at24c02_54: eeprom@54 { |
| 553 |
compatible = "nxp,se97b", "atmel,24c02"; |
| 554 |
reg = <0x54>; |
| 555 |
pagesize = <16>; |
| 556 |
vcc-supply = <®_vcc_3v3>; |
| 557 |
}; |
| 558 |
|
| 559 |
pcieclk: clock-generator@6a { |
| 560 |
compatible = "renesas,9fgv0241"; |
| 561 |
reg = <0x6a>; |
| 562 |
clocks = <&clk_xtal25>; |
| 563 |
#clock-cells = <1>; |
| 564 |
}; |
| 565 |
}; |
| 566 |
|
| 567 |
&i2c4 { |
| 568 |
clock-frequency = <384000>; |
| 569 |
pinctrl-names = "default", "gpio"; |
| 570 |
pinctrl-0 = <&pinctrl_i2c4>; |
| 571 |
pinctrl-1 = <&pinctrl_i2c4_gpio>; |
| 572 |
scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 573 |
sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 574 |
status = "okay"; |
| 575 |
}; |
| 576 |
|
| 577 |
&i2c6 { |
| 578 |
clock-frequency = <384000>; |
| 579 |
pinctrl-names = "default", "gpio"; |
| 580 |
pinctrl-0 = <&pinctrl_i2c6>; |
| 581 |
pinctrl-1 = <&pinctrl_i2c6_gpio>; |
| 582 |
scl-gpios = <&gpio2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 583 |
sda-gpios = <&gpio2 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 584 |
status = "okay"; |
| 585 |
}; |
| 586 |
|
| 587 |
&lcdif3 { |
| 588 |
status = "okay"; |
| 589 |
}; |
| 590 |
|
| 591 |
&pcf85063 { |
| 592 |
/* RTC_EVENT# is connected on MBa8MPxL */ |
| 593 |
pinctrl-names = "default"; |
| 594 |
pinctrl-0 = <&pinctrl_pcf85063>; |
| 595 |
interrupt-parent = <&gpio4>; |
| 596 |
interrupts = <28 IRQ_TYPE_EDGE_FALLING>; |
| 597 |
}; |
| 598 |
|
| 599 |
&pcie_phy { |
| 600 |
fsl,clkreq-unsupported; |
| 601 |
fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; |
| 602 |
clocks = <&pcieclk 0>; |
| 603 |
clock-names = "ref"; |
| 604 |
status = "okay"; |
| 605 |
}; |
| 606 |
|
| 607 |
&pcie { |
| 608 |
clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, |
| 609 |
<&clk IMX8MP_CLK_HSIO_AXI>, |
| 610 |
<&clk IMX8MP_CLK_PCIE_ROOT>; |
| 611 |
clock-names = "pcie", "pcie_bus", "pcie_aux"; |
| 612 |
assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>; |
| 613 |
assigned-clock-rates = <10000000>; |
| 614 |
assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>; |
| 615 |
status = "okay"; |
| 616 |
}; |
| 617 |
|
| 618 |
&pwm2 { |
| 619 |
pinctrl-names = "default"; |
| 620 |
pinctrl-0 = <&pinctrl_pwm2>; |
| 621 |
status = "disabled"; |
| 622 |
}; |
| 623 |
|
| 624 |
&pwm3 { |
| 625 |
pinctrl-names = "default"; |
| 626 |
pinctrl-0 = <&pinctrl_pwm3>; |
| 627 |
status = "okay"; |
| 628 |
}; |
| 629 |
|
| 630 |
®_usdhc2_vqmmc { |
| 631 |
status = "okay"; |
| 632 |
}; |
| 633 |
|
| 634 |
&sai3 { |
| 635 |
pinctrl-names = "default"; |
| 636 |
pinctrl-0 = <&pinctrl_sai3>; |
| 637 |
assigned-clocks = <&clk IMX8MP_CLK_SAI3>; |
| 638 |
assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>; |
| 639 |
assigned-clock-rates = <12288000>; |
| 640 |
fsl,sai-mclk-direction-output; |
| 641 |
status = "okay"; |
| 642 |
}; |
| 643 |
|
| 644 |
&snvs_pwrkey { |
| 645 |
status = "okay"; |
| 646 |
}; |
| 647 |
|
| 648 |
&uart1 { |
| 649 |
pinctrl-names = "default"; |
| 650 |
pinctrl-0 = <&pinctrl_uart1>; |
| 651 |
assigned-clocks = <&clk IMX8MP_CLK_UART1>; |
| 652 |
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; |
| 653 |
status = "okay"; |
| 654 |
}; |
| 655 |
|
| 656 |
&uart2 { |
| 657 |
pinctrl-names = "default"; |
| 658 |
pinctrl-0 = <&pinctrl_uart2>; |
| 659 |
assigned-clocks = <&clk IMX8MP_CLK_UART2>; |
| 660 |
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; |
| 661 |
status = "okay"; |
| 662 |
}; |
| 663 |
|
| 664 |
&uart3 { |
| 665 |
pinctrl-names = "default"; |
| 666 |
pinctrl-0 = <&pinctrl_uart3>; |
| 667 |
assigned-clocks = <&clk IMX8MP_CLK_UART3>; |
| 668 |
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; |
| 669 |
status = "okay"; |
| 670 |
}; |
| 671 |
|
| 672 |
&uart4 { |
| 673 |
/* console */ |
| 674 |
pinctrl-names = "default"; |
| 675 |
pinctrl-0 = <&pinctrl_uart4>; |
| 676 |
status = "okay"; |
| 677 |
}; |
| 678 |
|
| 679 |
&usb3_0 { |
| 680 |
pinctrl-names = "default"; |
| 681 |
pinctrl-0 = <&pinctrl_usb0>; |
| 682 |
fsl,over-current-active-low; |
| 683 |
status = "okay"; |
| 684 |
}; |
| 685 |
|
| 686 |
&usb3_1 { |
| 687 |
fsl,disable-port-power-control; |
| 688 |
fsl,permanently-attached; |
| 689 |
status = "okay"; |
| 690 |
}; |
| 691 |
|
| 692 |
&usb3_phy0 { |
| 693 |
vbus-supply = <®_vcc_5v0>; |
| 694 |
status = "okay"; |
| 695 |
}; |
| 696 |
|
| 697 |
&usb3_phy1 { |
| 698 |
vbus-supply = <®_vcc_5v0>; |
| 699 |
status = "okay"; |
| 700 |
}; |
| 701 |
|
| 702 |
&usb_dwc3_0 { |
| 703 |
/* dual role is implemented, but not a full featured OTG */ |
| 704 |
hnp-disable; |
| 705 |
srp-disable; |
| 706 |
adp-disable; |
| 707 |
dr_mode = "otg"; |
| 708 |
usb-role-switch; |
| 709 |
role-switch-default-mode = "peripheral"; |
| 710 |
status = "okay"; |
| 711 |
|
| 712 |
port { |
| 713 |
usb3_dwc: endpoint { |
| 714 |
remote-endpoint = <&usb_dr_connector>; |
| 715 |
}; |
| 716 |
}; |
| 717 |
}; |
| 718 |
|
| 719 |
&usb_dwc3_1 { |
| 720 |
dr_mode = "host"; |
| 721 |
#address-cells = <1>; |
| 722 |
#size-cells = <0>; |
| 723 |
pinctrl-names = "default"; |
| 724 |
pinctrl-0 = <&pinctrl_usbhub>; |
| 725 |
status = "okay"; |
| 726 |
|
| 727 |
hub_2_0: hub@1 { |
| 728 |
compatible = "usb451,8142"; |
| 729 |
reg = <1>; |
| 730 |
peer-hub = <&hub_3_0>; |
| 731 |
reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
| 732 |
vdd-supply = <®_vcc_3v3>; |
| 733 |
}; |
| 734 |
|
| 735 |
hub_3_0: hub@2 { |
| 736 |
compatible = "usb451,8140"; |
| 737 |
reg = <2>; |
| 738 |
peer-hub = <&hub_2_0>; |
| 739 |
reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
| 740 |
vdd-supply = <®_vcc_3v3>; |
| 741 |
}; |
| 742 |
}; |
| 743 |
|
| 744 |
&usdhc2 { |
| 745 |
pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
| 746 |
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; |
| 747 |
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; |
| 748 |
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; |
| 749 |
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; |
| 750 |
vmmc-supply = <®_usdhc2_vmmc>; |
| 751 |
no-mmc; |
| 752 |
no-sdio; |
| 753 |
disable-wp; |
| 754 |
bus-width = <4>; |
| 755 |
status = "okay"; |
| 756 |
}; |
| 757 |
|
| 758 |
&iomuxc { |
| 759 |
pinctrl_backlight: backlightgrp { |
| 760 |
fsl,pins = <MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x14>; |
| 761 |
}; |
| 762 |
|
| 763 |
pinctrl_flexcan1: flexcan1grp { |
| 764 |
fsl,pins = <MX8MP_IOMUXC_SAI5_RXD1__CAN1_TX 0x150>, |
| 765 |
<MX8MP_IOMUXC_SAI5_RXD2__CAN1_RX 0x150>; |
| 766 |
}; |
| 767 |
|
| 768 |
pinctrl_flexcan2: flexcan2grp { |
| 769 |
fsl,pins = <MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x150>, |
| 770 |
<MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x150>; |
| 771 |
}; |
| 772 |
|
| 773 |
/* only on X57, primary used as CSI0 control signals */ |
| 774 |
pinctrl_ecspi1: ecspi1grp { |
| 775 |
fsl,pins = <MX8MP_IOMUXC_ECSPI1_MISO__ECSPI1_MISO 0x1c0>, |
| 776 |
<MX8MP_IOMUXC_ECSPI1_MOSI__ECSPI1_MOSI 0x1c0>, |
| 777 |
<MX8MP_IOMUXC_ECSPI1_SCLK__ECSPI1_SCLK 0x1c0>, |
| 778 |
<MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09 0x1c0>; |
| 779 |
}; |
| 780 |
|
| 781 |
/* on X63 and optionally on X57, can also be used as CSI1 control signals */ |
| 782 |
pinctrl_ecspi2: ecspi2grp { |
| 783 |
fsl,pins = <MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x1c0>, |
| 784 |
<MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x1c0>, |
| 785 |
<MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x1c0>, |
| 786 |
<MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x1c0>; |
| 787 |
}; |
| 788 |
|
| 789 |
pinctrl_ecspi3: ecspi3grp { |
| 790 |
fsl,pins = <MX8MP_IOMUXC_UART1_TXD__ECSPI3_MOSI 0x1c0>, |
| 791 |
<MX8MP_IOMUXC_UART1_RXD__ECSPI3_SCLK 0x1c0>, |
| 792 |
<MX8MP_IOMUXC_UART2_RXD__ECSPI3_MISO 0x1c0>, |
| 793 |
<MX8MP_IOMUXC_UART2_TXD__GPIO5_IO25 0x1c0>; |
| 794 |
}; |
| 795 |
|
| 796 |
pinctrl_eqos: eqosgrp { |
| 797 |
fsl,pins = <MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x40000044>, |
| 798 |
<MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x40000044>, |
| 799 |
<MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x90>, |
| 800 |
<MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x90>, |
| 801 |
<MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x90>, |
| 802 |
<MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x90>, |
| 803 |
<MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x90>, |
| 804 |
<MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x90>, |
| 805 |
<MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x12>, |
| 806 |
<MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x12>, |
| 807 |
<MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x12>, |
| 808 |
<MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x12>, |
| 809 |
<MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x12>, |
| 810 |
<MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x14>, |
| 811 |
<MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT 0x16>; |
| 812 |
}; |
| 813 |
|
| 814 |
pinctrl_eqos_event: eqosevtgrp { |
| 815 |
fsl,pins = <MX8MP_IOMUXC_SAI2_RXD0__ENET_QOS_1588_EVENT2_OUT 0x100>, |
| 816 |
<MX8MP_IOMUXC_SAI2_TXD0__ENET_QOS_1588_EVENT2_IN 0x1c0>; |
| 817 |
}; |
| 818 |
|
| 819 |
pinctrl_eqos_phy: eqosphygrp { |
| 820 |
fsl,pins = <MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x100>, |
| 821 |
<MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x1c0>; |
| 822 |
}; |
| 823 |
|
| 824 |
pinctrl_fec: fecgrp { |
| 825 |
fsl,pins = <MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x40000044>, |
| 826 |
<MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x40000044>, |
| 827 |
<MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x90>, |
| 828 |
<MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x90>, |
| 829 |
<MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x90>, |
| 830 |
<MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x90>, |
| 831 |
<MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x90>, |
| 832 |
<MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x90>, |
| 833 |
<MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x12>, |
| 834 |
<MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x12>, |
| 835 |
<MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x12>, |
| 836 |
<MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x12>, |
| 837 |
<MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x12>, |
| 838 |
<MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x14>; |
| 839 |
}; |
| 840 |
|
| 841 |
pinctrl_fec_event: fecevtgrp { |
| 842 |
fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN 0x100>, |
| 843 |
<MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT 0x1c0>; |
| 844 |
}; |
| 845 |
|
| 846 |
pinctrl_fec_phy: fecphygrp { |
| 847 |
fsl,pins = <MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x100>, |
| 848 |
<MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x1c0>; |
| 849 |
}; |
| 850 |
|
| 851 |
pinctrl_fec_phyalt: fecphyaltgrp { |
| 852 |
fsl,pins = <MX8MP_IOMUXC_SAI2_TXFS__GPIO4_IO24 0x180>, |
| 853 |
<MX8MP_IOMUXC_SAI2_TXC__GPIO4_IO25 0x180>; |
| 854 |
}; |
| 855 |
|
| 856 |
pinctrl_gpiobutton: gpiobuttongrp { |
| 857 |
fsl,pins = <MX8MP_IOMUXC_UART3_RXD__GPIO5_IO26 0x10>, |
| 858 |
<MX8MP_IOMUXC_UART3_TXD__GPIO5_IO27 0x10>; |
| 859 |
}; |
| 860 |
|
| 861 |
pinctrl_gpioled: gpioledgrp { |
| 862 |
fsl,pins = <MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x14>, |
| 863 |
<MX8MP_IOMUXC_SPDIF_RX__GPIO5_IO04 0x14>, |
| 864 |
<MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03 0x14>; |
| 865 |
}; |
| 866 |
|
| 867 |
pinctrl_gpio1: gpio1grp { |
| 868 |
fsl,pins = <MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x10>, |
| 869 |
<MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x10>, |
| 870 |
<MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x10>, |
| 871 |
<MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x10>, |
| 872 |
<MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x80>, |
| 873 |
<MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x80>, |
| 874 |
<MX8MP_IOMUXC_GPIO1_IO14__GPIO1_IO14 0x80>, |
| 875 |
<MX8MP_IOMUXC_GPIO1_IO15__GPIO1_IO15 0x80>; |
| 876 |
}; |
| 877 |
|
| 878 |
pinctrl_gpio4: gpio4grp { |
| 879 |
fsl,pins = <MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20 0x180>, |
| 880 |
<MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x180>; |
| 881 |
}; |
| 882 |
|
| 883 |
pinctrl_hdmi: hdmigrp { |
| 884 |
fsl,pins = <MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x400001c2>, |
| 885 |
<MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x400001c2>, |
| 886 |
<MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x40000010>, |
| 887 |
<MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x40000030>; |
| 888 |
}; |
| 889 |
|
| 890 |
pinctrl_hoggpio2: hoggpio2grp { |
| 891 |
fsl,pins = <MX8MP_IOMUXC_SD1_DATA5__GPIO2_IO07 0x140>, |
| 892 |
<MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x140>, |
| 893 |
<MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x140>; |
| 894 |
}; |
| 895 |
|
| 896 |
pinctrl_i2c2: i2c2grp { |
| 897 |
fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__I2C2_SCL 0x400001e2>, |
| 898 |
<MX8MP_IOMUXC_I2C2_SDA__I2C2_SDA 0x400001e2>; |
| 899 |
}; |
| 900 |
|
| 901 |
pinctrl_i2c2_gpio: i2c2-gpiogrp { |
| 902 |
fsl,pins = <MX8MP_IOMUXC_I2C2_SCL__GPIO5_IO16 0x400001e2>, |
| 903 |
<MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x400001e2>; |
| 904 |
}; |
| 905 |
|
| 906 |
pinctrl_i2c4: i2c4grp { |
| 907 |
fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x400001e2>, |
| 908 |
<MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x400001e2>; |
| 909 |
}; |
| 910 |
|
| 911 |
pinctrl_i2c4_gpio: i2c4-gpiogrp { |
| 912 |
fsl,pins = <MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x400001e2>, |
| 913 |
<MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x400001e2>; |
| 914 |
}; |
| 915 |
|
| 916 |
pinctrl_i2c6: i2c6grp { |
| 917 |
fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__I2C6_SCL 0x400001e2>, |
| 918 |
<MX8MP_IOMUXC_SD1_DATA1__I2C6_SDA 0x400001e2>; |
| 919 |
}; |
| 920 |
|
| 921 |
pinctrl_i2c6_gpio: i2c6-gpiogrp { |
| 922 |
fsl,pins = <MX8MP_IOMUXC_SD1_DATA0__GPIO2_IO02 0x400001e2>, |
| 923 |
<MX8MP_IOMUXC_SD1_DATA1__GPIO2_IO03 0x400001e2>; |
| 924 |
}; |
| 925 |
|
| 926 |
pinctrl_lvdsdisplay: lvdsdisplaygrp { |
| 927 |
fsl,pins = <MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x10>; /* Power enable */ |
| 928 |
}; |
| 929 |
|
| 930 |
pinctrl_pcf85063: pcf85063grp { |
| 931 |
fsl,pins = <MX8MP_IOMUXC_SAI3_RXFS__GPIO4_IO28 0x80>; |
| 932 |
}; |
| 933 |
|
| 934 |
/* LVDS Backlight */ |
| 935 |
pinctrl_pwm2: pwm2grp { |
| 936 |
fsl,pins = <MX8MP_IOMUXC_SAI5_RXD0__PWM2_OUT 0x14>; |
| 937 |
}; |
| 938 |
|
| 939 |
/* FAN */ |
| 940 |
pinctrl_pwm3: pwm3grp { |
| 941 |
fsl,pins = <MX8MP_IOMUXC_I2C3_SDA__PWM3_OUT 0x14>; |
| 942 |
}; |
| 943 |
|
| 944 |
pinctrl_pwmfan: pwmfangrp { |
| 945 |
fsl,pins = <MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x80>; /* FAN RPM */ |
| 946 |
}; |
| 947 |
|
| 948 |
pinctrl_reg12v0: reg12v0grp { |
| 949 |
fsl,pins = <MX8MP_IOMUXC_SD1_DATA4__GPIO2_IO06 0x140>; /* VCC12V enable */ |
| 950 |
}; |
| 951 |
|
| 952 |
pinctrl_regpwmfan: regpwmfangrp { |
| 953 |
fsl,pins = <MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x80>; |
| 954 |
}; |
| 955 |
|
| 956 |
pinctrl_sai3: sai3grp { |
| 957 |
fsl,pins = < |
| 958 |
MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0x94 |
| 959 |
MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0x94 |
| 960 |
MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0x94 |
| 961 |
MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0x94 |
| 962 |
MX8MP_IOMUXC_SAI3_MCLK__AUDIOMIX_SAI3_MCLK 0x94 |
| 963 |
>; |
| 964 |
}; |
| 965 |
|
| 966 |
pinctrl_tlv320aic3x04: tlv320aic3x04grp { |
| 967 |
fsl,pins = < |
| 968 |
/* CODEC RST# */ |
| 969 |
MX8MP_IOMUXC_SAI3_RXC__GPIO4_IO29 0x180 |
| 970 |
>; |
| 971 |
}; |
| 972 |
|
| 973 |
/* X61 */ |
| 974 |
pinctrl_uart1: uart1grp { |
| 975 |
fsl,pins = <MX8MP_IOMUXC_SD1_CLK__UART1_DCE_TX 0x140>, |
| 976 |
<MX8MP_IOMUXC_SD1_CMD__UART1_DCE_RX 0x140>; |
| 977 |
}; |
| 978 |
|
| 979 |
/* X61 */ |
| 980 |
pinctrl_uart2: uart2grp { |
| 981 |
fsl,pins = <MX8MP_IOMUXC_SD1_DATA2__UART2_DCE_TX 0x140>, |
| 982 |
<MX8MP_IOMUXC_SD1_DATA3__UART2_DCE_RX 0x140>; |
| 983 |
}; |
| 984 |
|
| 985 |
pinctrl_uart3: uart3grp { |
| 986 |
fsl,pins = <MX8MP_IOMUXC_SD1_DATA6__UART3_DCE_TX 0x140>, |
| 987 |
<MX8MP_IOMUXC_SD1_DATA7__UART3_DCE_RX 0x140>; |
| 988 |
}; |
| 989 |
|
| 990 |
pinctrl_uart4: uart4grp { |
| 991 |
fsl,pins = <MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x140>, |
| 992 |
<MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x140>; |
| 993 |
}; |
| 994 |
|
| 995 |
pinctrl_usb0: usb0grp { |
| 996 |
fsl,pins = <MX8MP_IOMUXC_GPIO1_IO13__USB1_OTG_OC 0x1c0>, |
| 997 |
<MX8MP_IOMUXC_GPIO1_IO12__USB1_OTG_PWR 0x1c0>; |
| 998 |
}; |
| 999 |
|
| 1000 |
pinctrl_usbcon0: usb0congrp { |
| 1001 |
fsl,pins = <MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x1c0>; |
| 1002 |
}; |
| 1003 |
|
| 1004 |
pinctrl_usbhub: usbhubgrp { |
| 1005 |
fsl,pins = <MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x10>; |
| 1006 |
}; |
| 1007 |
|
| 1008 |
pinctrl_usdhc2: usdhc2grp { |
| 1009 |
fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x192>, |
| 1010 |
<MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d2>, |
| 1011 |
<MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d2>, |
| 1012 |
<MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d2>, |
| 1013 |
<MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d2>, |
| 1014 |
<MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d2>; |
| 1015 |
}; |
| 1016 |
|
| 1017 |
pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { |
| 1018 |
fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, |
| 1019 |
<MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, |
| 1020 |
<MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, |
| 1021 |
<MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, |
| 1022 |
<MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, |
| 1023 |
<MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; |
| 1024 |
}; |
| 1025 |
|
| 1026 |
pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { |
| 1027 |
fsl,pins = <MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194>, |
| 1028 |
<MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4>, |
| 1029 |
<MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4>, |
| 1030 |
<MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4>, |
| 1031 |
<MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4>, |
| 1032 |
<MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4>; |
| 1033 |
}; |
| 1034 |
|
| 1035 |
pinctrl_usdhc2_gpio: usdhc2-gpiogrp { |
| 1036 |
fsl,pins = <MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c0>; |
| 1037 |
}; |
| 1038 |
}; |