1* NXP Flex Serial Peripheral Interface (FSPI) 2 3Required properties: 4 - compatible : Should be "nxp,lx2160a-fspi" 5 - reg : First contains the register location and length, 6 Second contains the memory mapping address and length 7 - reg-names : Should contain the resource reg names: 8 - fspi_base: configuration register address space 9 - fspi_mmap: memory mapped address space 10 - interrupts : Should contain the interrupt for the device 11 12Required SPI slave node properties: 13 - reg : There are two buses (A and B) with two chip selects each. 14 This encodes to which bus and CS the flash is connected: 15 - <0>: Bus A, CS 0 16 - <1>: Bus A, CS 1 17 - <2>: Bus B, CS 0 18 - <3>: Bus B, CS 1 19 20Example showing the usage of two SPI NOR slave devices on bus A: 21 22fspi0: spi@20c0000 { 23 compatible = "nxp,lx2160a-fspi"; 24 reg = <0x0 0x20c0000 0x0 0x10000>, <0x0 0x20000000 0x0 0x10000000>; 25 reg-names = "fspi_base", "fspi_mmap"; 26 interrupts = <0 25 0x4>; /* Level high type */ 27 clocks = <&clockgen 4 3>, <&clockgen 4 3>; 28 clock-names = "fspi_en", "fspi"; 29 30 mt35xu512aba0: flash@0 { 31 reg = <0>; 32 .... 33 }; 34 35 mt35xu512aba1: flash@1 { 36 reg = <1>; 37 .... 38 }; 39}; 40