1Serial Slave Device DT binding
2
3This documents the binding structure and common properties for serial
4attached devices. Common examples include Bluetooth, WiFi, NFC and GPS
5devices.
6
7Serial attached devices shall be a child node of the host UART device the
8slave device is attached to. It is expected that the attached device is
9the only child node of the UART device. The slave device node name shall
10reflect the generic type of device for the node.
11
12Required Properties:
13
14- compatible 	: A string reflecting the vendor and specific device the node
15		  represents.
16
17Optional 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- current-speed	: The current baud rate the device operates at. This should
25		  only be present in case a driver has no chance to know
26		  the baud rate of the slave device.
27		  Examples:
28		    * device supports auto-baud
29		    * the rate is setup by a bootloader and there is no
30		      way to reset the device
31		    * device baud rate is configured by its firmware but
32		      there is no way to request the actual settings
33
34Example:
35
36serial@1234 {
37	compatible = "ns16550a";
38	interrupts = <1>;
39
40	bluetooth {
41		compatible = "brcm,bcm43341-bt";
42		interrupt-parent = <&gpio>;
43		interrupts = <10>;
44	};
45};
46