Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * This file is dual-licensed: you can use it either under the terms |
| 5 | * of the GPL or the X11 license, at your option. Note that this dual |
| 6 | * licensing only applies to this file, and not this project as a |
| 7 | * whole. |
| 8 | * |
| 9 | * a) This file is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU General Public License as |
| 11 | * published by the Free Software Foundation; either version 2 of the |
| 12 | * License, or (at your option) any later version. |
| 13 | * |
| 14 | * This file is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * |
| 19 | * Or, alternatively, |
| 20 | * |
| 21 | * b) Permission is hereby granted, free of charge, to any person |
| 22 | * obtaining a copy of this software and associated documentation |
| 23 | * files (the "Software"), to deal in the Software without |
| 24 | * restriction, including without limitation the rights to use, |
| 25 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 26 | * sell copies of the Software, and to permit persons to whom the |
| 27 | * Software is furnished to do so, subject to the following |
| 28 | * conditions: |
| 29 | * |
| 30 | * The above copyright notice and this permission notice shall be |
| 31 | * included in all copies or substantial portions of the Software. |
| 32 | * |
| 33 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 34 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 35 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 36 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 37 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 38 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 39 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 40 | * OTHER DEALINGS IN THE SOFTWARE. |
| 41 | */ |
| 42 | |
| 43 | #include <dt-bindings/clock/imx7d-clock.h> |
| 44 | #include <dt-bindings/gpio/gpio.h> |
| 45 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 46 | #include "imx7d-pinfunc.h" |
| 47 | #include "skeleton.dtsi" |
| 48 | |
| 49 | / { |
| 50 | aliases { |
| 51 | gpio0 = &gpio1; |
| 52 | gpio1 = &gpio2; |
| 53 | gpio2 = &gpio3; |
| 54 | gpio3 = &gpio4; |
| 55 | gpio4 = &gpio5; |
| 56 | gpio5 = &gpio6; |
| 57 | gpio6 = &gpio7; |
| 58 | i2c0 = &i2c1; |
| 59 | i2c1 = &i2c2; |
| 60 | i2c2 = &i2c3; |
| 61 | i2c3 = &i2c4; |
| 62 | mmc0 = &usdhc1; |
| 63 | mmc1 = &usdhc2; |
| 64 | mmc2 = &usdhc3; |
| 65 | serial0 = &uart1; |
| 66 | serial1 = &uart2; |
| 67 | serial2 = &uart3; |
| 68 | serial3 = &uart4; |
| 69 | serial4 = &uart5; |
| 70 | serial5 = &uart6; |
| 71 | serial6 = &uart7; |
| 72 | }; |
| 73 | |
| 74 | cpus { |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | |
| 78 | cpu0: cpu@0 { |
| 79 | compatible = "arm,cortex-a7"; |
| 80 | device_type = "cpu"; |
| 81 | reg = <0>; |
| 82 | operating-points = < |
| 83 | /* KHz uV */ |
| 84 | 996000 1075000 |
| 85 | 792000 975000 |
| 86 | >; |
| 87 | clock-latency = <61036>; /* two CLK32 periods */ |
Bai Ping | 698e2ac | 2015-11-24 18:25:15 +0800 | [diff] [blame] | 88 | clocks = <&clks IMX7D_CLK_ARM>; |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 89 | }; |
| 90 | |
| 91 | cpu1: cpu@1 { |
| 92 | compatible = "arm,cortex-a7"; |
| 93 | device_type = "cpu"; |
| 94 | reg = <1>; |
| 95 | }; |
| 96 | }; |
| 97 | |
| 98 | intc: interrupt-controller@31001000 { |
| 99 | compatible = "arm,cortex-a7-gic"; |
| 100 | #interrupt-cells = <3>; |
| 101 | interrupt-controller; |
| 102 | reg = <0x31001000 0x1000>, |
| 103 | <0x31002000 0x1000>, |
| 104 | <0x31004000 0x2000>, |
| 105 | <0x31006000 0x2000>; |
| 106 | }; |
| 107 | |
| 108 | ckil: clock-cki { |
| 109 | compatible = "fixed-clock"; |
| 110 | #clock-cells = <0>; |
| 111 | clock-frequency = <32768>; |
| 112 | clock-output-names = "ckil"; |
| 113 | }; |
| 114 | |
| 115 | osc: clock-osc { |
| 116 | compatible = "fixed-clock"; |
| 117 | #clock-cells = <0>; |
| 118 | clock-frequency = <24000000>; |
| 119 | clock-output-names = "osc"; |
| 120 | }; |
| 121 | |
Frank Li | ecea9fe | 2016-01-05 11:17:14 -0600 | [diff] [blame] | 122 | timer { |
| 123 | compatible = "arm,armv7-timer"; |
| 124 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 125 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 126 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 127 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
| 128 | interrupt-parent = <&intc>; |
| 129 | }; |
| 130 | |
Frank Li | 3adab7c | 2015-06-30 22:58:11 +0800 | [diff] [blame] | 131 | etr@30086000 { |
| 132 | compatible = "arm,coresight-tmc", "arm,primecell"; |
| 133 | reg = <0x30086000 0x1000>; |
| 134 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 135 | clock-names = "apb_pclk"; |
| 136 | |
| 137 | port { |
| 138 | etr_in_port: endpoint { |
| 139 | slave-mode; |
| 140 | remote-endpoint = <&replicator_out_port1>; |
| 141 | }; |
| 142 | }; |
| 143 | }; |
| 144 | |
| 145 | tpiu@30087000 { |
| 146 | compatible = "arm,coresight-tpiu", "arm,primecell"; |
| 147 | reg = <0x30087000 0x1000>; |
| 148 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 149 | clock-names = "apb_pclk"; |
| 150 | |
| 151 | port { |
| 152 | tpiu_in_port: endpoint { |
| 153 | slave-mode; |
| 154 | remote-endpoint = <&replicator_out_port1>; |
| 155 | }; |
| 156 | }; |
| 157 | }; |
| 158 | |
| 159 | replicator { |
| 160 | /* |
| 161 | * non-configurable replicators don't show up on the |
| 162 | * AMBA bus. As such no need to add "arm,primecell" |
| 163 | */ |
| 164 | compatible = "arm,coresight-replicator"; |
| 165 | |
| 166 | ports { |
| 167 | #address-cells = <1>; |
| 168 | #size-cells = <0>; |
| 169 | |
| 170 | /* replicator output ports */ |
| 171 | port@0 { |
| 172 | reg = <0>; |
| 173 | replicator_out_port0: endpoint { |
| 174 | remote-endpoint = <&tpiu_in_port>; |
| 175 | }; |
| 176 | }; |
| 177 | |
| 178 | port@1 { |
| 179 | reg = <1>; |
| 180 | replicator_out_port1: endpoint { |
| 181 | remote-endpoint = <&etr_in_port>; |
| 182 | }; |
| 183 | }; |
| 184 | |
| 185 | /* replicator input port */ |
| 186 | port@2 { |
| 187 | reg = <0>; |
| 188 | replicator_in_port0: endpoint { |
| 189 | slave-mode; |
| 190 | remote-endpoint = <&etf_out_port>; |
| 191 | }; |
| 192 | }; |
| 193 | }; |
| 194 | }; |
| 195 | |
| 196 | etf@30084000 { |
| 197 | compatible = "arm,coresight-tmc", "arm,primecell"; |
| 198 | reg = <0x30084000 0x1000>; |
| 199 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 200 | clock-names = "apb_pclk"; |
| 201 | |
| 202 | ports { |
| 203 | #address-cells = <1>; |
| 204 | #size-cells = <0>; |
| 205 | |
| 206 | port@0 { |
| 207 | reg = <0>; |
| 208 | etf_in_port: endpoint { |
| 209 | slave-mode; |
| 210 | remote-endpoint = <&hugo_funnel_out_port0>; |
| 211 | }; |
| 212 | }; |
| 213 | |
| 214 | port@1 { |
| 215 | reg = <0>; |
| 216 | etf_out_port: endpoint { |
| 217 | remote-endpoint = <&replicator_in_port0>; |
| 218 | }; |
| 219 | }; |
| 220 | }; |
| 221 | }; |
| 222 | |
| 223 | funnel@30083000 { |
| 224 | compatible = "arm,coresight-funnel", "arm,primecell"; |
| 225 | reg = <0x30083000 0x1000>; |
| 226 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 227 | clock-names = "apb_pclk"; |
| 228 | |
| 229 | ports { |
| 230 | #address-cells = <1>; |
| 231 | #size-cells = <0>; |
| 232 | |
| 233 | /* funnel input ports */ |
| 234 | port@0 { |
| 235 | reg = <0>; |
| 236 | hugo_funnel_in_port0: endpoint { |
| 237 | slave-mode; |
| 238 | remote-endpoint = <&ca_funnel_out_port0>; |
| 239 | }; |
| 240 | }; |
| 241 | |
| 242 | port@1 { |
| 243 | reg = <1>; |
| 244 | hugo_funnel_in_port1: endpoint { |
| 245 | slave-mode; /* M4 input */ |
| 246 | }; |
| 247 | }; |
| 248 | |
| 249 | port@2 { |
| 250 | reg = <0>; |
| 251 | hugo_funnel_out_port0: endpoint { |
| 252 | remote-endpoint = <&etf_in_port>; |
| 253 | }; |
| 254 | }; |
| 255 | |
| 256 | /* the other input ports are not connect to anything */ |
| 257 | }; |
| 258 | }; |
| 259 | |
| 260 | funnel@30041000 { |
| 261 | compatible = "arm,coresight-funnel", "arm,primecell"; |
| 262 | reg = <0x30041000 0x1000>; |
| 263 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 264 | clock-names = "apb_pclk"; |
| 265 | |
| 266 | ports { |
| 267 | #address-cells = <1>; |
| 268 | #size-cells = <0>; |
| 269 | |
| 270 | /* funnel input ports */ |
| 271 | port@0 { |
| 272 | reg = <0>; |
| 273 | ca_funnel_in_port0: endpoint { |
| 274 | slave-mode; |
| 275 | remote-endpoint = <&etm0_out_port>; |
| 276 | }; |
| 277 | }; |
| 278 | |
| 279 | port@1 { |
| 280 | reg = <1>; |
| 281 | ca_funnel_in_port1: endpoint { |
| 282 | slave-mode; |
| 283 | remote-endpoint = <&etm1_out_port>; |
| 284 | }; |
| 285 | }; |
| 286 | |
| 287 | /* funnel output port */ |
| 288 | port@2 { |
| 289 | reg = <0>; |
| 290 | ca_funnel_out_port0: endpoint { |
| 291 | remote-endpoint = <&hugo_funnel_in_port0>; |
| 292 | }; |
| 293 | }; |
| 294 | |
| 295 | /* the other input ports are not connect to anything */ |
| 296 | }; |
| 297 | }; |
| 298 | |
| 299 | etm@3007c000 { |
| 300 | compatible = "arm,coresight-etm3x", "arm,primecell"; |
| 301 | reg = <0x3007c000 0x1000>; |
| 302 | cpu = <&cpu0>; |
| 303 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 304 | clock-names = "apb_pclk"; |
| 305 | |
| 306 | port { |
| 307 | etm0_out_port: endpoint { |
| 308 | remote-endpoint = <&ca_funnel_in_port0>; |
| 309 | }; |
| 310 | }; |
| 311 | }; |
| 312 | |
| 313 | etm@3007d000 { |
| 314 | compatible = "arm,coresight-etm3x", "arm,primecell"; |
| 315 | reg = <0x3007d000 0x1000>; |
| 316 | |
| 317 | /* |
| 318 | * System will hang if added nosmp in kernel command line |
| 319 | * without arm,primecell-periphid because amba bus try to |
| 320 | * read id and core1 power off at this time. |
| 321 | */ |
| 322 | arm,primecell-periphid = <0xbb956>; |
| 323 | cpu = <&cpu1>; |
| 324 | clocks = <&clks IMX7D_MAIN_AXI_ROOT_CLK>; |
| 325 | clock-names = "apb_pclk"; |
| 326 | |
| 327 | port { |
| 328 | etm1_out_port: endpoint { |
| 329 | remote-endpoint = <&ca_funnel_in_port1>; |
| 330 | }; |
| 331 | }; |
| 332 | }; |
| 333 | |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 334 | soc { |
| 335 | #address-cells = <1>; |
| 336 | #size-cells = <1>; |
| 337 | compatible = "simple-bus"; |
| 338 | interrupt-parent = <&intc>; |
| 339 | ranges; |
| 340 | |
| 341 | aips1: aips-bus@30000000 { |
| 342 | compatible = "fsl,aips-bus", "simple-bus"; |
| 343 | #address-cells = <1>; |
| 344 | #size-cells = <1>; |
| 345 | reg = <0x30000000 0x400000>; |
| 346 | ranges; |
| 347 | |
| 348 | gpio1: gpio@30200000 { |
| 349 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 350 | reg = <0x30200000 0x10000>; |
| 351 | interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, /* GPIO1_INT15_0 */ |
| 352 | <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; /* GPIO1_INT31_16 */ |
| 353 | gpio-controller; |
| 354 | #gpio-cells = <2>; |
| 355 | interrupt-controller; |
| 356 | #interrupt-cells = <2>; |
| 357 | }; |
| 358 | |
| 359 | gpio2: gpio@30210000 { |
| 360 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 361 | reg = <0x30210000 0x10000>; |
| 362 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, |
| 363 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; |
| 364 | gpio-controller; |
| 365 | #gpio-cells = <2>; |
| 366 | interrupt-controller; |
| 367 | #interrupt-cells = <2>; |
| 368 | }; |
| 369 | |
| 370 | gpio3: gpio@30220000 { |
| 371 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 372 | reg = <0x30220000 0x10000>; |
| 373 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 374 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
| 375 | gpio-controller; |
| 376 | #gpio-cells = <2>; |
| 377 | interrupt-controller; |
| 378 | #interrupt-cells = <2>; |
| 379 | }; |
| 380 | |
| 381 | gpio4: gpio@30230000 { |
| 382 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 383 | reg = <0x30230000 0x10000>; |
| 384 | interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, |
| 385 | <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
| 386 | gpio-controller; |
| 387 | #gpio-cells = <2>; |
| 388 | interrupt-controller; |
| 389 | #interrupt-cells = <2>; |
| 390 | }; |
| 391 | |
| 392 | gpio5: gpio@30240000 { |
| 393 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 394 | reg = <0x30240000 0x10000>; |
| 395 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 396 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 397 | gpio-controller; |
| 398 | #gpio-cells = <2>; |
| 399 | interrupt-controller; |
| 400 | #interrupt-cells = <2>; |
| 401 | }; |
| 402 | |
| 403 | gpio6: gpio@30250000 { |
| 404 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 405 | reg = <0x30250000 0x10000>; |
| 406 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>, |
| 407 | <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 408 | gpio-controller; |
| 409 | #gpio-cells = <2>; |
| 410 | interrupt-controller; |
| 411 | #interrupt-cells = <2>; |
| 412 | }; |
| 413 | |
| 414 | gpio7: gpio@30260000 { |
| 415 | compatible = "fsl,imx7d-gpio", "fsl,imx35-gpio"; |
| 416 | reg = <0x30260000 0x10000>; |
| 417 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, |
| 418 | <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | gpio-controller; |
| 420 | #gpio-cells = <2>; |
| 421 | interrupt-controller; |
| 422 | #interrupt-cells = <2>; |
| 423 | }; |
| 424 | |
Frank Li | 6f5f9bc | 2015-05-29 03:40:57 +0800 | [diff] [blame] | 425 | wdog1: wdog@30280000 { |
| 426 | compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt"; |
| 427 | reg = <0x30280000 0x10000>; |
| 428 | interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; |
| 429 | clocks = <&clks IMX7D_WDOG1_ROOT_CLK>; |
| 430 | }; |
| 431 | |
| 432 | wdog2: wdog@30290000 { |
| 433 | compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt"; |
| 434 | reg = <0x30290000 0x10000>; |
| 435 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 436 | clocks = <&clks IMX7D_WDOG2_ROOT_CLK>; |
| 437 | status = "disabled"; |
| 438 | }; |
| 439 | |
| 440 | wdog3: wdog@302a0000 { |
| 441 | compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt"; |
| 442 | reg = <0x302a0000 0x10000>; |
| 443 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 444 | clocks = <&clks IMX7D_WDOG3_ROOT_CLK>; |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | |
| 448 | wdog4: wdog@302b0000 { |
| 449 | compatible = "fsl,imx7d-wdt", "fsl,imx21-wdt"; |
| 450 | reg = <0x302b0000 0x10000>; |
| 451 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; |
| 452 | clocks = <&clks IMX7D_WDOG4_ROOT_CLK>; |
| 453 | status = "disabled"; |
| 454 | }; |
| 455 | |
Adrian Alonso | 149c08e | 2015-09-25 16:05:57 -0500 | [diff] [blame] | 456 | iomuxc_lpsr: iomuxc-lpsr@302c0000 { |
| 457 | compatible = "fsl,imx7d-iomuxc-lpsr"; |
| 458 | reg = <0x302c0000 0x10000>; |
| 459 | fsl,input-sel = <&iomuxc>; |
| 460 | }; |
| 461 | |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 462 | gpt1: gpt@302d0000 { |
| 463 | compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; |
| 464 | reg = <0x302d0000 0x10000>; |
| 465 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; |
| 466 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 467 | <&clks IMX7D_GPT1_ROOT_CLK>; |
| 468 | clock-names = "ipg", "per"; |
| 469 | }; |
| 470 | |
| 471 | gpt2: gpt@302e0000 { |
| 472 | compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; |
| 473 | reg = <0x302e0000 0x10000>; |
| 474 | interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; |
| 475 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 476 | <&clks IMX7D_GPT2_ROOT_CLK>; |
| 477 | clock-names = "ipg", "per"; |
| 478 | status = "disabled"; |
| 479 | }; |
| 480 | |
| 481 | gpt3: gpt@302f0000 { |
| 482 | compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; |
| 483 | reg = <0x302f0000 0x10000>; |
| 484 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
| 485 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 486 | <&clks IMX7D_GPT3_ROOT_CLK>; |
| 487 | clock-names = "ipg", "per"; |
| 488 | status = "disabled"; |
| 489 | }; |
| 490 | |
| 491 | gpt4: gpt@30300000 { |
| 492 | compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; |
| 493 | reg = <0x30300000 0x10000>; |
| 494 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; |
| 495 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 496 | <&clks IMX7D_GPT4_ROOT_CLK>; |
| 497 | clock-names = "ipg", "per"; |
| 498 | status = "disabled"; |
| 499 | }; |
| 500 | |
| 501 | iomuxc: iomuxc@30330000 { |
| 502 | compatible = "fsl,imx7d-iomuxc"; |
| 503 | reg = <0x30330000 0x10000>; |
| 504 | }; |
| 505 | |
| 506 | gpr: iomuxc-gpr@30340000 { |
| 507 | compatible = "fsl,imx7d-iomuxc-gpr", "syscon"; |
| 508 | reg = <0x30340000 0x10000>; |
| 509 | }; |
| 510 | |
| 511 | ocotp: ocotp-ctrl@30350000 { |
| 512 | compatible = "syscon"; |
| 513 | reg = <0x30350000 0x10000>; |
| 514 | clocks = <&clks IMX7D_CLK_DUMMY>; |
| 515 | status = "disabled"; |
| 516 | }; |
| 517 | |
| 518 | anatop: anatop@30360000 { |
| 519 | compatible = "fsl,imx7d-anatop", "fsl,imx6q-anatop", |
| 520 | "syscon", "simple-bus"; |
| 521 | reg = <0x30360000 0x10000>; |
| 522 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, |
| 523 | <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
| 524 | |
| 525 | reg_1p0d: regulator-vdd1p0d@210 { |
| 526 | compatible = "fsl,anatop-regulator"; |
| 527 | regulator-name = "vdd1p0d"; |
| 528 | regulator-min-microvolt = <800000>; |
| 529 | regulator-max-microvolt = <1200000>; |
| 530 | anatop-reg-offset = <0x210>; |
| 531 | anatop-vol-bit-shift = <8>; |
| 532 | anatop-vol-bit-width = <5>; |
| 533 | anatop-min-bit-val = <8>; |
| 534 | anatop-min-voltage = <800000>; |
| 535 | anatop-max-voltage = <1200000>; |
| 536 | anatop-enable-bit = <31>; |
| 537 | }; |
| 538 | }; |
| 539 | |
| 540 | snvs: snvs@30370000 { |
Frank Li | abb9f25 | 2015-07-29 01:50:00 +0800 | [diff] [blame] | 541 | compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; |
| 542 | reg = <0x30370000 0x10000>; |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 543 | |
Frank Li | abb9f25 | 2015-07-29 01:50:00 +0800 | [diff] [blame] | 544 | snvs_rtc: snvs-rtc-lp { |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 545 | compatible = "fsl,sec-v4.0-mon-rtc-lp"; |
Frank Li | abb9f25 | 2015-07-29 01:50:00 +0800 | [diff] [blame] | 546 | regmap = <&snvs>; |
| 547 | offset = <0x34>; |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 548 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, |
| 549 | <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 550 | }; |
Frank Li | abb9f25 | 2015-07-29 01:50:00 +0800 | [diff] [blame] | 551 | |
| 552 | snvs_poweroff: snvs-poweroff { |
| 553 | compatible = "syscon-poweroff"; |
| 554 | regmap = <&snvs>; |
| 555 | offset = <0x38>; |
| 556 | mask = <0x60>; |
| 557 | }; |
| 558 | |
| 559 | snvs_pwrkey: snvs-powerkey { |
| 560 | compatible = "fsl,sec-v4.0-pwrkey"; |
| 561 | regmap = <&snvs>; |
| 562 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
| 563 | linux,keycode = <KEY_POWER>; |
| 564 | wakeup-source; |
| 565 | }; |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 566 | }; |
| 567 | |
| 568 | clks: ccm@30380000 { |
| 569 | compatible = "fsl,imx7d-ccm"; |
| 570 | reg = <0x30380000 0x10000>; |
| 571 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, |
| 572 | <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 573 | #clock-cells = <1>; |
| 574 | clocks = <&ckil>, <&osc>; |
| 575 | clock-names = "ckil", "osc"; |
| 576 | }; |
| 577 | |
| 578 | src: src@30390000 { |
| 579 | compatible = "fsl,imx7d-src", "fsl,imx51-src", "syscon"; |
| 580 | reg = <0x30390000 0x10000>; |
| 581 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| 582 | #reset-cells = <1>; |
| 583 | }; |
| 584 | }; |
| 585 | |
Fabio Estevam | 208c9fe | 2015-09-02 15:16:20 -0300 | [diff] [blame] | 586 | aips2: aips-bus@30400000 { |
| 587 | compatible = "fsl,aips-bus", "simple-bus"; |
| 588 | #address-cells = <1>; |
| 589 | #size-cells = <1>; |
| 590 | reg = <0x30400000 0x400000>; |
| 591 | ranges; |
| 592 | |
Haibo Chen | a3d19f2 | 2015-12-08 18:26:22 +0800 | [diff] [blame] | 593 | adc1: adc@30610000 { |
| 594 | compatible = "fsl,imx7d-adc"; |
| 595 | reg = <0x30610000 0x10000>; |
| 596 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
| 597 | clocks = <&clks IMX7D_ADC_ROOT_CLK>; |
| 598 | clock-names = "adc"; |
| 599 | status = "disabled"; |
| 600 | }; |
| 601 | |
| 602 | adc2: adc@30620000 { |
| 603 | compatible = "fsl,imx7d-adc"; |
| 604 | reg = <0x30620000 0x10000>; |
| 605 | interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; |
| 606 | clocks = <&clks IMX7D_ADC_ROOT_CLK>; |
| 607 | clock-names = "adc"; |
| 608 | status = "disabled"; |
| 609 | }; |
| 610 | |
Fabio Estevam | 208c9fe | 2015-09-02 15:16:20 -0300 | [diff] [blame] | 611 | pwm1: pwm@30660000 { |
| 612 | compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm"; |
| 613 | reg = <0x30660000 0x10000>; |
| 614 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| 615 | clocks = <&clks IMX7D_PWM1_ROOT_CLK>, |
| 616 | <&clks IMX7D_PWM1_ROOT_CLK>; |
| 617 | clock-names = "ipg", "per"; |
| 618 | #pwm-cells = <2>; |
| 619 | status = "disabled"; |
| 620 | }; |
| 621 | |
| 622 | pwm2: pwm@30670000 { |
| 623 | compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm"; |
| 624 | reg = <0x30670000 0x10000>; |
| 625 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 626 | clocks = <&clks IMX7D_PWM2_ROOT_CLK>, |
| 627 | <&clks IMX7D_PWM2_ROOT_CLK>; |
| 628 | clock-names = "ipg", "per"; |
| 629 | #pwm-cells = <2>; |
| 630 | status = "disabled"; |
| 631 | }; |
| 632 | |
| 633 | pwm3: pwm@30680000 { |
| 634 | compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm"; |
| 635 | reg = <0x30680000 0x10000>; |
| 636 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 637 | clocks = <&clks IMX7D_PWM3_ROOT_CLK>, |
| 638 | <&clks IMX7D_PWM3_ROOT_CLK>; |
| 639 | clock-names = "ipg", "per"; |
| 640 | #pwm-cells = <2>; |
| 641 | status = "disabled"; |
| 642 | }; |
| 643 | |
| 644 | pwm4: pwm@30690000 { |
| 645 | compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm"; |
| 646 | reg = <0x30690000 0x10000>; |
| 647 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 648 | clocks = <&clks IMX7D_PWM4_ROOT_CLK>, |
| 649 | <&clks IMX7D_PWM4_ROOT_CLK>; |
| 650 | clock-names = "ipg", "per"; |
| 651 | #pwm-cells = <2>; |
| 652 | status = "disabled"; |
| 653 | }; |
Gary Bisson | e8ed73f | 2016-04-02 18:25:43 +0200 | [diff] [blame] | 654 | |
| 655 | lcdif: lcdif@30730000 { |
| 656 | compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif"; |
| 657 | reg = <0x30730000 0x10000>; |
| 658 | interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 659 | clocks = <&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>, |
| 660 | <&clks IMX7D_CLK_DUMMY>, |
| 661 | <&clks IMX7D_CLK_DUMMY>; |
| 662 | clock-names = "pix", "axi", "disp_axi"; |
| 663 | status = "disabled"; |
| 664 | }; |
Fabio Estevam | 208c9fe | 2015-09-02 15:16:20 -0300 | [diff] [blame] | 665 | }; |
| 666 | |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 667 | aips3: aips-bus@30800000 { |
| 668 | compatible = "fsl,aips-bus", "simple-bus"; |
| 669 | #address-cells = <1>; |
| 670 | #size-cells = <1>; |
| 671 | reg = <0x30800000 0x400000>; |
| 672 | ranges; |
| 673 | |
| 674 | uart1: serial@30860000 { |
| 675 | compatible = "fsl,imx7d-uart", |
| 676 | "fsl,imx6q-uart"; |
| 677 | reg = <0x30860000 0x10000>; |
| 678 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 679 | clocks = <&clks IMX7D_UART1_ROOT_CLK>, |
| 680 | <&clks IMX7D_UART1_ROOT_CLK>; |
| 681 | clock-names = "ipg", "per"; |
| 682 | status = "disabled"; |
| 683 | }; |
| 684 | |
Fabio Estevam | 178b2d0 | 2015-09-24 16:18:12 -0300 | [diff] [blame] | 685 | uart2: serial@30890000 { |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 686 | compatible = "fsl,imx7d-uart", |
| 687 | "fsl,imx6q-uart"; |
Fabio Estevam | 178b2d0 | 2015-09-24 16:18:12 -0300 | [diff] [blame] | 688 | reg = <0x30890000 0x10000>; |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 689 | interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; |
| 690 | clocks = <&clks IMX7D_UART2_ROOT_CLK>, |
| 691 | <&clks IMX7D_UART2_ROOT_CLK>; |
| 692 | clock-names = "ipg", "per"; |
| 693 | status = "disabled"; |
| 694 | }; |
| 695 | |
| 696 | uart3: serial@30880000 { |
| 697 | compatible = "fsl,imx7d-uart", |
| 698 | "fsl,imx6q-uart"; |
| 699 | reg = <0x30880000 0x10000>; |
| 700 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 701 | clocks = <&clks IMX7D_UART3_ROOT_CLK>, |
| 702 | <&clks IMX7D_UART3_ROOT_CLK>; |
| 703 | clock-names = "ipg", "per"; |
| 704 | status = "disabled"; |
| 705 | }; |
| 706 | |
Gary Bisson | c147401 | 2016-04-02 18:25:44 +0200 | [diff] [blame] | 707 | flexcan1: can@30a00000 { |
| 708 | compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan"; |
| 709 | reg = <0x30a00000 0x10000>; |
| 710 | interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; |
| 711 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 712 | <&clks IMX7D_CAN1_ROOT_CLK>; |
| 713 | clock-names = "ipg", "per"; |
| 714 | status = "disabled"; |
| 715 | }; |
| 716 | |
| 717 | flexcan2: can@30a10000 { |
| 718 | compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan"; |
| 719 | reg = <0x30a10000 0x10000>; |
| 720 | interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; |
| 721 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 722 | <&clks IMX7D_CAN2_ROOT_CLK>; |
| 723 | clock-names = "ipg", "per"; |
| 724 | status = "disabled"; |
| 725 | }; |
| 726 | |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 727 | i2c1: i2c@30a20000 { |
| 728 | #address-cells = <1>; |
| 729 | #size-cells = <0>; |
| 730 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 731 | reg = <0x30a20000 0x10000>; |
| 732 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 733 | clocks = <&clks IMX7D_I2C1_ROOT_CLK>; |
| 734 | status = "disabled"; |
| 735 | }; |
| 736 | |
| 737 | i2c2: i2c@30a30000 { |
| 738 | #address-cells = <1>; |
| 739 | #size-cells = <0>; |
| 740 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 741 | reg = <0x30a30000 0x10000>; |
| 742 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 743 | clocks = <&clks IMX7D_I2C2_ROOT_CLK>; |
| 744 | status = "disabled"; |
| 745 | }; |
| 746 | |
| 747 | i2c3: i2c@30a40000 { |
| 748 | #address-cells = <1>; |
| 749 | #size-cells = <0>; |
| 750 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 751 | reg = <0x30a40000 0x10000>; |
| 752 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 753 | clocks = <&clks IMX7D_I2C3_ROOT_CLK>; |
| 754 | status = "disabled"; |
| 755 | }; |
| 756 | |
| 757 | i2c4: i2c@30a50000 { |
| 758 | #address-cells = <1>; |
| 759 | #size-cells = <0>; |
| 760 | compatible = "fsl,imx7d-i2c", "fsl,imx21-i2c"; |
| 761 | reg = <0x30a50000 0x10000>; |
| 762 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 763 | clocks = <&clks IMX7D_I2C4_ROOT_CLK>; |
| 764 | status = "disabled"; |
| 765 | }; |
| 766 | |
| 767 | uart4: serial@30a60000 { |
| 768 | compatible = "fsl,imx7d-uart", |
| 769 | "fsl,imx6q-uart"; |
| 770 | reg = <0x30a60000 0x10000>; |
| 771 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 772 | clocks = <&clks IMX7D_UART4_ROOT_CLK>, |
| 773 | <&clks IMX7D_UART4_ROOT_CLK>; |
| 774 | clock-names = "ipg", "per"; |
| 775 | status = "disabled"; |
| 776 | }; |
| 777 | |
| 778 | uart5: serial@30a70000 { |
| 779 | compatible = "fsl,imx7d-uart", |
| 780 | "fsl,imx6q-uart"; |
| 781 | reg = <0x30a70000 0x10000>; |
| 782 | interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 783 | clocks = <&clks IMX7D_UART5_ROOT_CLK>, |
| 784 | <&clks IMX7D_UART5_ROOT_CLK>; |
| 785 | clock-names = "ipg", "per"; |
| 786 | status = "disabled"; |
| 787 | }; |
| 788 | |
| 789 | uart6: serial@30a80000 { |
| 790 | compatible = "fsl,imx7d-uart", |
| 791 | "fsl,imx6q-uart"; |
| 792 | reg = <0x30a80000 0x10000>; |
| 793 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
| 794 | clocks = <&clks IMX7D_UART6_ROOT_CLK>, |
| 795 | <&clks IMX7D_UART6_ROOT_CLK>; |
| 796 | clock-names = "ipg", "per"; |
| 797 | status = "disabled"; |
| 798 | }; |
| 799 | |
| 800 | uart7: serial@30a90000 { |
| 801 | compatible = "fsl,imx7d-uart", |
| 802 | "fsl,imx6q-uart"; |
| 803 | reg = <0x30a90000 0x10000>; |
| 804 | interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; |
| 805 | clocks = <&clks IMX7D_UART7_ROOT_CLK>, |
| 806 | <&clks IMX7D_UART7_ROOT_CLK>; |
| 807 | clock-names = "ipg", "per"; |
| 808 | status = "disabled"; |
| 809 | }; |
| 810 | |
Fabio Estevam | 60f5a22 | 2015-09-07 22:57:11 -0300 | [diff] [blame] | 811 | usbotg1: usb@30b10000 { |
| 812 | compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; |
| 813 | reg = <0x30b10000 0x200>; |
| 814 | interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; |
| 815 | clocks = <&clks IMX7D_USB_CTRL_CLK>; |
| 816 | fsl,usbphy = <&usbphynop1>; |
| 817 | fsl,usbmisc = <&usbmisc1 0>; |
| 818 | phy-clkgate-delay-us = <400>; |
| 819 | status = "disabled"; |
| 820 | }; |
| 821 | |
| 822 | usbotg2: usb@30b20000 { |
| 823 | compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; |
| 824 | reg = <0x30b20000 0x200>; |
| 825 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| 826 | clocks = <&clks IMX7D_USB_CTRL_CLK>; |
| 827 | fsl,usbphy = <&usbphynop2>; |
| 828 | fsl,usbmisc = <&usbmisc2 0>; |
| 829 | phy-clkgate-delay-us = <400>; |
| 830 | status = "disabled"; |
| 831 | }; |
| 832 | |
| 833 | usbh: usb@30b30000 { |
| 834 | compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; |
| 835 | reg = <0x30b30000 0x200>; |
| 836 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 837 | clocks = <&clks IMX7D_USB_CTRL_CLK>; |
| 838 | fsl,usbphy = <&usbphynop3>; |
| 839 | fsl,usbmisc = <&usbmisc3 0>; |
| 840 | phy_type = "hsic"; |
| 841 | dr_mode = "host"; |
| 842 | phy-clkgate-delay-us = <400>; |
| 843 | status = "disabled"; |
| 844 | }; |
| 845 | |
| 846 | usbmisc1: usbmisc@30b10200 { |
| 847 | #index-cells = <1>; |
| 848 | compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc"; |
| 849 | reg = <0x30b10200 0x200>; |
| 850 | }; |
| 851 | |
| 852 | usbmisc2: usbmisc@30b20200 { |
| 853 | #index-cells = <1>; |
| 854 | compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc"; |
| 855 | reg = <0x30b20200 0x200>; |
| 856 | }; |
| 857 | |
| 858 | usbmisc3: usbmisc@30b30200 { |
| 859 | #index-cells = <1>; |
| 860 | compatible = "fsl,imx7d-usbmisc", "fsl,imx6q-usbmisc"; |
| 861 | reg = <0x30b30200 0x200>; |
| 862 | }; |
| 863 | |
| 864 | usbphynop1: usbphynop1 { |
| 865 | compatible = "usb-nop-xceiv"; |
| 866 | clocks = <&clks IMX7D_USB_PHY1_CLK>; |
| 867 | clock-names = "main_clk"; |
| 868 | }; |
| 869 | |
| 870 | usbphynop2: usbphynop2 { |
| 871 | compatible = "usb-nop-xceiv"; |
| 872 | clocks = <&clks IMX7D_USB_PHY2_CLK>; |
| 873 | clock-names = "main_clk"; |
| 874 | }; |
| 875 | |
| 876 | usbphynop3: usbphynop3 { |
| 877 | compatible = "usb-nop-xceiv"; |
| 878 | clocks = <&clks IMX7D_USB_HSIC_ROOT_CLK>; |
| 879 | clock-names = "main_clk"; |
| 880 | }; |
| 881 | |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 882 | usdhc1: usdhc@30b40000 { |
| 883 | compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc"; |
| 884 | reg = <0x30b40000 0x10000>; |
| 885 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 886 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 887 | <&clks IMX7D_CLK_DUMMY>, |
| 888 | <&clks IMX7D_USDHC1_ROOT_CLK>; |
| 889 | clock-names = "ipg", "ahb", "per"; |
| 890 | bus-width = <4>; |
| 891 | status = "disabled"; |
| 892 | }; |
| 893 | |
| 894 | usdhc2: usdhc@30b50000 { |
| 895 | compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc"; |
| 896 | reg = <0x30b50000 0x10000>; |
| 897 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 898 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 899 | <&clks IMX7D_CLK_DUMMY>, |
| 900 | <&clks IMX7D_USDHC2_ROOT_CLK>; |
| 901 | clock-names = "ipg", "ahb", "per"; |
| 902 | bus-width = <4>; |
| 903 | status = "disabled"; |
| 904 | }; |
| 905 | |
| 906 | usdhc3: usdhc@30b60000 { |
| 907 | compatible = "fsl,imx7d-usdhc", "fsl,imx6sl-usdhc"; |
| 908 | reg = <0x30b60000 0x10000>; |
| 909 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| 910 | clocks = <&clks IMX7D_CLK_DUMMY>, |
| 911 | <&clks IMX7D_CLK_DUMMY>, |
| 912 | <&clks IMX7D_USDHC3_ROOT_CLK>; |
| 913 | clock-names = "ipg", "ahb", "per"; |
| 914 | bus-width = <4>; |
| 915 | status = "disabled"; |
| 916 | }; |
Fugang Duan | 0f62921 | 2015-09-07 10:55:01 +0800 | [diff] [blame] | 917 | |
| 918 | fec1: ethernet@30be0000 { |
| 919 | compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec"; |
| 920 | reg = <0x30be0000 0x10000>; |
| 921 | interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 922 | <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, |
| 923 | <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
| 924 | clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>, |
| 925 | <&clks IMX7D_ENET_AXI_ROOT_CLK>, |
| 926 | <&clks IMX7D_ENET1_TIME_ROOT_CLK>, |
| 927 | <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>, |
| 928 | <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>; |
| 929 | clock-names = "ipg", "ahb", "ptp", |
| 930 | "enet_clk_ref", "enet_out"; |
| 931 | fsl,num-tx-queues=<3>; |
| 932 | fsl,num-rx-queues=<3>; |
| 933 | status = "disabled"; |
| 934 | }; |
| 935 | |
| 936 | fec2: ethernet@30bf0000 { |
| 937 | compatible = "fsl,imx7d-fec", "fsl,imx6sx-fec"; |
| 938 | reg = <0x30bf0000 0x10000>; |
| 939 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
| 940 | <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
| 941 | <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; |
| 942 | clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>, |
| 943 | <&clks IMX7D_ENET_AXI_ROOT_CLK>, |
| 944 | <&clks IMX7D_ENET2_TIME_ROOT_CLK>, |
| 945 | <&clks IMX7D_PLL_ENET_MAIN_125M_CLK>, |
| 946 | <&clks IMX7D_ENET_PHY_REF_ROOT_CLK>; |
| 947 | clock-names = "ipg", "ahb", "ptp", |
| 948 | "enet_clk_ref", "enet_out"; |
| 949 | fsl,num-tx-queues=<3>; |
| 950 | fsl,num-rx-queues=<3>; |
| 951 | status = "disabled"; |
| 952 | }; |
Frank Li | 9496734 | 2015-05-19 02:45:04 +0800 | [diff] [blame] | 953 | }; |
| 954 | }; |
| 955 | }; |