Hi Thomas,<br><br><div class="gmail_quote">On Fri, May 18, 2012 at 3:16 PM, Thomas Abraham <span dir="ltr"><<a href="mailto:thomas.abraham@linaro.org" target="_blank">thomas.abraham@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Add device nodes for the three instances of spi controllers in Exynos5<br>
platforms and enable instance spi 1 for smdk5250 board.<br>
<br>
Signed-off-by: Thomas Abraham <<a href="mailto:thomas.abraham@linaro.org">thomas.abraham@linaro.org</a>><br>
---<br>
 arch/arm/boot/dts/exynos5250-smdk5250.dts |   47 ++++++++++++++++++++++++++++-<br>
 arch/arm/boot/dts/exynos5250.dtsi         |   46 ++++++++++++++++++++++++++++<br>
 2 files changed, 92 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts<br>
index 49945cc..dca572d 100644<br>
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts<br>
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts<br>
@@ -16,12 +16,18 @@<br>
        model = "SAMSUNG SMDK5250 board based on EXYNOS5250";<br>
        compatible = "samsung,smdk5250", "samsung,exynos5250";<br>
<br>
+       aliases {<br>
+               spi0 = &spi_0;<br>
+               spi1 = &spi_1;<br>
+               spi2 = &spi_2;<br>
+       };<br>
+<br>
        memory {<br>
                reg = <0x40000000 0x80000000>;<br>
        };<br>
<br>
        chosen {<br>
-               bootargs = "root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200";<br>
+               bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";<br>
        };<br>
<br>
        i2c@12C60000 {<br>
@@ -48,6 +54,45 @@<br>
                };<br>
        };<br>
<br>
+<br>
+       spi_1: spi@12d30000 {<br>
+               gpios = <&gpa2 4 2 3 0>,<br>
+                       <&gpa2 6 2 3 0>,<br>
+                       <&gpa2 7 2 3 0>;<br>
+<br>
+               w25q80bw@0 {<br>
+                       #address-cells = <1>;<br>
+                       #size-cells = <1>;<br>
+                       compatible = "w25x80";<br>
+                       reg = <0>;<br>
+                       spi-max-frequency = <10000>;<br>
+<br>
+                       controller-data {<br>
+                               cs-gpio = <&gpa2 5 1 0 3>;<br>
+                               samsung,spi-feedback-delay = <0>;<br>
+                       };<br>
+<br>
+                       partition@0 {<br>
+                               label = "U-Boot";<br>
+                               reg = <0x0 0x40000>;<br>
+                               read-only;<br>
+                       };<br>
+<br>
+                       partition@40000 {<br>
+                               label = "Kernel";<br>
+                               reg = <0x40000 0xc0000>;<br>
+                       };<br>
+               };<br>
+       };<br>
+<br>
+       spi_0: spi@12d20000 {<br>
+               status = "disabled";<br>
+       };<br>
+<br>
+       spi_2: spi@12d40000 {<br>
+               status = "disabled";<br>
+       };<br>
+<br>
        i2c@12C80000 {<br>
                status = "disabled";<br>
        };<br>
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi<br>
index 5ca0cdb..9d7add0 100644<br>
--- a/arch/arm/boot/dts/exynos5250.dtsi<br>
+++ b/arch/arm/boot/dts/exynos5250.dtsi<br>
@@ -30,6 +30,22 @@<br>
                reg = <0x10481000 0x1000>, <0x10482000 0x2000>;<br>
        };<br>
<br>
+       combiner:interrupt-controller@10440000 {<br>
+               compatible = "samsung,exynos4210-combiner";<br>
+               #interrupt-cells = <2>;<br>
+               interrupt-controller;<br>
+               samsung,combiner-nr = <32>;<br>
+               reg = <0x10440000 0x1000>;<br>
+               interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,<br>
+                            <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,<br>
+                            <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,<br>
+                            <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,<br>
+                            <0 16 0>, <0 17 0>, <0 18 0>, <0 19 0>,<br>
+                            <0 20 0>, <0 21 0>, <0 22 0>, <0 23 0>,<br>
+                            <0 24 0>, <0 25 0>, <0 26 0>, <0 27 0>,<br>
+                            <0 28 0>, <0 29 0>, <0 30 0>, <0 31 0>;<br>
+       };<br>
+<br></blockquote><div>The combiner interrupt controller support is already present in the following patch.<br>         ARM: Exynos5: Add combiner, wakeup interrupt controller and ethernet nodes<br>This code can be removed from this patch.<br>
Thanks&Regards<br>Padma<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        watchdog {<br>
                compatible = "samsung,s3c2410-wdt";<br>
                reg = <0x101D0000 0x100>;<br>
@@ -130,6 +146,36 @@<br>
                #size-cells = <0>;<br>
        };<br>
<br>
+       spi_0: spi@12d20000 {<br>
+               compatible = "samsung,exynos4210-spi";<br>
+               reg = <0x12d20000 0x100>;<br>
+               interrupts = <0 66 0>;<br>
+               tx-dma-channel = <&pdma0 5>;<br>
+               rx-dma-channel = <&pdma0 4>;<br>
+               #address-cells = <1>;<br>
+               #size-cells = <0>;<br>
+       };<br>
+<br>
+       spi_1: spi@12d30000 {<br>
+               compatible = "samsung,exynos4210-spi";<br>
+               reg = <0x12d30000 0x100>;<br>
+               interrupts = <0 67 0>;<br>
+               tx-dma-channel = <&pdma1 5>;<br>
+               rx-dma-channel = <&pdma1 4>;<br>
+               #address-cells = <1>;<br>
+               #size-cells = <0>;<br>
+       };<br>
+<br>
+       spi_2: spi@12d40000 {<br>
+               compatible = "samsung,exynos4210-spi";<br>
+               reg = <0x12d40000 0x100>;<br>
+               interrupts = <0 68 0>;<br>
+               tx-dma-channel = <&pdma0 7>;<br>
+               rx-dma-channel = <&pdma0 6>;<br>
+               #address-cells = <1>;<br>
+               #size-cells = <0>;<br>
+       };<br>
+<br>
        amba {<br>
                #address-cells = <1>;<br>
                #size-cells = <1>;<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.6.6.rc2<br>
<br>
--<br>
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in<br>
the body of a message to <a href="mailto:majordomo@vger.kernel.org">majordomo@vger.kernel.org</a><br>
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank">http://vger.kernel.org/majordomo-info.html</a><br>
</font></span></blockquote></div><br>