Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / spi / spi-mt7621.txt
1 Binding for MTK SPI controller (MT7621 MIPS)
2
3 Required properties:
4 - compatible: Should be one of the following:
5   - "ralink,mt7621-spi": for mt7621/mt7628/mt7688 platforms
6 - #address-cells: should be 1.
7 - #size-cells: should be 0.
8 - reg: Address and length of the register set for the device
9 - resets: phandle to the reset controller asserting this device in
10           reset
11   See ../reset/reset.txt for details.
12
13 Optional properties:
14 - cs-gpios: see spi-bus.txt.
15
16 Example:
17
18 - SoC Specific Portion:
19 spi0: spi@b00 {
20         compatible = "ralink,mt7621-spi";
21         reg = <0xb00 0x100>;
22         #address-cells = <1>;
23         #size-cells = <0>;
24         resets = <&rstctrl 18>;
25         reset-names = "spi";
26 };