From: Stephen Warren Date: Tue, 18 Feb 2014 22:03:21 +0000 (-0700) Subject: ARM: tegra: add SPI flash to Venice2 DT X-Git-Tag: v3.15-rc1~77^2~6^2~13 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=11e5b4f9e33b0da8a5bf44c370688e37f5a4a72e;p=linux.git ARM: tegra: add SPI flash to Venice2 DT Venice2 contains an SPI Flash chip, which contains the bootloader. Add this to the DT, so the kernel can access it. Signed-off-by: Stephen Warren --- diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts index 1ad3f334fb16..e71aeb9929b4 100644 --- a/arch/arm/boot/dts/tegra124-venice2.dts +++ b/arch/arm/boot/dts/tegra124-venice2.dts @@ -914,6 +914,16 @@ MATRIX_KEY(0x07, 0x0c, KEY_LEFT) }; }; + spi@7000da00 { + status = "okay"; + spi-max-frequency = <25000000>; + spi-flash@0 { + compatible = "winbond,w25q32dw"; + reg = <0>; + spi-max-frequency = <20000000>; + }; + }; + pmc@7000e400 { nvidia,invert-interrupt; nvidia,suspend-mode = <1>;