[PATCH] ARM: tegra: trimslice: enable SPI flash
Stephen Warren
swarren at wwwdotorg.org
Tue Nov 13 14:23:53 EST 2012
From: Stephen Warren <swarren at nvidia.com>
TrimSlice contains a 1MiB SPI flash. Represent this in the device tree.
Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
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
More information about the linux-arm-kernel
mailing list