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

Subsystems: the rest

STALE5011d

2 messages, 1 author, 2012-11-13 · open the first message on its own page

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

From: Stephen Warren <hidden>
Date: 2012-11-13 19:23:53

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

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

From: Stephen Warren <hidden>
Date: 2012-11-13 19:25:48

On 11/13/2012 12:23 PM, Stephen Warren wrote:
From: Stephen Warren <redacted>

TrimSlice contains a 1MiB SPI flash. Represent this in the device tree.
I've applied this to Tegra's for-3.8/dt branch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help