Identifying Primecells

jonsmirl at gmail.com jonsmirl at gmail.com
Fri Sep 23 15:11:03 EDT 2011


On Fri, Sep 23, 2011 at 10:22 AM, Pawel Moll <pawel.moll at arm.com> wrote:
>> My registers don't seem to match up with the pl011 documentation...
> <...>
>> INTCE W       0xFD8   Interrupt       Clear Enable Register
>> INTSE W       0xFDC   Interrupt       Set Enable Register
>> INTS  R       0xFE0   Interrupt       Status Register
>> INTE  R       0xFE4   Interrupt       Enable Register
>
> ... nor any other PrimeCell, actually :-)
>
> "Compliant" PrimeCells must have the PCellID in the last 4 registers:

I scanned though 0xff0/f for all of the devices. The only one that had
anything that makes sense is the Multiport Memory Controller -
0xb105f00d

So it looks like NXP made almost all of their own peripherals. Which
means I have to clean up the drivers for all of them.


> http://infocenter.arm.com/help/topic/com.arm.doc.ddi0183g/I54776.html
>
> * base + 0xff0 = 0x0d
> * base + 0xff4 = 0xf0
> * base + 0xff8 = 0x05
> * base + 0xffc = 0xb1
>
> Cheers!
>
> Paweł
>
>
>



-- 
Jon Smirl
jonsmirl at gmail.com



More information about the linux-arm-kernel mailing list