mediatek,mt7622-bluetooth.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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/mediatek,mt7622-bluetooth.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: MediaTek SoC built-in Bluetooth
  7. description:
  8. This device is a serial attached device to BTIF device and thus it must be a
  9. child node of the serial node with BTIF. The dt-bindings details for BTIF
  10. device can be known via Documentation/devicetree/bindings/serial/8250.yaml.
  11. maintainers:
  12. - Sean Wang <sean.wang@mediatek.com>
  13. allOf:
  14. - $ref: bluetooth-controller.yaml#
  15. properties:
  16. compatible:
  17. const: mediatek,mt7622-bluetooth
  18. clocks:
  19. maxItems: 1
  20. clock-names:
  21. const: ref
  22. power-domains:
  23. maxItems: 1
  24. required:
  25. - clocks
  26. - clock-names
  27. - power-domains
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. #include <dt-bindings/power/mt7622-power.h>
  32. serial {
  33. bluetooth {
  34. compatible = "mediatek,mt7622-bluetooth";
  35. power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
  36. clocks = <&clk25m>;
  37. clock-names = "ref";
  38. };
  39. };