Marcel Ziswiler | cdfde79 | 2022-11-07 22:22:39 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2021-2022 Marek Vasut <marex@denx.de> |
| 4 | */ |
| 5 | |
| 6 | #include "imx8mp.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "DH electronics i.MX8M Plus DHCOM SoM"; |
| 10 | compatible = "dh,imx8mp-dhcom-som", "fsl,imx8mp"; |
| 11 | |
| 12 | aliases { |
| 13 | ethernet0 = &eqos; |
| 14 | ethernet1 = &fec; |
| 15 | rtc0 = &rv3032; |
| 16 | rtc1 = &snvs_rtc; |
| 17 | spi0 = &flexspi; |
| 18 | }; |
| 19 | |
| 20 | memory@40000000 { |
| 21 | device_type = "memory"; |
| 22 | /* Memory size 512 MiB..8 GiB will be filled by U-Boot */ |
| 23 | reg = <0x0 0x40000000 0 0x08000000>; |
| 24 | }; |
| 25 | |
| 26 | reg_eth_vio: regulator-eth-vio { |
| 27 | compatible = "regulator-fixed"; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 28 | gpio = <&ioexp 2 GPIO_ACTIVE_LOW>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 29 | regulator-always-on; |
| 30 | regulator-boot-on; |
| 31 | regulator-min-microvolt = <3300000>; |
| 32 | regulator-max-microvolt = <3300000>; |
| 33 | regulator-name = "eth_vio"; |
| 34 | vin-supply = <&buck4>; |
| 35 | }; |
| 36 | |
| 37 | reg_usdhc2_vmmc: regulator-usdhc2-vmmc { |
| 38 | compatible = "regulator-fixed"; |
| 39 | enable-active-high; |
| 40 | gpio = <&gpio2 19 0>; /* SD2_RESET */ |
| 41 | off-on-delay-us = <12000>; |
| 42 | pinctrl-names = "default"; |
| 43 | pinctrl-0 = <&pinctrl_usdhc2_vmmc>; |
| 44 | regulator-max-microvolt = <3300000>; |
| 45 | regulator-min-microvolt = <3300000>; |
| 46 | regulator-name = "VDD_3V3_SD"; |
| 47 | startup-delay-us = <100>; |
| 48 | vin-supply = <&buck4>; |
| 49 | }; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 50 | |
| 51 | reg_vdd_3p3v_awo: regulator-vdd-3p3v-awo { /* VDD_3V3_AWO */ |
| 52 | compatible = "regulator-fixed"; |
| 53 | regulator-always-on; |
| 54 | regulator-min-microvolt = <3300000>; |
| 55 | regulator-max-microvolt = <3300000>; |
| 56 | regulator-name = "VDD_3P3V_AWO"; |
| 57 | }; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | &A53_0 { |
| 61 | cpu-supply = <&buck2>; |
| 62 | }; |
| 63 | |
| 64 | &A53_1 { |
| 65 | cpu-supply = <&buck2>; |
| 66 | }; |
| 67 | |
| 68 | &A53_2 { |
| 69 | cpu-supply = <&buck2>; |
| 70 | }; |
| 71 | |
| 72 | &A53_3 { |
| 73 | cpu-supply = <&buck2>; |
| 74 | }; |
| 75 | |
| 76 | &ecspi1 { |
| 77 | pinctrl-names = "default"; |
| 78 | pinctrl-0 = <&pinctrl_ecspi1>; |
Marek Vasut | eee69bd | 2022-08-12 22:41:54 +0200 | [diff] [blame] | 79 | cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 80 | status = "disabled"; |
| 81 | }; |
| 82 | |
| 83 | &ecspi2 { |
| 84 | pinctrl-names = "default"; |
| 85 | pinctrl-0 = <&pinctrl_ecspi2>; |
| 86 | cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; |
| 87 | status = "disabled"; |
| 88 | }; |
| 89 | |
| 90 | &eqos { /* First ethernet */ |
| 91 | pinctrl-names = "default"; |
Marek Vasut | a6b0067 | 2023-02-11 23:37:59 +0100 | [diff] [blame] | 92 | pinctrl-0 = <&pinctrl_eqos_rgmii>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 93 | phy-handle = <ðphy0g>; |
| 94 | phy-mode = "rgmii-id"; |
| 95 | status = "okay"; |
| 96 | |
| 97 | mdio { |
| 98 | compatible = "snps,dwmac-mdio"; |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <0>; |
| 101 | |
| 102 | /* Up to one of these two PHYs may be populated. */ |
Marek Vasut | 5a932cd | 2023-02-11 23:37:58 +0100 | [diff] [blame] | 103 | ethphy0f: ethernet-phy@0 { /* SMSC LAN8740Ai */ |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 104 | compatible = "ethernet-phy-id0007.c110", |
| 105 | "ethernet-phy-ieee802.3-c22"; |
| 106 | interrupt-parent = <&gpio3>; |
| 107 | interrupts = <19 IRQ_TYPE_LEVEL_LOW>; |
| 108 | pinctrl-0 = <&pinctrl_ethphy0>; |
| 109 | pinctrl-names = "default"; |
Marek Vasut | 5a932cd | 2023-02-11 23:37:58 +0100 | [diff] [blame] | 110 | reg = <0>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 111 | reset-assert-us = <1000>; |
| 112 | reset-deassert-us = <1000>; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 113 | reset-gpios = <&ioexp 4 GPIO_ACTIVE_LOW>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 114 | /* Non-default PHY population option. */ |
| 115 | status = "disabled"; |
| 116 | }; |
| 117 | |
| 118 | ethphy0g: ethernet-phy@5 { /* Micrel KSZ9131RNXI */ |
| 119 | compatible = "ethernet-phy-id0022.1642", |
| 120 | "ethernet-phy-ieee802.3-c22"; |
| 121 | interrupt-parent = <&gpio3>; |
| 122 | interrupts = <19 IRQ_TYPE_LEVEL_LOW>; |
| 123 | micrel,led-mode = <0>; |
| 124 | pinctrl-0 = <&pinctrl_ethphy0>; |
| 125 | pinctrl-names = "default"; |
| 126 | reg = <5>; |
| 127 | reset-assert-us = <1000>; |
| 128 | reset-deassert-us = <1000>; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 129 | reset-gpios = <&ioexp 4 GPIO_ACTIVE_LOW>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 130 | /* Default PHY population option. */ |
| 131 | status = "okay"; |
| 132 | }; |
| 133 | }; |
| 134 | }; |
| 135 | |
| 136 | &fec { /* Second ethernet */ |
| 137 | pinctrl-names = "default"; |
Marek Vasut | ddec64a | 2023-02-11 23:38:00 +0100 | [diff] [blame] | 138 | pinctrl-0 = <&pinctrl_fec_rmii>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 139 | phy-handle = <ðphy1f>; |
Marek Vasut | ddec64a | 2023-02-11 23:38:00 +0100 | [diff] [blame] | 140 | phy-mode = "rmii"; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 141 | fsl,magic-packet; |
| 142 | status = "okay"; |
| 143 | |
| 144 | mdio { |
| 145 | #address-cells = <1>; |
| 146 | #size-cells = <0>; |
| 147 | |
| 148 | /* Up to one PHY may be populated. */ |
| 149 | ethphy1f: ethernet-phy@1 { /* SMSC LAN8740Ai */ |
| 150 | compatible = "ethernet-phy-id0007.c110", |
| 151 | "ethernet-phy-ieee802.3-c22"; |
| 152 | interrupt-parent = <&gpio4>; |
| 153 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; |
| 154 | pinctrl-0 = <&pinctrl_ethphy1>; |
| 155 | pinctrl-names = "default"; |
| 156 | reg = <1>; |
| 157 | reset-assert-us = <1000>; |
| 158 | reset-deassert-us = <1000>; |
| 159 | reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; |
| 160 | /* Non-default PHY population option. */ |
| 161 | status = "disabled"; |
| 162 | }; |
| 163 | }; |
| 164 | }; |
| 165 | |
| 166 | &flexcan1 { |
| 167 | pinctrl-names = "default"; |
| 168 | pinctrl-0 = <&pinctrl_flexcan1>; |
| 169 | status = "disabled"; |
| 170 | }; |
| 171 | |
| 172 | &flexcan2 { |
| 173 | pinctrl-names = "default"; |
| 174 | pinctrl-0 = <&pinctrl_flexcan2>; |
| 175 | status = "disabled"; |
| 176 | }; |
| 177 | |
| 178 | &flexspi { |
| 179 | pinctrl-names = "default"; |
| 180 | pinctrl-0 = <&pinctrl_flexspi>; |
| 181 | status = "okay"; |
| 182 | |
| 183 | flash@0 { /* W25Q128JWPIM */ |
| 184 | compatible = "jedec,spi-nor"; |
| 185 | reg = <0>; |
| 186 | spi-max-frequency = <80000000>; |
| 187 | spi-tx-bus-width = <4>; |
| 188 | spi-rx-bus-width = <4>; |
| 189 | }; |
| 190 | }; |
| 191 | |
| 192 | &gpio1 { |
| 193 | gpio-line-names = |
| 194 | "DHCOM-G", "", "", "", "", "DHCOM-I", "DHCOM-J", "DHCOM-L", |
| 195 | "DHCOM-B", "DHCOM-A", "", "DHCOM-H", "", "", "", "", |
| 196 | "", "", "", "", "", "", "", "", |
| 197 | "", "", "", "", "", "", "", ""; |
| 198 | }; |
| 199 | |
| 200 | &gpio2 { |
| 201 | gpio-line-names = |
| 202 | "", "", "", "", "", "", "", "", |
| 203 | "", "", "", "DHCOM-K", "", "", "", "", |
| 204 | "", "", "", "", "DHCOM-INT", "", "", "", |
| 205 | "", "", "", "", "", "", "", ""; |
| 206 | }; |
| 207 | |
| 208 | &gpio3 { |
| 209 | gpio-line-names = |
| 210 | "", "", "", "", "", "", "", "", |
| 211 | "", "", "", "", "", "", "SOM-HW0", "", |
| 212 | "", "", "", "", "", "", "SOM-MEM0", "SOM-MEM1", |
| 213 | "SOM-MEM2", "SOM-HW2", "", "", "", "", "", ""; |
| 214 | }; |
| 215 | |
| 216 | &gpio4 { |
| 217 | gpio-line-names = |
| 218 | "", "", "", "", "", "", "", "", |
| 219 | "", "", "", "", "", "", "", "", |
| 220 | "", "", "", "SOM-HW1", "", "", "", "", |
| 221 | "", "", "", "DHCOM-D", "", "", "", ""; |
| 222 | }; |
| 223 | |
| 224 | &gpio5 { |
| 225 | gpio-line-names = |
| 226 | "", "", "DHCOM-C", "", "", "", "", "", |
| 227 | "", "", "", "", "", "", "", "", |
| 228 | "", "", "", "", "", "", "DHCOM-E", "DHCOM-F", |
| 229 | "", "", "", "", "", "", "", ""; |
| 230 | }; |
| 231 | |
| 232 | &i2c3 { |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 233 | clock-frequency = <100000>; |
| 234 | pinctrl-names = "default", "gpio"; |
| 235 | pinctrl-0 = <&pinctrl_i2c3>; |
| 236 | pinctrl-1 = <&pinctrl_i2c3_gpio>; |
| 237 | scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 238 | sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 239 | status = "okay"; |
| 240 | |
| 241 | pmic: pmic@25 { |
| 242 | compatible = "nxp,pca9450c"; |
| 243 | reg = <0x25>; |
| 244 | pinctrl-names = "default"; |
| 245 | pinctrl-0 = <&pinctrl_pmic>; |
| 246 | interrupt-parent = <&gpio1>; |
| 247 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; |
| 248 | sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; |
| 249 | |
| 250 | /* |
| 251 | * i.MX 8M Plus Data Sheet for Consumer Products |
| 252 | * 3.1.4 Operating ranges |
| 253 | * MIMX8ML8CVNKZAB |
| 254 | */ |
| 255 | regulators { |
| 256 | buck1: BUCK1 { /* VDD_SOC (dual-phase with BUCK3) */ |
| 257 | regulator-compatible = "BUCK1"; |
| 258 | regulator-min-microvolt = <850000>; |
| 259 | regulator-max-microvolt = <1000000>; |
| 260 | regulator-ramp-delay = <3125>; |
| 261 | regulator-always-on; |
| 262 | regulator-boot-on; |
| 263 | }; |
| 264 | |
| 265 | buck2: BUCK2 { /* VDD_ARM */ |
| 266 | regulator-compatible = "BUCK2"; |
| 267 | regulator-min-microvolt = <850000>; |
| 268 | regulator-max-microvolt = <1000000>; |
| 269 | regulator-ramp-delay = <3125>; |
| 270 | regulator-always-on; |
| 271 | regulator-boot-on; |
| 272 | }; |
| 273 | |
| 274 | buck4: BUCK4 { /* VDD_3V3 */ |
| 275 | regulator-compatible = "BUCK4"; |
| 276 | regulator-min-microvolt = <3300000>; |
| 277 | regulator-max-microvolt = <3300000>; |
| 278 | regulator-always-on; |
| 279 | regulator-boot-on; |
| 280 | }; |
| 281 | |
| 282 | buck5: BUCK5 { /* VDD_1V8 */ |
| 283 | regulator-compatible = "BUCK5"; |
| 284 | regulator-min-microvolt = <1800000>; |
| 285 | regulator-max-microvolt = <1800000>; |
| 286 | regulator-always-on; |
| 287 | regulator-boot-on; |
| 288 | }; |
| 289 | |
| 290 | buck6: BUCK6 { /* NVCC_DRAM_1V1 */ |
| 291 | regulator-compatible = "BUCK6"; |
| 292 | regulator-min-microvolt = <1100000>; |
| 293 | regulator-max-microvolt = <1100000>; |
| 294 | regulator-always-on; |
| 295 | regulator-boot-on; |
| 296 | }; |
| 297 | |
| 298 | ldo1: LDO1 { /* NVCC_SNVS_1V8 */ |
| 299 | regulator-compatible = "LDO1"; |
| 300 | regulator-min-microvolt = <1800000>; |
| 301 | regulator-max-microvolt = <1800000>; |
| 302 | regulator-always-on; |
| 303 | regulator-boot-on; |
| 304 | }; |
| 305 | |
| 306 | ldo3: LDO3 { /* VDDA_1V8 */ |
| 307 | regulator-compatible = "LDO3"; |
| 308 | regulator-min-microvolt = <1800000>; |
| 309 | regulator-max-microvolt = <1800000>; |
| 310 | regulator-always-on; |
| 311 | regulator-boot-on; |
| 312 | }; |
| 313 | |
| 314 | ldo4: LDO4 { /* PMIC_LDO4 */ |
| 315 | regulator-compatible = "LDO4"; |
| 316 | regulator-min-microvolt = <3300000>; |
| 317 | regulator-max-microvolt = <3300000>; |
| 318 | }; |
| 319 | |
| 320 | ldo5: LDO5 { /* NVCC_SD2 */ |
| 321 | regulator-compatible = "LDO5"; |
| 322 | regulator-min-microvolt = <1800000>; |
| 323 | regulator-max-microvolt = <3300000>; |
| 324 | }; |
| 325 | }; |
| 326 | }; |
| 327 | |
| 328 | adc@48 { |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 329 | compatible = "ti,ads1015"; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 330 | reg = <0x48>; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 331 | interrupts-extended = <&ioexp 7 IRQ_TYPE_EDGE_FALLING>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 332 | #address-cells = <1>; |
| 333 | #size-cells = <0>; |
| 334 | |
| 335 | channel@0 { /* Voltage over AIN0 and AIN1. */ |
| 336 | reg = <0>; |
| 337 | }; |
| 338 | |
| 339 | channel@1 { /* Voltage over AIN0 and AIN3. */ |
| 340 | reg = <1>; |
| 341 | }; |
| 342 | |
| 343 | channel@2 { /* Voltage over AIN1 and AIN3. */ |
| 344 | reg = <2>; |
| 345 | }; |
| 346 | |
| 347 | channel@3 { /* Voltage over AIN2 and AIN3. */ |
| 348 | reg = <3>; |
| 349 | }; |
| 350 | |
| 351 | channel@4 { /* Voltage over AIN0 and GND. */ |
| 352 | reg = <4>; |
| 353 | }; |
| 354 | |
| 355 | channel@5 { /* Voltage over AIN1 and GND. */ |
| 356 | reg = <5>; |
| 357 | }; |
| 358 | |
| 359 | channel@6 { /* Voltage over AIN2 and GND. */ |
| 360 | reg = <6>; |
| 361 | }; |
| 362 | |
| 363 | channel@7 { /* Voltage over AIN3 and GND. */ |
| 364 | reg = <7>; |
| 365 | }; |
| 366 | }; |
| 367 | |
| 368 | touchscreen@49 { |
| 369 | compatible = "ti,tsc2004"; |
| 370 | reg = <0x49>; |
| 371 | interrupts-extended = <&gpio4 0 IRQ_TYPE_EDGE_FALLING>; |
| 372 | pinctrl-names = "default"; |
| 373 | pinctrl-0 = <&pinctrl_touch>; |
| 374 | vio-supply = <&buck4>; |
| 375 | }; |
| 376 | |
| 377 | eeprom0: eeprom@50 { /* EEPROM with EQoS MAC address */ |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 378 | compatible = "atmel,24c32"; /* M24C32-D */ |
| 379 | pagesize = <32>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 380 | reg = <0x50>; |
| 381 | }; |
| 382 | |
| 383 | rv3032: rtc@51 { |
| 384 | compatible = "microcrystal,rv3032"; |
| 385 | reg = <0x51>; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 386 | interrupts-extended = <&ioexp 3 IRQ_TYPE_EDGE_FALLING>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 387 | }; |
| 388 | |
| 389 | eeprom1: eeprom@53 { /* EEPROM with FEC MAC address */ |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 390 | compatible = "atmel,24c32"; /* M24C32-D */ |
| 391 | pagesize = <32>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 392 | reg = <0x53>; |
| 393 | }; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 394 | |
Marek Vasut | 3d9a20d | 2023-10-16 02:05:25 +0200 | [diff] [blame] | 395 | eeprom0wl: eeprom@58 { |
| 396 | compatible = "atmel,24c32d-wl"; /* M24C32-D WL page of 0x50 */ |
| 397 | pagesize = <32>; |
| 398 | reg = <0x58>; |
| 399 | }; |
| 400 | |
| 401 | eeprom1wl: eeprom@5b { |
| 402 | compatible = "atmel,24c32d-wl"; /* M24C32-D WL page of 0x53 */ |
| 403 | pagesize = <32>; |
| 404 | reg = <0x5b>; |
| 405 | }; |
| 406 | |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 407 | ioexp: gpio@74 { |
| 408 | compatible = "nxp,pca9539"; |
| 409 | reg = <0x74>; |
| 410 | gpio-controller; |
| 411 | #gpio-cells = <2>; |
| 412 | interrupts-extended = <&gpio3 20 IRQ_TYPE_LEVEL_LOW>; |
| 413 | interrupt-controller; |
| 414 | #interrupt-cells = <2>; |
| 415 | pinctrl-names = "default"; |
| 416 | pinctrl-0 = <&pinctrl_ioexp>; |
| 417 | |
| 418 | gpio-line-names = |
| 419 | "BT_REG_EN", "WL_REG_EN", "VIO_SWITCHED_#EN", "RTC_#INT", |
| 420 | "ENET_QOS_#RST", "RGB_OSZ_ENABLE", "USB1_ID", "ADC_ALTER_RDY", |
| 421 | "DHCOM-W", "DHCOM-V", "DHCOM-U", "DHCOM-T", |
| 422 | "BT_HOST_WAKE", "BT_DEV_WAKE", "", ""; |
| 423 | }; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 424 | }; |
| 425 | |
| 426 | &i2c4 { |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 427 | clock-frequency = <100000>; |
| 428 | pinctrl-names = "default", "gpio"; |
| 429 | pinctrl-0 = <&pinctrl_i2c4>; |
| 430 | pinctrl-1 = <&pinctrl_i2c4_gpio>; |
| 431 | scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 432 | sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 433 | status = "okay"; |
| 434 | }; |
| 435 | |
| 436 | &i2c5 { /* HDMI EDID bus */ |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 437 | clock-frequency = <100000>; |
| 438 | pinctrl-names = "default", "gpio"; |
| 439 | pinctrl-0 = <&pinctrl_i2c5>; |
| 440 | pinctrl-1 = <&pinctrl_i2c5_gpio>; |
Marek Vasut | cd7b1a8 | 2022-08-12 22:41:55 +0200 | [diff] [blame] | 441 | scl-gpios = <&gpio3 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
| 442 | sda-gpios = <&gpio3 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 443 | status = "okay"; |
| 444 | }; |
| 445 | |
| 446 | &pwm1 { |
| 447 | pinctrl-0 = <&pinctrl_pwm1>; |
| 448 | pinctrl-names = "default"; |
| 449 | status = "disabled"; |
| 450 | }; |
| 451 | |
| 452 | &uart1 { |
| 453 | /* CA53 console */ |
| 454 | pinctrl-names = "default"; |
| 455 | pinctrl-0 = <&pinctrl_uart1>; |
| 456 | status = "okay"; |
| 457 | }; |
| 458 | |
| 459 | &uart2 { |
| 460 | /* Bluetooth */ |
| 461 | pinctrl-names = "default"; |
| 462 | pinctrl-0 = <&pinctrl_uart2>; |
| 463 | uart-has-rtscts; |
| 464 | status = "okay"; |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 465 | |
| 466 | /* |
| 467 | * PLL1 at 80 MHz supplies UART2 root with 80 MHz clock, |
| 468 | * which with 16x oversampling yields 5 Mbdps baud base, |
| 469 | * which can be well divided by 5/4 to achieve 4 Mbdps, |
| 470 | * which is exactly the maximum rate supported by muRata |
| 471 | * 2AE bluetooth UART. |
| 472 | */ |
| 473 | assigned-clocks = <&clk IMX8MP_CLK_UART2>; |
| 474 | assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>; |
| 475 | assigned-clock-rates = <80000000>; |
| 476 | |
| 477 | bluetooth { |
| 478 | compatible = "cypress,cyw4373a0-bt"; |
| 479 | shutdown-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>; |
| 480 | max-speed = <4000000>; |
| 481 | }; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 482 | }; |
| 483 | |
| 484 | &uart3 { |
| 485 | pinctrl-names = "default"; |
| 486 | pinctrl-0 = <&pinctrl_uart3>; |
| 487 | uart-has-rtscts; |
| 488 | status = "okay"; |
| 489 | }; |
| 490 | |
| 491 | &uart4 { |
| 492 | pinctrl-names = "default"; |
| 493 | pinctrl-0 = <&pinctrl_uart4>; |
| 494 | status = "okay"; |
| 495 | }; |
| 496 | |
| 497 | &usb3_phy0 { |
| 498 | status = "okay"; |
| 499 | }; |
| 500 | |
| 501 | &usb3_0 { |
| 502 | status = "okay"; |
| 503 | }; |
| 504 | |
| 505 | &usb_dwc3_0 { |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 506 | dr_mode = "otg"; |
| 507 | status = "okay"; |
| 508 | }; |
| 509 | |
| 510 | &usb3_phy1 { |
| 511 | status = "okay"; |
| 512 | }; |
| 513 | |
| 514 | &usb3_1 { |
| 515 | status = "okay"; |
| 516 | }; |
| 517 | |
| 518 | &usb_dwc3_1 { |
| 519 | pinctrl-names = "default"; |
| 520 | pinctrl-0 = <&pinctrl_usb1_vbus>; |
| 521 | dr_mode = "host"; |
| 522 | status = "okay"; |
| 523 | }; |
| 524 | |
| 525 | /* SDIO WiFi */ |
| 526 | &usdhc1 { |
| 527 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
| 528 | pinctrl-0 = <&pinctrl_usdhc1>; |
| 529 | pinctrl-1 = <&pinctrl_usdhc1_100mhz>; |
| 530 | pinctrl-2 = <&pinctrl_usdhc1_200mhz>; |
| 531 | vmmc-supply = <&buck4>; |
| 532 | bus-width = <4>; |
| 533 | non-removable; |
| 534 | cap-power-off-card; |
| 535 | keep-power-in-suspend; |
| 536 | status = "okay"; |
| 537 | |
| 538 | #address-cells = <1>; |
| 539 | #size-cells = <0>; |
| 540 | |
| 541 | brcmf: bcrmf@1 { /* muRata 2AE */ |
| 542 | reg = <1>; |
| 543 | compatible = "cypress,cyw4373-fmac", "brcm,bcm4329-fmac"; |
| 544 | /* |
| 545 | * The "host-wake" interrupt output is by default not |
| 546 | * connected to the SoC, but can be connected on to |
| 547 | * SoC pin on the carrier board. |
| 548 | */ |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 549 | reset-gpios = <&ioexp 1 GPIO_ACTIVE_LOW>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 550 | }; |
| 551 | }; |
| 552 | |
| 553 | /* SD slot */ |
| 554 | &usdhc2 { |
| 555 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
| 556 | pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; |
| 557 | pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; |
| 558 | pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; |
| 559 | cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; |
| 560 | vmmc-supply = <®_usdhc2_vmmc>; |
| 561 | bus-width = <4>; |
| 562 | status = "okay"; |
| 563 | }; |
| 564 | |
| 565 | /* eMMC */ |
| 566 | &usdhc3 { |
| 567 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
| 568 | pinctrl-0 = <&pinctrl_usdhc3>; |
| 569 | pinctrl-1 = <&pinctrl_usdhc3_100mhz>; |
| 570 | pinctrl-2 = <&pinctrl_usdhc3_200mhz>; |
| 571 | vmmc-supply = <&buck4>; |
| 572 | vqmmc-supply = <&buck5>; |
| 573 | bus-width = <8>; |
| 574 | non-removable; |
| 575 | status = "okay"; |
| 576 | }; |
| 577 | |
| 578 | &wdog1 { |
| 579 | pinctrl-names = "default"; |
| 580 | pinctrl-0 = <&pinctrl_wdog>; |
| 581 | fsl,ext-reset-output; |
| 582 | status = "okay"; |
| 583 | }; |
| 584 | |
| 585 | &iomuxc { |
| 586 | pinctrl-0 = <&pinctrl_hog_base |
| 587 | &pinctrl_dhcom_a &pinctrl_dhcom_b &pinctrl_dhcom_c |
| 588 | &pinctrl_dhcom_d &pinctrl_dhcom_e &pinctrl_dhcom_f |
| 589 | &pinctrl_dhcom_g &pinctrl_dhcom_h &pinctrl_dhcom_i |
| 590 | &pinctrl_dhcom_j &pinctrl_dhcom_k &pinctrl_dhcom_l |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 591 | &pinctrl_dhcom_m &pinctrl_dhcom_n &pinctrl_dhcom_o |
| 592 | &pinctrl_dhcom_p &pinctrl_dhcom_q &pinctrl_dhcom_r |
| 593 | &pinctrl_dhcom_s &pinctrl_dhcom_int>; |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 594 | pinctrl-names = "default"; |
| 595 | |
| 596 | pinctrl_dhcom_a: dhcom-a-grp { |
| 597 | fsl,pins = < |
| 598 | /* ENET_QOS_EVENT0-OUT */ |
| 599 | MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09 0x2 |
| 600 | >; |
| 601 | }; |
| 602 | |
| 603 | pinctrl_dhcom_b: dhcom-b-grp { |
| 604 | fsl,pins = < |
| 605 | /* ENET_QOS_EVENT0-IN */ |
| 606 | MX8MP_IOMUXC_GPIO1_IO08__GPIO1_IO08 0x2 |
| 607 | >; |
| 608 | }; |
| 609 | |
| 610 | pinctrl_dhcom_c: dhcom-c-grp { |
| 611 | fsl,pins = < |
| 612 | /* GPIO_C */ |
| 613 | MX8MP_IOMUXC_SAI3_MCLK__GPIO5_IO02 0x2 |
| 614 | >; |
| 615 | }; |
| 616 | |
| 617 | pinctrl_dhcom_d: dhcom-d-grp { |
| 618 | fsl,pins = < |
| 619 | /* GPIO_D */ |
| 620 | MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x2 |
| 621 | >; |
| 622 | }; |
| 623 | |
| 624 | pinctrl_dhcom_e: dhcom-e-grp { |
| 625 | fsl,pins = < |
| 626 | /* GPIO_E */ |
| 627 | MX8MP_IOMUXC_UART1_RXD__GPIO5_IO22 0x2 |
| 628 | >; |
| 629 | }; |
| 630 | |
| 631 | pinctrl_dhcom_f: dhcom-f-grp { |
| 632 | fsl,pins = < |
| 633 | /* GPIO_F */ |
| 634 | MX8MP_IOMUXC_UART1_TXD__GPIO5_IO23 0x2 |
| 635 | >; |
| 636 | }; |
| 637 | |
| 638 | pinctrl_dhcom_g: dhcom-g-grp { |
| 639 | fsl,pins = < |
| 640 | /* GPIO_G */ |
| 641 | MX8MP_IOMUXC_GPIO1_IO00__GPIO1_IO00 0x2 |
| 642 | >; |
| 643 | }; |
| 644 | |
| 645 | pinctrl_dhcom_h: dhcom-h-grp { |
| 646 | fsl,pins = < |
| 647 | /* GPIO_H */ |
| 648 | MX8MP_IOMUXC_GPIO1_IO11__GPIO1_IO11 0x2 |
| 649 | >; |
| 650 | }; |
| 651 | |
| 652 | pinctrl_dhcom_i: dhcom-i-grp { |
| 653 | fsl,pins = < |
| 654 | /* CSI1_SYNC */ |
| 655 | MX8MP_IOMUXC_GPIO1_IO05__GPIO1_IO05 0x2 |
| 656 | >; |
| 657 | }; |
| 658 | |
| 659 | pinctrl_dhcom_j: dhcom-j-grp { |
| 660 | fsl,pins = < |
| 661 | /* CSIx_#RST */ |
| 662 | MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x2 |
| 663 | >; |
| 664 | }; |
| 665 | |
| 666 | pinctrl_dhcom_k: dhcom-k-grp { |
| 667 | fsl,pins = < |
| 668 | /* CSIx_PWDN */ |
| 669 | MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11 0x2 |
| 670 | >; |
| 671 | }; |
| 672 | |
| 673 | pinctrl_dhcom_l: dhcom-l-grp { |
| 674 | fsl,pins = < |
| 675 | /* CSI2_SYNC */ |
| 676 | MX8MP_IOMUXC_GPIO1_IO07__GPIO1_IO07 0x2 |
| 677 | >; |
| 678 | }; |
| 679 | |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 680 | pinctrl_dhcom_m: dhcom-m-grp { |
| 681 | fsl,pins = < |
| 682 | /* CSIx_MCLK */ |
| 683 | MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x2 |
| 684 | >; |
| 685 | }; |
| 686 | |
| 687 | pinctrl_dhcom_n: dhcom-n-grp { |
| 688 | fsl,pins = < |
| 689 | /* CSI2_D3- */ |
| 690 | MX8MP_IOMUXC_SD1_DATA7__GPIO2_IO09 0x2 |
| 691 | >; |
| 692 | }; |
| 693 | |
| 694 | pinctrl_dhcom_o: dhcom-o-grp { |
| 695 | fsl,pins = < |
| 696 | /* CSI2_D3+ */ |
| 697 | MX8MP_IOMUXC_SD1_DATA6__GPIO2_IO08 0x2 |
| 698 | >; |
| 699 | }; |
| 700 | |
| 701 | pinctrl_dhcom_p: dhcom-p-grp { |
| 702 | fsl,pins = < |
| 703 | /* CSI2_D2- */ |
| 704 | MX8MP_IOMUXC_SD1_RESET_B__GPIO2_IO10 0x2 |
| 705 | >; |
| 706 | }; |
| 707 | |
| 708 | pinctrl_dhcom_q: dhcom-q-grp { |
| 709 | fsl,pins = < |
| 710 | /* CSI2_D2+ */ |
| 711 | MX8MP_IOMUXC_GPIO1_IO13__GPIO1_IO13 0x2 |
| 712 | >; |
| 713 | }; |
| 714 | |
| 715 | pinctrl_dhcom_r: dhcom-r-grp { |
| 716 | fsl,pins = < |
| 717 | /* CSI2_D1- */ |
| 718 | MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x2 |
| 719 | >; |
| 720 | }; |
| 721 | |
| 722 | pinctrl_dhcom_s: dhcom-s-grp { |
| 723 | fsl,pins = < |
| 724 | /* CSI2_D1+ */ |
| 725 | MX8MP_IOMUXC_GPIO1_IO10__GPIO1_IO10 0x2 |
| 726 | >; |
| 727 | }; |
| 728 | |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 729 | pinctrl_dhcom_int: dhcom-int-grp { |
| 730 | fsl,pins = < |
| 731 | /* INT_HIGHEST_PRIO */ |
| 732 | MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x2 |
| 733 | >; |
| 734 | }; |
| 735 | |
| 736 | pinctrl_hog_base: dhcom-hog-base-grp { |
| 737 | fsl,pins = < |
| 738 | /* GPIOs for memory coding */ |
| 739 | MX8MP_IOMUXC_SAI5_RXD1__GPIO3_IO22 0x40000080 |
| 740 | MX8MP_IOMUXC_SAI5_RXD2__GPIO3_IO23 0x40000080 |
| 741 | MX8MP_IOMUXC_SAI5_RXD3__GPIO3_IO24 0x40000080 |
| 742 | /* GPIOs for hardware coding */ |
| 743 | MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x40000080 |
| 744 | MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x40000080 |
| 745 | MX8MP_IOMUXC_SAI5_MCLK__GPIO3_IO25 0x40000080 |
| 746 | >; |
| 747 | }; |
| 748 | |
| 749 | pinctrl_ecspi1: dhcom-ecspi1-grp { |
| 750 | fsl,pins = < |
Marek Vasut | eee69bd | 2022-08-12 22:41:54 +0200 | [diff] [blame] | 751 | MX8MP_IOMUXC_I2C1_SCL__ECSPI1_SCLK 0x44 |
| 752 | MX8MP_IOMUXC_I2C1_SDA__ECSPI1_MOSI 0x44 |
| 753 | MX8MP_IOMUXC_I2C2_SCL__ECSPI1_MISO 0x44 |
| 754 | MX8MP_IOMUXC_I2C2_SDA__GPIO5_IO17 0x40 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 755 | >; |
| 756 | }; |
| 757 | |
| 758 | pinctrl_ecspi2: dhcom-ecspi2-grp { |
| 759 | fsl,pins = < |
| 760 | MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK 0x44 |
| 761 | MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI 0x44 |
| 762 | MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO 0x44 |
| 763 | MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x40 |
| 764 | >; |
| 765 | }; |
| 766 | |
Marek Vasut | a6b0067 | 2023-02-11 23:37:59 +0100 | [diff] [blame] | 767 | pinctrl_eqos_rgmii: dhcom-eqos-rgmii-grp { /* RGMII */ |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 768 | fsl,pins = < |
| 769 | MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3 |
| 770 | MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3 |
| 771 | MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f |
| 772 | MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f |
| 773 | MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f |
| 774 | MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f |
| 775 | MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f |
| 776 | MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f |
| 777 | MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91 |
| 778 | MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91 |
| 779 | MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91 |
| 780 | MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91 |
| 781 | MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91 |
| 782 | MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91 |
| 783 | >; |
| 784 | }; |
| 785 | |
Marek Vasut | a6b0067 | 2023-02-11 23:37:59 +0100 | [diff] [blame] | 786 | pinctrl_eqos_rmii: dhcom-eqos-rmii-grp { /* RMII */ |
| 787 | fsl,pins = < |
| 788 | MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3 |
| 789 | MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3 |
| 790 | MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f |
| 791 | MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f |
| 792 | MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f |
| 793 | MX8MP_IOMUXC_ENET_RXC__ENET_QOS_RX_ER 0x1f |
| 794 | MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91 |
| 795 | MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91 |
| 796 | MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91 |
| 797 | /* Clock */ |
| 798 | MX8MP_IOMUXC_ENET_TD2__CCM_ENET_QOS_CLOCK_GENERATE_REF_CLK 0x4000001f |
| 799 | >; |
| 800 | }; |
| 801 | |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 802 | pinctrl_ethphy0: dhcom-ethphy0-grp { |
| 803 | fsl,pins = < |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 804 | /* ENET_QOS_#INT Interrupt */ |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 805 | MX8MP_IOMUXC_SAI5_RXFS__GPIO3_IO19 0x22 |
| 806 | >; |
| 807 | }; |
| 808 | |
| 809 | pinctrl_ethphy1: dhcom-ethphy1-grp { |
| 810 | fsl,pins = < |
| 811 | /* ENET1_#RST Reset */ |
| 812 | MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x11 |
| 813 | /* ENET1_#INT Interrupt */ |
| 814 | MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x11 |
| 815 | >; |
| 816 | }; |
| 817 | |
Marek Vasut | ddec64a | 2023-02-11 23:38:00 +0100 | [diff] [blame] | 818 | pinctrl_fec_rgmii: dhcom-fec-rgmii-grp { /* RGMII */ |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 819 | fsl,pins = < |
| 820 | MX8MP_IOMUXC_SAI1_MCLK__ENET1_TX_CLK 0x1f |
| 821 | MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3 |
| 822 | MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3 |
| 823 | MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91 |
| 824 | MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91 |
| 825 | MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x91 |
| 826 | MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x91 |
| 827 | MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x91 |
| 828 | MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91 |
| 829 | MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f |
| 830 | MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f |
| 831 | MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x1f |
| 832 | MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x1f |
| 833 | MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f |
| 834 | MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x1f |
| 835 | MX8MP_IOMUXC_SAI1_TXD6__ENET1_RX_ER 0x1f |
| 836 | >; |
| 837 | }; |
| 838 | |
Marek Vasut | ddec64a | 2023-02-11 23:38:00 +0100 | [diff] [blame] | 839 | pinctrl_fec_rmii: dhcom-fec-rmii-grp { /* RMII */ |
| 840 | fsl,pins = < |
| 841 | MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3 |
| 842 | MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3 |
| 843 | MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91 |
| 844 | MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91 |
| 845 | MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91 |
| 846 | MX8MP_IOMUXC_SAI1_TXD6__ENET1_RX_ER 0x91 |
| 847 | MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f |
| 848 | MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f |
| 849 | MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f |
| 850 | /* Clock */ |
| 851 | MX8MP_IOMUXC_SAI1_MCLK__ENET1_TX_CLK 0x4000001f |
| 852 | >; |
| 853 | }; |
| 854 | |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 855 | pinctrl_flexcan1: dhcom-flexcan1-grp { |
| 856 | fsl,pins = < |
| 857 | MX8MP_IOMUXC_SPDIF_RX__CAN1_RX 0x154 |
| 858 | MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154 |
| 859 | >; |
| 860 | }; |
| 861 | |
| 862 | pinctrl_flexcan2: dhcom-flexcan2-grp { |
| 863 | fsl,pins = < |
| 864 | MX8MP_IOMUXC_UART3_RXD__CAN2_TX 0x154 |
| 865 | MX8MP_IOMUXC_UART3_TXD__CAN2_RX 0x154 |
| 866 | >; |
| 867 | }; |
| 868 | |
| 869 | pinctrl_flexspi: dhcom-flexspi-grp { |
| 870 | fsl,pins = < |
| 871 | MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK 0x1c2 |
| 872 | MX8MP_IOMUXC_NAND_CE0_B__FLEXSPI_A_SS0_B 0x82 |
| 873 | MX8MP_IOMUXC_NAND_DATA00__FLEXSPI_A_DATA00 0x82 |
| 874 | MX8MP_IOMUXC_NAND_DATA01__FLEXSPI_A_DATA01 0x82 |
| 875 | MX8MP_IOMUXC_NAND_DATA02__FLEXSPI_A_DATA02 0x82 |
| 876 | MX8MP_IOMUXC_NAND_DATA03__FLEXSPI_A_DATA03 0x82 |
| 877 | >; |
| 878 | }; |
| 879 | |
| 880 | pinctrl_hdmi: dhcom-hdmi-grp { |
| 881 | fsl,pins = < |
| 882 | MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_HDMI_CEC 0x154 |
| 883 | MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x154 |
| 884 | >; |
| 885 | }; |
| 886 | |
| 887 | pinctrl_i2c3: dhcom-i2c3-grp { |
| 888 | fsl,pins = < |
| 889 | MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x40000084 |
| 890 | MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x40000084 |
| 891 | >; |
| 892 | }; |
| 893 | |
| 894 | pinctrl_i2c3_gpio: dhcom-i2c3-gpio-grp { |
| 895 | fsl,pins = < |
| 896 | MX8MP_IOMUXC_I2C3_SCL__GPIO5_IO18 0x84 |
| 897 | MX8MP_IOMUXC_I2C3_SDA__GPIO5_IO19 0x84 |
| 898 | >; |
| 899 | }; |
| 900 | |
| 901 | pinctrl_i2c4: dhcom-i2c4-grp { |
| 902 | fsl,pins = < |
| 903 | MX8MP_IOMUXC_I2C4_SCL__I2C4_SCL 0x40000084 |
| 904 | MX8MP_IOMUXC_I2C4_SDA__I2C4_SDA 0x40000084 |
| 905 | >; |
| 906 | }; |
| 907 | |
| 908 | pinctrl_i2c4_gpio: dhcom-i2c4-gpio-grp { |
| 909 | fsl,pins = < |
| 910 | MX8MP_IOMUXC_I2C4_SCL__GPIO5_IO20 0x84 |
| 911 | MX8MP_IOMUXC_I2C4_SDA__GPIO5_IO21 0x84 |
| 912 | >; |
| 913 | }; |
| 914 | |
| 915 | pinctrl_i2c5: dhcom-i2c5-grp { |
| 916 | fsl,pins = < |
Marcel Ziswiler | cdfde79 | 2022-11-07 22:22:39 +0100 | [diff] [blame] | 917 | MX8MP_IOMUXC_HDMI_DDC_SCL__I2C5_SCL 0x40000084 |
| 918 | MX8MP_IOMUXC_HDMI_DDC_SDA__I2C5_SDA 0x40000084 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 919 | >; |
| 920 | }; |
| 921 | |
| 922 | pinctrl_i2c5_gpio: dhcom-i2c5-gpio-grp { |
| 923 | fsl,pins = < |
| 924 | MX8MP_IOMUXC_HDMI_DDC_SCL__GPIO3_IO26 0x84 |
| 925 | MX8MP_IOMUXC_HDMI_DDC_SDA__GPIO3_IO27 0x84 |
| 926 | >; |
| 927 | }; |
| 928 | |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 929 | pinctrl_ioexp: dhcom-ioexp-grp { |
| 930 | fsl,pins = < |
| 931 | /* #GPIO_EXP_INT */ |
| 932 | MX8MP_IOMUXC_SAI5_RXC__GPIO3_IO20 0x22 |
| 933 | >; |
| 934 | }; |
| 935 | |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 936 | pinctrl_pmic: dhcom-pmic-grp { |
| 937 | fsl,pins = < |
| 938 | /* PMIC_nINT */ |
| 939 | MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x40000090 |
| 940 | >; |
| 941 | }; |
| 942 | |
| 943 | pinctrl_pwm1: dhcom-pwm1-grp { |
| 944 | fsl,pins = < |
| 945 | MX8MP_IOMUXC_GPIO1_IO01__PWM1_OUT 0x6 |
| 946 | >; |
| 947 | }; |
| 948 | |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 949 | pinctrl_tc9595: dhcom-tc9595-grp { |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 950 | fsl,pins = < |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 951 | /* RESET_DSIBRIDGE */ |
| 952 | MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x40000146 |
| 953 | /* DSI-CONV_INT Interrupt */ |
| 954 | MX8MP_IOMUXC_SAI5_RXD0__GPIO3_IO21 0x141 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 955 | >; |
| 956 | }; |
| 957 | |
Marek Vasut | 792cb56 | 2023-09-21 20:44:18 +0200 | [diff] [blame] | 958 | pinctrl_sai3: dhcom-sai3-grp { |
| 959 | fsl,pins = < |
| 960 | MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC 0xd6 |
| 961 | MX8MP_IOMUXC_SAI3_TXC__AUDIOMIX_SAI3_TX_BCLK 0xd6 |
| 962 | MX8MP_IOMUXC_SAI3_RXD__AUDIOMIX_SAI3_RX_DATA00 0xd6 |
| 963 | MX8MP_IOMUXC_SAI3_TXD__AUDIOMIX_SAI3_TX_DATA00 0xd6 |
| 964 | >; |
| 965 | }; |
| 966 | |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 967 | pinctrl_touch: dhcom-touch-grp { |
| 968 | fsl,pins = < |
| 969 | /* #TOUCH_INT */ |
| 970 | MX8MP_IOMUXC_SAI1_RXFS__GPIO4_IO00 0x40000080 |
| 971 | >; |
| 972 | }; |
| 973 | |
| 974 | pinctrl_uart1: dhcom-uart1-grp { |
| 975 | fsl,pins = < |
| 976 | /* Console UART */ |
| 977 | MX8MP_IOMUXC_SAI2_RXC__UART1_DCE_RX 0x49 |
| 978 | MX8MP_IOMUXC_SAI2_RXFS__UART1_DCE_TX 0x49 |
| 979 | MX8MP_IOMUXC_SAI2_RXD0__UART1_DCE_RTS 0x49 |
| 980 | MX8MP_IOMUXC_SAI2_TXFS__UART1_DCE_CTS 0x49 |
| 981 | >; |
| 982 | }; |
| 983 | |
| 984 | pinctrl_uart2: dhcom-uart2-grp { |
| 985 | fsl,pins = < |
| 986 | /* Bluetooth UART */ |
| 987 | MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49 |
| 988 | MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49 |
| 989 | MX8MP_IOMUXC_SD1_DATA4__UART2_DCE_RTS 0x49 |
| 990 | MX8MP_IOMUXC_SD1_DATA5__UART2_DCE_CTS 0x49 |
| 991 | >; |
| 992 | }; |
| 993 | |
| 994 | pinctrl_uart3: dhcom-uart3-grp { |
| 995 | fsl,pins = < |
| 996 | MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX 0x49 |
| 997 | MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX 0x49 |
| 998 | MX8MP_IOMUXC_ECSPI1_SS0__UART3_DCE_RTS 0x49 |
| 999 | MX8MP_IOMUXC_ECSPI1_MISO__UART3_DCE_CTS 0x49 |
| 1000 | >; |
| 1001 | }; |
| 1002 | |
| 1003 | pinctrl_uart4: dhcom-uart4-grp { |
| 1004 | fsl,pins = < |
| 1005 | MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX 0x49 |
| 1006 | MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX 0x49 |
| 1007 | >; |
| 1008 | }; |
| 1009 | |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 1010 | pinctrl_usb1_vbus: dhcom-usb1-grp { |
| 1011 | fsl,pins = < |
| 1012 | MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR 0x6 |
| 1013 | MX8MP_IOMUXC_GPIO1_IO15__USB2_OTG_OC 0x80 |
| 1014 | >; |
| 1015 | }; |
| 1016 | |
| 1017 | pinctrl_usdhc1: dhcom-usdhc1-grp { |
| 1018 | fsl,pins = < |
| 1019 | MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x190 |
| 1020 | MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d0 |
| 1021 | MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d0 |
| 1022 | MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d0 |
| 1023 | MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d0 |
| 1024 | MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d0 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 1025 | >; |
| 1026 | }; |
| 1027 | |
| 1028 | pinctrl_usdhc1_100mhz: dhcom-usdhc1-100mhz-grp { |
| 1029 | fsl,pins = < |
| 1030 | MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x194 |
| 1031 | MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d4 |
| 1032 | MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d4 |
| 1033 | MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d4 |
| 1034 | MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d4 |
| 1035 | MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d4 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 1036 | >; |
| 1037 | }; |
| 1038 | |
| 1039 | pinctrl_usdhc1_200mhz: dhcom-usdhc1-200mhz-grp { |
| 1040 | fsl,pins = < |
| 1041 | MX8MP_IOMUXC_SD1_CLK__USDHC1_CLK 0x196 |
| 1042 | MX8MP_IOMUXC_SD1_CMD__USDHC1_CMD 0x1d6 |
| 1043 | MX8MP_IOMUXC_SD1_DATA0__USDHC1_DATA0 0x1d6 |
| 1044 | MX8MP_IOMUXC_SD1_DATA1__USDHC1_DATA1 0x1d6 |
| 1045 | MX8MP_IOMUXC_SD1_DATA2__USDHC1_DATA2 0x1d6 |
| 1046 | MX8MP_IOMUXC_SD1_DATA3__USDHC1_DATA3 0x1d6 |
Marek Vasut | f670cd7 | 2022-05-21 16:56:26 +0200 | [diff] [blame] | 1047 | >; |
| 1048 | }; |
| 1049 | |
| 1050 | pinctrl_usdhc2: dhcom-usdhc2-grp { |
| 1051 | fsl,pins = < |
| 1052 | MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190 |
| 1053 | MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0 |
| 1054 | MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0 |
| 1055 | MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0 |
| 1056 | MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0 |
| 1057 | MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0 |
| 1058 | MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 |
| 1059 | >; |
| 1060 | }; |
| 1061 | |
| 1062 | pinctrl_usdhc2_100mhz: dhcom-usdhc2-100mhz-grp { |
| 1063 | fsl,pins = < |
| 1064 | MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194 |
| 1065 | MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4 |
| 1066 | MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4 |
| 1067 | MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4 |
| 1068 | MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4 |
| 1069 | MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4 |
| 1070 | MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 |
| 1071 | >; |
| 1072 | }; |
| 1073 | |
| 1074 | pinctrl_usdhc2_200mhz: dhcom-usdhc2-200mhz-grp { |
| 1075 | fsl,pins = < |
| 1076 | MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196 |
| 1077 | MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6 |
| 1078 | MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6 |
| 1079 | MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6 |
| 1080 | MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6 |
| 1081 | MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6 |
| 1082 | MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1 |
| 1083 | >; |
| 1084 | }; |
| 1085 | |
| 1086 | pinctrl_usdhc2_vmmc: dhcom-usdhc2-vmmc-grp { |
| 1087 | fsl,pins = < |
| 1088 | MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x20 |
| 1089 | >; |
| 1090 | }; |
| 1091 | |
| 1092 | pinctrl_usdhc2_gpio: dhcom-usdhc2-gpio-grp { |
| 1093 | fsl,pins = < |
| 1094 | MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x40000080 |
| 1095 | >; |
| 1096 | }; |
| 1097 | |
| 1098 | pinctrl_usdhc3: dhcom-usdhc3-grp { |
| 1099 | fsl,pins = < |
| 1100 | MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190 |
| 1101 | MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0 |
| 1102 | MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0 |
| 1103 | MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0 |
| 1104 | MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0 |
| 1105 | MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0 |
| 1106 | MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0 |
| 1107 | MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0 |
| 1108 | MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0 |
| 1109 | MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0 |
| 1110 | MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190 |
| 1111 | MX8MP_IOMUXC_NAND_READY_B__USDHC3_RESET_B 0x141 |
| 1112 | >; |
| 1113 | }; |
| 1114 | |
| 1115 | pinctrl_usdhc3_100mhz: dhcom-usdhc3-100mhz-grp { |
| 1116 | fsl,pins = < |
| 1117 | MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194 |
| 1118 | MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4 |
| 1119 | MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4 |
| 1120 | MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4 |
| 1121 | MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4 |
| 1122 | MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4 |
| 1123 | MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4 |
| 1124 | MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4 |
| 1125 | MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4 |
| 1126 | MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4 |
| 1127 | MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194 |
| 1128 | MX8MP_IOMUXC_NAND_READY_B__USDHC3_RESET_B 0x141 |
| 1129 | >; |
| 1130 | }; |
| 1131 | |
| 1132 | pinctrl_usdhc3_200mhz: dhcom-usdhc3-200mhz-grp { |
| 1133 | fsl,pins = < |
| 1134 | MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196 |
| 1135 | MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6 |
| 1136 | MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6 |
| 1137 | MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6 |
| 1138 | MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6 |
| 1139 | MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6 |
| 1140 | MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6 |
| 1141 | MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6 |
| 1142 | MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6 |
| 1143 | MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6 |
| 1144 | MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196 |
| 1145 | MX8MP_IOMUXC_NAND_READY_B__USDHC3_RESET_B 0x141 |
| 1146 | >; |
| 1147 | }; |
| 1148 | |
| 1149 | pinctrl_wdog: dhcom-wdog-grp { |
| 1150 | fsl,pins = < |
| 1151 | MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0xc6 |
| 1152 | >; |
| 1153 | }; |
| 1154 | }; |