Re: [PATCH] arm64: dts: marvell: Disable AP I2C on Armada-8040-DB

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

 



Hi Miquel,

> From: Konstantin Porotchkin <kostap@xxxxxxxxxxx>
>
> While AP I2C bus was available to users in early revisions of the SoC,
> this is not the case anymore since eMMC was connected to the AP. Most
> users do not have access to this I2C bus so do not enable it in the
> board device tree.
>
> As there are three I2C buses enabled on this board, add an alias to be
> sure the two other buses keep their initial numbering.
>
> Signed-off-by: Konstantin Porotchkin <kostap@xxxxxxxxxxx>
> [<miquel.raynal@xxxxxxxxxxx>: Reword commit message, add alias]
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-8040-db.dts | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> index 9f4f939ab65f..d6e9c014c2f9 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> @@ -27,6 +27,8 @@
>  		ethernet1 = &cp0_eth2;
>  		ethernet2 = &cp1_eth0;
>  		ethernet3 = &cp1_eth1;
> +		i2c1 = &cp0_i2c0;
> +		i2c2 = &cp1_i2c0;
>  	};
>  
>  	cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
> @@ -72,11 +74,6 @@
>  	};
>  };
>  
> -&i2c0 {
> -	status = "okay";
> -	clock-frequency = <100000>;
> -};
> -
>  &spi0 {
>  	status = "okay";
>  
> -- 
> 2.19.1
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com



[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