xref: /linux/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3950-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,wcn3950-bt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm WCN3950/WCN3988 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,wcn3950-bt
17      - qcom,wcn3988-bt
18
19  enable-gpios:
20    maxItems: 1
21
22  swctrl-gpios:
23    maxItems: 1
24    description: gpio specifier is used to find status
25                 of clock supply to SoC
26
27  vddch0-supply:
28    description: VDD_CH0 supply regulator handle
29
30  vddio-supply:
31    description: VDD_IO supply regulator handle
32
33  vddrf-supply:
34    description: VDD_RF supply regulator handle
35
36  vddxo-supply:
37    description: VDD_XO supply regulator handle
38
39required:
40  - compatible
41  - vddch0-supply
42  - vddio-supply
43  - vddrf-supply
44  - vddxo-supply
45
46allOf:
47  - $ref: bluetooth-controller.yaml#
48  - $ref: qcom,bluetooth-common.yaml
49  - $ref: /schemas/serial/serial-peripheral-props.yaml#
50
51unevaluatedProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/gpio/gpio.h>
56
57    serial {
58        bluetooth {
59            compatible = "qcom,wcn3950-bt";
60            enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>;
61            max-speed = <3200000>;
62            vddch0-supply = <&pm4125_l22>;
63            vddio-supply = <&pm4125_l15>;
64            vddrf-supply = <&pm4125_l10>;
65            vddxo-supply = <&pm4125_l13>;
66        };
67    };
68