|
26 | 26 | enable-method = "spin-table"; |
27 | 27 | cpu-release-addr = <0x1 0x0000fff8>; |
28 | 28 | next-level-cache = <&xgene_L2_0>; |
| 29 | + #clock-cells = <1>; |
| 30 | + clocks = <&pmd0clk 0>; |
29 | 31 | }; |
30 | 32 | cpu@001 { |
31 | 33 | device_type = "cpu"; |
|
34 | 36 | enable-method = "spin-table"; |
35 | 37 | cpu-release-addr = <0x1 0x0000fff8>; |
36 | 38 | next-level-cache = <&xgene_L2_0>; |
| 39 | + #clock-cells = <1>; |
| 40 | + clocks = <&pmd0clk 0>; |
37 | 41 | }; |
38 | 42 | cpu@100 { |
39 | 43 | device_type = "cpu"; |
|
42 | 46 | enable-method = "spin-table"; |
43 | 47 | cpu-release-addr = <0x1 0x0000fff8>; |
44 | 48 | next-level-cache = <&xgene_L2_1>; |
| 49 | + #clock-cells = <1>; |
| 50 | + clocks = <&pmd1clk 0>; |
45 | 51 | }; |
46 | 52 | cpu@101 { |
47 | 53 | device_type = "cpu"; |
|
50 | 56 | enable-method = "spin-table"; |
51 | 57 | cpu-release-addr = <0x1 0x0000fff8>; |
52 | 58 | next-level-cache = <&xgene_L2_1>; |
| 59 | + #clock-cells = <1>; |
| 60 | + clocks = <&pmd1clk 0>; |
53 | 61 | }; |
54 | 62 | cpu@200 { |
55 | 63 | device_type = "cpu"; |
|
58 | 66 | enable-method = "spin-table"; |
59 | 67 | cpu-release-addr = <0x1 0x0000fff8>; |
60 | 68 | next-level-cache = <&xgene_L2_2>; |
| 69 | + #clock-cells = <1>; |
| 70 | + clocks = <&pmd2clk 0>; |
61 | 71 | }; |
62 | 72 | cpu@201 { |
63 | 73 | device_type = "cpu"; |
|
66 | 76 | enable-method = "spin-table"; |
67 | 77 | cpu-release-addr = <0x1 0x0000fff8>; |
68 | 78 | next-level-cache = <&xgene_L2_2>; |
| 79 | + #clock-cells = <1>; |
| 80 | + clocks = <&pmd2clk 0>; |
69 | 81 | }; |
70 | 82 | cpu@300 { |
71 | 83 | device_type = "cpu"; |
|
74 | 86 | enable-method = "spin-table"; |
75 | 87 | cpu-release-addr = <0x1 0x0000fff8>; |
76 | 88 | next-level-cache = <&xgene_L2_3>; |
| 89 | + #clock-cells = <1>; |
| 90 | + clocks = <&pmd3clk 0>; |
77 | 91 | }; |
78 | 92 | cpu@301 { |
79 | 93 | device_type = "cpu"; |
|
82 | 96 | enable-method = "spin-table"; |
83 | 97 | cpu-release-addr = <0x1 0x0000fff8>; |
84 | 98 | next-level-cache = <&xgene_L2_3>; |
| 99 | + #clock-cells = <1>; |
| 100 | + clocks = <&pmd3clk 0>; |
85 | 101 | }; |
86 | 102 | xgene_L2_0: l2-cache-0 { |
87 | 103 | compatible = "cache"; |
|
223 | 239 | clock-output-names = "refclk"; |
224 | 240 | }; |
225 | 241 |
|
| 242 | + pmdpll: pmdpll@170000f0 { |
| 243 | + compatible = "apm,xgene-pcppll-v2-clock"; |
| 244 | + #clock-cells = <1>; |
| 245 | + clocks = <&refclk 0>; |
| 246 | + reg = <0x0 0x170000f0 0x0 0x10>; |
| 247 | + clock-output-names = "pmdpll"; |
| 248 | + }; |
| 249 | + |
| 250 | + pmd0clk: pmd0clk@7e200200 { |
| 251 | + compatible = "apm,xgene-pmd-clock"; |
| 252 | + #clock-cells = <1>; |
| 253 | + clocks = <&pmdpll 0>; |
| 254 | + reg = <0x0 0x7e200200 0x0 0x10>; |
| 255 | + clock-output-names = "pmd0clk"; |
| 256 | + }; |
| 257 | + |
| 258 | + pmd1clk: pmd1clk@7e200210 { |
| 259 | + compatible = "apm,xgene-pmd-clock"; |
| 260 | + #clock-cells = <1>; |
| 261 | + clocks = <&pmdpll 0>; |
| 262 | + reg = <0x0 0x7e200210 0x0 0x10>; |
| 263 | + clock-output-names = "pmd1clk"; |
| 264 | + }; |
| 265 | + |
| 266 | + pmd2clk: pmd2clk@7e200220 { |
| 267 | + compatible = "apm,xgene-pmd-clock"; |
| 268 | + #clock-cells = <1>; |
| 269 | + clocks = <&pmdpll 0>; |
| 270 | + reg = <0x0 0x7e200220 0x0 0x10>; |
| 271 | + clock-output-names = "pmd2clk"; |
| 272 | + }; |
| 273 | + |
| 274 | + pmd3clk: pmd3clk@7e200230 { |
| 275 | + compatible = "apm,xgene-pmd-clock"; |
| 276 | + #clock-cells = <1>; |
| 277 | + clocks = <&pmdpll 0>; |
| 278 | + reg = <0x0 0x7e200230 0x0 0x10>; |
| 279 | + clock-output-names = "pmd3clk"; |
| 280 | + }; |
| 281 | + |
226 | 282 | socpll: socpll@17000120 { |
227 | 283 | compatible = "apm,xgene-socpll-v2-clock"; |
228 | 284 | #clock-cells = <1>; |
|
453 | 509 | }; |
454 | 510 | }; |
455 | 511 |
|
| 512 | + pmu: pmu@78810000 { |
| 513 | + compatible = "apm,xgene-pmu-v2"; |
| 514 | + #address-cells = <2>; |
| 515 | + #size-cells = <2>; |
| 516 | + ranges; |
| 517 | + regmap-csw = <&csw>; |
| 518 | + regmap-mcba = <&mcba>; |
| 519 | + regmap-mcbb = <&mcbb>; |
| 520 | + reg = <0x0 0x78810000 0x0 0x1000>; |
| 521 | + interrupts = <0x0 0x22 0x4>; |
| 522 | + |
| 523 | + pmul3c@7e610000 { |
| 524 | + compatible = "apm,xgene-pmu-l3c"; |
| 525 | + reg = <0x0 0x7e610000 0x0 0x1000>; |
| 526 | + }; |
| 527 | + |
| 528 | + pmuiob@7e940000 { |
| 529 | + compatible = "apm,xgene-pmu-iob"; |
| 530 | + reg = <0x0 0x7e940000 0x0 0x1000>; |
| 531 | + }; |
| 532 | + |
| 533 | + pmucmcb@7e710000 { |
| 534 | + compatible = "apm,xgene-pmu-mcb"; |
| 535 | + reg = <0x0 0x7e710000 0x0 0x1000>; |
| 536 | + enable-bit-index = <0>; |
| 537 | + }; |
| 538 | + |
| 539 | + pmucmcb@7e730000 { |
| 540 | + compatible = "apm,xgene-pmu-mcb"; |
| 541 | + reg = <0x0 0x7e730000 0x0 0x1000>; |
| 542 | + enable-bit-index = <1>; |
| 543 | + }; |
| 544 | + |
| 545 | + pmucmc@7e810000 { |
| 546 | + compatible = "apm,xgene-pmu-mc"; |
| 547 | + reg = <0x0 0x7e810000 0x0 0x1000>; |
| 548 | + enable-bit-index = <0>; |
| 549 | + }; |
| 550 | + |
| 551 | + pmucmc@7e850000 { |
| 552 | + compatible = "apm,xgene-pmu-mc"; |
| 553 | + reg = <0x0 0x7e850000 0x0 0x1000>; |
| 554 | + enable-bit-index = <1>; |
| 555 | + }; |
| 556 | + |
| 557 | + pmucmc@7e890000 { |
| 558 | + compatible = "apm,xgene-pmu-mc"; |
| 559 | + reg = <0x0 0x7e890000 0x0 0x1000>; |
| 560 | + enable-bit-index = <2>; |
| 561 | + }; |
| 562 | + |
| 563 | + pmucmc@7e8d0000 { |
| 564 | + compatible = "apm,xgene-pmu-mc"; |
| 565 | + reg = <0x0 0x7e8d0000 0x0 0x1000>; |
| 566 | + enable-bit-index = <3>; |
| 567 | + }; |
| 568 | + }; |
| 569 | + |
456 | 570 | mailbox: mailbox@10540000 { |
457 | 571 | compatible = "apm,xgene-slimpro-mbox"; |
458 | 572 | reg = <0x0 0x10540000 0x0 0x8000>; |
|
472 | 586 | mboxes = <&mailbox 0>; |
473 | 587 | }; |
474 | 588 |
|
| 589 | + hwmonslimpro { |
| 590 | + compatible = "apm,xgene-slimpro-hwmon"; |
| 591 | + mboxes = <&mailbox 7>; |
| 592 | + }; |
| 593 | + |
475 | 594 | serial0: serial@10600000 { |
476 | 595 | device_type = "serial"; |
477 | 596 | compatible = "ns16550"; |
|
508 | 627 | dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 |
509 | 628 | 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; |
510 | 629 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
511 | | - interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x1 |
512 | | - 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x1 |
513 | | - 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x1 |
514 | | - 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x1>; |
| 630 | + interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x4 |
| 631 | + 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x4 |
| 632 | + 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x4 |
| 633 | + 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x4>; |
515 | 634 | dma-coherent; |
516 | 635 | clocks = <&pcie0clk 0>; |
517 | 636 | msi-parent = <&v2m0>; |
|
533 | 652 | dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000 |
534 | 653 | 0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>; |
535 | 654 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; |
536 | | - interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x1 |
537 | | - 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x1 |
538 | | - 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x1 |
539 | | - 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x1>; |
| 655 | + interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x4 |
| 656 | + 0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x4 |
| 657 | + 0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x4 |
| 658 | + 0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x4>; |
540 | 659 | dma-coherent; |
541 | 660 | clocks = <&pcie1clk 0>; |
542 | 661 | msi-parent = <&v2m0>; |
|
0 commit comments