TI AM654 SERDES
Schema identifier ($id): "http://devicetree.org/schemas/phy/ti,phy-am654-serdes.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This binding describes the TI AM654 SERDES. AM654 SERDES can be configured to be used with either PCIe or USB or SGMII.
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,phy-am654-serdes"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"serdes"
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
Three input clocks referring to left input reference clock, refclk and right input reference clock.
#phy-cells — not listed as required here #
Exact value (const): 2
The 1st cell corresponds to the phy type (should be one of the types specified in include/dt-bindings/phy/phy.h) and the 2nd cell should be the serdes lane function.
ti,serdes-clk — required here #
Phandle to the SYSCON entry required for configuring SERDES clock selection.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
#clock-cells — not listed as required here #
Exact value (const): 1
mux-controls — required here #
Maximum number of items (maxItems): 1
Phandle to the SYSCON entry required for configuring SERDES lane function.
clock-output-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Clock output names for SERDES 0
Array item rules (
items)Item 1
Exact value (
const):"serdes0_cmu_refclk"Item 2
Exact value (
const):"serdes0_lo_refclk"Item 3
Exact value (
const):"serdes0_ro_refclk"
Rule 2
Clock output names for SERDES 1
Array item rules (
items)Item 1
Exact value (
const):"serdes1_cmu_refclk"Item 2
Exact value (
const):"serdes1_lo_refclk"Item 3
Exact value (
const):"serdes1_ro_refclk"
Required in this object (required): "compatible", "reg", "power-domains", "clocks", "assigned-clocks", "assigned-clock-parents", "ti,serdes-clk", "mux-controls", "clock-output-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy-am654-serdes.h>
serdes0: serdes@900000 {
compatible = "ti,phy-am654-serdes";
reg = <0x900000 0x2000>;
reg-names = "serdes";
#phy-cells = <2>;
power-domains = <&k3_pds 153>;
clocks = <&k3_clks 153 4>, <&k3_clks 153 1>,
<&serdes1 AM654_SERDES_LO_REFCLK>;
clock-output-names = "serdes0_cmu_refclk", "serdes0_lo_refclk", "serdes0_ro_refclk";
assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>;
assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>;
ti,serdes-clk = <&serdes0_clk>;
mux-controls = <&serdes_mux 0>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)