ti,bluetooth.yaml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/bluetooth/ti,bluetooth.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Texas Instruments Bluetooth Chips
  7. maintainers:
  8. - David Lechner <david@lechnology.com>
  9. description: |
  10. This documents the binding structure and common properties for serial
  11. attached TI Bluetooth devices. The following chips are included in this
  12. binding:
  13. * TI CC256x Bluetooth devices
  14. * TI WiLink 7/8 (wl12xx/wl18xx) Shared Transport BT/FM/GPS devices
  15. TI WiLink devices have a UART interface for providing Bluetooth, FM radio,
  16. and GPS over what's called "shared transport". The shared transport is
  17. standard BT HCI protocol with additional channels for the other functions.
  18. TI WiLink devices also have a separate WiFi interface as described in
  19. wireless/ti,wlcore.yaml.
  20. This bindings follows the UART slave device binding in ../serial/serial.yaml.
  21. properties:
  22. compatible:
  23. enum:
  24. - ti,cc2560
  25. - ti,wl1271-st
  26. - ti,wl1273-st
  27. - ti,wl1281-st
  28. - ti,wl1283-st
  29. - ti,wl1285-st
  30. - ti,wl1801-st
  31. - ti,wl1805-st
  32. - ti,wl1807-st
  33. - ti,wl1831-st
  34. - ti,wl1835-st
  35. - ti,wl1837-st
  36. enable-gpios:
  37. maxItems: 1
  38. vio-supply:
  39. description: Vio input supply (1.8V)
  40. vbat-supply:
  41. description: Vbat input supply (2.9-4.8V)
  42. clocks:
  43. maxItems: 1
  44. clock-names:
  45. items:
  46. - const: ext_clock
  47. max-speed:
  48. default: 3000000
  49. nvmem-cells:
  50. maxItems: 1
  51. description:
  52. Nvmem data cell that contains a 6 byte BD address with the most
  53. significant byte first (big-endian).
  54. nvmem-cell-names:
  55. items:
  56. - const: bd-address
  57. required:
  58. - compatible
  59. allOf:
  60. - $ref: /schemas/serial/serial-peripheral-props.yaml#
  61. additionalProperties: false
  62. examples:
  63. - |
  64. #include <dt-bindings/gpio/gpio.h>
  65. serial {
  66. bluetooth {
  67. compatible = "ti,wl1835-st";
  68. enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
  69. clocks = <&clk32k_wl18xx>;
  70. clock-names = "ext_clock";
  71. nvmem-cells = <&bd_address>;
  72. nvmem-cell-names = "bd-address";
  73. };
  74. };