Patchwork [2/2] ARM: tegra: dts: dalmore: enable spi4

login
register
mail settings
Submitter Laxman Dewangan
Date April 10, 2013, 11:48 a.m.
Message ID <1365594483-20651-2-git-send-email-ldewangan@nvidia.com>
Download mbox | patch
Permalink /patch/235375/
State Accepted, archived
Headers show

Comments

Laxman Dewangan - April 10, 2013, 11:48 a.m.
Enable SPI4 and add Winbond SPI flash W25Q32DW device
on CS0 line.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 arch/arm/boot/dts/tegra114-dalmore.dts |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
Stephen Warren - May 17, 2013, 11:54 p.m.
On 04/10/2013 05:48 AM, Laxman Dewangan wrote:
> Enable SPI4 and add Winbond SPI flash W25Q32DW device
> on CS0 line.

I have applied this to Tegra's for-3.11/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

Patch

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 12198d1..295a1be 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -823,6 +823,16 @@ 
 		};
 	};
 
+	spi@7000da00 {
+		status = "okay";
+		spi-max-frequency = <25000000>;
+		spi-flash@0 {
+			compatible = "winbond,w25q32dw";
+			reg = <0>;
+			spi-max-frequency = <20000000>;
+		};
+	};
+
 	kbc {
 		status = "okay";
 		nvidia,debounce-delay-ms = <640>;