Thread (2 messages) flat view 2 messages, 1 author, 2012-11-13
STALE5020d

[PATCH] ARM: tegra: trimslice: enable SPI flash

From: Stephen Warren <hidden>
Date: 2012-11-13 19:23:53
Also in: linux-tegra
Subsystem: the rest · Maintainer: Linus Torvalds

From: Stephen Warren <redacted>

TrimSlice contains a 1MiB SPI flash. Represent this in the device tree.

Signed-off-by: Stephen Warren <redacted>
---
 arch/arm/boot/dts/tegra20-trimslice.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index 27fb8a6..f4e0428 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -254,6 +254,16 @@
 		clock-frequency = <400000>;
 	};
 
+	spi at 7000c380 {
+		status = "okay";
+		spi-max-frequency = <48000000>;
+		spi-flash at 0 {
+			compatible = "winbond,w25q80bl";
+			reg = <0>;
+			spi-max-frequency = <48000000>;
+		};
+	};
+
 	i2c at 7000c400 {
 		status = "okay";
 		clock-frequency = <400000>;
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help