]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: agilex: add QSPI support for Intel Agilex
authorOoi, Joyce <joyce.ooi@intel.com>
Tue, 8 Oct 2019 08:46:39 +0000 (01:46 -0700)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 22 Oct 2019 03:44:04 +0000 (22:44 -0500)
This patch adds QSPI flash interface in device tree for Intel Agilex

Signed-off-by: Ooi, Joyce <joyce.ooi@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts

index 7814a9e8eb08e4bf000c8ee324d45783b6e3ed3b..866205ac7d51bc31e2ce2a176648218daf5e4ef5 100644 (file)
@@ -73,3 +73,38 @@ &uart0 {
 &watchdog0 {
        status = "okay";
 };
+
+&qspi {
+       flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "mt25qu02g";
+               reg = <0>;
+               spi-max-frequency = <100000000>;
+
+               m25p,fast-read;
+               cdns,page-size = <256>;
+               cdns,block-size = <16>;
+               cdns,read-delay = <1>;
+               cdns,tshsl-ns = <50>;
+               cdns,tsd2d-ns = <50>;
+               cdns,tchsh-ns = <4>;
+               cdns,tslch-ns = <4>;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       qspi_boot: partition@0 {
+                               label = "Boot and fpga data";
+                               reg = <0x0 0x034B0000>;
+                       };
+
+                       qspi_rootfs: partition@34B0000 {
+                               label = "Root Filesystem - JFFS2";
+                               reg = <0x034B0000 0x0EB50000>;
+                       };
+               };
+       };
+};