1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/bluetoo 4 $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm Bluetooth Chips 7 title: Qualcomm Bluetooth Chips 8 8 9 maintainers: 9 maintainers: 10 - Balakrishna Godavarthi <quic_bgodavar@quici !! 10 - Balakrishna Godavarthi <bgodavar@codeaurora.org> 11 - Rocky Liao <quic_rjliao@quicinc.com> !! 11 - Rocky Liao <rjliao@codeaurora.org> 12 12 13 description: 13 description: 14 This binding describes Qualcomm UART-attache 14 This binding describes Qualcomm UART-attached bluetooth chips. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - qcom,qca2066-bt 19 - qcom,qca2066-bt 20 - qcom,qca6174-bt 20 - qcom,qca6174-bt 21 - qcom,qca9377-bt 21 - qcom,qca9377-bt 22 - qcom,wcn3988-bt 22 - qcom,wcn3988-bt 23 - qcom,wcn3990-bt 23 - qcom,wcn3990-bt 24 - qcom,wcn3991-bt 24 - qcom,wcn3991-bt 25 - qcom,wcn3998-bt 25 - qcom,wcn3998-bt 26 - qcom,qca6390-bt 26 - qcom,qca6390-bt 27 - qcom,wcn6750-bt 27 - qcom,wcn6750-bt 28 - qcom,wcn6855-bt 28 - qcom,wcn6855-bt 29 - qcom,wcn7850-bt 29 - qcom,wcn7850-bt 30 30 31 enable-gpios: 31 enable-gpios: 32 maxItems: 1 32 maxItems: 1 33 description: gpio specifier used to enable 33 description: gpio specifier used to enable chip 34 34 35 swctrl-gpios: 35 swctrl-gpios: 36 maxItems: 1 36 maxItems: 1 37 description: gpio specifier is used to fin 37 description: gpio specifier is used to find status 38 of clock supply to SoC 38 of clock supply to SoC 39 39 40 clocks: 40 clocks: 41 maxItems: 1 41 maxItems: 1 42 description: clock provided to the control 42 description: clock provided to the controller (SUSCLK_32KHZ) 43 43 44 vddio-supply: 44 vddio-supply: 45 description: VDD_IO supply regulator handl 45 description: VDD_IO supply regulator handle 46 46 47 vddxo-supply: 47 vddxo-supply: 48 description: VDD_XO supply regulator handl 48 description: VDD_XO supply regulator handle 49 49 50 vddrf-supply: 50 vddrf-supply: 51 description: VDD_RF supply regulator handl 51 description: VDD_RF supply regulator handle 52 52 53 vddch0-supply: 53 vddch0-supply: 54 description: VDD_CH0 supply regulator hand 54 description: VDD_CH0 supply regulator handle 55 55 56 vddch1-supply: 56 vddch1-supply: 57 description: VDD_CH1 supply regulator hand 57 description: VDD_CH1 supply regulator handle 58 58 59 vddaon-supply: 59 vddaon-supply: 60 description: VDD_AON supply regulator hand 60 description: VDD_AON supply regulator handle 61 61 62 vdddig-supply: 62 vdddig-supply: 63 description: VDD_DIG supply regulator hand 63 description: VDD_DIG supply regulator handle 64 64 65 vddbtcmx-supply: << 66 description: VDD_BT_CMX supply regulator h << 67 << 68 vddbtcxmx-supply: 65 vddbtcxmx-supply: 69 description: VDD_BT_CXMX supply regulator 66 description: VDD_BT_CXMX supply regulator handle 70 67 71 vddrfacmn-supply: 68 vddrfacmn-supply: 72 description: VDD_RFA_CMN supply regulator 69 description: VDD_RFA_CMN supply regulator handle 73 70 74 vddrfa0p8-supply: 71 vddrfa0p8-supply: 75 description: VDD_RFA_0P8 supply regulator !! 72 description: VDD_RFA_0P8 suppply regulator handle 76 73 77 vddrfa1p7-supply: 74 vddrfa1p7-supply: 78 description: VDD_RFA_1P7 supply regulator 75 description: VDD_RFA_1P7 supply regulator handle 79 76 80 vddrfa1p8-supply: << 81 description: VDD_RFA_1P8 supply regulator << 82 << 83 vddrfa1p2-supply: 77 vddrfa1p2-supply: 84 description: VDD_RFA_1P2 supply regulator 78 description: VDD_RFA_1P2 supply regulator handle 85 79 86 vddrfa1p9-supply: 80 vddrfa1p9-supply: 87 description: VDD_RFA_1P9 supply regulator 81 description: VDD_RFA_1P9 supply regulator handle 88 82 89 vddrfa2p2-supply: 83 vddrfa2p2-supply: 90 description: VDD_RFA_2P2 supply regulator 84 description: VDD_RFA_2P2 supply regulator handle 91 85 92 vddasd-supply: 86 vddasd-supply: 93 description: VDD_ASD supply regulator hand 87 description: VDD_ASD supply regulator handle 94 88 95 vddwlcx-supply: !! 89 max-speed: 96 description: VDD_WLCX supply regulator han !! 90 description: see Documentation/devicetree/bindings/serial/serial.yaml 97 << 98 vddwlmx-supply: << 99 description: VDD_WLMX supply regulator han << 100 << 101 max-speed: true << 102 91 103 firmware-name: 92 firmware-name: 104 description: specify the name of nvm firmw 93 description: specify the name of nvm firmware to load 105 94 106 local-bd-address: true 95 local-bd-address: true 107 96 108 qcom,local-bd-address-broken: << 109 type: boolean << 110 description: << 111 boot firmware is incorrectly passing the << 112 97 113 required: 98 required: 114 - compatible 99 - compatible 115 100 116 additionalProperties: false 101 additionalProperties: false 117 102 118 allOf: 103 allOf: 119 - $ref: bluetooth-controller.yaml# 104 - $ref: bluetooth-controller.yaml# 120 - $ref: /schemas/serial/serial-peripheral-pr << 121 - if: 105 - if: 122 properties: 106 properties: 123 compatible: 107 compatible: 124 contains: 108 contains: 125 enum: 109 enum: 126 - qcom,qca2066-bt 110 - qcom,qca2066-bt 127 - qcom,qca6174-bt 111 - qcom,qca6174-bt 128 then: 112 then: 129 required: 113 required: 130 - enable-gpios 114 - enable-gpios 131 - clocks 115 - clocks 132 116 133 - if: 117 - if: 134 properties: 118 properties: 135 compatible: 119 compatible: 136 contains: 120 contains: 137 enum: 121 enum: 138 - qcom,wcn3988-bt 122 - qcom,wcn3988-bt 139 - qcom,wcn3990-bt 123 - qcom,wcn3990-bt 140 - qcom,wcn3991-bt 124 - qcom,wcn3991-bt 141 - qcom,wcn3998-bt 125 - qcom,wcn3998-bt 142 then: 126 then: 143 required: 127 required: 144 - vddio-supply 128 - vddio-supply 145 - vddxo-supply 129 - vddxo-supply 146 - vddrf-supply 130 - vddrf-supply 147 - vddch0-supply 131 - vddch0-supply 148 132 149 - if: 133 - if: 150 properties: 134 properties: 151 compatible: 135 compatible: 152 contains: 136 contains: 153 enum: 137 enum: 154 - qcom,wcn6750-bt 138 - qcom,wcn6750-bt 155 then: 139 then: 156 required: 140 required: 157 - enable-gpios 141 - enable-gpios 158 - swctrl-gpios 142 - swctrl-gpios 159 - vddio-supply 143 - vddio-supply 160 - vddaon-supply 144 - vddaon-supply 161 - vddbtcxmx-supply 145 - vddbtcxmx-supply 162 - vddrfacmn-supply 146 - vddrfacmn-supply 163 - vddrfa0p8-supply 147 - vddrfa0p8-supply 164 - vddrfa1p7-supply 148 - vddrfa1p7-supply 165 - vddrfa1p2-supply 149 - vddrfa1p2-supply 166 - vddasd-supply 150 - vddasd-supply 167 - if: 151 - if: 168 properties: 152 properties: 169 compatible: 153 compatible: 170 contains: 154 contains: 171 enum: 155 enum: 172 - qcom,wcn6855-bt 156 - qcom,wcn6855-bt 173 then: 157 then: 174 required: 158 required: >> 159 - enable-gpios >> 160 - swctrl-gpios >> 161 - vddio-supply >> 162 - vddbtcxmx-supply 175 - vddrfacmn-supply 163 - vddrfacmn-supply 176 - vddaon-supply << 177 - vddwlcx-supply << 178 - vddwlmx-supply << 179 - vddbtcmx-supply << 180 - vddrfa0p8-supply 164 - vddrfa0p8-supply 181 - vddrfa1p2-supply 165 - vddrfa1p2-supply 182 - vddrfa1p8-supply !! 166 - vddrfa1p7-supply 183 - if: 167 - if: 184 properties: 168 properties: 185 compatible: 169 compatible: 186 contains: 170 contains: 187 enum: 171 enum: 188 - qcom,wcn7850-bt 172 - qcom,wcn7850-bt 189 then: 173 then: 190 required: 174 required: 191 - vddrfacmn-supply !! 175 - enable-gpios 192 - vddaon-supply !! 176 - swctrl-gpios 193 - vddwlcx-supply !! 177 - vddio-supply 194 - vddwlmx-supply << 195 - vddrfa0p8-supply << 196 - vddrfa1p2-supply << 197 - vddrfa1p8-supply << 198 - if: << 199 properties: << 200 compatible: << 201 contains: << 202 enum: << 203 - qcom,qca6390-bt << 204 then: << 205 required: << 206 - vddrfacmn-supply << 207 - vddaon-supply 178 - vddaon-supply 208 - vddbtcmx-supply !! 179 - vdddig-supply 209 - vddrfa0p8-supply 180 - vddrfa0p8-supply 210 - vddrfa1p2-supply 181 - vddrfa1p2-supply 211 - vddrfa1p7-supply !! 182 - vddrfa1p9-supply 212 183 213 examples: 184 examples: 214 - | 185 - | 215 #include <dt-bindings/gpio/gpio.h> 186 #include <dt-bindings/gpio/gpio.h> 216 serial { 187 serial { 217 188 218 bluetooth { 189 bluetooth { 219 compatible = "qcom,qca6174-bt"; 190 compatible = "qcom,qca6174-bt"; 220 enable-gpios = <&pm8994_gpios 19 G 191 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; 221 clocks = <&divclk4>; 192 clocks = <&divclk4>; 222 firmware-name = "nvm_00440302.bin" 193 firmware-name = "nvm_00440302.bin"; 223 }; 194 }; 224 }; 195 }; 225 - | 196 - | 226 serial { 197 serial { 227 198 228 bluetooth { 199 bluetooth { 229 compatible = "qcom,wcn3990-bt"; 200 compatible = "qcom,wcn3990-bt"; 230 vddio-supply = <&vreg_s4a_1p8>; 201 vddio-supply = <&vreg_s4a_1p8>; 231 vddxo-supply = <&vreg_l7a_1p8>; 202 vddxo-supply = <&vreg_l7a_1p8>; 232 vddrf-supply = <&vreg_l17a_1p3>; 203 vddrf-supply = <&vreg_l17a_1p3>; 233 vddch0-supply = <&vreg_l25a_3p3>; 204 vddch0-supply = <&vreg_l25a_3p3>; 234 max-speed = <3200000>; 205 max-speed = <3200000>; 235 firmware-name = "crnv21.bin"; 206 firmware-name = "crnv21.bin"; 236 }; 207 }; 237 }; 208 }; 238 - | 209 - | 239 serial { 210 serial { 240 211 241 bluetooth { 212 bluetooth { 242 compatible = "qcom,wcn6750-bt"; 213 compatible = "qcom,wcn6750-bt"; 243 pinctrl-names = "default"; 214 pinctrl-names = "default"; 244 pinctrl-0 = <&bt_en_default>; 215 pinctrl-0 = <&bt_en_default>; 245 enable-gpios = <&tlmm 85 GPIO_ACTI 216 enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>; 246 swctrl-gpios = <&tlmm 86 GPIO_ACTI 217 swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>; 247 vddio-supply = <&vreg_l19b_1p8>; 218 vddio-supply = <&vreg_l19b_1p8>; 248 vddaon-supply = <&vreg_s7b_0p9>; 219 vddaon-supply = <&vreg_s7b_0p9>; 249 vddbtcxmx-supply = <&vreg_s7b_0p9> 220 vddbtcxmx-supply = <&vreg_s7b_0p9>; 250 vddrfacmn-supply = <&vreg_s7b_0p9> 221 vddrfacmn-supply = <&vreg_s7b_0p9>; 251 vddrfa0p8-supply = <&vreg_s7b_0p9> 222 vddrfa0p8-supply = <&vreg_s7b_0p9>; 252 vddrfa1p7-supply = <&vreg_s1b_1p8> 223 vddrfa1p7-supply = <&vreg_s1b_1p8>; 253 vddrfa1p2-supply = <&vreg_s8b_1p2> 224 vddrfa1p2-supply = <&vreg_s8b_1p2>; 254 vddrfa2p2-supply = <&vreg_s1c_2p2> 225 vddrfa2p2-supply = <&vreg_s1c_2p2>; 255 vddasd-supply = <&vreg_l11c_2p8>; 226 vddasd-supply = <&vreg_l11c_2p8>; 256 max-speed = <3200000>; 227 max-speed = <3200000>; 257 firmware-name = "msnv11.bin"; 228 firmware-name = "msnv11.bin"; 258 }; 229 }; 259 }; 230 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.