diff mbox

[U-Boot,PATCHv2,2/8] arm: colibri-vf: Enable serial support

Message ID 1453741440-19834-3-git-send-email-bhuvanchandra.dv@toradex.com
State Superseded
Headers show

Commit Message

Bhuvanchandra DV Jan. 25, 2016, 5:03 p.m. UTC
- Enable lpuart support on Toradex Colibri VF50/VF61
- Use UART0 for stdout.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
---
 arch/arm/dts/vf-colibri.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Stefan Agner Jan. 25, 2016, 5:19 p.m. UTC | #1
On 2016-01-25 09:03, Bhuvanchandra DV wrote:
> - Enable lpuart support on Toradex Colibri VF50/VF61
> - Use UART0 for stdout.

Compared to the previous commit, I would say here it is fine, since
those two changes are really connected.

Acked-by: Stefan Agner <stefan.agner@toradex.com>

--
Stefan

> 
> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@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 7a8e9bee..13a1dba 100644
> --- a/arch/arm/dts/vf-colibri.dtsi
> +++ b/arch/arm/dts/vf-colibri.dtsi
> @@ -10,6 +10,12 @@
>   */
>  #include "vf.dtsi"
>  
> +/ {
> +	chosen {
> +		stdout-path = &uart0;
> +	};
> +};
> +
>  &dspi1 {
>  	status = "okay";
>  	bus-num = <1>;
> @@ -19,3 +25,6 @@
>  		spi-max-frequency = <50000000>;
>  	};
>  };
> +&uart0 {
> +	status = "okay";
> +};
diff mbox

Patch

diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi
index 7a8e9bee..13a1dba 100644
--- a/arch/arm/dts/vf-colibri.dtsi
+++ b/arch/arm/dts/vf-colibri.dtsi
@@ -10,6 +10,12 @@ 
  */
 #include "vf.dtsi"
 
+/ {
+	chosen {
+		stdout-path = &uart0;
+	};
+};
+
 &dspi1 {
 	status = "okay";
 	bus-num = <1>;
@@ -19,3 +25,6 @@ 
 		spi-max-frequency = <50000000>;
 	};
 };
+&uart0 {
+	status = "okay";
+};