1
0

0041-DT-Add-documentation-for-spi-rt2880.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From da6015e7f19d749f135f7ac55c4ec47b06faa868 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 41/53] DT: Add documentation for spi-rt2880
  5. Describe the SPI master found on the MIPS based Ralink RT2880 SoC.
  6. Signed-off-by: John Crispin <blogic@openwrt.org>
  7. ---
  8. .../devicetree/bindings/spi/spi-rt2880.txt | 28 ++++++++++++++++++++
  9. 1 file changed, 28 insertions(+)
  10. create mode 100644 Documentation/devicetree/bindings/spi/spi-rt2880.txt
  11. --- /dev/null
  12. +++ b/Documentation/devicetree/bindings/spi/spi-rt2880.txt
  13. @@ -0,0 +1,28 @@
  14. +Ralink SoC RT2880 SPI master controller.
  15. +
  16. +This SPI controller is found on most wireless SoCs made by ralink.
  17. +
  18. +Required properties:
  19. +- compatible : "ralink,rt2880-spi"
  20. +- reg : The register base for the controller.
  21. +- #address-cells : <1>, as required by generic SPI binding.
  22. +- #size-cells : <0>, also as required by generic SPI binding.
  23. +
  24. +Child nodes as per the generic SPI binding.
  25. +
  26. +Example:
  27. +
  28. + spi@b00 {
  29. + compatible = "ralink,rt2880-spi";
  30. + reg = <0xb00 0x100>;
  31. +
  32. + #address-cells = <1>;
  33. + #size-cells = <0>;
  34. +
  35. + m25p80@0 {
  36. + compatible = "m25p80";
  37. + reg = <0>;
  38. + spi-max-frequency = <10000000>;
  39. + };
  40. + };
  41. +