mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 13:03:01 +00:00

Introduce 'firmware-name' property to allow end-users and/or integrators to decide which usecase-specific firmware to run on the WCN7850 platform. This is necessary due to resource limitations such as memory capacity and CPU capability, or performance and power optimization for different application scenarios. Two firmwares are supported: 'WCN7850/hw2.0' and 'WCN7850/hw2.0/ncm825'. The former is the default firmware, suitable for most WiFi 7 STA functions. The latter adds support for commercial-quality SAP and optimizes power consumption for IoT applications. Signed-off-by: Miaoqing Pan <quic_miaoqing@quicinc.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250424005703.2479907-2-quic_miaoqing@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
105 lines
2.6 KiB
YAML
105 lines
2.6 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
# Copyright (c) 2024 Linaro Limited
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/wireless/qcom,ath12k.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Technologies ath12k wireless devices (PCIe)
|
|
|
|
maintainers:
|
|
- Jeff Johnson <quic_jjohnson@quicinc.com>
|
|
|
|
description:
|
|
Qualcomm Technologies IEEE 802.11be PCIe devices.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- pci17cb,1107 # WCN7850
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
firmware-name:
|
|
maxItems: 1
|
|
description:
|
|
If present, a board or platform specific string used to lookup
|
|
usecase-specific firmware files for the device.
|
|
|
|
vddaon-supply:
|
|
description: VDD_AON supply regulator handle
|
|
|
|
vddwlcx-supply:
|
|
description: VDD_WLCX supply regulator handle
|
|
|
|
vddwlmx-supply:
|
|
description: VDD_WLMX supply regulator handle
|
|
|
|
vddrfacmn-supply:
|
|
description: VDD_RFA_CMN supply regulator handle
|
|
|
|
vddrfa0p8-supply:
|
|
description: VDD_RFA_0P8 supply regulator handle
|
|
|
|
vddrfa1p2-supply:
|
|
description: VDD_RFA_1P2 supply regulator handle
|
|
|
|
vddrfa1p8-supply:
|
|
description: VDD_RFA_1P8 supply regulator handle
|
|
|
|
vddpcie0p9-supply:
|
|
description: VDD_PCIE_0P9 supply regulator handle
|
|
|
|
vddpcie1p8-supply:
|
|
description: VDD_PCIE_1P8 supply regulator handle
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- vddaon-supply
|
|
- vddwlcx-supply
|
|
- vddwlmx-supply
|
|
- vddrfacmn-supply
|
|
- vddrfa0p8-supply
|
|
- vddrfa1p2-supply
|
|
- vddrfa1p8-supply
|
|
- vddpcie0p9-supply
|
|
- vddpcie1p8-supply
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
pcie {
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
|
|
pcie@0 {
|
|
device_type = "pci";
|
|
reg = <0x0 0x0 0x0 0x0 0x0>;
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
bus-range = <0x01 0xff>;
|
|
|
|
wifi@0 {
|
|
compatible = "pci17cb,1107";
|
|
reg = <0x10000 0x0 0x0 0x0 0x0>;
|
|
|
|
vddaon-supply = <&vreg_pmu_aon_0p59>;
|
|
vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
|
|
vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
|
|
vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
|
|
vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
|
|
vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
|
|
vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
|
|
vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
|
|
vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
|
|
};
|
|
};
|
|
};
|