| 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 |
|
| 7 |
title: Qualcomm WCN3950/WCN3988 Bluetooth |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Balakrishna Godavarthi <[email protected]> |
| 11 |
- Rocky Liao <[email protected]> |
| 12 |
|
| 13 |
properties: |
| 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 |
|
| 39 |
required: |
| 40 |
- compatible |
| 41 |
- vddch0-supply |
| 42 |
- vddio-supply |
| 43 |
- vddrf-supply |
| 44 |
- vddxo-supply |
| 45 |
|
| 46 |
allOf: |
| 47 |
- $ref: bluetooth-controller.yaml# |
| 48 |
- $ref: qcom,bluetooth-common.yaml |
| 49 |
- $ref: /schemas/serial/serial-peripheral-props.yaml# |
| 50 |
|
| 51 |
unevaluatedProperties: false |
| 52 |
|
| 53 |
examples: |
| 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 |
}; |