slave-device.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Serial Slave Device DT binding
  2. This documents the binding structure and common properties for serial
  3. attached devices. Common examples include Bluetooth, WiFi, NFC and GPS
  4. devices.
  5. Serial attached devices shall be a child node of the host UART device the
  6. slave device is attached to. It is expected that the attached device is
  7. the only child node of the UART device. The slave device node name shall
  8. reflect the generic type of device for the node.
  9. Required Properties:
  10. - compatible : A string reflecting the vendor and specific device the node
  11. represents.
  12. Optional Properties:
  13. - max-speed : The maximum baud rate the device operates at. This should
  14. only be present if the maximum is less than the slave device
  15. can support. For example, a particular board has some signal
  16. quality issue or the host processor can't support higher
  17. baud rates.
  18. - current-speed : The current baud rate the device operates at. This should
  19. only be present in case a driver has no chance to know
  20. the baud rate of the slave device.
  21. Examples:
  22. * device supports auto-baud
  23. * the rate is setup by a bootloader and there is no
  24. way to reset the device
  25. * device baud rate is configured by its firmware but
  26. there is no way to request the actual settings
  27. Example:
  28. serial@1234 {
  29. compatible = "ns16550a";
  30. interrupts = <1>;
  31. bluetooth {
  32. compatible = "brcm,bcm43341-bt";
  33. interrupt-parent = <&gpio>;
  34. interrupts = <10>;
  35. };
  36. };