mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

This helps validating DTS files. Introduced changes: 1. Dropped serial details from example 2. Added required example include Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
# 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";
|
|
};
|
|
};
|