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