spi_atmel.txt 556 B

1234567891011121314151617181920212223242526
  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. Example:
  8. spi1: spi@fffcc000 {
  9. compatible = "atmel,at91rm9200-spi";
  10. reg = <0xfffcc000 0x4000>;
  11. interrupts = <13 4 5>;
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. cs-gpios = <&pioB 3 0>;
  15. status = "okay";
  16. mmc-slot@0 {
  17. compatible = "mmc-spi-slot";
  18. reg = <0>;
  19. gpios = <&pioC 4 0>; /* CD */
  20. spi-max-frequency = <25000000>;
  21. };
  22. };