1ARM Freescale DSPI controller 2 3Required properties: 4- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi", 5 "fsl,ls2085a-dspi" 6 or 7 "fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi" 8- reg : Offset and length of the register set for the device 9- interrupts : Should contain SPI controller interrupt 10- clocks: from common clock binding: handle to dspi clock. 11- clock-names: from common clock binding: Shall be "dspi". 12- pinctrl-0: pin control group to be used for this controller. 13- pinctrl-names: must contain a "default" entry. 14- spi-num-chipselects : the number of the chipselect signals. 15- bus-num : the slave chip chipselect signal number. 16 17Optional property: 18- big-endian: If present the dspi device's registers are implemented 19 in big endian mode. 20 21Optional SPI slave node properties: 22- fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip 23 select and the start of clock signal, at the start of a transfer. 24- fsl,spi-sck-cs-delay: a delay in nanoseconds between stopping the clock 25 signal and deactivating chip select, at the end of a transfer. 26 27Example: 28 29dspi0@4002c000 { 30 #address-cells = <1>; 31 #size-cells = <0>; 32 compatible = "fsl,vf610-dspi"; 33 reg = <0x4002c000 0x1000>; 34 interrupts = <0 67 0x04>; 35 clocks = <&clks VF610_CLK_DSPI0>; 36 clock-names = "dspi"; 37 spi-num-chipselects = <5>; 38 bus-num = <0>; 39 pinctrl-names = "default"; 40 pinctrl-0 = <&pinctrl_dspi0_1>; 41 big-endian; 42 43 sflash: at26df081a@0 { 44 #address-cells = <1>; 45 #size-cells = <1>; 46 compatible = "atmel,at26df081a"; 47 spi-max-frequency = <16000000>; 48 spi-cpol; 49 spi-cpha; 50 reg = <0>; 51 linux,modalias = "m25p80"; 52 modal = "at26df081a"; 53 fsl,spi-cs-sck-delay = <100>; 54 fsl,spi-sck-cs-delay = <50>; 55 }; 56}; 57 58 59