[PATCH v4 3/3] ARM: mach-shmobile: r8a7740: Setup the serial devices using DT

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Tue Mar 5 08:42:31 EST 2013


Hello.

On 05-03-2013 17:00, Bastian Hecht wrote:

>>> +       sci at e6c40000 {
>>> +               compatible = "renesas,sci-SCIFA-uart";
>>> +               interrupt-parent = <&intca>;
>>> +               reg = <0xe6c40000 0x100>;
>>> +               interrupts = <0x0c00>, <0x0c00>, <0x0c00>, <0x0c00>;
>>> +               cell-index = <0>;
>>> +               renesas,scscr = <0x30>;
>>> +               renesas,scbrr-algo-id = <4>;
>>> +               renesas,autoconf;
>>> +       };
>>
>> The default name for a uart is "serial", I would recommend sticking to
>> that by convention. You may also want to add an "aliases" node
>> somewhere, to define which port should get which logical device number
>> on a given board.

> Switched to "...-serial".

    I think he was talking about the node name, not "compatible" property.

WBR, Sergei




More information about the linux-arm-kernel mailing list