Issues to access Compact Flash Card on MPC8360E

Atul Deshmukh atulsdeshmukh at gmail.com
Tue Aug 3 20:11:05 EST 2010


Thanks a lot Anton,

I was confused with "ata-generic" entry at pata at 3.0 node.
Now the things are pretty much clear..
Earlier we thought that IORD and IOWR pins would be from GPIO, so thought
had to do bit-banging. But after going through the schematics, we come to
know that pins could be from LGPL0/1.

On Mon, Aug 2, 2010 at 11:29 PM, Anton Vorontsov <cbouatmailru at gmail.com>wrote:

> On Mon, Aug 02, 2010 at 07:44:22PM +0530, Atul Deshmukh wrote:
> > Thanks a lot Anton,
> > From the dts entry given below,
> >
> > localbus at e0005000 {
> >          #address-cells = <2>;
> >                #size-cells = <1>;
> >                compatible = "fsl,mpc8349e-localbus",
> >                             "fsl,pq2pro-localbus";
> >                reg = <0xe0005000 0xd8>;
> >                ranges = <0x3 0x0 0xf0000000 0x210>;
> >                pata at 3,0 {
> >                        compatible = "fsl,mpc8349emitx-pata",
> > "ata-generic";
> >                        reg = <0x3 0x0 0x10 0x3 0x20c 0x4>;
> >                        reg-shift = <1>;
> >                        pio-mode = <6>;
> >                        interrupts = <23 0x8>;
> >                       interrupt-parent = <&ipic>;
> >                };
> >        };
> >
> >
> The driver is drivers/ata/pata_of_platform.c.
>
> > controls PCI-based IDE-controller where we can plug in our CF card...Am I
> > right???
>
> Nope, no PCI involved. CF is almost* directly connected to
> the localbus.
>
> > But in our design we don't use any controller we directly connects CF
> card
> > to local bus where UPM controls it..
>
> Yes, that's exactly how CF is done on MPC8349EmITX boards.
>
> > Can you please explain how the interface is implemented in MPC8349..
>
> Via localbus + UPM.
>
> * 'almost' is because there are some buffers and inverters, see
>  schematics:
>
> http://www.freescale.com/files/32bit/hardware_tools/schematics/MPC8349EMITXESCH.pdf
>
> --
> Anton Vorontsov
> email: cbouatmailru at gmail.com
> irc://irc.freenode.net/bd2
>



-- 
Regards,
Atul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100803/881fa3cf/attachment-0001.html>


More information about the Linuxppc-dev mailing list