diff mbox

ARM: tegra: add SPI flash to Venice2 DT

Message ID 1392761195-20643-1-git-send-email-swarren@wwwdotorg.org
State Accepted, archived
Headers show

Commit Message

Stephen Warren Feb. 18, 2014, 10:06 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

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 <swarren@nvidia.com>
---
 arch/arm/boot/dts/tegra124-venice2.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Stephen Warren Feb. 19, 2014, 5:20 p.m. UTC | #1
On 02/18/2014 03:06 PM, Stephen Warren wrote:
> Venice2 contains an SPI Flash chip, which contains the bootloader.
> Add this to the DT, so the kernel can access it.

I've applied this to Tegra's for-3.15/dt branch.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 @@ 
 		};
 	};
 
+	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>;