MediaTek MT7988 XFI T-PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,mt7988-xfi-tphy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniel Golle <daniel@makrotopia.org>"
The MediaTek XFI SerDes T-PHY provides the physical SerDes lanes used by the (10G/5G) USXGMII PCS and (1G/2.5G) LynxI PCS found in MediaTek's 10G-capabale MT7988 SoC. In MediaTek's SDK sources, this unit is referred to as "pextp".
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt7988-xfi-tphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
XFI PHY clock
Item 2
XFI register clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xfipll"
Item 2
Exact value (
const):"topxtal"
resets — required here #
Array item rules (items) #
Item 1
Reset controller corresponding to the phy instance.
mediatek,usxgmii-performance-errata — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
One instance of the T-PHY on MT7988 suffers from a performance problem in 10GBase-R mode which needs a work-around in the driver. This flag enables a work-around adjusting an analog phy setting and is required for XFI Port0 of the MT7988 SoC to be in compliance with the SFP specification.
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mediatek,mt7988-clk.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
phy@11f20000 {
compatible = "mediatek,mt7988-xfi-tphy";
reg = <0 0x11f20000 0 0x10000>;
clocks = <&xfi_pll CLK_XFIPLL_PLL_EN>,
<&topckgen CLK_TOP_XFI_PHY_0_XTAL_SEL>;
clock-names = "xfipll", "topxtal";
resets = <&watchdog 14>;
mediatek,usxgmii-performance-errata;
#phy-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)