[PATCH 2/2] ARM: mvebu: kirkwood: add PogoPlug series 4 device tree

Linus Walleij linus.walleij at linaro.org
Fri Dec 11 00:28:54 PST 2015


On Fri, Nov 27, 2015 at 9:27 PM, Andrew Lunn <andrew at lunn.ch> wrote:
>> +     chosen {
>> +             bootargs = "console=ttyS0,115200n8";
>> +             stdout-path = &uart0;
>
> Hi Linus
>
> You can append the baud rate etc to uart0, and then don't need
> bootargs.

I dropped the bootargs but how do you see it here?

Of course I can do this, so that is what I did:

&uart0 {
    status = "okay";
    current-speed = <115200>;
};

But that only indicates that the hardware (firmware) set up the
port to a speed like that. It wouldn't work if the hardware was
set any other way. It seems to be like so on the PogoPlug though
so I went with this.

It has no way to indicate how parity etc was set up on the UART
though.

However there is also stdout-path, so I went for this:

stdout-path = "serial0:115200n8";

Reposting the patch soon.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list