HiSilicon Kirin970 PCIe PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/hisilicon,phy-hi3670-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab+huawei@kernel.org>"
Bindings for PCIe PHY on HiSilicon Kirin 970.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hi970-pcie-phy"
#phy-cells — required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
PHY Control registers
phy-supply — required here #
The PCIe PHY power supply
clocks — required here #
Array item rules (items) #
Item 1
PCIe PHY clock
Item 2
PCIe AUX clock
Item 3
PCIe APB PHY clock
Item 4
PCIe APB SYS clock
Item 5
PCIe ACLK clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_ref"
Item 2
Exact value (
const):"aux"
Item 3
Exact value (
const):"apb_phy"
Item 4
Exact value (
const):"apb_sys"
Item 5
Exact value (
const):"aclk"
hisilicon,eye-diagram-param — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Eye diagram for phy.
Required in this object (required): "#phy-cells", "compatible", "reg", "clocks", "clock-names", "hisilicon,eye-diagram-param", "phy-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/hi3670-clock.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie_phy: pcie-phy@fc000000 {
compatible = "hisilicon,hi970-pcie-phy";
reg = <0x0 0xfc000000 0x0 0x80000>;
#phy-cells = <0>;
phy-supply = <&ldo33>;
clocks = <&crg_ctrl HI3670_CLK_GATE_PCIEPHY_REF>,
<&crg_ctrl HI3670_CLK_GATE_PCIEAUX>,
<&crg_ctrl HI3670_PCLK_GATE_PCIE_PHY>,
<&crg_ctrl HI3670_PCLK_GATE_PCIE_SYS>,
<&crg_ctrl HI3670_ACLK_GATE_PCIE>;
clock-names = "phy_ref", "aux",
"apb_phy", "apb_sys", "aclk";
hisilicon,eye-diagram-param = <0xffffffff 0xffffffff
0xffffffff 0xffffffff 0xffffffff>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause