Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / qualcomm-bluetooth.txt
1 Qualcomm Bluetooth Chips
2 ---------------------
3
4 This documents the binding structure and common properties for serial
5 attached Qualcomm devices.
6
7 Serial attached Qualcomm devices shall be a child node of the host UART
8 device the slave device is attached to.
9
10 Required properties:
11  - compatible: should contain one of the following:
12    * "qcom,qca6174-bt"
13    * "qcom,wcn3990-bt"
14    * "qcom,wcn3998-bt"
15
16 Optional properties for compatible string qcom,qca6174-bt:
17
18  - enable-gpios: gpio specifier used to enable chip
19  - clocks: clock provided to the controller (SUSCLK_32KHZ)
20
21 Required properties for compatible string qcom,wcn399x-bt:
22
23  - vddio-supply: VDD_IO supply regulator handle.
24  - vddxo-supply: VDD_XO supply regulator handle.
25  - vddrf-supply: VDD_RF supply regulator handle.
26  - vddch0-supply: VDD_CH0 supply regulator handle.
27
28 Optional properties for compatible string qcom,wcn399x-bt:
29
30  - max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt
31
32 Examples:
33
34 serial@7570000 {
35         label = "BT-UART";
36         status = "okay";
37
38         bluetooth {
39                 compatible = "qcom,qca6174-bt";
40
41                 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
42                 clocks = <&divclk4>;
43         };
44 };
45
46 serial@898000 {
47         bluetooth {
48                 compatible = "qcom,wcn3990-bt";
49
50                 vddio-supply = <&vreg_s4a_1p8>;
51                 vddxo-supply = <&vreg_l7a_1p8>;
52                 vddrf-supply = <&vreg_l17a_1p3>;
53                 vddch0-supply = <&vreg_l25a_3p3>;
54                 max-speed = <3200000>;
55         };
56 };