Merge tag 'for-linus-4.15-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / spi / spi-sun4i.txt
1 Allwinner A10 SPI controller
2
3 Required properties:
4 - compatible: Should be "allwinner,sun4-a10-spi".
5 - reg: Should contain register location and length.
6 - interrupts: Should contain interrupt.
7 - clocks: phandle to the clocks feeding the SPI controller. Two are
8           needed:
9   - "ahb": the gated AHB parent clock
10   - "mod": the parent module clock
11 - clock-names: Must contain the clock names described just above
12
13 Example:
14
15 spi1: spi@1c06000 {
16         compatible = "allwinner,sun4i-a10-spi";
17         reg = <0x01c06000 0x1000>;
18         interrupts = <11>;
19         clocks = <&ahb_gates 21>, <&spi1_clk>;
20         clock-names = "ahb", "mod";
21         #address-cells = <1>;
22         #size-cells = <0>;
23 };