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