diff mbox

[3/4] EXYNOS5: FDT: Add SPI device node data

Message ID 1354531203-29789-4-git-send-email-rajeshwari.s@samsung.com
State New
Headers show

Commit Message

Rajeshwari Shinde Dec. 3, 2012, 10:40 a.m. UTC
Add SPI device node data for exynos.

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

Comments

Simon Glass Dec. 4, 2012, 1:10 a.m. UTC | #1
On Mon, Dec 3, 2012 at 2:40 AM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> Add SPI device node data for exynos.
>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
> ---
>  arch/arm/dts/exynos5250.dtsi |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
> index 3f750f0..e8ecf3f 100644
> --- a/arch/arm/dts/exynos5250.dtsi
> +++ b/arch/arm/dts/exynos5250.dtsi
> @@ -102,4 +102,29 @@
>                 compatible = "samsung,exynos-sound";
>                 reg = <0x12d60000 0x20>;
>         };
> +
> +       spi@12d20000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,exynos-spi";
> +               reg = <0x12d20000 0x30>;
> +               interrupts = <0 68 0>;
> +       };
> +
> +       spi@12d30000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,exynos-spi";
> +               reg = <0x12d30000 0x30>;
> +               interrupts = <0 69 0>;
> +       };
> +
> +       spi@12d40000 {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +               compatible = "samsung,exynos-spi";
> +               reg = <0x12d40000 0x30>;
> +               clock-frequency = <50000000>;
> +               interrupts = <0 70 0>;
> +        };

Don't we have support for the other two SPI ports?

>  };
> --
> 1.7.4.4
>

Regards,
Simon
diff mbox

Patch

diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi
index 3f750f0..e8ecf3f 100644
--- a/arch/arm/dts/exynos5250.dtsi
+++ b/arch/arm/dts/exynos5250.dtsi
@@ -102,4 +102,29 @@ 
 		compatible = "samsung,exynos-sound";
 		reg = <0x12d60000 0x20>;
 	};
+
+	spi@12d20000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,exynos-spi";
+		reg = <0x12d20000 0x30>;
+		interrupts = <0 68 0>;
+	};
+
+	spi@12d30000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,exynos-spi";
+		reg = <0x12d30000 0x30>;
+		interrupts = <0 69 0>;
+	};
+
+	spi@12d40000 {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		compatible = "samsung,exynos-spi";
+		reg = <0x12d40000 0x30>;
+		clock-frequency = <50000000>;
+		interrupts = <0 70 0>;
+        };
 };