summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/misc
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-09-28 00:26:55 +0200
committerRob Herring <robh@kernel.org>2018-10-15 20:46:39 +0200
commit8d452721628db190964ab44e302c3e3fb3bdb8ef (patch)
treed23d751a17281b5e96a4a0fcf2570895088b5540 /Documentation/devicetree/bindings/misc
parentdt-bindings: thermal: samsung: Add SPDX license identifier (diff)
downloadlinux-8d452721628db190964ab44e302c3e3fb3bdb8ef.tar.xz
linux-8d452721628db190964ab44e302c3e3fb3bdb8ef.zip
dt-bindings: misc: bk4: Add device tree binding for Liebherr's BK4 SPI bus
Add Device Tree binding document for Liebherr's BK4 external SPI bus. Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/misc')
-rw-r--r--Documentation/devicetree/bindings/misc/lwn-bk4.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/lwn-bk4.txt b/Documentation/devicetree/bindings/misc/lwn-bk4.txt
new file mode 100644
index 000000000000..d6a8c188c087
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/lwn-bk4.txt
@@ -0,0 +1,26 @@
+* Liebherr's BK4 controller external SPI
+
+A device which handles data acquisition from compatible industrial
+peripherals.
+The SPI is used for data and management purposes in both master and
+slave modes.
+
+Required properties:
+
+- compatible : Should be "lwn,bk4"
+
+Required SPI properties:
+
+- reg : Should be address of the device chip select within
+ the controller.
+
+- spi-max-frequency : Maximum SPI clocking speed of device in Hz, should be
+ 30MHz at most for the Liebherr's BK4 external bus.
+
+Example:
+
+spidev0: spi@0 {
+ compatible = "lwn,bk4";
+ spi-max-frequency = <30000000>;
+ reg = <0>;
+};