<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From da6015e7f19d749f135f7ac55c4ec47b06faa868 Mon Sep 17 00:00:00 2001
From: John Crispin &lt;blogic@openwrt.org&gt;
Date: Fri, 9 Aug 2013 20:12:59 +0200
Subject: [PATCH 41/53] DT: Add documentation for spi-rt2880

Describe the SPI master found on the MIPS based Ralink RT2880 SoC.

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
---
 .../devicetree/bindings/spi/spi-rt2880.txt         |   28 ++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-rt2880.txt

--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/spi-rt2880.txt
@@ -0,0 +1,28 @@
+Ralink SoC RT2880 SPI master controller.
+
+This SPI controller is found on most wireless SoCs made by ralink.
+
+Required properties:
+- compatible : "ralink,rt2880-spi"
+- reg : The register base for the controller.
+- #address-cells : &lt;1&gt;, as required by generic SPI binding.
+- #size-cells : &lt;0&gt;, also as required by generic SPI binding.
+
+Child nodes as per the generic SPI binding.
+
+Example:
+
+	spi@b00 {
+		compatible = "ralink,rt2880-spi";
+		reg = &lt;0xb00 0x100&gt;;
+
+		#address-cells = &lt;1&gt;;
+		#size-cells = &lt;0&gt;;
+
+		m25p80@0 {
+			compatible = "m25p80";
+			reg = &lt;0&gt;;
+			spi-max-frequency = &lt;10000000&gt;;
+		};
+	};
+
</pre></body></html>