From: Mugunthan V N <mugunthanvnm@ti.com>
Date: Wed, 23 Dec 2015 15:09:48 +0000 (+0530)
Subject: arm: dts: am4372: add qspi register maps for memory map
X-Git-Tag: v2025.01-rc5-pxa1908~10743
X-Git-Url: http://git.dujemihanovic.xyz/img/login.html?a=commitdiff_plain;h=4fb01c4435ae98fdce86ec491ddf3c240f8eb174;p=u-boot.git

arm: dts: am4372: add qspi register maps for memory map

Add qspi memory map address to device tree.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
---

diff --git a/arch/arm/dts/am4372.dtsi b/arch/arm/dts/am4372.dtsi
index 3fffe1eec3..c95d1d3b35 100644
--- a/arch/arm/dts/am4372.dtsi
+++ b/arch/arm/dts/am4372.dtsi
@@ -25,6 +25,7 @@
 		serial0 = &uart0;
 		ethernet0 = &cpsw_emac0;
 		ethernet1 = &cpsw_emac1;
+		spi0 = &qspi;
 	};
 
 	cpus {
@@ -908,7 +909,9 @@
 
 		qspi: qspi@47900000 {
 			compatible = "ti,am4372-qspi";
-			reg = <0x47900000 0x100>;
+			reg = <0x47900000 0x100>,
+			      <0x30000000 0x4000000>;
+			reg-names = "qspi_base", "qspi_mmap";
 			#address-cells = <1>;
 			#size-cells = <0>;
 			ti,hwmods = "qspi";