Merge tag 'firewire-update2' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee139...
[deliverable/linux.git] / Documentation / devicetree / bindings / spi / spi-xlp.txt
1 SPI Master controller for Netlogic XLP MIPS64 SOCs
2 ==================================================
3
4 Currently this SPI controller driver is supported for the following
5 Netlogic XLP SoCs:
6 XLP832, XLP316, XLP208, XLP980, XLP532
7
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.
17
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.
20
21 Example:
22
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>;
31
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 };
39 };
This page took 0.033255 seconds and 5 git commands to generate.