Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / spi / spi-sun6i.txt
1 Allwinner A31 SPI controller
2
3 Required properties:
4 - compatible: Should be "allwinner,sun6i-a31-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 - resets: phandle to the reset controller asserting this device in
13           reset
14
15 Example:
16
17 spi1: spi@01c69000 {
18         compatible = "allwinner,sun6i-a31-spi";
19         reg = <0x01c69000 0x1000>;
20         interrupts = <0 66 4>;
21         clocks = <&ahb1_gates 21>, <&spi1_clk>;
22         clock-names = "ahb", "mod";
23         resets = <&ahb1_rst 21>;
24 };