Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
110 lines
2.2 KiB
YAML
110 lines
2.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/phy/qcom,ipq5332-uniphy-pcie-phy.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm UNIPHY PCIe 28LP PHY
|
|
|
|
maintainers:
|
|
- Nitheesh Sekar <quic_nsekar@quicinc.com>
|
|
- Varadarajan Narayanan <quic_varada@quicinc.com>
|
|
|
|
description:
|
|
PCIe and USB combo PHY found in Qualcomm IPQ5018 & IPQ5332 SoCs
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- qcom,ipq5018-uniphy-pcie-phy
|
|
- qcom,ipq5332-uniphy-pcie-phy
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
resets:
|
|
minItems: 2
|
|
maxItems: 3
|
|
|
|
"#phy-cells":
|
|
const: 0
|
|
|
|
"#clock-cells":
|
|
const: 0
|
|
|
|
num-lanes:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
enum: [1, 2]
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- resets
|
|
- "#phy-cells"
|
|
- "#clock-cells"
|
|
- num-lanes
|
|
|
|
additionalProperties: false
|
|
|
|
allOf:
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- qcom,ipq5018-uniphy-pcie-phy
|
|
then:
|
|
properties:
|
|
clocks:
|
|
items:
|
|
- description: pcie pipe clock
|
|
resets:
|
|
items:
|
|
- description: phy reset
|
|
- description: cfg reset
|
|
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
enum:
|
|
- qcom,ipq5332-uniphy-pcie-phy
|
|
then:
|
|
properties:
|
|
clocks:
|
|
items:
|
|
- description: pcie pipe clock
|
|
- description: pcie ahb clock
|
|
resets:
|
|
items:
|
|
- description: phy reset
|
|
- description: ahb reset
|
|
- description: cfg reset
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/qcom,ipq5332-gcc.h>
|
|
|
|
pcie0_phy: phy@4b0000 {
|
|
compatible = "qcom,ipq5332-uniphy-pcie-phy";
|
|
reg = <0x004b0000 0x800>;
|
|
|
|
clocks = <&gcc GCC_PCIE3X1_0_PIPE_CLK>,
|
|
<&gcc GCC_PCIE3X1_PHY_AHB_CLK>;
|
|
|
|
resets = <&gcc GCC_PCIE3X1_0_PHY_BCR>,
|
|
<&gcc GCC_PCIE3X1_PHY_AHB_CLK_ARES>,
|
|
<&gcc GCC_PCIE3X1_0_PHY_PHY_BCR>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
#phy-cells = <0>;
|
|
|
|
num-lanes = <1>;
|
|
};
|