OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 0a0c39044332a75eaf4a3c5654079df953b0d839 Mon Sep 17 00:00:00 2001 |
2 | From: Jonas Gorski <jogo@openwrt.org> |
||
3 | Date: Mon, 7 Sep 2015 21:00:38 +0200 |
||
4 | Subject: [PATCH 3/8] spi/bcm63xx: document device tree bindings |
||
5 | |||
6 | Add documentation for the bindings of the low speed SPI controller found |
||
7 | on most bcm63xx SoCs. |
||
8 | |||
9 | Signed-off-by: Jonas Gorski <jogo@openwrt.org> |
||
10 | --- |
||
11 | .../devicetree/bindings/spi/spi-bcm63xx.txt | 33 ++++++++++++++++++++++ |
||
12 | 1 file changed, 33 insertions(+) |
||
13 | create mode 100644 Documentation/devicetree/bindings/spi/spi-bcm63xx.txt |
||
14 | |||
15 | --- /dev/null |
||
16 | +++ b/Documentation/devicetree/bindings/spi/spi-bcm63xx.txt |
||
17 | @@ -0,0 +1,33 @@ |
||
18 | +Binding for Broadcom BCM6348/BCM6358 SPI controller |
||
19 | + |
||
20 | +Required properties: |
||
21 | +- compatible: must contain one of "brcm,bcm6348-spi", "brcm,bcm6358-spi". |
||
22 | +- reg: Base address and size of the controllers memory area. |
||
23 | +- interrupts: Interrupt for the SPI block. |
||
24 | +- clocks: phandle of the SPI clock. |
||
25 | +- clock-names: has to be "spi". |
||
26 | +- #address-cells: <1>, as required by generic SPI binding. |
||
27 | +- #size-cells: <0>, also as required by generic SPI binding. |
||
28 | + |
||
29 | +Optional properties: |
||
30 | +- num-cs: some controllers have less than 8 cs signals. Defaults to 8 |
||
31 | + if absent. |
||
32 | + |
||
33 | +Child nodes as per the generic SPI binding. |
||
34 | + |
||
35 | +Example: |
||
36 | + |
||
37 | + spi@10000800 { |
||
38 | + compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi"; |
||
39 | + reg = <0x10000800 0x70c>; |
||
40 | + |
||
41 | + interrupts = <1>; |
||
42 | + |
||
43 | + clocks = <&clkctl 9>; |
||
44 | + clock-names = "spi"; |
||
45 | + |
||
46 | + num-cs = <5>; |
||
47 | + |
||
48 | + #address-cells = <1>; |
||
49 | + #size-cells = <0>; |
||
50 | + }; |