xref: /linux/Documentation/devicetree/bindings/net/bluetooth/qcom,qca9377-bt.yaml (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/bluetooth/qcom,qca9377-bt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm QCA9377 Bluetooth
8
9maintainers:
10  - Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
11  - Rocky Liao <quic_rjliao@quicinc.com>
12
13properties:
14  compatible:
15    enum:
16      - qcom,qca9377-bt
17
18  clocks:
19    items:
20      - description: External low-power 32.768 kHz clock input
21
22  enable-gpios:
23    maxItems: 1
24
25  vddio-supply:
26    description: VDD_IO supply regulator handle
27
28  vddxo-supply:
29    description: VDD_XO supply regulator handle
30
31required:
32  - compatible
33  - clocks
34  - enable-gpios
35
36allOf:
37  - $ref: bluetooth-controller.yaml#
38  - $ref: qcom,bluetooth-common.yaml
39  - $ref: /schemas/serial/serial-peripheral-props.yaml#
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/gpio/gpio.h>
46
47    serial {
48        bluetooth {
49            compatible = "qcom,qca9377-bt";
50            clocks = <&rk809 1>;
51            enable-gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
52            max-speed = <2000000>;
53            pinctrl-names = "default";
54            pinctrl-0 = <&bt_enable>;
55            vddio-supply = <&vcc_1v8>;
56            vddxo-supply = <&vcc3v3_sys>;
57        };
58    };
59