linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* DTS device tree node for dual port RAM
@ 2009-03-12 11:24 EXTERNAL Lange Matthias (AA-DGW/ENG1)
  2009-03-12 13:32 ` Grant Likely
  0 siblings, 1 reply; 4+ messages in thread
From: EXTERNAL Lange Matthias (AA-DGW/ENG1) @ 2009-03-12 11:24 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org

Hi,

I am working on a MPC5200-based board. There is a dual port RAM connected t=
o the MPC5200 via the localbus. In my setup one can raise an interrupt at t=
he MPC5200 to signal new that new data has arrived in the dual port RAM. I =
have already found out that the interrupt delivery actually works (do_IRQ g=
ets called when raising the interrupt).

My problem is that my driver (kernel 2.6.24) can not register for the inter=
rupt. Each time I call request_irq I get -ENOSYS. I am suspecting that I ha=
ve done something wrong in my dts defining the dual port RAM. I have define=
d the device as follows

localbus {
        compatible =3D "fsl,orion-localbus",
                     "fsl,mpc5200-localbus",
                     "fsl,pq2-localbus";
        #address-cells =3D <2>;
        #size-cells =3D <1>;
        reg =3D <f0010100 40>;
        ranges =3D <0 0 fe000000 00400000>;

        dpram@40000000 {
                device_type =3D "dpram";
                interrupts =3D <0 0 0>;
                interrupt-parent =3D <&mpc5200_pic>;
        };
};

What am I doing wrong? What am I missing?

Thanks,
Matthias Lange.

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

end of thread, other threads:[~2009-03-16  4:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 11:24 DTS device tree node for dual port RAM EXTERNAL Lange Matthias (AA-DGW/ENG1)
2009-03-12 13:32 ` Grant Likely
2009-03-12 15:19   ` EXTERNAL Lange Matthias (AA-DGW/ENG1)
2009-03-16  4:57     ` Grant Likely

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).