spi-fsl-dspi.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ARM Freescale DSPI controller
  2. Required properties:
  3. - compatible : "fsl,vf610-dspi"
  4. - reg : Offset and length of the register set for the device
  5. - interrupts : Should contain SPI controller interrupt
  6. - clocks: from common clock binding: handle to dspi clock.
  7. - clock-names: from common clock binding: Shall be "dspi".
  8. - pinctrl-0: pin control group to be used for this controller.
  9. - pinctrl-names: must contain a "default" entry.
  10. - spi-num-chipselects : the number of the chipselect signals.
  11. - bus-num : the slave chip chipselect signal number.
  12. Example:
  13. dspi0@4002c000 {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. compatible = "fsl,vf610-dspi";
  17. reg = <0x4002c000 0x1000>;
  18. interrupts = <0 67 0x04>;
  19. clocks = <&clks VF610_CLK_DSPI0>;
  20. clock-names = "dspi";
  21. spi-num-chipselects = <5>;
  22. bus-num = <0>;
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&pinctrl_dspi0_1>;
  25. status = "okay";
  26. sflash: at26df081a@0 {
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. compatible = "atmel,at26df081a";
  30. spi-max-frequency = <16000000>;
  31. spi-cpol;
  32. spi-cpha;
  33. reg = <0>;
  34. linux,modalias = "m25p80";
  35. modal = "at26df081a";
  36. };
  37. };