1* Freescale Quad Serial Peripheral Interface(QuadSPI) 2 3Required properties: 4 - compatible : Should be "fsl,vf610-qspi" or "fsl,imx6sx-qspi" 5 - reg : the first contains the register location and length, 6 the second contains the memory mapping address and length 7 - reg-names: Should contain the reg names "QuadSPI" and "QuadSPI-memory" 8 - interrupts : Should contain the interrupt for the device 9 - clocks : The clocks needed by the QuadSPI controller 10 - clock-names : the name of the clocks 11 12Optional properties: 13 - fsl,qspi-has-second-chip: The controller has two buses, bus A and bus B. 14 Each bus can be connected with two NOR flashes. 15 Most of the time, each bus only has one NOR flash 16 connected, this is the default case. 17 But if there are two NOR flashes connected to the 18 bus, you should enable this property. 19 (Please check the board's schematic.) 20 21Example: 22 23qspi0: quadspi@40044000 { 24 compatible = "fsl,vf610-qspi"; 25 reg = <0x40044000 0x1000>, <0x20000000 0x10000000>; 26 reg-names = "QuadSPI", "QuadSPI-memory"; 27 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>; 28 clocks = <&clks VF610_CLK_QSPI0_EN>, 29 <&clks VF610_CLK_QSPI0>; 30 clock-names = "qspi_en", "qspi"; 31 32 flash0: s25fl128s@0 { 33 .... 34 }; 35}; 36