All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 1/7] ARM: dts: exynos4: use the node's name for i2c
Date: Mon, 09 Jan 2017 14:47:47 +0900	[thread overview]
Message-ID: <20170109054753.11655-2-jh80.chung@samsung.com> (raw)
In-Reply-To: <20170109054753.11655-1-jh80.chung@samsung.com>

Use the node's name for i2c.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 arch/arm/dts/exynos4.dtsi | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/exynos4.dtsi b/arch/arm/dts/exynos4.dtsi
index 7de227c..a5a00c8 100644
--- a/arch/arm/dts/exynos4.dtsi
+++ b/arch/arm/dts/exynos4.dtsi
@@ -10,6 +10,17 @@
 #include "skeleton.dtsi"
 
 / {
+	aliases {
+		i2c0 = &i2c_0;
+		i2c1 = &i2c_1;
+		i2c2 = &i2c_2;
+		i2c3 = &i2c_3;
+		i2c4 = &i2c_4;
+		i2c5 = &i2c_5;
+		i2c6 = &i2c_6;
+		i2c7 = &i2c_7;
+	};
+
 	combiner: interrupt-controller at 10440000 {
 		compatible = "samsung,exynos4210-combiner";
 		#interrupt-cells = <2>;
@@ -47,7 +58,7 @@
 		id = <4>;
 	};
 
-	i2c at 13860000 {
+	i2c_0: i2c at 13860000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -55,7 +66,7 @@
 		interrupts = <0 56 0>;
 	};
 
-	i2c at 13870000 {
+	i2c_1: i2c at 13870000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -63,7 +74,7 @@
 		interrupts = <1 57 0>;
 	};
 
-	i2c at 13880000 {
+	i2c_2: i2c at 13880000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -71,7 +82,7 @@
 		interrupts = <2 58 0>;
 	};
 
-	i2c at 13890000 {
+	i2c_3: i2c at 13890000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -79,7 +90,7 @@
 		interrupts = <3 59 0>;
 	};
 
-	i2c at 138a0000 {
+	i2c_4: i2c at 138a0000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -87,7 +98,7 @@
 		interrupts = <4 60 0>;
 	};
 
-	i2c at 138b0000 {
+	i2c_5: i2c at 138b0000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -95,7 +106,7 @@
 		interrupts = <5 61 0>;
 	};
 
-	i2c at 138c0000 {
+	i2c_6: i2c at 138c0000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
@@ -103,7 +114,7 @@
 		interrupts = <6 62 0>;
 	};
 
-	i2c at 138d0000 {
+	i2c_7: i2c at 138d0000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		compatible = "samsung,s3c2440-i2c";
-- 
2.10.2

  parent reply	other threads:[~2017-01-09  5:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170109054756epcas5p1be84a53e75fbd735f8484587b4b1f3e6@epcas5p1.samsung.com>
2017-01-09  5:47 ` [U-Boot] [PATCH V3 0/7] dm: universal_c210: support the DM_PMIC Jaehoon Chung
     [not found]   ` <CGME20170109054756epcas5p1d88d90590a765e8409c4f2e612761f78@epcas5p1.samsung.com>
2017-01-09  5:47     ` Jaehoon Chung [this message]
2017-01-19 13:57       ` [U-Boot] [PATCH V3 1/7] ARM: dts: exynos4: use the node's name for i2c Simon Glass
     [not found]   ` <CGME20170109054756epcas1p3d969efcd6a5a04136f519625b2df8bd2@epcas1p3.samsung.com>
2017-01-09  5:47     ` [U-Boot] [PATCH V3 2/7] ARM: dts: exnyos4210-universl_c210: add i2c_5 and pmic nodes Jaehoon Chung
2017-01-14 17:13       ` Simon Glass
     [not found]   ` <CGME20170109054756epcas1p39ede62645683f758c30ba703c3a68389@epcas1p3.samsung.com>
2017-01-09  5:47     ` [U-Boot] [PATCH V3 3/7] configs: s5pc210_universal: enable the DM_PMIC and MAX8998 Jaehoon Chung
2017-01-19 13:57       ` Simon Glass
     [not found]   ` <CGME20170109054756epcas1p381df924ba1a4ad00b5716d1c533dca08@epcas1p3.samsung.com>
2017-01-09  5:47     ` [U-Boot] [PATCH V3 4/7] board: samsung: universal_210: use the driver model for max8998 Jaehoon Chung
2017-01-19 13:57       ` Simon Glass
     [not found]   ` <CGME20170109054756epcas1p303e9d592a30f08ed7ba9e31c227e9788@epcas1p3.samsung.com>
2017-01-09  5:47     ` [U-Boot] [PATCH V3 5/7] i2c: s3c24x0: fix the compiler error for exynos4 Jaehoon Chung
2017-01-19 13:57       ` Simon Glass
     [not found]   ` <CGME20170109054756epcas1p37bb8d7f90e984aa27cb2eb9c36a41b2b@epcas1p3.samsung.com>
2017-01-09  5:47     ` [U-Boot] [PATCH V3 6/7] i2c: Kconfig: Add SYS_I2C_S3C24X0 entry Jaehoon Chung
2017-01-19 13:57       ` Simon Glass
     [not found]   ` <CGME20170109054756epcas1p37d3a21d6d3c926e6e552b518d8e5114c@epcas1p3.samsung.com>
2017-01-09  5:47     ` [U-Boot] [PATCH V3 7/7] board: samsung: universal_c210: remove the codes relevant to soft_i2c Jaehoon Chung
2017-01-19 13:57       ` Simon Glass
2017-01-18  5:17   ` [U-Boot] [PATCH V3 0/7] dm: universal_c210: support the DM_PMIC Minkyu Kang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170109054753.11655-2-jh80.chung@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.