# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/bluetooth/qcom,qca6390-bt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm QCA6390 Bluetooth

maintainers:
  - Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
  - Rocky Liao <quic_rjliao@quicinc.com>

properties:
  compatible:
    enum:
      - qcom,qca6390-bt

  vddaon-supply:
    description: VDD_AON supply regulator handle

  vddbtcmx-supply:
    description: VDD_BT_CMX supply regulator handle

  vddrfa0p8-supply:
    description: VDD_RFA_0P8 supply regulator handle

  vddrfa1p2-supply:
    description: VDD_RFA_1P2 supply regulator handle

  vddrfa1p7-supply:
    description: VDD_RFA_1P7 supply regulator handle

  vddrfacmn-supply:
    description: VDD_RFA_CMN supply regulator handle

required:
  - compatible
  - vddaon-supply
  - vddbtcmx-supply
  - vddrfa0p8-supply
  - vddrfa1p2-supply
  - vddrfa1p7-supply
  - vddrfacmn-supply

allOf:
  - $ref: bluetooth-controller.yaml#
  - $ref: qcom,bluetooth-common.yaml
  - $ref: /schemas/serial/serial-peripheral-props.yaml#

unevaluatedProperties: false

examples:
  - |
    serial {
        bluetooth {
            compatible = "qcom,qca6390-bt";
            vddaon-supply = <&vreg_pmu_aon_0p59>;
            vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
            vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
            vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
            vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>;
            vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
        };
    };
