xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/lwn-bk4.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Liebherr's BK4 controller external SPI
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunA device which handles data acquisition from compatible industrial
4*4882a593Smuzhiyunperipherals.
5*4882a593SmuzhiyunThe SPI is used for data and management purposes in both master and
6*4882a593Smuzhiyunslave modes.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- compatible : Should be "lwn,bk4"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunRequired SPI properties:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun- reg : Should be address of the device chip select within
15*4882a593Smuzhiyun  the controller.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- spi-max-frequency : Maximum SPI clocking speed of device in Hz, should be
18*4882a593Smuzhiyun  30MHz at most for the Liebherr's BK4 external bus.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunExample:
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunspidev0: spi@0 {
23*4882a593Smuzhiyun	compatible = "lwn,bk4";
24*4882a593Smuzhiyun	spi-max-frequency = <30000000>;
25*4882a593Smuzhiyun	reg = <0>;
26*4882a593Smuzhiyun};
27