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