xref: /linux/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml (revision e78f70bad29c5ae1e1076698b690b15794e9b81e)
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  firmware-name:
25    maxItems: 1
26    description:
27      If present, a board or platform specific string used to lookup
28      usecase-specific firmware files for the device.
29
30  vddaon-supply:
31    description: VDD_AON supply regulator handle
32
33  vddwlcx-supply:
34    description: VDD_WLCX supply regulator handle
35
36  vddwlmx-supply:
37    description: VDD_WLMX supply regulator handle
38
39  vddrfacmn-supply:
40    description: VDD_RFA_CMN supply regulator handle
41
42  vddrfa0p8-supply:
43    description: VDD_RFA_0P8 supply regulator handle
44
45  vddrfa1p2-supply:
46    description: VDD_RFA_1P2 supply regulator handle
47
48  vddrfa1p8-supply:
49    description: VDD_RFA_1P8 supply regulator handle
50
51  vddpcie0p9-supply:
52    description: VDD_PCIE_0P9 supply regulator handle
53
54  vddpcie1p8-supply:
55    description: VDD_PCIE_1P8 supply regulator handle
56
57required:
58  - compatible
59  - reg
60  - vddaon-supply
61  - vddwlcx-supply
62  - vddwlmx-supply
63  - vddrfacmn-supply
64  - vddrfa0p8-supply
65  - vddrfa1p2-supply
66  - vddrfa1p8-supply
67  - vddpcie0p9-supply
68  - vddpcie1p8-supply
69
70additionalProperties: false
71
72examples:
73  - |
74    #include <dt-bindings/clock/qcom,rpmh.h>
75    #include <dt-bindings/gpio/gpio.h>
76    pcie {
77        #address-cells = <3>;
78        #size-cells = <2>;
79
80        pcie@0 {
81            device_type = "pci";
82            reg = <0x0 0x0 0x0 0x0 0x0>;
83            #address-cells = <3>;
84            #size-cells = <2>;
85            ranges;
86
87            bus-range = <0x01 0xff>;
88
89            wifi@0 {
90                compatible = "pci17cb,1107";
91                reg = <0x10000 0x0 0x0 0x0 0x0>;
92
93                vddaon-supply = <&vreg_pmu_aon_0p59>;
94                vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
95                vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
96                vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
97                vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
98                vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
99                vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
100                vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
101                vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
102            };
103        };
104    };
105