Debian Codegraph @

Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.yaml

raw
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
7 title: MediaTek SoC built-in Bluetooth
8
9 description:
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
14 maintainers:
15 - Sean Wang <[email protected]>
16
17 allOf:
18 - $ref: bluetooth-controller.yaml#
19
20 properties:
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
33 required:
34 - clocks
35 - clock-names
36 - power-domains
37
38 unevaluatedProperties: false
39
40 examples:
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 };