[PATCH v2 08/16] arm64: dts: hikey: enable i2c0 and i2c1 for working with mezzanine boards

Rob Herring robh at kernel.org
Sun Apr 3 22:16:47 PDT 2016


On Sat, Apr 02, 2016 at 05:29:35PM +0800, Guodong Xu wrote:
> Signed-off-by: Guodong Xu <guodong.xu at linaro.org>
> ---
>  arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> index 5c9ee31..e00e9ec 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
> @@ -42,6 +42,15 @@
>  		      <0x00000000 0x06e00000 0x00000000 0x0060f000>,
>  		      <0x00000000 0x07410000 0x00000000 0x36bf0000>;
>  	};
> +
> +	soc {
> +		i2c0: i2c at f7100000 {
> +			status = "ok";
> +		};
> +		i2c1: i2c at f7101000 {
> +			status = "ok";
> +		};

Do these go to LS connector? If so, add 'label = "LS-I2C0";' or LS-I2C1 
as appropriate (based on LS connector numbering).

Rob



More information about the linux-arm-kernel mailing list