[1/6] EXYNOS5: FDT: Add I2C device node data

Message ID 1352352603-17114-2-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde Nov. 8, 2012, 5:29 a.m.
Add I2C device node data for exynos

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
 arch/arm/dts/exynos5250.dtsi |   64 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

Comments

Simon Glass Nov. 9, 2012, 12:58 a.m. | #1
On Wed, Nov 7, 2012 at 9:29 PM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> Add I2C device node data for exynos
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>

Acked-by: Simon Glass <sjg@chromium.org>

> ---
>  arch/arm/dts/exynos5250.dtsi |   64 ++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 64 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
> index db22db6..e877e6c 100644
> --- a/arch/arm/dts/exynos5250.dtsi
> +++ b/arch/arm/dts/exynos5250.dtsi
> @@ -33,4 +33,68 @@
>                 compatible = "samsung,exynos-tmu";
>                 reg = <0x10060000 0xffff>;
>         };
> +
> +       i2c@12c60000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12C60000 0x100>;
> +               interrupts = <0 56 0>;
> +       };
> +
> +       i2c@12c70000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12C70000 0x100>;
> +               interrupts = <0 57 0>;
> +       };
> +
> +       i2c@12c80000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12C80000 0x100>;
> +               interrupts = <0 58 0>;
> +       };
> +
> +       i2c@12c90000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12C90000 0x100>;
> +               interrupts = <0 59 0>;
> +       };
> +
> +       i2c@12ca0000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12CA0000 0x100>;
> +               interrupts = <0 60 0>;
> +       };
> +
> +       i2c@12cb0000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12CB0000 0x100>;
> +               interrupts = <0 61 0>;
> +       };
> +
> +       i2c@12cc0000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12CC0000 0x100>;
> +               interrupts = <0 62 0>;
> +       };
> +
> +       i2c@12cd0000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,s3c2440-i2c";
> +               reg = <0x12CD0000 0x100>;
> +               interrupts = <0 63 0>;
> +       };
>  };
> --
> 1.7.4.4
>

Patch

diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
index db22db6..e877e6c 100644
--- a/arch/arm/dts/exynos5250.dtsi
+++ b/arch/arm/dts/exynos5250.dtsi
@@ -33,4 +33,68 @@ 
 		compatible = "samsung,exynos-tmu";
 		reg = <0x10060000 0xffff>;
 	};
+
+	i2c@12c60000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12C60000 0x100>;
+		interrupts = <0 56 0>;
+	};
+
+	i2c@12c70000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12C70000 0x100>;
+		interrupts = <0 57 0>;
+	};
+
+	i2c@12c80000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12C80000 0x100>;
+		interrupts = <0 58 0>;
+	};
+
+	i2c@12c90000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12C90000 0x100>;
+		interrupts = <0 59 0>;
+	};
+
+	i2c@12ca0000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12CA0000 0x100>;
+		interrupts = <0 60 0>;
+	};
+
+	i2c@12cb0000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12CB0000 0x100>;
+		interrupts = <0 61 0>;
+	};
+
+	i2c@12cc0000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12CC0000 0x100>;
+		interrupts = <0 62 0>;
+	};
+
+	i2c@12cd0000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,s3c2440-i2c";
+		reg = <0x12CD0000 0x100>;
+		interrupts = <0 63 0>;
+	};
 };