xref: /freebsd/sys/contrib/device-tree/Bindings/net/qualcomm-bluetooth.txt (revision 2da066ef6d85d3f7cd8aaec14369d66254836536)
1Qualcomm Bluetooth Chips
2---------------------
3
4This documents the binding structure and common properties for serial
5attached Qualcomm devices.
6
7Serial attached Qualcomm devices shall be a child node of the host UART
8device the slave device is attached to.
9
10Required properties:
11 - compatible: should contain one of the following:
12   * "qcom,qca6174-bt"
13   * "qcom,qca9377-bt"
14   * "qcom,wcn3990-bt"
15   * "qcom,wcn3991-bt"
16   * "qcom,wcn3998-bt"
17   * "qcom,qca6390-bt"
18
19Optional properties for compatible string qcom,qca6174-bt:
20
21 - enable-gpios: gpio specifier used to enable chip
22 - clocks: clock provided to the controller (SUSCLK_32KHZ)
23 - firmware-name: specify the name of nvm firmware to load
24
25Optional properties for compatible string qcom,qca9377-bt:
26
27 - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml
28
29Required properties for compatible string qcom,wcn399x-bt:
30
31 - vddio-supply: VDD_IO supply regulator handle.
32 - vddxo-supply: VDD_XO supply regulator handle.
33 - vddrf-supply: VDD_RF supply regulator handle.
34 - vddch0-supply: VDD_CH0 supply regulator handle.
35
36Optional properties for compatible string qcom,wcn399x-bt:
37
38 - max-speed: see Documentation/devicetree/bindings/serial/serial.yaml
39 - firmware-name: specify the name of nvm firmware to load
40 - clocks: clock provided to the controller
41
42Examples:
43
44serial@7570000 {
45	label = "BT-UART";
46	status = "okay";
47
48	bluetooth {
49		compatible = "qcom,qca6174-bt";
50
51		enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
52		clocks = <&divclk4>;
53		firmware-name = "nvm_00440302.bin";
54	};
55};
56
57serial@898000 {
58	bluetooth {
59		compatible = "qcom,wcn3990-bt";
60
61		vddio-supply = <&vreg_s4a_1p8>;
62		vddxo-supply = <&vreg_l7a_1p8>;
63		vddrf-supply = <&vreg_l17a_1p3>;
64		vddch0-supply = <&vreg_l25a_3p3>;
65		max-speed = <3200000>;
66		firmware-name = "crnv21.bin";
67		clocks = <&rpmhcc RPMH_RF_CLK2>;
68	};
69};
70