linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* pci node question
@ 2012-04-20 18:37 Yoder Stuart-B08248
  2012-04-20 18:53 ` Kumar Gala
  0 siblings, 1 reply; 14+ messages in thread
From: Yoder Stuart-B08248 @ 2012-04-20 18:37 UTC (permalink / raw)
  To: Kumar Gala, linuxppc-dev@lists.ozlabs.org

There was refactoring change a while back that moved=20
the interrupt map down into the virtual pci bridge.

example:=20
42 /* controller at 0x200000 */
43 &pci0 {
44         compatible =3D "fsl,p2041-pcie", "fsl,qoriq-pcie-v2.2";
45         device_type =3D "pci";
46         #size-cells =3D <2>;
47         #address-cells =3D <3>;
48         bus-range =3D <0x0 0xff>;
49         clock-frequency =3D <33333333>;
50         interrupts =3D <16 2 1 15>;
51         pcie@0 {
52                 reg =3D <0 0 0 0 0>;
53                 #interrupt-cells =3D <1>;
54                 #size-cells =3D <2>;
55                 #address-cells =3D <3>;
56                 device_type =3D "pci";
57                 interrupts =3D <16 2 1 15>;
58                 interrupt-map-mask =3D <0xf800 0 0 7>;
59                 interrupt-map =3D <
60                         /* IDSEL 0x0 */
61                         0000 0 0 1 &mpic 40 1 0 0
62                         0000 0 0 2 &mpic 1 1 0 0
63                         0000 0 0 3 &mpic 2 1 0 0
64                         0000 0 0 4 &mpic 3 1 0 0
65                         >;
66         };
67 };

Why was the interrupt-map moved here?

Do we really need the error interrupt specified twice?

Why is there a zeroed out reg property: reg =3D <0 0 0 0 0> ??

Thanks,
Stuart

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-04-23 20:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-20 18:37 pci node question Yoder Stuart-B08248
2012-04-20 18:53 ` Kumar Gala
2012-04-20 19:04   ` Scott Wood
2012-04-20 20:37     ` Kumar Gala
2012-04-20 20:53       ` Scott Wood
2012-04-20 21:24         ` Benjamin Herrenschmidt
2012-04-20 21:20       ` Benjamin Herrenschmidt
2012-04-20 21:19     ` Benjamin Herrenschmidt
2012-04-20 19:50   ` Yoder Stuart-B08248
2012-04-20 21:11   ` Benjamin Herrenschmidt
2012-04-23 15:48     ` Yoder Stuart-B08248
2012-04-23 20:21       ` Benjamin Herrenschmidt
2012-04-23 20:32         ` Yoder Stuart-B08248
2012-04-23 20:40           ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).