diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-08-27 20:23:27 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-08-28 04:31:46 +0400 |
commit | 5decb4b63ab25fa826e117f844d6428c5e442c6f (patch) | |
tree | 1e9b280f35e5549a1c53bc43af6c6b5105d7ebce /arch/arm/boot/dts/imx28-evk.dts | |
parent | 91ed4938ced262e3356a377b08e1f367da941a85 (diff) | |
download | linux-5decb4b63ab25fa826e117f844d6428c5e442c6f.tar.xz |
ARM: mx28evk: Add SPI flash support
mx28evk has a free slot (J89) which can be used to populate an SPI NOR Flash.
Add support for it.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx28-evk.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index ab78ee53fdc7..8a9a2f4023ce 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts @@ -46,6 +46,23 @@ wp-gpios = <&gpio0 28 0>; }; + ssp2: ssp@80014000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx28-spi"; + pinctrl-names = "default"; + pinctrl-0 = <&spi2_pins_a>; + status = "okay"; + + flash: m25p80@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "sst,sst25vf016b"; + spi-max-frequency = <40000000>; + reg = <0>; + }; + }; + pinctrl@80018000 { pinctrl-names = "default"; pinctrl-0 = <&hog_pins_a>; |