spi-xlp.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. SPI Master controller for Netlogic XLP MIPS64 SOCs
  2. ==================================================
  3. Currently this SPI controller driver is supported for the following
  4. Netlogic XLP SoCs:
  5. XLP832, XLP316, XLP208, XLP980, XLP532
  6. Required properties:
  7. - compatible : Should be "netlogic,xlp832-spi".
  8. - #address-cells : Number of cells required to define a chip select address
  9. on the SPI bus.
  10. - #size-cells : Should be zero.
  11. - reg : Should contain register location and length.
  12. - clocks : Phandle of the spi clock
  13. - interrupts : Interrupt number used by this controller.
  14. - interrupt-parent : Phandle of the parent interrupt controller.
  15. SPI slave nodes must be children of the SPI master node and can contain
  16. properties described in Documentation/devicetree/bindings/spi/spi-bus.txt.
  17. Example:
  18. spi: xlp_spi@3a100 {
  19. compatible = "netlogic,xlp832-spi";
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. reg = <0 0x3a100 0x100>;
  23. clocks = <&spi_clk>;
  24. interrupts = <34>;
  25. interrupt-parent = <&pic>;
  26. spi_nor@1 {
  27. compatible = "spansion,s25sl12801";
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. reg = <1>; /* Chip Select */
  31. spi-max-frequency = <40000000>;
  32. };
  33. };