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