About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / spi / spi-sun4i.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

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	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog