1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright 2019 NXP 3 * Copyright 2019 NXP 4 */ 4 */ 5 5 6 #include <dt-bindings/usb/pd.h> 6 #include <dt-bindings/usb/pd.h> 7 #include "imx8mn.dtsi" 7 #include "imx8mn.dtsi" 8 8 9 / { 9 / { 10 chosen { 10 chosen { 11 stdout-path = &uart2; 11 stdout-path = &uart2; 12 }; 12 }; 13 13 14 gpio-leds { 14 gpio-leds { 15 compatible = "gpio-leds"; 15 compatible = "gpio-leds"; 16 pinctrl-names = "default"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_led 17 pinctrl-0 = <&pinctrl_gpio_led>; 18 18 19 status { 19 status { 20 label = "yellow:status 20 label = "yellow:status"; 21 gpios = <&gpio3 16 GPI 21 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; 22 default-state = "on"; 22 default-state = "on"; 23 }; 23 }; 24 }; 24 }; 25 25 26 hdmi-connector { << 27 compatible = "hdmi-connector"; << 28 label = "hdmi"; << 29 type = "a"; << 30 << 31 port { << 32 hdmi_connector_in: end << 33 remote-endpoin << 34 }; << 35 }; << 36 }; << 37 << 38 memory@40000000 { 26 memory@40000000 { 39 device_type = "memory"; 27 device_type = "memory"; 40 reg = <0x0 0x40000000 0 0x8000 28 reg = <0x0 0x40000000 0 0x80000000>; 41 }; 29 }; 42 30 43 reg_usdhc2_vmmc: regulator-usdhc2 { 31 reg_usdhc2_vmmc: regulator-usdhc2 { 44 compatible = "regulator-fixed" 32 compatible = "regulator-fixed"; 45 pinctrl-names = "default"; 33 pinctrl-names = "default"; 46 pinctrl-0 = <&pinctrl_reg_usdh 34 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 47 regulator-name = "VSD_3V3"; 35 regulator-name = "VSD_3V3"; 48 regulator-min-microvolt = <330 36 regulator-min-microvolt = <3300000>; 49 regulator-max-microvolt = <330 37 regulator-max-microvolt = <3300000>; 50 gpio = <&gpio2 19 GPIO_ACTIVE_ 38 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; 51 off-on-delay-us = <12000>; << 52 enable-active-high; 39 enable-active-high; 53 }; 40 }; 54 41 55 reg_1v5: regulator-1v5 { << 56 compatible = "regulator-fixed" << 57 regulator-name = "VDD_1V5"; << 58 regulator-min-microvolt = <150 << 59 regulator-max-microvolt = <150 << 60 }; << 61 << 62 reg_1v8: regulator-1v8 { << 63 compatible = "regulator-fixed" << 64 regulator-name = "VDD_1V8"; << 65 regulator-min-microvolt = <180 << 66 regulator-max-microvolt = <180 << 67 }; << 68 << 69 reg_vddext_3v3: regulator-vddext-3v3 { << 70 compatible = "regulator-fixed" << 71 regulator-name = "VDDEXT_3V3"; << 72 regulator-min-microvolt = <330 << 73 regulator-max-microvolt = <330 << 74 }; << 75 << 76 ir-receiver { 42 ir-receiver { 77 compatible = "gpio-ir-receiver 43 compatible = "gpio-ir-receiver"; 78 gpios = <&gpio1 13 GPIO_ACTIVE 44 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 79 pinctrl-names = "default"; 45 pinctrl-names = "default"; 80 pinctrl-0 = <&pinctrl_ir>; 46 pinctrl-0 = <&pinctrl_ir>; 81 linux,autosuspend-period = <12 47 linux,autosuspend-period = <125>; 82 }; 48 }; 83 49 84 audio_codec_bt_sco: audio-codec-bt-sco << 85 compatible = "linux,bt-sco"; << 86 #sound-dai-cells = <1>; << 87 }; << 88 << 89 wm8524: audio-codec { 50 wm8524: audio-codec { 90 #sound-dai-cells = <0>; 51 #sound-dai-cells = <0>; 91 compatible = "wlf,wm8524"; 52 compatible = "wlf,wm8524"; 92 pinctrl-names = "default"; 53 pinctrl-names = "default"; 93 pinctrl-0 = <&pinctrl_gpio_wlf 54 pinctrl-0 = <&pinctrl_gpio_wlf>; 94 wlf,mute-gpios = <&gpio5 21 GP 55 wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; 95 }; !! 56 clocks = <&clk IMX8MN_CLK_SAI3_ROOT>; 96 !! 57 clock-names = "mclk"; 97 sound-bt-sco { << 98 compatible = "simple-audio-car << 99 simple-audio-card,name = "bt-s << 100 simple-audio-card,format = "ds << 101 simple-audio-card,bitclock-inv << 102 simple-audio-card,frame-master << 103 simple-audio-card,bitclock-mas << 104 << 105 btcpu: simple-audio-card,cpu { << 106 sound-dai = <&sai2>; << 107 dai-tdm-slot-num = <2> << 108 dai-tdm-slot-width = < << 109 }; << 110 << 111 simple-audio-card,codec { << 112 sound-dai = <&audio_co << 113 }; << 114 }; 58 }; 115 59 116 sound-wm8524 { 60 sound-wm8524 { 117 compatible = "fsl,imx-audio-wm 61 compatible = "fsl,imx-audio-wm8524"; 118 model = "wm8524-audio"; 62 model = "wm8524-audio"; 119 audio-cpu = <&sai3>; 63 audio-cpu = <&sai3>; 120 audio-codec = <&wm8524>; 64 audio-codec = <&wm8524>; 121 audio-asrc = <&easrc>; 65 audio-asrc = <&easrc>; 122 audio-routing = 66 audio-routing = 123 "Line Out Jack", "LINE 67 "Line Out Jack", "LINEVOUTL", 124 "Line Out Jack", "LINE 68 "Line Out Jack", "LINEVOUTR"; 125 }; 69 }; 126 70 127 spdif_out: spdif-out { << 128 compatible = "linux,spdif-dit" << 129 #sound-dai-cells = <0>; << 130 }; << 131 << 132 spdif_in: spdif-in { << 133 compatible = "linux,spdif-dir" << 134 #sound-dai-cells = <0>; << 135 }; << 136 << 137 sound-spdif { 71 sound-spdif { 138 compatible = "fsl,imx-audio-sp 72 compatible = "fsl,imx-audio-spdif"; 139 model = "imx-spdif"; 73 model = "imx-spdif"; 140 audio-cpu = <&spdif1>; !! 74 spdif-controller = <&spdif1>; 141 audio-codec = <&spdif_out>, <& !! 75 spdif-out; 142 }; !! 76 spdif-in; 143 << 144 sound-micfil { << 145 compatible = "fsl,imx-audio-ca << 146 model = "micfil-audio"; << 147 << 148 pri-dai-link { << 149 link-name = "micfil hi << 150 format = "i2s"; << 151 << 152 cpu { << 153 sound-dai = <& << 154 }; << 155 }; << 156 }; 77 }; 157 }; 78 }; 158 79 159 &easrc { 80 &easrc { 160 fsl,asrc-rate = <48000>; !! 81 fsl,asrc-rate = <48000>; 161 status = "okay"; 82 status = "okay"; 162 }; 83 }; 163 84 164 &fec1 { 85 &fec1 { 165 pinctrl-names = "default"; 86 pinctrl-names = "default"; 166 pinctrl-0 = <&pinctrl_fec1>; 87 pinctrl-0 = <&pinctrl_fec1>; 167 phy-mode = "rgmii-id"; 88 phy-mode = "rgmii-id"; 168 phy-handle = <ðphy0>; 89 phy-handle = <ðphy0>; 169 fsl,magic-packet; 90 fsl,magic-packet; 170 status = "okay"; 91 status = "okay"; 171 92 172 mdio { 93 mdio { 173 #address-cells = <1>; 94 #address-cells = <1>; 174 #size-cells = <0>; 95 #size-cells = <0>; 175 96 176 ethphy0: ethernet-phy@0 { 97 ethphy0: ethernet-phy@0 { 177 compatible = "ethernet 98 compatible = "ethernet-phy-ieee802.3-c22"; 178 reg = <0>; 99 reg = <0>; 179 reset-gpios = <&gpio4 100 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; 180 reset-assert-us = <100 101 reset-assert-us = <10000>; 181 qca,disable-smarteee; 102 qca,disable-smarteee; 182 vddio-supply = <&vddio 103 vddio-supply = <&vddio>; 183 104 184 vddio: vddio-regulator 105 vddio: vddio-regulator { 185 regulator-min- 106 regulator-min-microvolt = <1800000>; 186 regulator-max- 107 regulator-max-microvolt = <1800000>; 187 }; 108 }; 188 }; 109 }; 189 }; 110 }; 190 }; 111 }; 191 112 192 &flexspi { 113 &flexspi { 193 pinctrl-names = "default"; 114 pinctrl-names = "default"; 194 pinctrl-0 = <&pinctrl_flexspi>; 115 pinctrl-0 = <&pinctrl_flexspi>; 195 status = "okay"; 116 status = "okay"; 196 117 197 flash0: flash@0 { 118 flash0: flash@0 { 198 compatible = "jedec,spi-nor"; 119 compatible = "jedec,spi-nor"; 199 reg = <0>; 120 reg = <0>; 200 #address-cells = <1>; 121 #address-cells = <1>; 201 #size-cells = <1>; 122 #size-cells = <1>; 202 spi-max-frequency = <166000000 123 spi-max-frequency = <166000000>; 203 spi-tx-bus-width = <4>; 124 spi-tx-bus-width = <4>; 204 spi-rx-bus-width = <4>; 125 spi-rx-bus-width = <4>; 205 }; 126 }; 206 }; 127 }; 207 128 208 &i2c1 { 129 &i2c1 { 209 clock-frequency = <400000>; 130 clock-frequency = <400000>; 210 pinctrl-names = "default"; 131 pinctrl-names = "default"; 211 pinctrl-0 = <&pinctrl_i2c1>; 132 pinctrl-0 = <&pinctrl_i2c1>; 212 status = "okay"; 133 status = "okay"; 213 }; 134 }; 214 135 215 &i2c2 { 136 &i2c2 { 216 clock-frequency = <400000>; 137 clock-frequency = <400000>; 217 pinctrl-names = "default", "gpio"; !! 138 pinctrl-names = "default"; 218 pinctrl-0 = <&pinctrl_i2c2>; 139 pinctrl-0 = <&pinctrl_i2c2>; 219 pinctrl-1 = <&pinctrl_i2c2_gpio>; !! 140 status = "okay"; 220 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HI << 221 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HI << 222 status = "okay"; << 223 << 224 hdmi@3d { << 225 compatible = "adi,adv7535"; << 226 reg = <0x3d>; << 227 interrupt-parent = <&gpio1>; << 228 interrupts = <9 IRQ_TYPE_EDGE_ << 229 adi,dsi-lanes = <4>; << 230 v3p3-supply = <®_vddext_3v3 << 231 << 232 ports { << 233 #address-cells = <1>; << 234 #size-cells = <0>; << 235 << 236 port@0 { << 237 reg = <0>; << 238 << 239 adv7535_in: en << 240 remote << 241 }; << 242 }; << 243 << 244 port@1 { << 245 reg = <1>; << 246 << 247 adv7535_out: e << 248 remote << 249 }; << 250 }; << 251 << 252 }; << 253 }; << 254 141 255 ptn5110: tcpc@50 { 142 ptn5110: tcpc@50 { 256 compatible = "nxp,ptn5110", "t !! 143 compatible = "nxp,ptn5110"; 257 pinctrl-names = "default"; 144 pinctrl-names = "default"; 258 pinctrl-0 = <&pinctrl_typec1>; 145 pinctrl-0 = <&pinctrl_typec1>; 259 reg = <0x50>; 146 reg = <0x50>; 260 interrupt-parent = <&gpio2>; 147 interrupt-parent = <&gpio2>; 261 interrupts = <11 IRQ_TYPE_LEVE 148 interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 262 status = "okay"; 149 status = "okay"; 263 150 >> 151 port { >> 152 typec1_dr_sw: endpoint { >> 153 remote-endpoint = <&usb1_drd_sw>; >> 154 }; >> 155 }; >> 156 264 typec1_con: connector { 157 typec1_con: connector { 265 compatible = "usb-c-co 158 compatible = "usb-c-connector"; 266 label = "USB-C"; 159 label = "USB-C"; 267 power-role = "dual"; 160 power-role = "dual"; 268 data-role = "dual"; 161 data-role = "dual"; 269 try-power-role = "sink 162 try-power-role = "sink"; 270 source-pdos = <PDO_FIX 163 source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 271 sink-pdos = <PDO_FIXED 164 sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM) 272 PDO_VAR(5 165 PDO_VAR(5000, 20000, 3000)>; 273 op-sink-microwatt = <1 166 op-sink-microwatt = <15000000>; 274 self-powered; 167 self-powered; 275 << 276 port { << 277 typec1_dr_sw: << 278 remote << 279 }; << 280 }; << 281 }; 168 }; 282 }; 169 }; 283 }; 170 }; 284 171 285 &i2c3 { 172 &i2c3 { 286 clock-frequency = <400000>; 173 clock-frequency = <400000>; 287 pinctrl-names = "default", "gpio"; !! 174 pinctrl-names = "default"; 288 pinctrl-0 = <&pinctrl_i2c3>; 175 pinctrl-0 = <&pinctrl_i2c3>; 289 pinctrl-1 = <&pinctrl_i2c3_gpio>; << 290 scl-gpios = <&gpio5 18 GPIO_ACTIVE_HIG << 291 sda-gpios = <&gpio5 19 GPIO_ACTIVE_HIG << 292 status = "okay"; 176 status = "okay"; 293 177 294 pca6416: gpio@20 { 178 pca6416: gpio@20 { 295 compatible = "ti,tca6416"; 179 compatible = "ti,tca6416"; 296 reg = <0x20>; 180 reg = <0x20>; 297 gpio-controller; 181 gpio-controller; 298 #gpio-cells = <2>; 182 #gpio-cells = <2>; 299 }; 183 }; 300 << 301 camera@3c { << 302 compatible = "ovti,ov5640"; << 303 reg = <0x3c>; << 304 pinctrl-names = "default"; << 305 pinctrl-0 = <&pinctrl_camera>; << 306 clocks = <&clk IMX8MN_CLK_CLKO << 307 clock-names = "xclk"; << 308 assigned-clocks = <&clk IMX8MN << 309 assigned-clock-parents = <&clk << 310 assigned-clock-rates = <240000 << 311 powerdown-gpios = <&gpio1 7 GP << 312 reset-gpios = <&gpio1 6 GPIO_A << 313 AVDD-supply = <®_1v8>; << 314 DVDD-supply = <®_1v5>; << 315 << 316 port { << 317 ov5640_to_mipi_csi2: e << 318 remote-endpoin << 319 clock-lanes = << 320 data-lanes = < << 321 }; << 322 }; << 323 }; << 324 }; << 325 << 326 &isi { << 327 status = "okay"; << 328 }; << 329 << 330 &micfil { << 331 #sound-dai-cells = <0>; << 332 pinctrl-names = "default"; << 333 pinctrl-0 = <&pinctrl_pdm>; << 334 assigned-clocks = <&clk IMX8MN_CLK_PDM << 335 assigned-clock-parents = <&clk IMX8MN_ << 336 assigned-clock-rates = <196608000>; << 337 status = "okay"; << 338 }; << 339 << 340 &mipi_csi { << 341 status = "okay"; << 342 << 343 ports { << 344 port@0 { << 345 imx8mn_mipi_csi_in: en << 346 remote-endpoin << 347 data-lanes = < << 348 }; << 349 }; << 350 }; << 351 }; << 352 << 353 &lcdif { << 354 status = "okay"; << 355 }; << 356 << 357 &mipi_dsi { << 358 samsung,esc-clock-frequency = <1000000 << 359 status = "okay"; << 360 << 361 ports { << 362 port@1 { << 363 reg = <1>; << 364 << 365 dsi_out: endpoint { << 366 remote-endpoin << 367 data-lanes = < << 368 }; << 369 }; << 370 }; << 371 }; << 372 << 373 &sai2 { << 374 #sound-dai-cells = <0>; << 375 pinctrl-names = "default"; << 376 pinctrl-0 = <&pinctrl_sai2>; << 377 assigned-clocks = <&clk IMX8MN_CLK_SAI << 378 assigned-clock-parents = <&clk IMX8MN_ << 379 assigned-clock-rates = <24576000>; << 380 status = "okay"; << 381 }; 184 }; 382 185 383 &sai3 { 186 &sai3 { 384 pinctrl-names = "default"; 187 pinctrl-names = "default"; 385 pinctrl-0 = <&pinctrl_sai3>; 188 pinctrl-0 = <&pinctrl_sai3>; 386 assigned-clocks = <&clk IMX8MN_CLK_SAI 189 assigned-clocks = <&clk IMX8MN_CLK_SAI3>; 387 assigned-clock-parents = <&clk IMX8MN_ 190 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>; 388 assigned-clock-rates = <24576000>; 191 assigned-clock-rates = <24576000>; 389 fsl,sai-mclk-direction-output; 192 fsl,sai-mclk-direction-output; 390 status = "okay"; 193 status = "okay"; 391 }; 194 }; 392 195 393 &snvs_pwrkey { 196 &snvs_pwrkey { 394 status = "okay"; 197 status = "okay"; 395 }; 198 }; 396 199 397 &spdif1 { 200 &spdif1 { 398 pinctrl-names = "default"; 201 pinctrl-names = "default"; 399 pinctrl-0 = <&pinctrl_spdif1>; 202 pinctrl-0 = <&pinctrl_spdif1>; 400 assigned-clocks = <&clk IMX8MN_CLK_SPD 203 assigned-clocks = <&clk IMX8MN_CLK_SPDIF1>; 401 assigned-clock-parents = <&clk IMX8MN_ 204 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>; 402 assigned-clock-rates = <24576000>; 205 assigned-clock-rates = <24576000>; 403 status = "okay"; 206 status = "okay"; 404 }; 207 }; 405 208 406 &uart1 { /* BT */ << 407 pinctrl-names = "default"; << 408 pinctrl-0 = <&pinctrl_uart1>; << 409 assigned-clocks = <&clk IMX8MN_CLK_UAR << 410 assigned-clock-parents = <&clk IMX8MN_ << 411 uart-has-rtscts; << 412 status = "okay"; << 413 }; << 414 << 415 &uart2 { /* console */ 209 &uart2 { /* console */ 416 pinctrl-names = "default"; 210 pinctrl-names = "default"; 417 pinctrl-0 = <&pinctrl_uart2>; 211 pinctrl-0 = <&pinctrl_uart2>; 418 status = "okay"; 212 status = "okay"; 419 }; 213 }; 420 214 421 &uart3 { 215 &uart3 { 422 pinctrl-names = "default"; 216 pinctrl-names = "default"; 423 pinctrl-0 = <&pinctrl_uart3>; 217 pinctrl-0 = <&pinctrl_uart3>; 424 assigned-clocks = <&clk IMX8MN_CLK_UAR 218 assigned-clocks = <&clk IMX8MN_CLK_UART3>; 425 assigned-clock-parents = <&clk IMX8MN_ 219 assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_80M>; 426 uart-has-rtscts; 220 uart-has-rtscts; 427 status = "okay"; 221 status = "okay"; 428 }; 222 }; 429 223 430 &usbphynop1 { << 431 wakeup-source; << 432 }; << 433 << 434 &usbotg1 { 224 &usbotg1 { 435 dr_mode = "otg"; 225 dr_mode = "otg"; 436 hnp-disable; 226 hnp-disable; 437 srp-disable; 227 srp-disable; 438 adp-disable; 228 adp-disable; 439 usb-role-switch; 229 usb-role-switch; 440 disable-over-current; 230 disable-over-current; 441 samsung,picophy-pre-emp-curr-control = 231 samsung,picophy-pre-emp-curr-control = <3>; 442 samsung,picophy-dc-vol-level-adjust = 232 samsung,picophy-dc-vol-level-adjust = <7>; 443 status = "okay"; 233 status = "okay"; 444 234 445 port { 235 port { 446 usb1_drd_sw: endpoint { 236 usb1_drd_sw: endpoint { 447 remote-endpoint = <&ty 237 remote-endpoint = <&typec1_dr_sw>; 448 }; 238 }; 449 }; 239 }; 450 }; 240 }; 451 241 452 &usdhc2 { 242 &usdhc2 { 453 assigned-clocks = <&clk IMX8MN_CLK_USD 243 assigned-clocks = <&clk IMX8MN_CLK_USDHC2>; 454 assigned-clock-rates = <200000000>; 244 assigned-clock-rates = <200000000>; 455 pinctrl-names = "default", "state_100m 245 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 456 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct 246 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 457 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, 247 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 458 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, 248 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 459 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW> 249 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 460 bus-width = <4>; 250 bus-width = <4>; 461 vmmc-supply = <®_usdhc2_vmmc>; 251 vmmc-supply = <®_usdhc2_vmmc>; 462 status = "okay"; 252 status = "okay"; 463 }; 253 }; 464 254 465 &usdhc3 { 255 &usdhc3 { 466 assigned-clocks = <&clk IMX8MN_CLK_USD 256 assigned-clocks = <&clk IMX8MN_CLK_USDHC3_ROOT>; 467 assigned-clock-rates = <400000000>; 257 assigned-clock-rates = <400000000>; 468 pinctrl-names = "default", "state_100m 258 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 469 pinctrl-0 = <&pinctrl_usdhc3>; 259 pinctrl-0 = <&pinctrl_usdhc3>; 470 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 260 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 471 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 261 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 472 bus-width = <8>; 262 bus-width = <8>; 473 non-removable; 263 non-removable; 474 status = "okay"; 264 status = "okay"; 475 }; 265 }; 476 266 477 &wdog1 { 267 &wdog1 { 478 pinctrl-names = "default"; 268 pinctrl-names = "default"; 479 pinctrl-0 = <&pinctrl_wdog>; 269 pinctrl-0 = <&pinctrl_wdog>; 480 fsl,ext-reset-output; 270 fsl,ext-reset-output; 481 status = "okay"; 271 status = "okay"; 482 }; 272 }; 483 273 484 &iomuxc { 274 &iomuxc { 485 pinctrl_camera: cameragrp { << 486 fsl,pins = < << 487 MX8MN_IOMUXC_GPIO1_IO0 << 488 MX8MN_IOMUXC_GPIO1_IO0 << 489 MX8MN_IOMUXC_GPIO1_IO1 << 490 >; << 491 }; << 492 << 493 pinctrl_fec1: fec1grp { 275 pinctrl_fec1: fec1grp { 494 fsl,pins = < 276 fsl,pins = < 495 MX8MN_IOMUXC_ENET_MDC_ 277 MX8MN_IOMUXC_ENET_MDC_ENET1_MDC 0x3 496 MX8MN_IOMUXC_ENET_MDIO 278 MX8MN_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 497 MX8MN_IOMUXC_ENET_TD3_ 279 MX8MN_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 498 MX8MN_IOMUXC_ENET_TD2_ 280 MX8MN_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 499 MX8MN_IOMUXC_ENET_TD1_ 281 MX8MN_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 500 MX8MN_IOMUXC_ENET_TD0_ 282 MX8MN_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 501 MX8MN_IOMUXC_ENET_RD3_ 283 MX8MN_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 502 MX8MN_IOMUXC_ENET_RD2_ 284 MX8MN_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 503 MX8MN_IOMUXC_ENET_RD1_ 285 MX8MN_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 504 MX8MN_IOMUXC_ENET_RD0_ 286 MX8MN_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 505 MX8MN_IOMUXC_ENET_TXC_ 287 MX8MN_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 506 MX8MN_IOMUXC_ENET_RXC_ 288 MX8MN_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 507 MX8MN_IOMUXC_ENET_RX_C 289 MX8MN_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 508 MX8MN_IOMUXC_ENET_TX_C 290 MX8MN_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 509 MX8MN_IOMUXC_SAI2_RXC_ 291 MX8MN_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19 510 >; 292 >; 511 }; 293 }; 512 294 513 pinctrl_flexspi: flexspigrp { 295 pinctrl_flexspi: flexspigrp { 514 fsl,pins = < 296 fsl,pins = < 515 MX8MN_IOMUXC_NAND_ALE_ 297 MX8MN_IOMUXC_NAND_ALE_QSPI_A_SCLK 0x1c2 516 MX8MN_IOMUXC_NAND_CE0_ 298 MX8MN_IOMUXC_NAND_CE0_B_QSPI_A_SS0_B 0x82 517 MX8MN_IOMUXC_NAND_DATA 299 MX8MN_IOMUXC_NAND_DATA00_QSPI_A_DATA0 0x82 518 MX8MN_IOMUXC_NAND_DATA 300 MX8MN_IOMUXC_NAND_DATA01_QSPI_A_DATA1 0x82 519 MX8MN_IOMUXC_NAND_DATA 301 MX8MN_IOMUXC_NAND_DATA02_QSPI_A_DATA2 0x82 520 MX8MN_IOMUXC_NAND_DATA 302 MX8MN_IOMUXC_NAND_DATA03_QSPI_A_DATA3 0x82 521 >; 303 >; 522 }; 304 }; 523 305 524 pinctrl_gpio_led: gpioledgrp { 306 pinctrl_gpio_led: gpioledgrp { 525 fsl,pins = < 307 fsl,pins = < 526 MX8MN_IOMUXC_NAND_READ 308 MX8MN_IOMUXC_NAND_READY_B_GPIO3_IO16 0x19 527 >; 309 >; 528 }; 310 }; 529 311 530 pinctrl_gpio_wlf: gpiowlfgrp { 312 pinctrl_gpio_wlf: gpiowlfgrp { 531 fsl,pins = < 313 fsl,pins = < 532 MX8MN_IOMUXC_I2C4_SDA_ 314 MX8MN_IOMUXC_I2C4_SDA_GPIO5_IO21 0xd6 533 >; 315 >; 534 }; 316 }; 535 317 536 pinctrl_ir: irgrp { 318 pinctrl_ir: irgrp { 537 fsl,pins = < 319 fsl,pins = < 538 MX8MN_IOMUXC_GPIO1_IO1 320 MX8MN_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x4f 539 >; 321 >; 540 }; 322 }; 541 323 542 pinctrl_i2c1: i2c1grp { 324 pinctrl_i2c1: i2c1grp { 543 fsl,pins = < 325 fsl,pins = < 544 MX8MN_IOMUXC_I2C1_SCL_ 326 MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 545 MX8MN_IOMUXC_I2C1_SDA_ 327 MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 546 >; 328 >; 547 }; 329 }; 548 330 549 pinctrl_i2c2: i2c2grp { 331 pinctrl_i2c2: i2c2grp { 550 fsl,pins = < 332 fsl,pins = < 551 MX8MN_IOMUXC_I2C2_SCL_ 333 MX8MN_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3 552 MX8MN_IOMUXC_I2C2_SDA_ 334 MX8MN_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 553 >; 335 >; 554 }; 336 }; 555 337 556 pinctrl_i2c2_gpio: i2c2gpiogrp { << 557 fsl,pins = < << 558 MX8MN_IOMUXC_I2C2_SCL_ << 559 MX8MN_IOMUXC_I2C2_SDA_ << 560 >; << 561 }; << 562 << 563 pinctrl_i2c3: i2c3grp { 338 pinctrl_i2c3: i2c3grp { 564 fsl,pins = < 339 fsl,pins = < 565 MX8MN_IOMUXC_I2C3_SCL_ 340 MX8MN_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3 566 MX8MN_IOMUXC_I2C3_SDA_ 341 MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 567 >; 342 >; 568 }; 343 }; 569 344 570 pinctrl_i2c3_gpio: i2c3gpiogrp { << 571 fsl,pins = < << 572 MX8MN_IOMUXC_I2C3_SCL_ << 573 MX8MN_IOMUXC_I2C3_SDA_ << 574 >; << 575 }; << 576 << 577 pinctrl_pdm: pdmgrp { << 578 fsl,pins = < << 579 MX8MN_IOMUXC_SAI5_MCLK << 580 MX8MN_IOMUXC_SAI5_RXC_ << 581 MX8MN_IOMUXC_SAI5_RXFS << 582 MX8MN_IOMUXC_SAI5_RXD0 << 583 MX8MN_IOMUXC_SAI5_RXD1 << 584 MX8MN_IOMUXC_SAI5_RXD2 << 585 MX8MN_IOMUXC_SAI5_RXD3 << 586 >; << 587 }; << 588 << 589 pinctrl_pmic: pmicirqgrp { 345 pinctrl_pmic: pmicirqgrp { 590 fsl,pins = < 346 fsl,pins = < 591 MX8MN_IOMUXC_GPIO1_IO0 347 MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x141 592 >; 348 >; 593 }; 349 }; 594 350 595 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc 351 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp { 596 fsl,pins = < 352 fsl,pins = < 597 MX8MN_IOMUXC_SD2_RESET 353 MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 598 >; 354 >; 599 }; 355 }; 600 356 601 pinctrl_sai2: sai2grp { << 602 fsl,pins = < << 603 MX8MN_IOMUXC_SAI2_TXC_ << 604 MX8MN_IOMUXC_SAI2_TXFS << 605 MX8MN_IOMUXC_SAI2_TXD0 << 606 MX8MN_IOMUXC_SAI2_RXD0 << 607 >; << 608 }; << 609 << 610 pinctrl_sai3: sai3grp { 357 pinctrl_sai3: sai3grp { 611 fsl,pins = < 358 fsl,pins = < 612 MX8MN_IOMUXC_SAI3_TXFS 359 MX8MN_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC 0xd6 613 MX8MN_IOMUXC_SAI3_TXC_ 360 MX8MN_IOMUXC_SAI3_TXC_SAI3_TX_BCLK 0xd6 614 MX8MN_IOMUXC_SAI3_MCLK 361 MX8MN_IOMUXC_SAI3_MCLK_SAI3_MCLK 0xd6 615 MX8MN_IOMUXC_SAI3_TXD_ 362 MX8MN_IOMUXC_SAI3_TXD_SAI3_TX_DATA0 0xd6 616 >; 363 >; 617 }; 364 }; 618 365 619 pinctrl_spdif1: spdif1grp { 366 pinctrl_spdif1: spdif1grp { 620 fsl,pins = < 367 fsl,pins = < 621 MX8MN_IOMUXC_SPDIF_TX_ 368 MX8MN_IOMUXC_SPDIF_TX_SPDIF1_OUT 0xd6 622 MX8MN_IOMUXC_SPDIF_RX_ 369 MX8MN_IOMUXC_SPDIF_RX_SPDIF1_IN 0xd6 623 >; 370 >; 624 }; 371 }; 625 372 626 pinctrl_typec1: typec1grp { 373 pinctrl_typec1: typec1grp { 627 fsl,pins = < 374 fsl,pins = < 628 MX8MN_IOMUXC_SD1_STROB 375 MX8MN_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159 629 >; << 630 }; << 631 << 632 pinctrl_uart1: uart1grp { << 633 fsl,pins = < << 634 MX8MN_IOMUXC_UART1_RXD << 635 MX8MN_IOMUXC_UART1_TXD << 636 MX8MN_IOMUXC_UART3_RXD << 637 MX8MN_IOMUXC_UART3_TXD << 638 >; 376 >; 639 }; 377 }; 640 378 641 pinctrl_uart2: uart2grp { 379 pinctrl_uart2: uart2grp { 642 fsl,pins = < 380 fsl,pins = < 643 MX8MN_IOMUXC_UART2_RXD 381 MX8MN_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 644 MX8MN_IOMUXC_UART2_TXD 382 MX8MN_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 645 >; 383 >; 646 }; 384 }; 647 385 648 pinctrl_uart3: uart3grp { 386 pinctrl_uart3: uart3grp { 649 fsl,pins = < 387 fsl,pins = < 650 MX8MN_IOMUXC_ECSPI1_SC 388 MX8MN_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX 0x140 651 MX8MN_IOMUXC_ECSPI1_MO 389 MX8MN_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX 0x140 652 MX8MN_IOMUXC_ECSPI1_SS 390 MX8MN_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x140 653 MX8MN_IOMUXC_ECSPI1_MI 391 MX8MN_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x140 654 >; 392 >; 655 }; 393 }; 656 394 657 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 395 pinctrl_usdhc2_gpio: usdhc2gpiogrp { 658 fsl,pins = < 396 fsl,pins = < 659 MX8MN_IOMUXC_GPIO1_IO1 397 MX8MN_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x1c4 660 >; 398 >; 661 }; 399 }; 662 400 663 pinctrl_usdhc2: usdhc2grp { 401 pinctrl_usdhc2: usdhc2grp { 664 fsl,pins = < 402 fsl,pins = < 665 MX8MN_IOMUXC_SD2_CLK_U 403 MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x190 666 MX8MN_IOMUXC_SD2_CMD_U 404 MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0 667 MX8MN_IOMUXC_SD2_DATA0 405 MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0 668 MX8MN_IOMUXC_SD2_DATA1 406 MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 669 MX8MN_IOMUXC_SD2_DATA2 407 MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 670 MX8MN_IOMUXC_SD2_DATA3 408 MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 671 MX8MN_IOMUXC_GPIO1_IO0 409 MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 672 >; 410 >; 673 }; 411 }; 674 412 675 pinctrl_usdhc2_100mhz: usdhc2-100mhzgr 413 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 676 fsl,pins = < 414 fsl,pins = < 677 MX8MN_IOMUXC_SD2_CLK_U 415 MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x194 678 MX8MN_IOMUXC_SD2_CMD_U 416 MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4 679 MX8MN_IOMUXC_SD2_DATA0 417 MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4 680 MX8MN_IOMUXC_SD2_DATA1 418 MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 681 MX8MN_IOMUXC_SD2_DATA2 419 MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 682 MX8MN_IOMUXC_SD2_DATA3 420 MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 683 MX8MN_IOMUXC_GPIO1_IO0 421 MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 684 >; 422 >; 685 }; 423 }; 686 424 687 pinctrl_usdhc2_200mhz: usdhc2-200mhzgr 425 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 688 fsl,pins = < 426 fsl,pins = < 689 MX8MN_IOMUXC_SD2_CLK_U 427 MX8MN_IOMUXC_SD2_CLK_USDHC2_CLK 0x196 690 MX8MN_IOMUXC_SD2_CMD_U 428 MX8MN_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6 691 MX8MN_IOMUXC_SD2_DATA0 429 MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6 692 MX8MN_IOMUXC_SD2_DATA1 430 MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 693 MX8MN_IOMUXC_SD2_DATA2 431 MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 694 MX8MN_IOMUXC_SD2_DATA3 432 MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 695 MX8MN_IOMUXC_GPIO1_IO0 433 MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 696 >; 434 >; 697 }; 435 }; 698 436 699 pinctrl_usdhc3: usdhc3grp { 437 pinctrl_usdhc3: usdhc3grp { 700 fsl,pins = < 438 fsl,pins = < 701 MX8MN_IOMUXC_NAND_WE_B 439 MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x40000190 702 MX8MN_IOMUXC_NAND_WP_B 440 MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0 703 MX8MN_IOMUXC_NAND_DATA 441 MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0 704 MX8MN_IOMUXC_NAND_DATA 442 MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0 705 MX8MN_IOMUXC_NAND_DATA 443 MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 706 MX8MN_IOMUXC_NAND_DATA 444 MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0 707 MX8MN_IOMUXC_NAND_RE_B 445 MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0 708 MX8MN_IOMUXC_NAND_CE2_ 446 MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0 709 MX8MN_IOMUXC_NAND_CE3_ 447 MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0 710 MX8MN_IOMUXC_NAND_CLE_ 448 MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0 711 MX8MN_IOMUXC_NAND_CE1_ 449 MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190 712 >; 450 >; 713 }; 451 }; 714 452 715 pinctrl_usdhc3_100mhz: usdhc3-100mhzgr 453 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 716 fsl,pins = < 454 fsl,pins = < 717 MX8MN_IOMUXC_NAND_WE_B 455 MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x40000194 718 MX8MN_IOMUXC_NAND_WP_B 456 MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4 719 MX8MN_IOMUXC_NAND_DATA 457 MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4 720 MX8MN_IOMUXC_NAND_DATA 458 MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4 721 MX8MN_IOMUXC_NAND_DATA 459 MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4 722 MX8MN_IOMUXC_NAND_DATA 460 MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4 723 MX8MN_IOMUXC_NAND_RE_B 461 MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4 724 MX8MN_IOMUXC_NAND_CE2_ 462 MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4 725 MX8MN_IOMUXC_NAND_CE3_ 463 MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4 726 MX8MN_IOMUXC_NAND_CLE_ 464 MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4 727 MX8MN_IOMUXC_NAND_CE1_ 465 MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194 728 >; 466 >; 729 }; 467 }; 730 468 731 pinctrl_usdhc3_200mhz: usdhc3-200mhzgr 469 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 732 fsl,pins = < 470 fsl,pins = < 733 MX8MN_IOMUXC_NAND_WE_B 471 MX8MN_IOMUXC_NAND_WE_B_USDHC3_CLK 0x40000196 734 MX8MN_IOMUXC_NAND_WP_B 472 MX8MN_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6 735 MX8MN_IOMUXC_NAND_DATA 473 MX8MN_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6 736 MX8MN_IOMUXC_NAND_DATA 474 MX8MN_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6 737 MX8MN_IOMUXC_NAND_DATA 475 MX8MN_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6 738 MX8MN_IOMUXC_NAND_DATA 476 MX8MN_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6 739 MX8MN_IOMUXC_NAND_RE_B 477 MX8MN_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6 740 MX8MN_IOMUXC_NAND_CE2_ 478 MX8MN_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6 741 MX8MN_IOMUXC_NAND_CE3_ 479 MX8MN_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6 742 MX8MN_IOMUXC_NAND_CLE_ 480 MX8MN_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6 743 MX8MN_IOMUXC_NAND_CE1_ 481 MX8MN_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196 744 >; 482 >; 745 }; 483 }; 746 484 747 pinctrl_wdog: wdoggrp { 485 pinctrl_wdog: wdoggrp { 748 fsl,pins = < 486 fsl,pins = < 749 MX8MN_IOMUXC_GPIO1_IO0 487 MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166 750 >; 488 >; 751 }; 489 }; 752 }; 490 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.