xref: /freebsd-src/sys/contrib/device-tree/Bindings/misc/lwn-bk4.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Liebherr's BK4 controller external SPI
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotA device which handles data acquisition from compatible industrial
4*c66ec88fSEmmanuel Vadotperipherals.
5*c66ec88fSEmmanuel VadotThe SPI is used for data and management purposes in both master and
6*c66ec88fSEmmanuel Vadotslave modes.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot- compatible : Should be "lwn,bk4"
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotRequired SPI properties:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot- reg : Should be address of the device chip select within
15*c66ec88fSEmmanuel Vadot  the controller.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot- spi-max-frequency : Maximum SPI clocking speed of device in Hz, should be
18*c66ec88fSEmmanuel Vadot  30MHz at most for the Liebherr's BK4 external bus.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotExample:
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadotspidev0: spi@0 {
23*c66ec88fSEmmanuel Vadot	compatible = "lwn,bk4";
24*c66ec88fSEmmanuel Vadot	spi-max-frequency = <30000000>;
25*c66ec88fSEmmanuel Vadot	reg = <0>;
26*c66ec88fSEmmanuel Vadot};
27