Merge remote-tracking branch 'spi/topic/core' into spi-next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / serial / slave-device.txt
1 Serial Slave Device DT binding
2
3 This documents the binding structure and common properties for serial
4 attached devices. Common examples include Bluetooth, WiFi, NFC and GPS
5 devices.
6
7 Serial attached devices shall be a child node of the host UART device the
8 slave device is attached to. It is expected that the attached device is
9 the only child node of the UART device. The slave device node name shall
10 reflect the generic type of device for the node.
11
12 Required Properties:
13
14 - compatible    : A string reflecting the vendor and specific device the node
15                   represents.
16
17 Optional Properties:
18
19 - max-speed     : The maximum baud rate the device operates at. This should
20                   only be present if the maximum is less than the slave device
21                   can support. For example, a particular board has some signal
22                   quality issue or the host processor can't support higher
23                   baud rates.
24
25 Example:
26
27 serial@1234 {
28         compatible = "ns16550a";
29         interrupts = <1>;
30
31         bluetooth {
32                 compatible = "brcm,bcm43341-bt";
33                 interrupt-parent = <&gpio>;
34                 interrupts = <10>;
35         };
36 };