| 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 |
|
| 7 |
title: Qualcomm QCA9377 Bluetooth |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Balakrishna Godavarthi <[email protected]> |
| 11 |
- Rocky Liao <[email protected]> |
| 12 |
|
| 13 |
properties: |
| 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 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- clocks |
| 34 |
- enable-gpios |
| 35 |
|
| 36 |
allOf: |
| 37 |
- $ref: bluetooth-controller.yaml# |
| 38 |
- $ref: qcom,bluetooth-common.yaml |
| 39 |
- $ref: /schemas/serial/serial-peripheral-props.yaml# |
| 40 |
|
| 41 |
unevaluatedProperties: false |
| 42 |
|
| 43 |
examples: |
| 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 |
}; |