summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.yaml
blob: 3f9e69208127ea16d11d3ae052ca75f15d6709c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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";
        };
    };