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