Rockchip SoC Naneng Combo Phy
Schema identifier ($id): "http://devicetree.org/schemas/phy/phy-rockchip-naneng-combphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3528-naneng-combphy", "rockchip,rk3562-naneng-combphy", "rockchip,rk3568-naneng-combphy", "rockchip,rk3576-naneng-combphy", "rockchip,rk3588-naneng-combphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
reference clock
Item 2
apb clock
Item 3
pipe clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"pipe"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"apb"
phy-supply — not listed as required here #
Single PHY regulator
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
rockchip,enable-ssc — not listed as required here #
Value type (type): "boolean"
The option SSC can be enabled for U3, SATA and PCIE. Most commercially available platforms use SSC to reduce EMI.
rockchip,ext-refclk — not listed as required here #
Value type (type): "boolean"
Many PCIe connections, especially backplane connections, require a synchronous reference clock between the two link partners. To achieve this a common clock source, referred to as REFCLK in the PCI Express Card Electromechanical Specification, should be used by both ends of the PCIe link. In PCIe mode one can choose to use an internal or an external reference clock. By default the internal clock is selected. The PCIe PHY provides a 100MHz differential clock output(optional with SSC) for system applications. When selecting this option an externally 100MHz differential reference clock needs to be provided to the PCIe PHY.
rockchip,pipe-grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Some additional phy settings are accessed through GRF regs.
rockchip,pipe-phy-grf — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Some additional pipe settings are accessed through GRF regs.
#phy-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "rockchip,pipe-grf", "rockchip,pipe-phy-grf", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3568-naneng-combphy"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3528-naneng-combphy","rockchip,rk3588-naneng-combphy"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):2
reset-names— required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3568-cru.h>
pipegrf: syscon@fdc50000 {
compatible = "rockchip,rk3568-pipe-grf", "syscon";
reg = <0xfdc50000 0x1000>;
};
pipe_phy_grf0: syscon@fdc70000 {
compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
reg = <0xfdc70000 0x1000>;
};
combphy0: phy@fe820000 {
compatible = "rockchip,rk3568-naneng-combphy";
reg = <0xfe820000 0x100>;
clocks = <&pmucru CLK_PCIEPHY0_REF>,
<&cru PCLK_PIPEPHY0>,
<&cru PCLK_PIPE>;
clock-names = "ref", "apb", "pipe";
assigned-clocks = <&pmucru CLK_PCIEPHY0_REF>;
assigned-clock-rates = <100000000>;
resets = <&cru SRST_PIPEPHY0>;
rockchip,pipe-grf = <&pipegrf>;
rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
#phy-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)