]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - Documentation/devicetree/bindings/spi/spi-sun4i.txt
Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.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 };