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 21:54:23 +0000
commitaba128a3c6f3ec331ad11adaeb26a22a481628dc (patch)
treea7e6734e191cae12bf747c6010ef9b8dbfc936a0
parent5a0f3177142fbea475b493edc959840979feb84d (diff)
downloadlinux-sh-aba128a3c6f3ec331ad11adaeb26a22a481628dc.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>;
+}