Selaa lähdekoodia

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>
Mugunthan V N 9 vuotta sitten
vanhempi
commit
4fb01c4435
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      arch/arm/dts/am4372.dtsi

+ 4 - 1
arch/arm/dts/am4372.dtsi

@@ -25,6 +25,7 @@
 		serial0 = &uart0;
 		serial0 = &uart0;
 		ethernet0 = &cpsw_emac0;
 		ethernet0 = &cpsw_emac0;
 		ethernet1 = &cpsw_emac1;
 		ethernet1 = &cpsw_emac1;
+		spi0 = &qspi;
 	};
 	};
 
 
 	cpus {
 	cpus {
@@ -908,7 +909,9 @@
 
 
 		qspi: qspi@47900000 {
 		qspi: qspi@47900000 {
 			compatible = "ti,am4372-qspi";
 			compatible = "ti,am4372-qspi";
-			reg = <0x47900000 0x100>;
+			reg = <0x47900000 0x100>,
+			      <0x30000000 0x4000000>;
+			reg-names = "qspi_base", "qspi_mmap";
 			#address-cells = <1>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			#size-cells = <0>;
 			ti,hwmods = "qspi";
 			ti,hwmods = "qspi";