1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2# Copyright (c) 2024 Linaro Limited
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/net/wireless/qcom,ath12k.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Qualcomm Technologies ath12k wireless devices (PCIe)
9
10maintainers:
11  - Jeff Johnson <quic_jjohnson@quicinc.com>
12
13description:
14  Qualcomm Technologies IEEE 802.11be PCIe devices.
15
16properties:
17  compatible:
18    enum:
19      - pci17cb,1107  # WCN7850
20
21  reg:
22    maxItems: 1
23
24  vddaon-supply:
25    description: VDD_AON supply regulator handle
26
27  vddwlcx-supply:
28    description: VDD_WLCX supply regulator handle
29
30  vddwlmx-supply:
31    description: VDD_WLMX supply regulator handle
32
33  vddrfacmn-supply:
34    description: VDD_RFA_CMN supply regulator handle
35
36  vddrfa0p8-supply:
37    description: VDD_RFA_0P8 supply regulator handle
38
39  vddrfa1p2-supply:
40    description: VDD_RFA_1P2 supply regulator handle
41
42  vddrfa1p8-supply:
43    description: VDD_RFA_1P8 supply regulator handle
44
45  vddpcie0p9-supply:
46    description: VDD_PCIE_0P9 supply regulator handle
47
48  vddpcie1p8-supply:
49    description: VDD_PCIE_1P8 supply regulator handle
50
51required:
52  - compatible
53  - reg
54  - vddaon-supply
55  - vddwlcx-supply
56  - vddwlmx-supply
57  - vddrfacmn-supply
58  - vddrfa0p8-supply
59  - vddrfa1p2-supply
60  - vddrfa1p8-supply
61  - vddpcie0p9-supply
62  - vddpcie1p8-supply
63
64additionalProperties: false
65
66examples:
67  - |
68    #include <dt-bindings/clock/qcom,rpmh.h>
69    #include <dt-bindings/gpio/gpio.h>
70    pcie {
71        #address-cells = <3>;
72        #size-cells = <2>;
73
74        pcie@0 {
75            device_type = "pci";
76            reg = <0x0 0x0 0x0 0x0 0x0>;
77            #address-cells = <3>;
78            #size-cells = <2>;
79            ranges;
80
81            bus-range = <0x01 0xff>;
82
83            wifi@0 {
84                compatible = "pci17cb,1107";
85                reg = <0x10000 0x0 0x0 0x0 0x0>;
86
87                vddaon-supply = <&vreg_pmu_aon_0p59>;
88                vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
89                vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
90                vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
91                vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
92                vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
93                vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
94                vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
95                vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
96            };
97        };
98    };
99