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

Commit b5990280 authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Dinh Nguyen
Browse files

ARM: dts: socfpga: sodia: enable qspi



Enable the qspi controller on sodia board and add the flash chip
(n25q512a).

Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 34869353
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -121,3 +121,24 @@
&usb1 {
	status = "okay";
};

&qspi {
        status = "okay";

        flash0: n25q512a@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "n25q512a";
		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>;
	};
};