[U-Boot] [PATCHv3 1/9] arm: vybrid: Enable lpuart support

Stefan Agner stefan at agner.ch
Tue Jan 26 17:23:12 CET 2016


On 2016-01-26 01:46, Bhuvanchandra DV wrote:
> Add device tree node's for lpuart on Vybrid platform
> 
> Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv at toradex.com>

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

> ---
>  arch/arm/dts/vf.dtsi | 43 +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
> 
> diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi
> index 78706e1..7aa4c91 100644
> --- a/arch/arm/dts/vf.dtsi
> +++ b/arch/arm/dts/vf.dtsi
> @@ -17,6 +17,12 @@
>  		gpio2 = &gpio2;
>  		gpio3 = &gpio3;
>  		gpio4 = &gpio4;
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +		serial2 = &uart2;
> +		serial3 = &uart3;
> +		serial4 = &uart4;
> +		serial5 = &uart5;
>  		spi0 = &dspi0;
>  		spi1 = &dspi1;
>  	};
> @@ -33,6 +39,30 @@
>  			#size-cells = <1>;
>  			ranges;
>  
> +			uart0: serial at 40027000 {
> +				compatible = "fsl,vf610-lpuart";
> +				reg = <0x40027000 0x1000>;
> +				status = "disabled";
> +			};
> +
> +			uart1: serial at 40028000 {
> +				compatible = "fsl,vf610-lpuart";
> +				reg = <0x40028000 0x1000>;
> +				status = "disabled";
> +			};
> +
> +			uart2: serial at 40029000 {
> +				compatible = "fsl,vf610-lpuart";
> +				reg = <0x40029000 0x1000>;
> +				status = "disabled";
> +			};
> +
> +			uart3: serial at 4002a000 {
> +				compatible = "fsl,vf610-lpuart";
> +				reg = <0x4002a000 0x1000>;
> +				status = "disabled";
> +			};
> +
>  			dspi0: dspi0 at 4002c000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
> @@ -95,6 +125,19 @@
>  			#address-cells = <1>;
>  			#size-cells = <1>;
>  			ranges;
> +
> +			uart4: serial at 400a9000 {
> +				compatible = "fsl,vf610-lpuart";
> +				reg = <0x400a9000 0x1000>;
> +				status = "disabled";
> +			};
> +
> +			uart5: serial at 400aa000 {
> +				compatible = "fsl,vf610-lpuart";
> +				reg = <0x400aa000 0x1000>;
> +				status = "disabled";
> +			};
> +
>  		};
>  	};
>  };


More information about the U-Boot mailing list