From 73186c9460761315a5a5dfd352c631ab2a022f28 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 13 Oct 2014 23:42:01 -0600 Subject: dm: exynos: Convert SPI to driver model Move the exynos SPI driver over to driver model. This removes quite a bit of boilerplate from the driver, although it adds some for driver model. A few device tree additions are needed to make the SPI flash available. Signed-off-by: Simon Glass Reviewed-by: Jagannadha Sutradharudu Teki --- arch/arm/dts/exynos5250-snow.dts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/dts/exynos5250-snow.dts') diff --git a/arch/arm/dts/exynos5250-snow.dts b/arch/arm/dts/exynos5250-snow.dts index 2003412cd3..6fd9275c4e 100644 --- a/arch/arm/dts/exynos5250-snow.dts +++ b/arch/arm/dts/exynos5250-snow.dts @@ -53,6 +53,14 @@ }; }; + spi@12d30000 { + spi-max-frequency = <50000000>; + firmware_storage_spi: flash@0 { + compatible = "spi-flash"; + reg = <0>; + }; + }; + spi@131b0000 { spi-max-frequency = <1000000>; spi-deactivate-delay = <100>; -- cgit v1.2.1