qcom,qca9377-bt.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/bluetooth/qcom,qca9377-bt.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm QCA9377 Bluetooth
  7. maintainers:
  8. - Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
  9. - Rocky Liao <quic_rjliao@quicinc.com>
  10. properties:
  11. compatible:
  12. enum:
  13. - qcom,qca9377-bt
  14. clocks:
  15. items:
  16. - description: External low-power 32.768 kHz clock input
  17. enable-gpios:
  18. maxItems: 1
  19. vddio-supply:
  20. description: VDD_IO supply regulator handle
  21. vddxo-supply:
  22. description: VDD_XO supply regulator handle
  23. required:
  24. - compatible
  25. - clocks
  26. - enable-gpios
  27. allOf:
  28. - $ref: bluetooth-controller.yaml#
  29. - $ref: qcom,bluetooth-common.yaml
  30. - $ref: /schemas/serial/serial-peripheral-props.yaml#
  31. unevaluatedProperties: false
  32. examples:
  33. - |
  34. #include <dt-bindings/gpio/gpio.h>
  35. serial {
  36. bluetooth {
  37. compatible = "qcom,qca9377-bt";
  38. clocks = <&rk809 1>;
  39. enable-gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
  40. max-speed = <2000000>;
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&bt_enable>;
  43. vddio-supply = <&vcc_1v8>;
  44. vddxo-supply = <&vcc3v3_sys>;
  45. };
  46. };