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