blob: 4684d7846a99ab744958d08d6ee0082ebfbaff1a [file] [log] [blame]
Angelo Dureghelloc6164c92019-03-13 21:46:41 +01001Freescale ColdFire DSPI controller
2
3Required properties:
4- compatible : "fsl,mcf-dspi"
5- #address-cells: <1>, as required by generic SPI binding
6- #size-cells: <0>, also as required by generic SPI binding
7- reg : offset and length of the register set for the device
8
9Optional properties:
10- spi-max-frequency : max supported spi frequency
11- num-cs : the number of the chipselect signals
12- spi-mode: spi motorola mode, 0 to 3
13- ctar-params: CTAR0 to 7 register configuration, as an array
14 of 8 integer fields for each register, where each register
15 is defined as: <fmsz, pcssck, pasc, pdt, cssck, asc, dt, br>.
Vladimir Oltean2926f572020-05-04 11:24:26 +030016- fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip
17 select and the start of clock signal, at the start of a transfer.
18- fsl,spi-sck-cs-delay: a delay in nanoseconds between stopping the clock
19 signal and deactivating chip select, at the end of a transfer.
Angelo Dureghelloc6164c92019-03-13 21:46:41 +010020
21Example:
22
23dspi0: dspi@fc05c000 {
24 compatible = "fsl,mcf-dspi";
25 #address-cells = <1>;
26 #size-cells = <0>;
27 reg = <0xfc05c000 0x100>;
28 spi-max-frequency = <50000000>;
29 num-cs = <4>;
30 spi-mode = <0>;
31 ctar-fields = <7, 0, 0, 0, 0, 0, 1, 6>,
32 <7, 0, 0, 0, 0, 0, 1, 6>,
33 <7, 0, 0, 0, 0, 0, 1, 6>;
34};