atmel-quadspi.txt 999 B

123456789101112131415161718192021222324252627282930313233
  1. * Atmel Quad Serial Peripheral Interface (QSPI)
  2. Required properties:
  3. - compatible: Should be "atmel,sama5d2-qspi".
  4. - reg: Should contain the locations and lengths of the base registers
  5. and the mapped memory.
  6. - reg-names: Should contain the resource reg names:
  7. - qspi_base: configuration register address space
  8. - qspi_mmap: memory mapped address space
  9. - interrupts: Should contain the interrupt for the device.
  10. - clocks: The phandle of the clock needed by the QSPI controller.
  11. - #address-cells: Should be <1>.
  12. - #size-cells: Should be <0>.
  13. Example:
  14. spi@f0020000 {
  15. compatible = "atmel,sama5d2-qspi";
  16. reg = <0xf0020000 0x100>, <0xd0000000 0x8000000>;
  17. reg-names = "qspi_base", "qspi_mmap";
  18. interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>;
  19. clocks = <&spi0_clk>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&pinctrl_spi0_default>;
  24. status = "okay";
  25. m25p80@0 {
  26. ...
  27. };
  28. };