Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / spi / spi-sun4i.txt
blobde827f5a301e49133df378e55e685f3d44eec9f9
1 Allwinner A10 SPI controller
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
13 Example:
15 spi1: spi@01c06000 {
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         status = "disabled";
22         #address-cells = <1>;
23         #size-cells = <0>;