Patchwork [U-Boot,2/6,V4] EXYNOS5 : FDT: Add Aliases for I2C device

login
register
mail settings
Submitter Rajeshwari Birje
Date Nov. 29, 2012, 7:09 a.m.
Message ID <1354172991-1005-3-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/202667/
State Accepted
Delegated to: Heiko Schocher
Headers show

Comments

Rajeshwari Birje - Nov. 29, 2012, 7:09 a.m.
This patch adds aliases for I2C.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
---
Changes in V2:
        - None.
Changes in V3:
        - None.
Changes in V4:
        - None.
 board/samsung/dts/exynos5250-smdk5250.dts |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Patch

diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts
index 2d3ecca..8722b36 100644
--- a/board/samsung/dts/exynos5250-smdk5250.dts
+++ b/board/samsung/dts/exynos5250-smdk5250.dts
@@ -16,6 +16,17 @@ 
 	model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
 	compatible = "samsung,smdk5250", "samsung,exynos5250";
 
+	aliases {
+		i2c0 = "/i2c@12c60000";
+		i2c1 = "/i2c@12c70000";
+		i2c2 = "/i2c@12c80000";
+		i2c3 = "/i2c@12c90000";
+		i2c4 = "/i2c@12ca0000";
+		i2c5 = "/i2c@12cb0000";
+		i2c6 = "/i2c@12cc0000";
+		i2c7 = "/i2c@12cd0000";
+	};
+
 	sromc@12250000 {
 		bank = <1>;
 		srom-timing = <1 9 12 1 6 1 1>;