[PATCH 2/2] arm: exynos5: Add HS-I2C device tree platform information

Naveen Krishna Chatradhi ch.naveen at samsung.com
Fri Dec 28 22:40:51 EST 2012


This patch adds HS-I2C device tree platform information in
exynos5.dtsi and exynos5-smdk5250.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen at samsung.com>
---
 arch/arm/boot/dts/exynos5250-smdk5250.dts |   16 +++++++++++++++
 arch/arm/boot/dts/exynos5250.dtsi         |   32 +++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index 942d576..b7fba59 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -108,6 +108,22 @@
 		};
 	};
 
+	hsi2c at 12C50000 {
+		status = "disabled";
+	};
+
+	hsi2c at 12D00000 {
+		status = "disabled";
+	};
+
+	hsi2c at 12D50000 {
+		status = "disabled";
+	};
+
+	hsi2c at 12DE0000 {
+		status = "disabled";
+	};
+
 	dwmmc0 at 12200000 {
 		num-slots = <1>;
 		supports-highspeed;
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 45799e8..a10c089 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -213,6 +213,38 @@
                 #size-cells = <0>;
 	};
 
+	hsi2c at 12C50000 {
+		compatible = "samsung,exynos5-hsi2c";
+		reg = <0x12C50000 0x1000>;
+		interrupts = <0 56 0>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+	};
+
+	hsi2c at 12D00000 {
+		compatible = "samsung,exynos5-hsi2c";
+		reg = <0x12D00000 0x1000>;
+		interrupts = <0 57 0>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+	};
+
+	hsi2c at 12D50000 {
+		compatible = "samsung,exynos5-hsi2c";
+		reg = <0x12D50000 0x1000>;
+		interrupts = <0 58 0>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+	};
+
+	hsi2c at 12DE0000 {
+		compatible = "samsung,exynos5-hsi2c";
+		reg = <0x12DE0000 0x1000>;
+		interrupts = <0 59 0>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+	};
+
 	spi_0: spi at 12d20000 {
 		compatible = "samsung,exynos4210-spi";
 		reg = <0x12d20000 0x100>;
-- 
1.7.9.5



More information about the devicetree-discuss mailing list