blob: 1b5884015b15b4e6473143b8ae51d0ee29c69434 [file] [log] [blame]
Tom Rini6b642ac2024-10-01 12:20:28 -06001# 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 - Kalle Valo <kvalo@kernel.org>
13
14description:
15 Qualcomm Technologies IEEE 802.11be PCIe devices.
16
17properties:
18 compatible:
19 enum:
20 - pci17cb,1107 # WCN7850
21
22 reg:
23 maxItems: 1
24
25 vddaon-supply:
26 description: VDD_AON supply regulator handle
27
28 vddwlcx-supply:
29 description: VDD_WLCX supply regulator handle
30
31 vddwlmx-supply:
32 description: VDD_WLMX supply regulator handle
33
34 vddrfacmn-supply:
35 description: VDD_RFA_CMN supply regulator handle
36
37 vddrfa0p8-supply:
38 description: VDD_RFA_0P8 supply regulator handle
39
40 vddrfa1p2-supply:
41 description: VDD_RFA_1P2 supply regulator handle
42
43 vddrfa1p8-supply:
44 description: VDD_RFA_1P8 supply regulator handle
45
46 vddpcie0p9-supply:
47 description: VDD_PCIE_0P9 supply regulator handle
48
49 vddpcie1p8-supply:
50 description: VDD_PCIE_1P8 supply regulator handle
51
52required:
53 - compatible
54 - reg
55 - vddaon-supply
56 - vddwlcx-supply
57 - vddwlmx-supply
58 - vddrfacmn-supply
59 - vddrfa0p8-supply
60 - vddrfa1p2-supply
61 - vddrfa1p8-supply
62 - vddpcie0p9-supply
63 - vddpcie1p8-supply
64
65additionalProperties: false
66
67examples:
68 - |
69 #include <dt-bindings/clock/qcom,rpmh.h>
70 #include <dt-bindings/gpio/gpio.h>
71 pcie {
72 #address-cells = <3>;
73 #size-cells = <2>;
74
75 pcie@0 {
76 device_type = "pci";
77 reg = <0x0 0x0 0x0 0x0 0x0>;
78 #address-cells = <3>;
79 #size-cells = <2>;
80 ranges;
81
82 bus-range = <0x01 0xff>;
83
84 wifi@0 {
85 compatible = "pci17cb,1107";
86 reg = <0x10000 0x0 0x0 0x0 0x0>;
87
88 vddaon-supply = <&vreg_pmu_aon_0p59>;
89 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
90 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
91 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
92 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
93 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
94 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
95 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
96 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
97 };
98 };
99 };