diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2012-07-14 03:45:32 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-07-14 03:57:10 +0200 |
commit | 4980c39ba182929b4582f95cfaffc1d584f7154e (patch) | |
tree | 7501f7770872a754f7bf4908d53619eda96c3114 /arch/arm/boot/dts/exynos4210-smdkv310.dts | |
parent | ARM: EXYNOS: Enable platform support for SPI controllers for EXYNOX4 (diff) | |
download | linux-4980c39ba182929b4582f95cfaffc1d584f7154e.tar.xz linux-4980c39ba182929b4582f95cfaffc1d584f7154e.zip |
ARM: dts: Add nodes for spi controllers for SAMSUNG EXYNOS4 platforms
Add device nodes for the three instances of spi controllers in
EXYNOS4 platforms. Enable instance SPI 2 for SMDKV310 board and
disable all spi instances for Origen board.
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-smdkv310.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4210-smdkv310.dts | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-smdkv310.dts b/arch/arm/boot/dts/exynos4210-smdkv310.dts index 27afc8e535ca..1beccc8f14ff 100644 --- a/arch/arm/boot/dts/exynos4210-smdkv310.dts +++ b/arch/arm/boot/dts/exynos4210-smdkv310.dts @@ -179,4 +179,42 @@ i2c@138D0000 { status = "disabled"; }; + + spi_0: spi@13920000 { + status = "disabled"; + }; + + spi_1: spi@13930000 { + status = "disabled"; + }; + + spi_2: spi@13940000 { + gpios = <&gpc1 1 5 3 0>, + <&gpc1 3 5 3 0>, + <&gpc1 4 5 3 0>; + + w25x80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "w25x80"; + reg = <0>; + spi-max-frequency = <1000000>; + + controller-data { + cs-gpio = <&gpc1 2 1 0 3>; + samsung,spi-feedback-delay = <0>; + }; + + partition@0 { + label = "U-Boot"; + reg = <0x0 0x40000>; + read-only; + }; + + partition@40000 { + label = "Kernel"; + reg = <0x40000 0xc0000>; + }; + }; + }; }; |