Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / socfpga_arria10_socdk_qspi.dts
1 /*
2  * Copyright (C) 2016 Intel. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms and conditions of the GNU General Public License,
6  * version 2, as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
11  * more details.
12  *
13  * You should have received a copy of the GNU General Public License along with
14  * this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16
17 /dts-v1/;
18 #include "socfpga_arria10_socdk.dtsi"
19
20 &qspi {
21         status = "okay";
22
23         flash0: n25q00@0 {
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26                 compatible = "n25q00aa";
27                 reg = <0>;
28                 spi-max-frequency = <100000000>;
29
30                 m25p,fast-read;
31                 cdns,page-size = <256>;
32                 cdns,block-size = <16>;
33                 cdns,read-delay = <4>;
34                 cdns,tshsl-ns = <50>;
35                 cdns,tsd2d-ns = <50>;
36                 cdns,tchsh-ns = <4>;
37                 cdns,tslch-ns = <4>;
38
39                 partition@qspi-boot {
40                         label = "Boot and fpga data";
41                         reg = <0x0 0x2720000>;
42                 };
43
44                 partition@qspi-rootfs {
45                         label = "Root Filesystem - JFFS2";
46                         reg = <0x2720000 0x58E0000>;
47                 };
48         };
49 };