blob: 3361ac92a313b9cba909d5662398aa3a9c5df316 [file] [log] [blame]
Thomas Choucdc11522015-11-09 14:56:02 +08001Altera QUADSPI driver
2
3Required properties:
4- compatible: Should be "altr,quadspi-1.0"
5- reg: Address and length of the register set for the device. It contains
6 the information of registers in the same order as described by reg-names
7- reg-names: Should contain the reg names
8 "avl_csr": Should contain the register configuration base address
9 "avl_mem": Should contain the data base address
10- #address-cells: Must be <1>.
11- #size-cells: Must be <0>.
12- flash device tree subnode, there must be a node with the following fields:
13 - compatible: Should contain the flash name:
14 1. EPCS: epcs16, epcs64, epcs128
15 2. EPCQ: epcq16, epcq32, epcq64, epcq128, epcq256, epcq512, epcq1024
16 3. EPCQ-L: epcql256, epcql512, epcql1024
17 - #address-cells: please refer to /mtd/partition.txt
18 - #size-cells: please refer to /mtd/partition.txt
19 For partitions inside each flash, please refer to /mtd/partition.txt
20
21Example:
22
23 quadspi_controller_0: quadspi@0x180014a0 {
24 compatible = "altr,quadspi-1.0";
25 reg = <0x180014a0 0x00000020>,
26 <0x14000000 0x04000000>;
27 reg-names = "avl_csr", "avl_mem";
28 #address-cells = <1>;
29 #size-cells = <0>;
30 flash0: epcq512@0 {
31 compatible = "altr,epcq512";
32 #address-cells = <1>;
33 #size-cells = <1>;
34 };
35 };