spi-mcf-dspi.txt 922 B

123456789101112131415161718192021222324252627282930
  1. Freescale ColdFire DSPI controller
  2. Required properties:
  3. - compatible : "fsl,mcf-dspi"
  4. - #address-cells: <1>, as required by generic SPI binding
  5. - #size-cells: <0>, also as required by generic SPI binding
  6. - reg : offset and length of the register set for the device
  7. Optional properties:
  8. - spi-max-frequency : max supported spi frequency
  9. - num-cs : the number of the chipselect signals
  10. - spi-mode: spi motorola mode, 0 to 3
  11. - ctar-params: CTAR0 to 7 register configuration, as an array
  12. of 8 integer fields for each register, where each register
  13. is defined as: <fmsz, pcssck, pasc, pdt, cssck, asc, dt, br>.
  14. Example:
  15. dspi0: dspi@fc05c000 {
  16. compatible = "fsl,mcf-dspi";
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. reg = <0xfc05c000 0x100>;
  20. spi-max-frequency = <50000000>;
  21. num-cs = <4>;
  22. spi-mode = <0>;
  23. ctar-fields = <7, 0, 0, 0, 0, 0, 1, 6>,
  24. <7, 0, 0, 0, 0, 0, 1, 6>,
  25. <7, 0, 0, 0, 0, 0, 1, 6>;
  26. };