Skip to content

Commit e1e6e5c

Browse files
dhdangbjorn-helgaas
authored andcommitted
arm64: dts: Add APM X-Gene PCIe MSI nodes
There is a single MSI block in X-Gene v1 SOC which serves all 5 PCIe ports. Signed-off-by: Duc Dang <[email protected]> Signed-off-by: Tanmay Inamdar <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Marc Zyngier <[email protected]>
1 parent dcd19de commit e1e6e5c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

arch/arm64/boot/dts/apm/apm-storm.dtsi

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,28 @@
374374
};
375375
};
376376

377+
msi: msi@79000000 {
378+
compatible = "apm,xgene1-msi";
379+
msi-controller;
380+
reg = <0x00 0x79000000 0x0 0x900000>;
381+
interrupts = < 0x0 0x10 0x4
382+
0x0 0x11 0x4
383+
0x0 0x12 0x4
384+
0x0 0x13 0x4
385+
0x0 0x14 0x4
386+
0x0 0x15 0x4
387+
0x0 0x16 0x4
388+
0x0 0x17 0x4
389+
0x0 0x18 0x4
390+
0x0 0x19 0x4
391+
0x0 0x1a 0x4
392+
0x0 0x1b 0x4
393+
0x0 0x1c 0x4
394+
0x0 0x1d 0x4
395+
0x0 0x1e 0x4
396+
0x0 0x1f 0x4>;
397+
};
398+
377399
pcie0: pcie@1f2b0000 {
378400
status = "disabled";
379401
device_type = "pci";
@@ -395,6 +417,7 @@
395417
0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
396418
dma-coherent;
397419
clocks = <&pcie0clk 0>;
420+
msi-parent = <&msi>;
398421
};
399422

400423
pcie1: pcie@1f2c0000 {
@@ -418,6 +441,7 @@
418441
0x0 0x0 0x0 0x4 &gic 0x0 0xcb 0x1>;
419442
dma-coherent;
420443
clocks = <&pcie1clk 0>;
444+
msi-parent = <&msi>;
421445
};
422446

423447
pcie2: pcie@1f2d0000 {
@@ -441,6 +465,7 @@
441465
0x0 0x0 0x0 0x4 &gic 0x0 0xd1 0x1>;
442466
dma-coherent;
443467
clocks = <&pcie2clk 0>;
468+
msi-parent = <&msi>;
444469
};
445470

446471
pcie3: pcie@1f500000 {
@@ -464,6 +489,7 @@
464489
0x0 0x0 0x0 0x4 &gic 0x0 0xd7 0x1>;
465490
dma-coherent;
466491
clocks = <&pcie3clk 0>;
492+
msi-parent = <&msi>;
467493
};
468494

469495
pcie4: pcie@1f510000 {
@@ -487,6 +513,7 @@
487513
0x0 0x0 0x0 0x4 &gic 0x0 0xdd 0x1>;
488514
dma-coherent;
489515
clocks = <&pcie4clk 0>;
516+
msi-parent = <&msi>;
490517
};
491518

492519
serial0: serial@1c020000 {

0 commit comments

Comments
 (0)