diff options
author | Lukasz Majewski <lukma@denx.de> | 2018-09-27 18:26:55 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-10-15 14:46:39 -0400 |
commit | 8d452721628db190964ab44e302c3e3fb3bdb8ef (patch) | |
tree | d23d751a17281b5e96a4a0fcf2570895088b5540 | |
parent | 40970f7a43d6bddb5e47baf16449d6f5fd329531 (diff) |
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>
-rw-r--r-- | Documentation/devicetree/bindings/misc/lwn-bk4.txt | 26 |
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 @@ | |||
1 | * Liebherr's BK4 controller external SPI | ||
2 | |||
3 | A device which handles data acquisition from compatible industrial | ||
4 | peripherals. | ||
5 | The SPI is used for data and management purposes in both master and | ||
6 | slave modes. | ||
7 | |||
8 | Required properties: | ||
9 | |||
10 | - compatible : Should be "lwn,bk4" | ||
11 | |||
12 | Required SPI properties: | ||
13 | |||
14 | - reg : Should be address of the device chip select within | ||
15 | the controller. | ||
16 | |||
17 | - spi-max-frequency : Maximum SPI clocking speed of device in Hz, should be | ||
18 | 30MHz at most for the Liebherr's BK4 external bus. | ||
19 | |||
20 | Example: | ||
21 | |||
22 | spidev0: spi@0 { | ||
23 | compatible = "lwn,bk4"; | ||
24 | spi-max-frequency = <30000000>; | ||
25 | reg = <0>; | ||
26 | }; | ||