ramips: fix patches after 3.14.32 bump
[openwrt.git] / target / linux / ramips / patches-3.14 / 0049-DT-Add-documentation-for-spi-rt2880.patch
1 From 6ed8d03e5f4283b60dffea5c10ff1484141824e7 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Fri, 9 Aug 2013 20:12:59 +0200
4 Subject: [PATCH 49/57] DT: Add documentation for spi-rt2880
5
6 Describe the SPI master found on the MIPS based Ralink RT2880 SoC.
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 ---
10  .../devicetree/bindings/spi/spi-rt2880.txt         |   28 ++++++++++++++++++++
11  1 file changed, 28 insertions(+)
12  create mode 100644 Documentation/devicetree/bindings/spi/spi-rt2880.txt
13
14 --- /dev/null
15 +++ b/Documentation/devicetree/bindings/spi/spi-rt2880.txt
16 @@ -0,0 +1,28 @@
17 +Ralink SoC RT2880 SPI master controller.
18 +
19 +This SPI controller is found on most wireless SoCs made by ralink.
20 +
21 +Required properties:
22 +- compatible : "ralink,rt2880-spi"
23 +- reg : The register base for the controller.
24 +- #address-cells : <1>, as required by generic SPI binding.
25 +- #size-cells : <0>, also as required by generic SPI binding.
26 +
27 +Child nodes as per the generic SPI binding.
28 +
29 +Example:
30 +
31 +       spi@b00 {
32 +               compatible = "ralink,rt2880-spi";
33 +               reg = <0xb00 0x100>;
34 +
35 +               #address-cells = <1>;
36 +               #size-cells = <0>;
37 +
38 +               m25p80@0 {
39 +                       compatible = "m25p80";
40 +                       reg = <0>;
41 +                       spi-max-frequency = <10000000>;
42 +               };
43 +       };
44 +