spi_atmel.txt 719 B

12345678910111213141516171819202122232425262728293031
  1. Atmel SPI device
  2. Required properties:
  3. - compatible : should be "atmel,at91rm9200-spi".
  4. - reg: Address and length of the register set for the device
  5. - interrupts: Should contain spi interrupt
  6. - cs-gpios: chipselects
  7. - clock-names: tuple listing input clock names.
  8. Required elements: "spi_clk"
  9. - clocks: phandles to input clocks.
  10. Example:
  11. spi1: spi@fffcc000 {
  12. compatible = "atmel,at91rm9200-spi";
  13. reg = <0xfffcc000 0x4000>;
  14. interrupts = <13 4 5>;
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. clocks = <&spi1_clk>;
  18. clock-names = "spi_clk";
  19. cs-gpios = <&pioB 3 0>;
  20. status = "okay";
  21. mmc-slot@0 {
  22. compatible = "mmc-spi-slot";
  23. reg = <0>;
  24. gpios = <&pioC 4 0>; /* CD */
  25. spi-max-frequency = <25000000>;
  26. };
  27. };