spi-xlp.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. SPI slave nodes must be children of the SPI master node and can contain
  15. properties described in Documentation/devicetree/bindings/spi/spi-bus.txt.
  16. Example:
  17. spi: xlp_spi@3a100 {
  18. compatible = "netlogic,xlp832-spi";
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. reg = <0 0x3a100 0x100>;
  22. clocks = <&spi_clk>;
  23. interrupts = <34>;
  24. interrupt-parent = <&pic>;
  25. spi_nor@1 {
  26. compatible = "spansion,s25sl12801";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. reg = <1>; /* Chip Select */
  30. spi-max-frequency = <40000000>;
  31. };
  32. };