MediaTek SoC built-in Bluetooth
Schema identifier ($id): "http://devicetree.org/schemas/net/bluetooth/mediatek,mt7622-bluetooth.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
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 (maintainers): "Sean Wang <sean.wang@mediatek.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):bluetooth-controller.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "mediatek,mt7622-bluetooth"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "ref"
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "clock-names", "power-domains"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (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";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause