Explorar o código

ARM: tegra: enable spi4 on Dalmore

Enable SPI4 and add Winbond SPI flash W25Q32DW device
on CS0 line.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Laxman Dewangan %!s(int64=12) %!d(string=hai) anos
pai
achega
5cc75fca2d
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      arch/arm/boot/dts/tegra114-dalmore.dts

+ 10 - 0
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>;
+		};
+	};
+
 	pmc {
 		nvidia,invert-interrupt;
 	};