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