| .. | .. |
|---|
| 45 | 45 | * OTHER DEALINGS IN THE SOFTWARE. |
|---|
| 46 | 46 | */ |
|---|
| 47 | 47 | |
|---|
| 48 | | -#include "skeleton64.dtsi" |
|---|
| 49 | 48 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
|---|
| 50 | 49 | #include <dt-bindings/thermal/thermal.h> |
|---|
| 51 | 50 | |
|---|
| 52 | 51 | / { |
|---|
| 52 | + #address-cells = <2>; |
|---|
| 53 | + #size-cells = <2>; |
|---|
| 53 | 54 | compatible = "fsl,ls1021a"; |
|---|
| 54 | 55 | interrupt-parent = <&gic>; |
|---|
| 55 | 56 | |
|---|
| .. | .. |
|---|
| 58 | 59 | ethernet0 = &enet0; |
|---|
| 59 | 60 | ethernet1 = &enet1; |
|---|
| 60 | 61 | ethernet2 = &enet2; |
|---|
| 62 | + rtc1 = &ftm_alarm0; |
|---|
| 61 | 63 | serial0 = &lpuart0; |
|---|
| 62 | 64 | serial1 = &lpuart1; |
|---|
| 63 | 65 | serial2 = &lpuart2; |
|---|
| .. | .. |
|---|
| 86 | 88 | clocks = <&clockgen 1 0>; |
|---|
| 87 | 89 | #cooling-cells = <2>; |
|---|
| 88 | 90 | }; |
|---|
| 91 | + }; |
|---|
| 92 | + |
|---|
| 93 | + memory { |
|---|
| 94 | + device_type = "memory"; |
|---|
| 95 | + reg = <0x0 0x0 0x0 0x0>; |
|---|
| 89 | 96 | }; |
|---|
| 90 | 97 | |
|---|
| 91 | 98 | sysclk: sysclk { |
|---|
| .. | .. |
|---|
| 125 | 132 | interrupt-parent = <&gic>; |
|---|
| 126 | 133 | ranges; |
|---|
| 127 | 134 | |
|---|
| 135 | + ddr: memory-controller@1080000 { |
|---|
| 136 | + compatible = "fsl,qoriq-memory-controller"; |
|---|
| 137 | + reg = <0x0 0x1080000 0x0 0x1000>; |
|---|
| 138 | + interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 139 | + big-endian; |
|---|
| 140 | + }; |
|---|
| 141 | + |
|---|
| 128 | 142 | gic: interrupt-controller@1400000 { |
|---|
| 129 | 143 | compatible = "arm,gic-400", "arm,cortex-a7-gic"; |
|---|
| 130 | 144 | #interrupt-cells = <3>; |
|---|
| .. | .. |
|---|
| 163 | 177 | big-endian; |
|---|
| 164 | 178 | }; |
|---|
| 165 | 179 | |
|---|
| 166 | | - qspi: quadspi@1550000 { |
|---|
| 180 | + qspi: spi@1550000 { |
|---|
| 167 | 181 | compatible = "fsl,ls1021a-qspi"; |
|---|
| 168 | 182 | #address-cells = <1>; |
|---|
| 169 | 183 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 173 | 187 | interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 174 | 188 | clock-names = "qspi_en", "qspi"; |
|---|
| 175 | 189 | clocks = <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 176 | | - big-endian; |
|---|
| 177 | 190 | status = "disabled"; |
|---|
| 178 | 191 | }; |
|---|
| 179 | 192 | |
|---|
| .. | .. |
|---|
| 204 | 217 | compatible = "fsl,ls1021a-scfg", "syscon"; |
|---|
| 205 | 218 | reg = <0x0 0x1570000 0x0 0x10000>; |
|---|
| 206 | 219 | big-endian; |
|---|
| 220 | + #address-cells = <1>; |
|---|
| 221 | + #size-cells = <1>; |
|---|
| 222 | + ranges = <0x0 0x0 0x1570000 0x10000>; |
|---|
| 223 | + |
|---|
| 224 | + extirq: interrupt-controller@1ac { |
|---|
| 225 | + compatible = "fsl,ls1021a-extirq"; |
|---|
| 226 | + #interrupt-cells = <2>; |
|---|
| 227 | + #address-cells = <0>; |
|---|
| 228 | + interrupt-controller; |
|---|
| 229 | + reg = <0x1ac 4>; |
|---|
| 230 | + interrupt-map = |
|---|
| 231 | + <0 0 &gic GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 232 | + <1 0 &gic GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 233 | + <2 0 &gic GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 234 | + <3 0 &gic GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 235 | + <4 0 &gic GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 236 | + <5 0 &gic GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 237 | + interrupt-map-mask = <0xffffffff 0x0>; |
|---|
| 238 | + }; |
|---|
| 207 | 239 | }; |
|---|
| 208 | 240 | |
|---|
| 209 | 241 | crypto: crypto@1700000 { |
|---|
| .. | .. |
|---|
| 299 | 331 | #thermal-sensor-cells = <1>; |
|---|
| 300 | 332 | }; |
|---|
| 301 | 333 | |
|---|
| 302 | | - thermal-zones { |
|---|
| 303 | | - cpu_thermal: cpu-thermal { |
|---|
| 304 | | - polling-delay-passive = <1000>; |
|---|
| 305 | | - polling-delay = <5000>; |
|---|
| 306 | | - |
|---|
| 307 | | - thermal-sensors = <&tmu 0>; |
|---|
| 308 | | - |
|---|
| 309 | | - trips { |
|---|
| 310 | | - cpu_alert: cpu-alert { |
|---|
| 311 | | - temperature = <85000>; |
|---|
| 312 | | - hysteresis = <2000>; |
|---|
| 313 | | - type = "passive"; |
|---|
| 314 | | - }; |
|---|
| 315 | | - cpu_crit: cpu-crit { |
|---|
| 316 | | - temperature = <95000>; |
|---|
| 317 | | - hysteresis = <2000>; |
|---|
| 318 | | - type = "critical"; |
|---|
| 319 | | - }; |
|---|
| 320 | | - }; |
|---|
| 321 | | - |
|---|
| 322 | | - cooling-maps { |
|---|
| 323 | | - map0 { |
|---|
| 324 | | - trip = <&cpu_alert>; |
|---|
| 325 | | - cooling-device = |
|---|
| 326 | | - <&cpu0 THERMAL_NO_LIMIT |
|---|
| 327 | | - THERMAL_NO_LIMIT>; |
|---|
| 328 | | - }; |
|---|
| 329 | | - }; |
|---|
| 330 | | - }; |
|---|
| 331 | | - }; |
|---|
| 332 | | - |
|---|
| 333 | | - dspi0: dspi@2100000 { |
|---|
| 334 | + dspi0: spi@2100000 { |
|---|
| 334 | 335 | compatible = "fsl,ls1021a-v1.0-dspi"; |
|---|
| 335 | 336 | #address-cells = <1>; |
|---|
| 336 | 337 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 343 | 344 | status = "disabled"; |
|---|
| 344 | 345 | }; |
|---|
| 345 | 346 | |
|---|
| 346 | | - dspi1: dspi@2110000 { |
|---|
| 347 | + dspi1: spi@2110000 { |
|---|
| 347 | 348 | compatible = "fsl,ls1021a-v1.0-dspi"; |
|---|
| 348 | 349 | #address-cells = <1>; |
|---|
| 349 | 350 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 364 | 365 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 365 | 366 | clock-names = "i2c"; |
|---|
| 366 | 367 | clocks = <&clockgen 4 1>; |
|---|
| 368 | + dma-names = "tx", "rx"; |
|---|
| 369 | + dmas = <&edma0 1 39>, <&edma0 1 38>; |
|---|
| 367 | 370 | status = "disabled"; |
|---|
| 368 | 371 | }; |
|---|
| 369 | 372 | |
|---|
| .. | .. |
|---|
| 375 | 378 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 376 | 379 | clock-names = "i2c"; |
|---|
| 377 | 380 | clocks = <&clockgen 4 1>; |
|---|
| 381 | + dma-names = "tx", "rx"; |
|---|
| 382 | + dmas = <&edma0 1 37>, <&edma0 1 36>; |
|---|
| 378 | 383 | status = "disabled"; |
|---|
| 379 | 384 | }; |
|---|
| 380 | 385 | |
|---|
| .. | .. |
|---|
| 386 | 391 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 387 | 392 | clock-names = "i2c"; |
|---|
| 388 | 393 | clocks = <&clockgen 4 1>; |
|---|
| 394 | + dma-names = "tx", "rx"; |
|---|
| 395 | + dmas = <&edma0 1 35>, <&edma0 1 34>; |
|---|
| 389 | 396 | status = "disabled"; |
|---|
| 390 | 397 | }; |
|---|
| 391 | 398 | |
|---|
| .. | .. |
|---|
| 422 | 429 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 423 | 430 | clock-frequency = <0>; |
|---|
| 424 | 431 | fifo-size = <15>; |
|---|
| 432 | + status = "disabled"; |
|---|
| 433 | + }; |
|---|
| 434 | + |
|---|
| 435 | + counter0: counter@29d0000 { |
|---|
| 436 | + compatible = "fsl,ftm-quaddec"; |
|---|
| 437 | + reg = <0x0 0x29d0000 0x0 0x10000>; |
|---|
| 438 | + big-endian; |
|---|
| 439 | + status = "disabled"; |
|---|
| 440 | + }; |
|---|
| 441 | + |
|---|
| 442 | + counter1: counter@29e0000 { |
|---|
| 443 | + compatible = "fsl,ftm-quaddec"; |
|---|
| 444 | + reg = <0x0 0x29e0000 0x0 0x10000>; |
|---|
| 445 | + big-endian; |
|---|
| 446 | + status = "disabled"; |
|---|
| 447 | + }; |
|---|
| 448 | + |
|---|
| 449 | + counter2: counter@29f0000 { |
|---|
| 450 | + compatible = "fsl,ftm-quaddec"; |
|---|
| 451 | + reg = <0x0 0x29f0000 0x0 0x10000>; |
|---|
| 452 | + big-endian; |
|---|
| 453 | + status = "disabled"; |
|---|
| 454 | + }; |
|---|
| 455 | + |
|---|
| 456 | + counter3: counter@2a00000 { |
|---|
| 457 | + compatible = "fsl,ftm-quaddec"; |
|---|
| 458 | + reg = <0x0 0x2a00000 0x0 0x10000>; |
|---|
| 459 | + big-endian; |
|---|
| 425 | 460 | status = "disabled"; |
|---|
| 426 | 461 | }; |
|---|
| 427 | 462 | |
|---|
| .. | .. |
|---|
| 519 | 554 | status = "disabled"; |
|---|
| 520 | 555 | }; |
|---|
| 521 | 556 | |
|---|
| 557 | + pwm0: pwm@29d0000 { |
|---|
| 558 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 559 | + #pwm-cells = <3>; |
|---|
| 560 | + reg = <0x0 0x29d0000 0x0 0x10000>; |
|---|
| 561 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 562 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 563 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 564 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 565 | + big-endian; |
|---|
| 566 | + status = "disabled"; |
|---|
| 567 | + }; |
|---|
| 568 | + |
|---|
| 569 | + pwm1: pwm@29e0000 { |
|---|
| 570 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 571 | + #pwm-cells = <3>; |
|---|
| 572 | + reg = <0x0 0x29e0000 0x0 0x10000>; |
|---|
| 573 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 574 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 575 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 576 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 577 | + big-endian; |
|---|
| 578 | + status = "disabled"; |
|---|
| 579 | + }; |
|---|
| 580 | + |
|---|
| 581 | + pwm2: pwm@29f0000 { |
|---|
| 582 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 583 | + #pwm-cells = <3>; |
|---|
| 584 | + reg = <0x0 0x29f0000 0x0 0x10000>; |
|---|
| 585 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 586 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 587 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 588 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 589 | + big-endian; |
|---|
| 590 | + status = "disabled"; |
|---|
| 591 | + }; |
|---|
| 592 | + |
|---|
| 593 | + pwm3: pwm@2a00000 { |
|---|
| 594 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 595 | + #pwm-cells = <3>; |
|---|
| 596 | + reg = <0x0 0x2a00000 0x0 0x10000>; |
|---|
| 597 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 598 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 599 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 600 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 601 | + big-endian; |
|---|
| 602 | + status = "disabled"; |
|---|
| 603 | + }; |
|---|
| 604 | + |
|---|
| 605 | + pwm4: pwm@2a10000 { |
|---|
| 606 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 607 | + #pwm-cells = <3>; |
|---|
| 608 | + reg = <0x0 0x2a10000 0x0 0x10000>; |
|---|
| 609 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 610 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 611 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 612 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 613 | + big-endian; |
|---|
| 614 | + status = "disabled"; |
|---|
| 615 | + }; |
|---|
| 616 | + |
|---|
| 617 | + pwm5: pwm@2a20000 { |
|---|
| 618 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 619 | + #pwm-cells = <3>; |
|---|
| 620 | + reg = <0x0 0x2a20000 0x0 0x10000>; |
|---|
| 621 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 622 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 623 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 624 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 625 | + big-endian; |
|---|
| 626 | + status = "disabled"; |
|---|
| 627 | + }; |
|---|
| 628 | + |
|---|
| 629 | + pwm6: pwm@2a30000 { |
|---|
| 630 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 631 | + #pwm-cells = <3>; |
|---|
| 632 | + reg = <0x0 0x2a30000 0x0 0x10000>; |
|---|
| 633 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 634 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 635 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 636 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 637 | + big-endian; |
|---|
| 638 | + status = "disabled"; |
|---|
| 639 | + }; |
|---|
| 640 | + |
|---|
| 641 | + pwm7: pwm@2a40000 { |
|---|
| 642 | + compatible = "fsl,vf610-ftm-pwm"; |
|---|
| 643 | + #pwm-cells = <3>; |
|---|
| 644 | + reg = <0x0 0x2a40000 0x0 0x10000>; |
|---|
| 645 | + clock-names = "ftm_sys", "ftm_ext", |
|---|
| 646 | + "ftm_fix", "ftm_cnt_clk_en"; |
|---|
| 647 | + clocks = <&clockgen 4 1>, <&clockgen 4 1>, |
|---|
| 648 | + <&clockgen 4 1>, <&clockgen 4 1>; |
|---|
| 649 | + big-endian; |
|---|
| 650 | + status = "disabled"; |
|---|
| 651 | + }; |
|---|
| 652 | + |
|---|
| 522 | 653 | wdog0: watchdog@2ad0000 { |
|---|
| 523 | 654 | compatible = "fsl,imx21-wdt"; |
|---|
| 524 | 655 | reg = <0x0 0x2ad0000 0x0 0x10000>; |
|---|
| .. | .. |
|---|
| 611 | 742 | fsl,tmr-fiper1 = <999999995>; |
|---|
| 612 | 743 | fsl,tmr-fiper2 = <999999995>; |
|---|
| 613 | 744 | fsl,max-adj = <499999999>; |
|---|
| 745 | + fsl,extts-fifo; |
|---|
| 614 | 746 | }; |
|---|
| 615 | 747 | |
|---|
| 616 | 748 | enet0: ethernet@2d10000 { |
|---|
| .. | .. |
|---|
| 716 | 848 | dr_mode = "host"; |
|---|
| 717 | 849 | snps,quirk-frame-length-adjustment = <0x20>; |
|---|
| 718 | 850 | snps,dis_rxdet_inp3_quirk; |
|---|
| 851 | + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
|---|
| 719 | 852 | }; |
|---|
| 720 | 853 | |
|---|
| 721 | 854 | pcie@3400000 { |
|---|
| 722 | | - compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; |
|---|
| 855 | + compatible = "fsl,ls1021a-pcie"; |
|---|
| 723 | 856 | reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */ |
|---|
| 724 | 857 | 0x40 0x00000000 0x0 0x00002000>; /* configuration space */ |
|---|
| 725 | 858 | reg-names = "regs", "config"; |
|---|
| .. | .. |
|---|
| 728 | 861 | #address-cells = <3>; |
|---|
| 729 | 862 | #size-cells = <2>; |
|---|
| 730 | 863 | device_type = "pci"; |
|---|
| 731 | | - num-lanes = <4>; |
|---|
| 864 | + num-viewport = <6>; |
|---|
| 732 | 865 | bus-range = <0x0 0xff>; |
|---|
| 733 | 866 | ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ |
|---|
| 734 | 867 | 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
|---|
| .. | .. |
|---|
| 739 | 872 | <0000 0 0 2 &gic GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 740 | 873 | <0000 0 0 3 &gic GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 741 | 874 | <0000 0 0 4 &gic GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 875 | + status = "disabled"; |
|---|
| 742 | 876 | }; |
|---|
| 743 | 877 | |
|---|
| 744 | 878 | pcie@3500000 { |
|---|
| 745 | | - compatible = "fsl,ls1021a-pcie", "snps,dw-pcie"; |
|---|
| 879 | + compatible = "fsl,ls1021a-pcie"; |
|---|
| 746 | 880 | reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */ |
|---|
| 747 | 881 | 0x48 0x00000000 0x0 0x00002000>; /* configuration space */ |
|---|
| 748 | 882 | reg-names = "regs", "config"; |
|---|
| .. | .. |
|---|
| 751 | 885 | #address-cells = <3>; |
|---|
| 752 | 886 | #size-cells = <2>; |
|---|
| 753 | 887 | device_type = "pci"; |
|---|
| 754 | | - num-lanes = <4>; |
|---|
| 888 | + num-viewport = <6>; |
|---|
| 755 | 889 | bus-range = <0x0 0xff>; |
|---|
| 756 | 890 | ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ |
|---|
| 757 | 891 | 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
|---|
| .. | .. |
|---|
| 762 | 896 | <0000 0 0 2 &gic GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 763 | 897 | <0000 0 0 3 &gic GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 764 | 898 | <0000 0 0 4 &gic GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 899 | + status = "disabled"; |
|---|
| 765 | 900 | }; |
|---|
| 766 | 901 | |
|---|
| 767 | 902 | can0: can@2a70000 { |
|---|
| .. | .. |
|---|
| 815 | 950 | #size-cells = <1>; |
|---|
| 816 | 951 | ranges = <0x0 0x0 0x10010000 0x10000>; |
|---|
| 817 | 952 | }; |
|---|
| 953 | + |
|---|
| 954 | + qdma: dma-controller@8390000 { |
|---|
| 955 | + compatible = "fsl,ls1021a-qdma"; |
|---|
| 956 | + reg = <0x0 0x8388000 0x0 0x1000>, /* Controller regs */ |
|---|
| 957 | + <0x0 0x8389000 0x0 0x1000>, /* Status regs */ |
|---|
| 958 | + <0x0 0x838a000 0x0 0x2000>; /* Block regs */ |
|---|
| 959 | + interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 960 | + <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 961 | + <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 962 | + interrupt-names = "qdma-error", |
|---|
| 963 | + "qdma-queue0", "qdma-queue1"; |
|---|
| 964 | + dma-channels = <8>; |
|---|
| 965 | + block-number = <1>; |
|---|
| 966 | + block-offset = <0x1000>; |
|---|
| 967 | + fsl,dma-queues = <2>; |
|---|
| 968 | + status-sizes = <64>; |
|---|
| 969 | + queue-sizes = <64 64>; |
|---|
| 970 | + big-endian; |
|---|
| 971 | + }; |
|---|
| 972 | + |
|---|
| 973 | + rcpm: power-controller@1ee2140 { |
|---|
| 974 | + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+"; |
|---|
| 975 | + reg = <0x0 0x1ee2140 0x0 0x8>; |
|---|
| 976 | + #fsl,rcpm-wakeup-cells = <2>; |
|---|
| 977 | + }; |
|---|
| 978 | + |
|---|
| 979 | + ftm_alarm0: timer0@29d0000 { |
|---|
| 980 | + compatible = "fsl,ls1021a-ftm-alarm"; |
|---|
| 981 | + reg = <0x0 0x29d0000 0x0 0x10000>; |
|---|
| 982 | + reg-names = "ftm"; |
|---|
| 983 | + fsl,rcpm-wakeup = <&rcpm 0x20000 0x0>; |
|---|
| 984 | + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 985 | + big-endian; |
|---|
| 986 | + }; |
|---|
| 987 | + }; |
|---|
| 988 | + |
|---|
| 989 | + thermal-zones { |
|---|
| 990 | + cpu_thermal: cpu-thermal { |
|---|
| 991 | + polling-delay-passive = <1000>; |
|---|
| 992 | + polling-delay = <5000>; |
|---|
| 993 | + |
|---|
| 994 | + thermal-sensors = <&tmu 0>; |
|---|
| 995 | + |
|---|
| 996 | + trips { |
|---|
| 997 | + cpu_alert: cpu-alert { |
|---|
| 998 | + temperature = <85000>; |
|---|
| 999 | + hysteresis = <2000>; |
|---|
| 1000 | + type = "passive"; |
|---|
| 1001 | + }; |
|---|
| 1002 | + cpu_crit: cpu-crit { |
|---|
| 1003 | + temperature = <95000>; |
|---|
| 1004 | + hysteresis = <2000>; |
|---|
| 1005 | + type = "critical"; |
|---|
| 1006 | + }; |
|---|
| 1007 | + }; |
|---|
| 1008 | + |
|---|
| 1009 | + cooling-maps { |
|---|
| 1010 | + map0 { |
|---|
| 1011 | + trip = <&cpu_alert>; |
|---|
| 1012 | + cooling-device = |
|---|
| 1013 | + <&cpu0 THERMAL_NO_LIMIT |
|---|
| 1014 | + THERMAL_NO_LIMIT>, |
|---|
| 1015 | + <&cpu1 THERMAL_NO_LIMIT |
|---|
| 1016 | + THERMAL_NO_LIMIT>; |
|---|
| 1017 | + }; |
|---|
| 1018 | + }; |
|---|
| 1019 | + }; |
|---|
| 818 | 1020 | }; |
|---|
| 819 | 1021 | }; |
|---|