| # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| %YAML 1.2 |
| --- |
| $id: http://devicetree.org/schemas/net/bluetooth/mediatek,mt7622-bluetooth.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| |
| title: MediaTek SoC built-in Bluetooth |
| |
| description: |
| This device is a serial attached device to BTIF device and thus it must be a |
| child node of the serial node with BTIF. The dt-bindings details for BTIF |
| device can be known via Documentation/devicetree/bindings/serial/8250.yaml. |
| |
| maintainers: |
| - Sean Wang <sean.wang@mediatek.com> |
| |
| allOf: |
| - $ref: bluetooth-controller.yaml# |
| |
| properties: |
| compatible: |
| const: mediatek,mt7622-bluetooth |
| |
| clocks: |
| maxItems: 1 |
| |
| clock-names: |
| const: ref |
| |
| power-domains: |
| maxItems: 1 |
| |
| required: |
| - clocks |
| - clock-names |
| - power-domains |
| |
| unevaluatedProperties: false |
| |
| examples: |
| - | |
| #include <dt-bindings/power/mt7622-power.h> |
| |
| serial { |
| bluetooth { |
| compatible = "mediatek,mt7622-bluetooth"; |
| power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; |
| clocks = <&clk25m>; |
| clock-names = "ref"; |
| }; |
| }; |