summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-05-17 23:19:25 +0000
committerRich Felker <dalias@libc.org>2016-06-08 00:35:39 +0000
commit4ef4e919a3c40d5701bd1c03b233d62a574a2162 (patch)
tree40a97999f1632c0323a113cb9da522f8389a8bc8
parent59f31d5a61d7e12962e1db9145dced632fd3cb74 (diff)
downloadlinux-sh-4ef4e919a3c40d5701bd1c03b233d62a574a2162.tar.gz
of: add J-Core SPI master bindings
Signed-off-by: Rich Felker <dalias@libc.org> Acked-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/spi/jcore,spi.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/jcore,spi.txt b/Documentation/devicetree/bindings/spi/jcore,spi.txt
new file mode 100644
index 000000000000..7bff8c05b1e6
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/jcore,spi.txt
@@ -0,0 +1,23 @@
+J-Core SPI master
+
+Required properties:
+
+- compatible: Must be "jcore,spi2".
+
+- reg: Memory region for registers.
+
+- #address-cells: Must be 1.
+
+- #size-cells: Must be 0.
+
+See spi-bus.txt for additional properties not specific to this device.
+
+Example:
+
+spi@40 {
+ compatible = "jcore,spi2";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = < 0x40 0x8 >;
+ spi-max-frequency = <12500000>;
+}