Patchwork [U-Boot,3/4] EXYNOS5: FDT: Add SPI device node data

login
register
mail settings
Submitter Rajeshwari Birje
Date Dec. 3, 2012, 10:40 a.m.
Message ID <1354531203-29789-4-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/203313/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Rajeshwari Birje - Dec. 3, 2012, 10:40 a.m.
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(-)
Simon Glass - Dec. 4, 2012, 1:10 a.m.
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

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>;
+        };
 };