1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright 2022 Gateworks Corporation 3 * Copyright 2022 Gateworks Corporation 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes. 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 12 12 13 #include "imx8mm.dtsi" 13 #include "imx8mm.dtsi" 14 14 15 / { 15 / { 16 model = "Gateworks Venice GW7904 i.MX8 16 model = "Gateworks Venice GW7904 i.MX8MM board"; 17 compatible = "gateworks,imx8mm-gw7904" 17 compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm"; 18 18 19 chosen { 19 chosen { 20 stdout-path = &uart2; 20 stdout-path = &uart2; 21 }; 21 }; 22 22 23 memory@40000000 { 23 memory@40000000 { 24 device_type = "memory"; 24 device_type = "memory"; 25 reg = <0x0 0x40000000 0 0x8000 25 reg = <0x0 0x40000000 0 0x80000000>; 26 }; 26 }; 27 27 28 gpio-keys { 28 gpio-keys { 29 compatible = "gpio-keys"; 29 compatible = "gpio-keys"; 30 30 31 key-0 { 31 key-0 { 32 label = "user_pb"; 32 label = "user_pb"; 33 gpios = <&gpio 2 GPIO_ 33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>; 34 linux,code = <BTN_0>; 34 linux,code = <BTN_0>; 35 }; 35 }; 36 36 37 key-1 { 37 key-1 { 38 label = "user_pb1x"; 38 label = "user_pb1x"; 39 linux,code = <BTN_1>; 39 linux,code = <BTN_1>; 40 interrupt-parent = <&g 40 interrupt-parent = <&gsc>; 41 interrupts = <0>; 41 interrupts = <0>; 42 }; 42 }; 43 43 44 key-2 { 44 key-2 { 45 label = "key_erased"; 45 label = "key_erased"; 46 linux,code = <BTN_2>; 46 linux,code = <BTN_2>; 47 interrupt-parent = <&g 47 interrupt-parent = <&gsc>; 48 interrupts = <1>; 48 interrupts = <1>; 49 }; 49 }; 50 50 51 key-3 { 51 key-3 { 52 label = "eeprom_wp"; 52 label = "eeprom_wp"; 53 linux,code = <BTN_3>; 53 linux,code = <BTN_3>; 54 interrupt-parent = <&g 54 interrupt-parent = <&gsc>; 55 interrupts = <2>; 55 interrupts = <2>; 56 }; 56 }; 57 57 58 key-4 { 58 key-4 { 59 label = "switch_hold"; 59 label = "switch_hold"; 60 linux,code = <BTN_5>; 60 linux,code = <BTN_5>; 61 interrupt-parent = <&g 61 interrupt-parent = <&gsc>; 62 interrupts = <7>; 62 interrupts = <7>; 63 }; 63 }; 64 }; 64 }; 65 65 66 led-controller { 66 led-controller { 67 compatible = "gpio-leds"; 67 compatible = "gpio-leds"; 68 pinctrl-names = "default"; 68 pinctrl-names = "default"; 69 pinctrl-0 = <&pinctrl_gpio_led 69 pinctrl-0 = <&pinctrl_gpio_leds>; 70 70 71 led-0 { 71 led-0 { 72 function = LED_FUNCTIO 72 function = LED_FUNCTION_STATUS; 73 color = <LED_COLOR_ID_ 73 color = <LED_COLOR_ID_GREEN>; 74 label = "led01_grn"; 74 label = "led01_grn"; 75 gpios = <&gpioled 0 GP 75 gpios = <&gpioled 0 GPIO_ACTIVE_LOW>; 76 default-state = "off"; 76 default-state = "off"; 77 }; 77 }; 78 78 79 led-1 { 79 led-1 { 80 function = LED_FUNCTIO 80 function = LED_FUNCTION_STATUS; 81 color = <LED_COLOR_ID_ 81 color = <LED_COLOR_ID_YELLOW>; 82 label = "led01_yel"; 82 label = "led01_yel"; 83 gpios = <&gpioled 1 GP 83 gpios = <&gpioled 1 GPIO_ACTIVE_LOW>; 84 default-state = "off"; 84 default-state = "off"; 85 }; 85 }; 86 86 87 led-2 { 87 led-2 { 88 function = LED_FUNCTIO 88 function = LED_FUNCTION_STATUS; 89 color = <LED_COLOR_ID_ 89 color = <LED_COLOR_ID_GREEN>; 90 label = "led02_grn"; 90 label = "led02_grn"; 91 gpios = <&gpioled 2 GP 91 gpios = <&gpioled 2 GPIO_ACTIVE_LOW>; 92 default-state = "off"; 92 default-state = "off"; 93 }; 93 }; 94 94 95 led-3 { 95 led-3 { 96 function = LED_FUNCTIO 96 function = LED_FUNCTION_STATUS; 97 color = <LED_COLOR_ID_ 97 color = <LED_COLOR_ID_YELLOW>; 98 label = "led02_yel"; 98 label = "led02_yel"; 99 gpios = <&gpioled 3 GP 99 gpios = <&gpioled 3 GPIO_ACTIVE_LOW>; 100 default-state = "off"; 100 default-state = "off"; 101 }; 101 }; 102 102 103 led-4 { 103 led-4 { 104 function = LED_FUNCTIO 104 function = LED_FUNCTION_STATUS; 105 color = <LED_COLOR_ID_ 105 color = <LED_COLOR_ID_GREEN>; 106 label = "led03_grn"; 106 label = "led03_grn"; 107 gpios = <&gpioled 4 GP 107 gpios = <&gpioled 4 GPIO_ACTIVE_LOW>; 108 default-state = "off"; 108 default-state = "off"; 109 }; 109 }; 110 110 111 led-5 { 111 led-5 { 112 function = LED_FUNCTIO 112 function = LED_FUNCTION_STATUS; 113 color = <LED_COLOR_ID_ 113 color = <LED_COLOR_ID_YELLOW>; 114 label = "led03_yel"; 114 label = "led03_yel"; 115 gpios = <&gpioled 5 GP 115 gpios = <&gpioled 5 GPIO_ACTIVE_LOW>; 116 default-state = "off"; 116 default-state = "off"; 117 }; 117 }; 118 118 119 led-6 { 119 led-6 { 120 function = LED_FUNCTIO 120 function = LED_FUNCTION_STATUS; 121 color = <LED_COLOR_ID_ 121 color = <LED_COLOR_ID_GREEN>; 122 label = "led04_grn"; 122 label = "led04_grn"; 123 gpios = <&gpioled 6 GP 123 gpios = <&gpioled 6 GPIO_ACTIVE_LOW>; 124 default-state = "off"; 124 default-state = "off"; 125 }; 125 }; 126 126 127 led-7 { 127 led-7 { 128 function = LED_FUNCTIO 128 function = LED_FUNCTION_STATUS; 129 color = <LED_COLOR_ID_ 129 color = <LED_COLOR_ID_YELLOW>; 130 label = "led04_yel"; 130 label = "led04_yel"; 131 gpios = <&gpioled 7 GP 131 gpios = <&gpioled 7 GPIO_ACTIVE_LOW>; 132 default-state = "off"; 132 default-state = "off"; 133 }; 133 }; 134 134 135 led-8 { 135 led-8 { 136 function = LED_FUNCTIO 136 function = LED_FUNCTION_STATUS; 137 color = <LED_COLOR_ID_ 137 color = <LED_COLOR_ID_GREEN>; 138 label = "led05_grn"; 138 label = "led05_grn"; 139 gpios = <&gpioled 8 GP 139 gpios = <&gpioled 8 GPIO_ACTIVE_LOW>; 140 default-state = "off"; 140 default-state = "off"; 141 }; 141 }; 142 142 143 led-9 { 143 led-9 { 144 function = LED_FUNCTIO 144 function = LED_FUNCTION_STATUS; 145 color = <LED_COLOR_ID_ 145 color = <LED_COLOR_ID_YELLOW>; 146 label = "led05_yel"; 146 label = "led05_yel"; 147 gpios = <&gpioled 9 GP 147 gpios = <&gpioled 9 GPIO_ACTIVE_LOW>; 148 default-state = "off"; 148 default-state = "off"; 149 }; 149 }; 150 150 151 led-10 { 151 led-10 { 152 function = LED_FUNCTIO 152 function = LED_FUNCTION_STATUS; 153 color = <LED_COLOR_ID_ 153 color = <LED_COLOR_ID_GREEN>; 154 label = "led06_grn"; 154 label = "led06_grn"; 155 gpios = <&gpio1 8 GPIO 155 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; 156 default-state = "off"; 156 default-state = "off"; 157 }; 157 }; 158 158 159 led-11 { 159 led-11 { 160 function = LED_FUNCTIO 160 function = LED_FUNCTION_STATUS; 161 color = <LED_COLOR_ID_ 161 color = <LED_COLOR_ID_RED>; 162 label = "led06_red"; 162 label = "led06_red"; 163 gpios = <&gpio1 9 GPIO 163 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 164 default-state = "off"; 164 default-state = "off"; 165 }; 165 }; 166 166 167 led-12 { 167 led-12 { 168 function = LED_FUNCTIO 168 function = LED_FUNCTION_STATUS; 169 color = <LED_COLOR_ID_ 169 color = <LED_COLOR_ID_GREEN>; 170 label = "led07_grn"; 170 label = "led07_grn"; 171 gpios = <&gpio1 10 GPI 171 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; 172 default-state = "off"; 172 default-state = "off"; 173 }; 173 }; 174 174 175 led-13 { 175 led-13 { 176 function = LED_FUNCTIO 176 function = LED_FUNCTION_STATUS; 177 color = <LED_COLOR_ID_ 177 color = <LED_COLOR_ID_RED>; 178 label = "led07_red"; 178 label = "led07_red"; 179 gpios = <&gpio1 11 GPI 179 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 180 default-state = "off"; 180 default-state = "off"; 181 }; 181 }; 182 182 183 led-14 { 183 led-14 { 184 function = LED_FUNCTIO 184 function = LED_FUNCTION_STATUS; 185 color = <LED_COLOR_ID_ 185 color = <LED_COLOR_ID_GREEN>; 186 label = "led08_grn"; 186 label = "led08_grn"; 187 gpios = <&gpioled 10 G 187 gpios = <&gpioled 10 GPIO_ACTIVE_LOW>; 188 default-state = "off"; 188 default-state = "off"; 189 }; 189 }; 190 190 191 led-15 { 191 led-15 { 192 function = LED_FUNCTIO 192 function = LED_FUNCTION_STATUS; 193 color = <LED_COLOR_ID_ 193 color = <LED_COLOR_ID_YELLOW>; 194 label = "led08_yel"; 194 label = "led08_yel"; 195 gpios = <&gpioled 11 G 195 gpios = <&gpioled 11 GPIO_ACTIVE_LOW>; 196 default-state = "off"; 196 default-state = "off"; 197 }; 197 }; 198 198 199 led-16 { 199 led-16 { 200 function = LED_FUNCTIO 200 function = LED_FUNCTION_STATUS; 201 color = <LED_COLOR_ID_ 201 color = <LED_COLOR_ID_GREEN>; 202 label = "led09_grn"; 202 label = "led09_grn"; 203 gpios = <&gpioled 12 G 203 gpios = <&gpioled 12 GPIO_ACTIVE_LOW>; 204 default-state = "off"; 204 default-state = "off"; 205 }; 205 }; 206 206 207 led-17 { 207 led-17 { 208 function = LED_FUNCTIO 208 function = LED_FUNCTION_STATUS; 209 color = <LED_COLOR_ID_ 209 color = <LED_COLOR_ID_YELLOW>; 210 label = "led09_yel"; 210 label = "led09_yel"; 211 gpios = <&gpioled 13 G 211 gpios = <&gpioled 13 GPIO_ACTIVE_LOW>; 212 default-state = "off"; 212 default-state = "off"; 213 }; 213 }; 214 214 215 led-18 { 215 led-18 { 216 function = LED_FUNCTIO 216 function = LED_FUNCTION_STATUS; 217 color = <LED_COLOR_ID_ 217 color = <LED_COLOR_ID_GREEN>; 218 label = "led10_grn"; 218 label = "led10_grn"; 219 gpios = <&gpioled 14 G 219 gpios = <&gpioled 14 GPIO_ACTIVE_LOW>; 220 default-state = "off"; 220 default-state = "off"; 221 }; 221 }; 222 222 223 led-19 { 223 led-19 { 224 function = LED_FUNCTIO 224 function = LED_FUNCTION_STATUS; 225 color = <LED_COLOR_ID_ 225 color = <LED_COLOR_ID_YELLOW>; 226 label = "led10_yel"; 226 label = "led10_yel"; 227 gpios = <&gpioled 15 G 227 gpios = <&gpioled 15 GPIO_ACTIVE_LOW>; 228 default-state = "off"; 228 default-state = "off"; 229 }; 229 }; 230 }; 230 }; 231 231 232 pcie0_refclk: pcie0-refclk { 232 pcie0_refclk: pcie0-refclk { 233 compatible = "fixed-clock"; 233 compatible = "fixed-clock"; 234 #clock-cells = <0>; 234 #clock-cells = <0>; 235 clock-frequency = <100000000>; 235 clock-frequency = <100000000>; 236 }; 236 }; 237 237 238 reg_3p3v: regulator-3p3v { 238 reg_3p3v: regulator-3p3v { 239 compatible = "regulator-fixed" 239 compatible = "regulator-fixed"; 240 regulator-name = "3P3V"; 240 regulator-name = "3P3V"; 241 regulator-min-microvolt = <330 241 regulator-min-microvolt = <3300000>; 242 regulator-max-microvolt = <330 242 regulator-max-microvolt = <3300000>; 243 regulator-always-on; 243 regulator-always-on; 244 }; 244 }; 245 }; 245 }; 246 246 247 &A53_0 { 247 &A53_0 { 248 cpu-supply = <&buck2>; 248 cpu-supply = <&buck2>; 249 }; 249 }; 250 250 251 &A53_1 { 251 &A53_1 { 252 cpu-supply = <&buck2>; 252 cpu-supply = <&buck2>; 253 }; 253 }; 254 254 255 &A53_2 { 255 &A53_2 { 256 cpu-supply = <&buck2>; 256 cpu-supply = <&buck2>; 257 }; 257 }; 258 258 259 &A53_3 { 259 &A53_3 { 260 cpu-supply = <&buck2>; 260 cpu-supply = <&buck2>; 261 }; 261 }; 262 262 263 &ddrc { 263 &ddrc { 264 operating-points-v2 = <&ddrc_opp_table 264 operating-points-v2 = <&ddrc_opp_table>; 265 265 266 ddrc_opp_table: opp-table { 266 ddrc_opp_table: opp-table { 267 compatible = "operating-points 267 compatible = "operating-points-v2"; 268 268 269 opp-25000000 { 269 opp-25000000 { 270 opp-hz = /bits/ 64 <25 270 opp-hz = /bits/ 64 <25000000>; 271 }; 271 }; 272 272 273 opp-100000000 { 273 opp-100000000 { 274 opp-hz = /bits/ 64 <10 274 opp-hz = /bits/ 64 <100000000>; 275 }; 275 }; 276 276 277 opp-750000000 { 277 opp-750000000 { 278 opp-hz = /bits/ 64 <75 278 opp-hz = /bits/ 64 <750000000>; 279 }; 279 }; 280 }; 280 }; 281 }; 281 }; 282 282 283 &fec1 { 283 &fec1 { 284 pinctrl-names = "default"; 284 pinctrl-names = "default"; 285 pinctrl-0 = <&pinctrl_fec1>; 285 pinctrl-0 = <&pinctrl_fec1>; 286 phy-mode = "rgmii-id"; 286 phy-mode = "rgmii-id"; 287 phy-handle = <ðphy0>; 287 phy-handle = <ðphy0>; 288 local-mac-address = [00 00 00 00 00 00 288 local-mac-address = [00 00 00 00 00 00]; 289 status = "okay"; 289 status = "okay"; 290 290 291 mdio { 291 mdio { 292 #address-cells = <1>; 292 #address-cells = <1>; 293 #size-cells = <0>; 293 #size-cells = <0>; 294 294 295 ethphy0: ethernet-phy@0 { 295 ethphy0: ethernet-phy@0 { 296 compatible = "ethernet 296 compatible = "ethernet-phy-ieee802.3-c22"; 297 reg = <0>; 297 reg = <0>; 298 }; 298 }; 299 }; 299 }; 300 }; 300 }; 301 301 302 &gpio1 { 302 &gpio1 { 303 gpio-line-names = "", "", "", "", "", 303 gpio-line-names = "", "", "", "", "", "", "", "", 304 "", "", "", "", "rs232_en#", " 304 "", "", "", "", "rs232_en#", "", "", "", 305 "", "", "", "", "", "", "", "" 305 "", "", "", "", "", "", "", "", 306 "", "", "", "", "", "", "", "" 306 "", "", "", "", "", "", "", ""; 307 }; 307 }; 308 308 309 &gpio5 { 309 &gpio5 { 310 gpio-line-names = "", "", "", "", "", 310 gpio-line-names = "", "", "", "", "", "", "", "", 311 "", "", "", "", "pci_wdis#", " 311 "", "", "", "", "pci_wdis#", "", "", "", 312 "", "", "", "", "", "", "", "" 312 "", "", "", "", "", "", "", "", 313 "", "", "", "", "", "", "", "" 313 "", "", "", "", "", "", "", ""; 314 }; 314 }; 315 315 316 &i2c1 { 316 &i2c1 { 317 clock-frequency = <100000>; 317 clock-frequency = <100000>; 318 pinctrl-names = "default", "gpio"; 318 pinctrl-names = "default", "gpio"; 319 pinctrl-0 = <&pinctrl_i2c1>; 319 pinctrl-0 = <&pinctrl_i2c1>; 320 pinctrl-1 = <&pinctrl_i2c1_gpio>; 320 pinctrl-1 = <&pinctrl_i2c1_gpio>; 321 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HI 321 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 322 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HI 322 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 323 status = "okay"; 323 status = "okay"; 324 324 325 gsc: gsc@20 { 325 gsc: gsc@20 { 326 compatible = "gw,gsc"; 326 compatible = "gw,gsc"; 327 reg = <0x20>; 327 reg = <0x20>; 328 pinctrl-0 = <&pinctrl_gsc>; 328 pinctrl-0 = <&pinctrl_gsc>; 329 interrupt-parent = <&gpio4>; 329 interrupt-parent = <&gpio4>; 330 interrupts = <26 IRQ_TYPE_EDGE 330 interrupts = <26 IRQ_TYPE_EDGE_FALLING>; 331 interrupt-controller; 331 interrupt-controller; 332 #interrupt-cells = <1>; 332 #interrupt-cells = <1>; 333 #address-cells = <1>; << 334 #size-cells = <0>; << 335 333 336 adc { 334 adc { 337 compatible = "gw,gsc-a 335 compatible = "gw,gsc-adc"; 338 #address-cells = <1>; 336 #address-cells = <1>; 339 #size-cells = <0>; 337 #size-cells = <0>; 340 338 341 channel@6 { 339 channel@6 { 342 gw,mode = <0>; 340 gw,mode = <0>; 343 reg = <0x06>; 341 reg = <0x06>; 344 label = "temp" 342 label = "temp"; 345 }; 343 }; 346 344 347 channel@82 { 345 channel@82 { 348 gw,mode = <2>; 346 gw,mode = <2>; 349 reg = <0x82>; 347 reg = <0x82>; 350 label = "vin"; 348 label = "vin"; 351 gw,voltage-div 349 gw,voltage-divider-ohms = <22100 1000>; 352 gw,voltage-off 350 gw,voltage-offset-microvolt = <700000>; 353 }; 351 }; 354 352 355 channel@84 { 353 channel@84 { 356 gw,mode = <2>; 354 gw,mode = <2>; 357 reg = <0x84>; 355 reg = <0x84>; 358 label = "vdd_5 356 label = "vdd_5p0"; 359 gw,voltage-div 357 gw,voltage-divider-ohms = <10000 10000>; 360 }; 358 }; 361 359 362 channel@86 { 360 channel@86 { 363 gw,mode = <2>; 361 gw,mode = <2>; 364 reg = <0x86>; 362 reg = <0x86>; 365 label = "vdd_3 363 label = "vdd_3p3"; 366 gw,voltage-div 364 gw,voltage-divider-ohms = <10000 10000>; 367 }; 365 }; 368 366 369 channel@88 { 367 channel@88 { 370 gw,mode = <2>; 368 gw,mode = <2>; 371 reg = <0x88>; 369 reg = <0x88>; 372 label = "vdd_0 370 label = "vdd_0p9"; 373 }; 371 }; 374 372 375 channel@8c { 373 channel@8c { 376 gw,mode = <2>; 374 gw,mode = <2>; 377 reg = <0x8c>; 375 reg = <0x8c>; 378 label = "vdd_s 376 label = "vdd_soc"; 379 }; 377 }; 380 378 381 channel@8e { 379 channel@8e { 382 gw,mode = <2>; 380 gw,mode = <2>; 383 reg = <0x8e>; 381 reg = <0x8e>; 384 label = "vdd_a 382 label = "vdd_arm"; 385 }; 383 }; 386 384 387 channel@90 { 385 channel@90 { 388 gw,mode = <2>; 386 gw,mode = <2>; 389 reg = <0x90>; 387 reg = <0x90>; 390 label = "vdd_1 388 label = "vdd_1p8"; 391 }; 389 }; 392 390 393 channel@92 { 391 channel@92 { 394 gw,mode = <2>; 392 gw,mode = <2>; 395 reg = <0x92>; 393 reg = <0x92>; 396 label = "vdd_d 394 label = "vdd_dram"; 397 }; 395 }; 398 396 399 channel@a2 { 397 channel@a2 { 400 gw,mode = <2>; 398 gw,mode = <2>; 401 reg = <0xa2>; 399 reg = <0xa2>; 402 label = "vdd_g 400 label = "vdd_gsc"; 403 gw,voltage-div 401 gw,voltage-divider-ohms = <10000 10000>; 404 }; 402 }; 405 }; 403 }; 406 }; 404 }; 407 405 408 gpio: gpio@23 { 406 gpio: gpio@23 { 409 compatible = "nxp,pca9555"; 407 compatible = "nxp,pca9555"; 410 reg = <0x23>; 408 reg = <0x23>; 411 gpio-controller; 409 gpio-controller; 412 #gpio-cells = <2>; 410 #gpio-cells = <2>; 413 interrupt-parent = <&gsc>; 411 interrupt-parent = <&gsc>; 414 interrupts = <4>; 412 interrupts = <4>; 415 }; 413 }; 416 414 417 eeprom@50 { 415 eeprom@50 { 418 compatible = "atmel,24c02"; 416 compatible = "atmel,24c02"; 419 reg = <0x50>; 417 reg = <0x50>; 420 pagesize = <16>; 418 pagesize = <16>; 421 }; 419 }; 422 420 423 eeprom@51 { 421 eeprom@51 { 424 compatible = "atmel,24c02"; 422 compatible = "atmel,24c02"; 425 reg = <0x51>; 423 reg = <0x51>; 426 pagesize = <16>; 424 pagesize = <16>; 427 }; 425 }; 428 426 429 eeprom@52 { 427 eeprom@52 { 430 compatible = "atmel,24c02"; 428 compatible = "atmel,24c02"; 431 reg = <0x52>; 429 reg = <0x52>; 432 pagesize = <16>; 430 pagesize = <16>; 433 }; 431 }; 434 432 435 eeprom@53 { 433 eeprom@53 { 436 compatible = "atmel,24c02"; 434 compatible = "atmel,24c02"; 437 reg = <0x53>; 435 reg = <0x53>; 438 pagesize = <16>; 436 pagesize = <16>; 439 }; 437 }; 440 438 441 rtc@68 { 439 rtc@68 { 442 compatible = "dallas,ds1672"; 440 compatible = "dallas,ds1672"; 443 reg = <0x68>; 441 reg = <0x68>; 444 }; 442 }; 445 }; 443 }; 446 444 447 &i2c2 { 445 &i2c2 { 448 clock-frequency = <400000>; 446 clock-frequency = <400000>; 449 pinctrl-names = "default", "gpio"; 447 pinctrl-names = "default", "gpio"; 450 pinctrl-0 = <&pinctrl_i2c2>; 448 pinctrl-0 = <&pinctrl_i2c2>; 451 pinctrl-1 = <&pinctrl_i2c2_gpio>; 449 pinctrl-1 = <&pinctrl_i2c2_gpio>; 452 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HI 450 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 453 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HI 451 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 454 status = "okay"; 452 status = "okay"; 455 453 456 pmic@4b { 454 pmic@4b { 457 compatible = "rohm,bd71847"; 455 compatible = "rohm,bd71847"; 458 reg = <0x4b>; 456 reg = <0x4b>; 459 pinctrl-names = "default"; 457 pinctrl-names = "default"; 460 pinctrl-0 = <&pinctrl_pmic>; 458 pinctrl-0 = <&pinctrl_pmic>; 461 interrupt-parent = <&gpio3>; 459 interrupt-parent = <&gpio3>; 462 interrupts = <8 IRQ_TYPE_LEVEL 460 interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 463 rohm,reset-snvs-powered; 461 rohm,reset-snvs-powered; 464 #clock-cells = <0>; 462 #clock-cells = <0>; 465 clocks = <&osc_32k>; !! 463 clocks = <&osc_32k 0>; 466 clock-output-names = "clk-32k- 464 clock-output-names = "clk-32k-out"; 467 465 468 regulators { 466 regulators { 469 /* vdd_soc: 0.805-0.90 467 /* vdd_soc: 0.805-0.900V (typ=0.8V) */ 470 BUCK1 { 468 BUCK1 { 471 regulator-name 469 regulator-name = "buck1"; 472 regulator-min- 470 regulator-min-microvolt = <700000>; 473 regulator-max- 471 regulator-max-microvolt = <1300000>; 474 regulator-boot 472 regulator-boot-on; 475 regulator-alwa 473 regulator-always-on; 476 regulator-ramp 474 regulator-ramp-delay = <1250>; 477 }; 475 }; 478 476 479 /* vdd_arm: 0.805-1.0V 477 /* vdd_arm: 0.805-1.0V (typ=0.9V) */ 480 buck2: BUCK2 { 478 buck2: BUCK2 { 481 regulator-name 479 regulator-name = "buck2"; 482 regulator-min- 480 regulator-min-microvolt = <700000>; 483 regulator-max- 481 regulator-max-microvolt = <1300000>; 484 regulator-boot 482 regulator-boot-on; 485 regulator-alwa 483 regulator-always-on; 486 regulator-ramp 484 regulator-ramp-delay = <1250>; 487 rohm,dvs-run-v 485 rohm,dvs-run-voltage = <1000000>; 488 rohm,dvs-idle- 486 rohm,dvs-idle-voltage = <900000>; 489 }; 487 }; 490 488 491 /* vdd_0p9: 0.805-1.0V 489 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */ 492 BUCK3 { 490 BUCK3 { 493 regulator-name 491 regulator-name = "buck3"; 494 regulator-min- 492 regulator-min-microvolt = <700000>; 495 regulator-max- 493 regulator-max-microvolt = <1350000>; 496 regulator-boot 494 regulator-boot-on; 497 regulator-alwa 495 regulator-always-on; 498 }; 496 }; 499 497 500 /* vdd_3p3 */ 498 /* vdd_3p3 */ 501 BUCK4 { 499 BUCK4 { 502 regulator-name 500 regulator-name = "buck4"; 503 regulator-min- 501 regulator-min-microvolt = <3000000>; 504 regulator-max- 502 regulator-max-microvolt = <3300000>; 505 regulator-boot 503 regulator-boot-on; 506 regulator-alwa 504 regulator-always-on; 507 }; 505 }; 508 506 509 /* vdd_1p8 */ 507 /* vdd_1p8 */ 510 BUCK5 { 508 BUCK5 { 511 regulator-name 509 regulator-name = "buck5"; 512 regulator-min- 510 regulator-min-microvolt = <1605000>; 513 regulator-max- 511 regulator-max-microvolt = <1995000>; 514 regulator-boot 512 regulator-boot-on; 515 regulator-alwa 513 regulator-always-on; 516 }; 514 }; 517 515 518 /* vdd_dram */ 516 /* vdd_dram */ 519 BUCK6 { 517 BUCK6 { 520 regulator-name 518 regulator-name = "buck6"; 521 regulator-min- 519 regulator-min-microvolt = <800000>; 522 regulator-max- 520 regulator-max-microvolt = <1400000>; 523 regulator-boot 521 regulator-boot-on; 524 regulator-alwa 522 regulator-always-on; 525 }; 523 }; 526 524 527 /* nvcc_snvs_1p8 */ 525 /* nvcc_snvs_1p8 */ 528 LDO1 { 526 LDO1 { 529 regulator-name 527 regulator-name = "ldo1"; 530 regulator-min- 528 regulator-min-microvolt = <1600000>; 531 regulator-max- 529 regulator-max-microvolt = <1900000>; 532 regulator-boot 530 regulator-boot-on; 533 regulator-alwa 531 regulator-always-on; 534 }; 532 }; 535 533 536 /* vdd_snvs_0p8 */ 534 /* vdd_snvs_0p8 */ 537 LDO2 { 535 LDO2 { 538 regulator-name 536 regulator-name = "ldo2"; 539 regulator-min- 537 regulator-min-microvolt = <800000>; 540 regulator-max- 538 regulator-max-microvolt = <900000>; 541 regulator-boot 539 regulator-boot-on; 542 regulator-alwa 540 regulator-always-on; 543 }; 541 }; 544 542 545 /* vdda_1p8 */ 543 /* vdda_1p8 */ 546 LDO3 { 544 LDO3 { 547 regulator-name 545 regulator-name = "ldo3"; 548 regulator-min- 546 regulator-min-microvolt = <1800000>; 549 regulator-max- 547 regulator-max-microvolt = <3300000>; 550 regulator-boot 548 regulator-boot-on; 551 regulator-alwa 549 regulator-always-on; 552 }; 550 }; 553 551 554 LDO4 { 552 LDO4 { 555 regulator-name 553 regulator-name = "ldo4"; 556 regulator-min- 554 regulator-min-microvolt = <900000>; 557 regulator-max- 555 regulator-max-microvolt = <1800000>; 558 regulator-boot 556 regulator-boot-on; 559 regulator-alwa 557 regulator-always-on; 560 }; 558 }; 561 559 562 LDO6 { 560 LDO6 { 563 regulator-name 561 regulator-name = "ldo6"; 564 regulator-min- 562 regulator-min-microvolt = <900000>; 565 regulator-max- 563 regulator-max-microvolt = <1800000>; 566 regulator-boot 564 regulator-boot-on; 567 regulator-alwa 565 regulator-always-on; 568 }; 566 }; 569 }; 567 }; 570 }; 568 }; 571 }; 569 }; 572 570 573 &i2c3 { 571 &i2c3 { 574 clock-frequency = <400000>; 572 clock-frequency = <400000>; 575 pinctrl-names = "default", "gpio"; 573 pinctrl-names = "default", "gpio"; 576 pinctrl-0 = <&pinctrl_i2c3>; 574 pinctrl-0 = <&pinctrl_i2c3>; 577 pinctrl-1 = <&pinctrl_i2c3_gpio>; 575 pinctrl-1 = <&pinctrl_i2c3_gpio>; 578 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HI 576 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 579 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HI 577 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 580 status = "okay"; 578 status = "okay"; 581 579 582 accelerometer@19 { 580 accelerometer@19 { 583 pinctrl-names = "default"; 581 pinctrl-names = "default"; 584 pinctrl-0 = <&pinctrl_accel>; 582 pinctrl-0 = <&pinctrl_accel>; 585 compatible = "st,lis2de12"; 583 compatible = "st,lis2de12"; 586 reg = <0x19>; 584 reg = <0x19>; 587 st,drdy-int-pin = <1>; 585 st,drdy-int-pin = <1>; 588 interrupt-parent = <&gpio1>; 586 interrupt-parent = <&gpio1>; 589 interrupts = <15 IRQ_TYPE_LEVE 587 interrupts = <15 IRQ_TYPE_LEVEL_LOW>; >> 588 interrupt-names = "INT1"; 590 }; 589 }; 591 }; 590 }; 592 591 593 &i2c4 { 592 &i2c4 { 594 clock-frequency = <400000>; 593 clock-frequency = <400000>; 595 pinctrl-names = "default", "gpio"; 594 pinctrl-names = "default", "gpio"; 596 pinctrl-0 = <&pinctrl_i2c4>; 595 pinctrl-0 = <&pinctrl_i2c4>; 597 pinctrl-1 = <&pinctrl_i2c4_gpio>; 596 pinctrl-1 = <&pinctrl_i2c4_gpio>; 598 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HI 597 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 599 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HI 598 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 600 status = "okay"; 599 status = "okay"; 601 600 602 gpioled: gpio@27 { 601 gpioled: gpio@27 { 603 compatible = "nxp,pca9555"; 602 compatible = "nxp,pca9555"; 604 reg = <0x27>; 603 reg = <0x27>; 605 gpio-controller; 604 gpio-controller; 606 #gpio-cells = <2>; 605 #gpio-cells = <2>; 607 }; 606 }; 608 }; 607 }; 609 608 610 &pcie_phy { 609 &pcie_phy { 611 fsl,refclk-pad-mode = <IMX8_PCIE_REFCL 610 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>; 612 fsl,clkreq-unsupported; 611 fsl,clkreq-unsupported; 613 clocks = <&pcie0_refclk>; 612 clocks = <&pcie0_refclk>; 614 clock-names = "ref"; 613 clock-names = "ref"; 615 status = "okay"; 614 status = "okay"; 616 }; 615 }; 617 616 618 &pcie0 { 617 &pcie0 { 619 pinctrl-names = "default"; 618 pinctrl-names = "default"; 620 pinctrl-0 = <&pinctrl_pcie0>; 619 pinctrl-0 = <&pinctrl_pcie0>; 621 reset-gpio = <&gpio5 11 GPIO_ACTIVE_LO 620 reset-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>; 622 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, 621 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>, 623 <&clk IMX8MM_CLK_PCIE1_AUX>; 622 <&clk IMX8MM_CLK_PCIE1_AUX>; 624 assigned-clocks = <&clk IMX8MM_CLK_PCI 623 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>, 625 <&clk IMX8MM_CLK_PCI 624 <&clk IMX8MM_CLK_PCIE1_CTRL>; 626 assigned-clock-rates = <10000000>, <25 625 assigned-clock-rates = <10000000>, <250000000>; 627 assigned-clock-parents = <&clk IMX8MM_ 626 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>, 628 <&clk IMX8MM_ 627 <&clk IMX8MM_SYS_PLL2_250M>; 629 status = "okay"; 628 status = "okay"; 630 }; 629 }; 631 630 632 &disp_blk_ctrl { 631 &disp_blk_ctrl { 633 status = "disabled"; 632 status = "disabled"; 634 }; 633 }; 635 634 636 &pgc_mipi { 635 &pgc_mipi { 637 status = "disabled"; 636 status = "disabled"; 638 }; 637 }; 639 638 640 /* off-board RS232 */ 639 /* off-board RS232 */ 641 &uart1 { 640 &uart1 { 642 pinctrl-names = "default"; 641 pinctrl-names = "default"; 643 pinctrl-0 = <&pinctrl_uart1>; 642 pinctrl-0 = <&pinctrl_uart1>; 644 cts-gpios = <&gpio5 26 GPIO_ACTIVE_LOW << 645 rts-gpios = <&gpio5 27 GPIO_ACTIVE_LOW << 646 status = "okay"; 643 status = "okay"; 647 }; 644 }; 648 645 649 /* console */ 646 /* console */ 650 &uart2 { 647 &uart2 { 651 pinctrl-names = "default"; 648 pinctrl-names = "default"; 652 pinctrl-0 = <&pinctrl_uart2>; 649 pinctrl-0 = <&pinctrl_uart2>; 653 status = "okay"; 650 status = "okay"; 654 }; 651 }; 655 652 >> 653 /* off-board RS232 */ >> 654 &uart3 { >> 655 pinctrl-names = "default"; >> 656 pinctrl-0 = <&pinctrl_uart3>; >> 657 status = "okay"; >> 658 }; >> 659 656 &usbotg1 { 660 &usbotg1 { 657 dr_mode = "host"; 661 dr_mode = "host"; 658 disable-over-current; 662 disable-over-current; 659 status = "okay"; 663 status = "okay"; 660 }; 664 }; 661 665 662 /* microSD */ 666 /* microSD */ 663 &usdhc2 { 667 &usdhc2 { 664 pinctrl-names = "default", "state_100m 668 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 665 pinctrl-0 = <&pinctrl_usdhc2>, <&pinct 669 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; 666 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, 670 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>; 667 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, 671 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>; 668 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW> 672 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; 669 bus-width = <4>; 673 bus-width = <4>; 670 vmmc-supply = <®_3p3v>; 674 vmmc-supply = <®_3p3v>; 671 status = "okay"; 675 status = "okay"; 672 }; 676 }; 673 677 674 /* eMMC */ 678 /* eMMC */ 675 &usdhc3 { 679 &usdhc3 { 676 pinctrl-names = "default", "state_100m 680 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 677 pinctrl-0 = <&pinctrl_usdhc3>; 681 pinctrl-0 = <&pinctrl_usdhc3>; 678 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 682 pinctrl-1 = <&pinctrl_usdhc3_100mhz>; 679 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 683 pinctrl-2 = <&pinctrl_usdhc3_200mhz>; 680 bus-width = <8>; 684 bus-width = <8>; 681 non-removable; 685 non-removable; 682 status = "okay"; 686 status = "okay"; 683 }; 687 }; 684 688 685 &wdog1 { 689 &wdog1 { 686 pinctrl-names = "default"; 690 pinctrl-names = "default"; 687 pinctrl-0 = <&pinctrl_wdog>; 691 pinctrl-0 = <&pinctrl_wdog>; 688 fsl,ext-reset-output; 692 fsl,ext-reset-output; 689 status = "okay"; 693 status = "okay"; 690 }; 694 }; 691 695 692 &iomuxc { 696 &iomuxc { 693 pinctrl-names = "default"; 697 pinctrl-names = "default"; 694 pinctrl-0 = <&pinctrl_hog>; 698 pinctrl-0 = <&pinctrl_hog>; 695 699 696 pinctrl_hog: hoggrp { 700 pinctrl_hog: hoggrp { 697 fsl,pins = < 701 fsl,pins = < 698 MX8MM_IOMUXC_GPIO1_IO1 702 MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* RS232# */ 699 MX8MM_IOMUXC_ECSPI2_MI 703 MX8MM_IOMUXC_ECSPI2_MISO_GPIO5_IO12 0x40000041 /* PCI_WDIS# */ 700 >; 704 >; 701 }; 705 }; 702 706 703 pinctrl_accel: accelgrp { 707 pinctrl_accel: accelgrp { 704 fsl,pins = < 708 fsl,pins = < 705 MX8MM_IOMUXC_GPIO1_IO1 709 MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x159 706 >; 710 >; 707 }; 711 }; 708 712 709 pinctrl_fec1: fec1grp { 713 pinctrl_fec1: fec1grp { 710 fsl,pins = < 714 fsl,pins = < 711 MX8MM_IOMUXC_ENET_MDC_ 715 MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3 712 MX8MM_IOMUXC_ENET_MDIO 716 MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 713 MX8MM_IOMUXC_ENET_TD3_ 717 MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 714 MX8MM_IOMUXC_ENET_TD2_ 718 MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 715 MX8MM_IOMUXC_ENET_TD1_ 719 MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 716 MX8MM_IOMUXC_ENET_TD0_ 720 MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 717 MX8MM_IOMUXC_ENET_RD3_ 721 MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 718 MX8MM_IOMUXC_ENET_RD2_ 722 MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 719 MX8MM_IOMUXC_ENET_RD1_ 723 MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 720 MX8MM_IOMUXC_ENET_RD0_ 724 MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 721 MX8MM_IOMUXC_ENET_TXC_ 725 MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 722 MX8MM_IOMUXC_ENET_RXC_ 726 MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 723 MX8MM_IOMUXC_ENET_RX_C 727 MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 724 MX8MM_IOMUXC_ENET_TX_C 728 MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 725 MX8MM_IOMUXC_SAI2_TXFS 729 MX8MM_IOMUXC_SAI2_TXFS_GPIO4_IO24 0x19 /* IRQ# */ 726 MX8MM_IOMUXC_SAI2_TXC_ 730 MX8MM_IOMUXC_SAI2_TXC_GPIO4_IO25 0x19 /* RST# */ 727 >; 731 >; 728 }; 732 }; 729 733 730 pinctrl_gpio_leds: gpioledsgrp { 734 pinctrl_gpio_leds: gpioledsgrp { 731 fsl,pins = < 735 fsl,pins = < 732 MX8MM_IOMUXC_GPIO1_IO0 736 MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x40000019 733 MX8MM_IOMUXC_GPIO1_IO0 737 MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x40000019 734 MX8MM_IOMUXC_GPIO1_IO1 738 MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x40000019 735 MX8MM_IOMUXC_GPIO1_IO1 739 MX8MM_IOMUXC_GPIO1_IO11_GPIO1_IO11 0x40000019 736 >; 740 >; 737 }; 741 }; 738 742 739 pinctrl_gsc: gscgrp { 743 pinctrl_gsc: gscgrp { 740 fsl,pins = < 744 fsl,pins = < 741 MX8MM_IOMUXC_SAI2_TXD0 745 MX8MM_IOMUXC_SAI2_TXD0_GPIO4_IO26 0x159 742 >; 746 >; 743 }; 747 }; 744 748 745 pinctrl_i2c1: i2c1grp { 749 pinctrl_i2c1: i2c1grp { 746 fsl,pins = < 750 fsl,pins = < 747 MX8MM_IOMUXC_I2C1_SCL_ 751 MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 748 MX8MM_IOMUXC_I2C1_SDA_ 752 MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 749 >; 753 >; 750 }; 754 }; 751 755 752 pinctrl_i2c1_gpio: i2c1gpiogrp { 756 pinctrl_i2c1_gpio: i2c1gpiogrp { 753 fsl,pins = < 757 fsl,pins = < 754 MX8MM_IOMUXC_I2C1_SCL_ 758 MX8MM_IOMUXC_I2C1_SCL_GPIO5_IO14 0x400001c3 755 MX8MM_IOMUXC_I2C1_SDA_ 759 MX8MM_IOMUXC_I2C1_SDA_GPIO5_IO15 0x400001c3 756 >; 760 >; 757 }; 761 }; 758 762 759 pinctrl_i2c2: i2c2grp { 763 pinctrl_i2c2: i2c2grp { 760 fsl,pins = < 764 fsl,pins = < 761 MX8MM_IOMUXC_I2C2_SCL_ 765 MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3 762 MX8MM_IOMUXC_I2C2_SDA_ 766 MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 763 >; 767 >; 764 }; 768 }; 765 769 766 pinctrl_i2c2_gpio: i2c2gpiogrp { 770 pinctrl_i2c2_gpio: i2c2gpiogrp { 767 fsl,pins = < 771 fsl,pins = < 768 MX8MM_IOMUXC_I2C2_SCL_ 772 MX8MM_IOMUXC_I2C2_SCL_GPIO5_IO16 0x400001c3 769 MX8MM_IOMUXC_I2C2_SDA_ 773 MX8MM_IOMUXC_I2C2_SDA_GPIO5_IO17 0x400001c3 770 >; 774 >; 771 }; 775 }; 772 776 773 pinctrl_i2c3: i2c3grp { 777 pinctrl_i2c3: i2c3grp { 774 fsl,pins = < 778 fsl,pins = < 775 MX8MM_IOMUXC_I2C3_SCL_ 779 MX8MM_IOMUXC_I2C3_SCL_I2C3_SCL 0x400001c3 776 MX8MM_IOMUXC_I2C3_SDA_ 780 MX8MM_IOMUXC_I2C3_SDA_I2C3_SDA 0x400001c3 777 >; 781 >; 778 }; 782 }; 779 783 780 pinctrl_i2c3_gpio: i2c3gpiogrp { 784 pinctrl_i2c3_gpio: i2c3gpiogrp { 781 fsl,pins = < 785 fsl,pins = < 782 MX8MM_IOMUXC_I2C3_SCL_ 786 MX8MM_IOMUXC_I2C3_SCL_GPIO5_IO18 0x400001c3 783 MX8MM_IOMUXC_I2C3_SDA_ 787 MX8MM_IOMUXC_I2C3_SDA_GPIO5_IO19 0x400001c3 784 >; 788 >; 785 }; 789 }; 786 790 787 pinctrl_i2c4: i2c4grp { 791 pinctrl_i2c4: i2c4grp { 788 fsl,pins = < 792 fsl,pins = < 789 MX8MM_IOMUXC_I2C4_SCL_ 793 MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3 790 MX8MM_IOMUXC_I2C4_SDA_ 794 MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3 791 >; 795 >; 792 }; 796 }; 793 797 794 pinctrl_i2c4_gpio: i2c4gpiogrp { 798 pinctrl_i2c4_gpio: i2c4gpiogrp { 795 fsl,pins = < 799 fsl,pins = < 796 MX8MM_IOMUXC_I2C4_SCL_ 800 MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20 0x400001c3 797 MX8MM_IOMUXC_I2C4_SDA_ 801 MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0x400001c3 798 >; 802 >; 799 }; 803 }; 800 804 801 pinctrl_pcie0: pciegrp { 805 pinctrl_pcie0: pciegrp { 802 fsl,pins = < 806 fsl,pins = < 803 MX8MM_IOMUXC_ECSPI2_MO 807 MX8MM_IOMUXC_ECSPI2_MOSI_GPIO5_IO11 0x41 804 >; 808 >; 805 }; 809 }; 806 810 807 pinctrl_pmic: pmicgrp { 811 pinctrl_pmic: pmicgrp { 808 fsl,pins = < 812 fsl,pins = < 809 MX8MM_IOMUXC_NAND_DATA 813 MX8MM_IOMUXC_NAND_DATA02_GPIO3_IO8 0x41 810 >; 814 >; 811 }; 815 }; 812 816 813 pinctrl_uart1: uart1grp { 817 pinctrl_uart1: uart1grp { 814 fsl,pins = < 818 fsl,pins = < 815 MX8MM_IOMUXC_UART1_RXD 819 MX8MM_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140 816 MX8MM_IOMUXC_UART1_TXD 820 MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x140 817 MX8MM_IOMUXC_UART3_RXD << 818 MX8MM_IOMUXC_UART3_TXD << 819 >; 821 >; 820 }; 822 }; 821 823 822 pinctrl_uart2: uart2grp { 824 pinctrl_uart2: uart2grp { 823 fsl,pins = < 825 fsl,pins = < 824 MX8MM_IOMUXC_UART2_RXD 826 MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 825 MX8MM_IOMUXC_UART2_TXD 827 MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 >> 828 >; >> 829 }; >> 830 >> 831 pinctrl_uart3: uart3grp { >> 832 fsl,pins = < >> 833 MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140 >> 834 MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140 826 >; 835 >; 827 }; 836 }; 828 837 829 pinctrl_usdhc2: usdhc2grp { 838 pinctrl_usdhc2: usdhc2grp { 830 fsl,pins = < 839 fsl,pins = < 831 MX8MM_IOMUXC_SD2_CLK_U 840 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190 832 MX8MM_IOMUXC_SD2_CMD_U 841 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d0 833 MX8MM_IOMUXC_SD2_DATA0 842 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d0 834 MX8MM_IOMUXC_SD2_DATA1 843 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d0 835 MX8MM_IOMUXC_SD2_DATA2 844 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d0 836 MX8MM_IOMUXC_SD2_DATA3 845 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d0 837 >; 846 >; 838 }; 847 }; 839 848 840 pinctrl_usdhc2_100mhz: usdhc2-100mhzgr 849 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { 841 fsl,pins = < 850 fsl,pins = < 842 MX8MM_IOMUXC_SD2_CLK_U 851 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x194 843 MX8MM_IOMUXC_SD2_CMD_U 852 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d4 844 MX8MM_IOMUXC_SD2_DATA0 853 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4 845 MX8MM_IOMUXC_SD2_DATA1 854 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4 846 MX8MM_IOMUXC_SD2_DATA2 855 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4 847 MX8MM_IOMUXC_SD2_DATA3 856 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4 848 >; 857 >; 849 }; 858 }; 850 859 851 pinctrl_usdhc2_200mhz: usdhc2-200mhzgr 860 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { 852 fsl,pins = < 861 fsl,pins = < 853 MX8MM_IOMUXC_SD2_CLK_U 862 MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x196 854 MX8MM_IOMUXC_SD2_CMD_U 863 MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x1d6 855 MX8MM_IOMUXC_SD2_DATA0 864 MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d6 856 MX8MM_IOMUXC_SD2_DATA1 865 MX8MM_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d6 857 MX8MM_IOMUXC_SD2_DATA2 866 MX8MM_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d6 858 MX8MM_IOMUXC_SD2_DATA3 867 MX8MM_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d6 859 >; 868 >; 860 }; 869 }; 861 870 862 pinctrl_usdhc2_gpio: usdhc2-gpiogrp { 871 pinctrl_usdhc2_gpio: usdhc2-gpiogrp { 863 fsl,pins = < 872 fsl,pins = < 864 MX8MM_IOMUXC_SD2_CD_B_ 873 MX8MM_IOMUXC_SD2_CD_B_GPIO2_IO12 0x1c4 865 MX8MM_IOMUXC_GPIO1_IO0 874 MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x1d0 866 >; 875 >; 867 }; 876 }; 868 877 869 pinctrl_usdhc3: usdhc3grp { 878 pinctrl_usdhc3: usdhc3grp { 870 fsl,pins = < 879 fsl,pins = < 871 MX8MM_IOMUXC_NAND_WE_B 880 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x190 872 MX8MM_IOMUXC_NAND_WP_B 881 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0 873 MX8MM_IOMUXC_NAND_DATA 882 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0 874 MX8MM_IOMUXC_NAND_DATA 883 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0 875 MX8MM_IOMUXC_NAND_DATA 884 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 876 MX8MM_IOMUXC_NAND_DATA 885 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0 877 MX8MM_IOMUXC_NAND_RE_B 886 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0 878 MX8MM_IOMUXC_NAND_CE2_ 887 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0 879 MX8MM_IOMUXC_NAND_CE3_ 888 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0 880 MX8MM_IOMUXC_NAND_CLE_ 889 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0 881 MX8MM_IOMUXC_NAND_CE1_ 890 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190 882 >; 891 >; 883 }; 892 }; 884 893 885 pinctrl_usdhc3_100mhz: usdhc3-100mhzgr 894 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { 886 fsl,pins = < 895 fsl,pins = < 887 MX8MM_IOMUXC_NAND_WE_B 896 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x194 888 MX8MM_IOMUXC_NAND_WP_B 897 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4 889 MX8MM_IOMUXC_NAND_DATA 898 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4 890 MX8MM_IOMUXC_NAND_DATA 899 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4 891 MX8MM_IOMUXC_NAND_DATA 900 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4 892 MX8MM_IOMUXC_NAND_DATA 901 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4 893 MX8MM_IOMUXC_NAND_RE_B 902 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4 894 MX8MM_IOMUXC_NAND_CE2_ 903 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4 895 MX8MM_IOMUXC_NAND_CE3_ 904 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4 896 MX8MM_IOMUXC_NAND_CLE_ 905 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4 897 MX8MM_IOMUXC_NAND_CE1_ 906 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194 898 >; 907 >; 899 }; 908 }; 900 909 901 pinctrl_usdhc3_200mhz: usdhc3-200mhzgr 910 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { 902 fsl,pins = < 911 fsl,pins = < 903 MX8MM_IOMUXC_NAND_WE_B 912 MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x196 904 MX8MM_IOMUXC_NAND_WP_B 913 MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6 905 MX8MM_IOMUXC_NAND_DATA 914 MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6 906 MX8MM_IOMUXC_NAND_DATA 915 MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6 907 MX8MM_IOMUXC_NAND_DATA 916 MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6 908 MX8MM_IOMUXC_NAND_DATA 917 MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6 909 MX8MM_IOMUXC_NAND_RE_B 918 MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6 910 MX8MM_IOMUXC_NAND_CE2_ 919 MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6 911 MX8MM_IOMUXC_NAND_CE3_ 920 MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6 912 MX8MM_IOMUXC_NAND_CLE_ 921 MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6 913 MX8MM_IOMUXC_NAND_CE1_ 922 MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196 914 >; 923 >; 915 }; 924 }; 916 925 917 pinctrl_wdog: wdoggrp { 926 pinctrl_wdog: wdoggrp { 918 fsl,pins = < 927 fsl,pins = < 919 MX8MM_IOMUXC_GPIO1_IO0 928 MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 920 >; 929 >; 921 }; 930 }; 922 }; 931 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.