Re: [PATCH 1/3] ARM: dts: i.MX50: Add i2c, mmc and spi aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 15, 2019 at 09:14:21PM +0000, Alexander Kurz wrote:
> Using aliases, the devices will be enumerated properly.
> 
> Signed-off-by: Alexander Kurz <akurz@xxxxxxxx>
> ---
>  arch/arm/boot/dts/imx50.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi
> index ee1e3e8bf4ec..82e7acd7fc2a 100644
> --- a/arch/arm/boot/dts/imx50.dtsi
> +++ b/arch/arm/boot/dts/imx50.dtsi
> @@ -26,11 +26,20 @@
>  		gpio3 = &gpio4;
>  		gpio4 = &gpio5;
>  		gpio5 = &gpio6;
> +		i2c0 = &i2c1;
> +		i2c1 = &i2c2;

Reminded by Jonathan's patch, i2c3 is missing here.  I just fixed it up.
Let's me know if you have a reason for not adding i2c3.

Shawn

> +		mmc0 = &esdhc1;
> +		mmc1 = &esdhc2;
> +		mmc2 = &esdhc3;
> +		mmc3 = &esdhc4;
>  		serial0 = &uart1;
>  		serial1 = &uart2;
>  		serial2 = &uart3;
>  		serial3 = &uart4;
>  		serial4 = &uart5;
> +		spi0 = &ecspi1;
> +		spi1 = &ecspi2;
> +		spi2 = &cspi;
>  	};
>  
>  	cpus {
> -- 
> 2.11.0
> 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux