Message ID | 1453801569-23835-4-git-send-email-bhuvanchandra.dv@toradex.com |
---|---|
State | Superseded |
Headers | show |
On Tue, Jan 26, 2016 at 5:46 PM, Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> wrote: > - Enable lpuart support on Toradex Colibri VF50/VF61 > - Use UART0 for stdout. > > Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> > Acked-by: Stefan Agner <stefan.agner@toradex.com> > --- > arch/arm/dts/vf-colibri.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi > index f005339..029b02c 100644 > --- a/arch/arm/dts/vf-colibri.dtsi > +++ b/arch/arm/dts/vf-colibri.dtsi > @@ -5,6 +5,12 @@ > */ > #include "vf.dtsi" > > +/ { > + chosen { > + stdout-path = &uart0; > + }; > +}; > + > &dspi1 { > status = "okay"; > bus-num = <1>; > @@ -14,3 +20,6 @@ > spi-max-frequency = <50000000>; > }; > }; nits: there should be a blank line here > +&uart0 { > + status = "okay"; > +}; > -- Other than that, Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi index f005339..029b02c 100644 --- a/arch/arm/dts/vf-colibri.dtsi +++ b/arch/arm/dts/vf-colibri.dtsi @@ -5,6 +5,12 @@ */ #include "vf.dtsi" +/ { + chosen { + stdout-path = &uart0; + }; +}; + &dspi1 { status = "okay"; bus-num = <1>; @@ -14,3 +20,6 @@ spi-max-frequency = <50000000>; }; }; +&uart0 { + status = "okay"; +};