Identifying Primecells
Rob Herring
robherring2 at gmail.com
Fri Sep 23 09:30:36 EDT 2011
On 09/23/2011 08:11 AM, jonsmirl at gmail.com wrote:
> On Fri, Sep 23, 2011 at 8:46 AM, Rob Herring <robherring2 at gmail.com> wrote:
>> On 09/22/2011 01:19 PM, jonsmirl at gmail.com wrote:
>>> I'm working on device tree support for the NXP LPC3130. To do this
>>> right I need to know what specific Primecells were used in the chip.
>>> How do I identify the primecell numbers for the devices? It is a
>>> 926ejs core.
>>>
>>
>> I'm not sure I understand the question.
>>
>> The primecell periph id numbers are only in the DT if they are wrong in
>> the h/w for some reason. The compatible property should contain the
>> device model number (i.e. "arm,pl011" for the uart).
>
> So how do I figure out which id numbers to use for the NXP LPC3130?
> Is the UART a pl011?
>
The chip's documentation or ARM's documentation. The existing board
code. Read each periph ID register.
Or the ones with drivers in the kernel:
find drivers -name '*pl[0-3]*'
Rob
More information about the linux-arm-kernel
mailing list