1 From a6de66d3cf5add25f2b8913332117f3334db506e Mon Sep 17 00:00:00 2001
2 From: Leilk Liu <leilk.liu@mediatek.com>
3 Date: Fri, 8 May 2015 16:55:41 +0800
4 Subject: [PATCH 25/76] dt-bindings: ARM: Mediatek: Document devicetree
7 Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
9 .../devicetree/bindings/spi/spi-mt65xx.txt | 32 ++++++++++++++++++++
10 1 file changed, 32 insertions(+)
11 create mode 100644 Documentation/devicetree/bindings/spi/spi-mt65xx.txt
14 +++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
19 +- compatible: should be one of the following.
20 + - mediatek,mt8173-spi: for mt8173 platforms
21 + - mediatek,mt8135-spi: for mt8135 platforms
22 + - mediatek,mt6589-spi: for mt6589 platforms
24 +- reg: Address and length of the register set for the device
26 +- interrupts: Should contain spi interrupt
28 +- clock-names: tuple listing input clock names.
29 + Required elements: "main"
31 +- clocks: phandles to input clocks.
33 +- pad-select: should specify spi pad used, only required for MT8173.
34 + This value should be 0~3.
38 +- SoC Specific Portion:
40 + compatible = "mediatek,mt8173-spi";
41 + reg = <0 0x1100a000 0 0x1000>;
42 + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_LOW>;
43 + clocks = <&pericfg PERI_SPI0>;
44 + clock-names = "main";
46 + status = "disabled";