Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 466e90ca authored by Dinh Nguyen's avatar Dinh Nguyen Committed by Dinh Nguyen
Browse files

ARM: dts: socfpga: Enable QSPI on the Cyclone5 sockit



Enable the QSPI node and add the flash chip.

Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
---
v3: Use n25q00 for the compatible entry for the flash part and
    tested on SoCKit
v2: Remove partition entries for the SoCKIT
parent 1df99da8
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -175,6 +175,27 @@
	status = "okay";
};

&qspi {
	status = "okay";

	flash: flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "n25q00";
		reg = <0>;
		spi-max-frequency = <100000000>;

		m25p,fast-read;
		cdns,page-size = <256>;
		cdns,block-size = <16>;
		cdns,read-delay = <4>;
		cdns,tshsl-ns = <50>;
		cdns,tsd2d-ns = <50>;
		cdns,tchsh-ns = <4>;
		cdns,tslch-ns = <4>;
	};
};

&usb1 {
	status = "okay";
};