diff mbox

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

Message ID 1459589383-16914-9-git-send-email-guodong.xu@linaro.org
State Superseded
Headers show

Commit Message

Guodong Xu April 2, 2016, 9:29 a.m. UTC
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>

---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
1.9.1

Comments

Rob Herring April 4, 2016, 5:16 a.m. UTC | #1
On Sat, Apr 02, 2016 at 05:29:35PM +0800, Guodong Xu wrote:
> Signed-off-by: Guodong Xu <guodong.xu@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@f7100000 {

> +			status = "ok";

> +		};

> +		i2c1: i2c@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
diff mbox

Patch

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@f7100000 {
+			status = "ok";
+		};
+		i2c1: i2c@f7101000 {
+			status = "ok";
+		};
+	};
 };
 
 &uart2 {