1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2# Copyright (c) 2023 Linaro Limited 3%YAML 1.2 4--- 5$id: http://devicetree.org/schemas/net/wireless/qcom,ath11k-pci.yaml# 6$schema: http://devicetree.org/meta-schemas/core.yaml# 7 8title: Qualcomm Technologies ath11k wireless devices (PCIe) 9 10maintainers: 11 - Jeff Johnson <[email protected]> 12 13description: | 14 Qualcomm Technologies IEEE 802.11ax PCIe devices 15 16properties: 17 compatible: 18 enum: 19 - pci17cb,1101 # QCA6390 20 - pci17cb,1103 # WCN6855 21 22 reg: 23 maxItems: 1 24 25 qcom,ath11k-calibration-variant: 26 $ref: /schemas/types.yaml#/definitions/string 27 description: | 28 string to uniquely identify variant of the calibration data for designs 29 with colliding bus and device ids 30 31 vddrfacmn-supply: 32 description: VDD_RFA_CMN supply regulator handle 33 34 vddaon-supply: 35 description: VDD_AON supply regulator handle 36 37 vddwlcx-supply: 38 description: VDD_WL_CX supply regulator handle 39 40 vddwlmx-supply: 41 description: VDD_WL_MX supply regulator handle 42 43 vddrfa0p8-supply: 44 description: VDD_RFA_0P8 supply regulator handle 45 46 vddrfa1p2-supply: 47 description: VDD_RFA_1P2 supply regulator handle 48 49 vddrfa1p7-supply: 50 description: VDD_RFA_1P7 supply regulator handle 51 52 vddrfa1p8-supply: 53 description: VDD_RFA_1P8 supply regulator handle 54 55 vddpcie0p9-supply: 56 description: VDD_PCIE_0P9 supply regulator handle 57 58 vddpcie1p8-supply: 59 description: VDD_PCIE_1P8 supply regulator handle 60 61required: 62 - compatible 63 - reg 64 65allOf: 66 - if: 67 properties: 68 compatible: 69 contains: 70 const: pci17cb,1101 71 then: 72 required: 73 - vddrfacmn-supply 74 - vddaon-supply 75 - vddwlcx-supply 76 - vddwlmx-supply 77 - vddrfa0p8-supply 78 - vddrfa1p2-supply 79 - vddrfa1p7-supply 80 - vddpcie0p9-supply 81 - vddpcie1p8-supply 82 - if: 83 properties: 84 compatible: 85 contains: 86 const: pci17cb,1103 87 then: 88 required: 89 - vddrfacmn-supply 90 - vddaon-supply 91 - vddwlcx-supply 92 - vddwlmx-supply 93 - vddrfa0p8-supply 94 - vddrfa1p2-supply 95 - vddrfa1p8-supply 96 - vddpcie0p9-supply 97 - vddpcie1p8-supply 98 99additionalProperties: false 100 101examples: 102 - | 103 pcie { 104 #address-cells = <3>; 105 #size-cells = <2>; 106 107 pcie@0 { 108 device_type = "pci"; 109 reg = <0x0 0x0 0x0 0x0 0x0>; 110 #address-cells = <3>; 111 #size-cells = <2>; 112 ranges; 113 114 bus-range = <0x01 0xff>; 115 116 wifi@0 { 117 compatible = "pci17cb,1103"; 118 reg = <0x10000 0x0 0x0 0x0 0x0>; 119 120 vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>; 121 vddaon-supply = <&vreg_pmu_aon_0p8>; 122 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 123 vddwlmx-supply = <&vreg_pmu_wlmx_0p8>; 124 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; 125 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; 126 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 127 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 128 vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>; 129 130 qcom,ath11k-calibration-variant = "LE_X13S"; 131 }; 132 }; 133 }; 134