Files
linux/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml
Marek Vasut bfb859a5cb dt-bindings: net: realtek,rtl82xx: Document realtek,*-ssc-enable property
Document support for spread spectrum clocking (SSC) on RTL8211F(D)(I)-CG,
RTL8211FS(I)(-VS)-CG, RTL8211FG(I)(-VS)-CG PHYs. Introduce DT properties
'realtek,clkout-ssc-enable', 'realtek,rxc-ssc-enable' and
'realtek,sysclk-ssc-enable' which control CLKOUT, RXC and SYSCLK
SSC spread spectrum clocking enablement on these signals. These
clock are not exposed via the clock API, therefore assigned-clock-sscs
property does not apply.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Link: https://patch.msgid.link/20260405233008.148974-2-marek.vasut@mailbox.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-04-09 20:01:52 -07:00

99 lines
2.4 KiB
YAML

# SPDX-License-Identifier: GPL-2.0+
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Realtek RTL82xx PHY
maintainers:
- Andrew Lunn <andrew@lunn.ch>
- Florian Fainelli <f.fainelli@gmail.com>
- Heiner Kallweit <hkallweit1@gmail.com>
description:
Bindings for Realtek RTL82xx PHYs
properties:
compatible:
enum:
- ethernet-phy-id001c.c800
- ethernet-phy-id001c.c816
- ethernet-phy-id001c.c838
- ethernet-phy-id001c.c840
- ethernet-phy-id001c.c848
- ethernet-phy-id001c.c849
- ethernet-phy-id001c.c84a
- ethernet-phy-id001c.c862
- ethernet-phy-id001c.c878
- ethernet-phy-id001c.c880
- ethernet-phy-id001c.c910
- ethernet-phy-id001c.c912
- ethernet-phy-id001c.c913
- ethernet-phy-id001c.c914
- ethernet-phy-id001c.c915
- ethernet-phy-id001c.c916
- ethernet-phy-id001c.c942
- ethernet-phy-id001c.c961
- ethernet-phy-id001c.cad0
- ethernet-phy-id001c.cb00
leds: true
realtek,aldps-enable:
type: boolean
description:
Enable ALDPS mode, ALDPS mode default is disabled after hardware reset.
realtek,clkout-disable:
type: boolean
description:
Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset.
realtek,clkout-ssc-enable:
type: boolean
description:
Enable CLKOUT SSC mode, CLKOUT SSC mode default is disabled after hardware reset.
realtek,rxc-ssc-enable:
type: boolean
description:
Enable RXC SSC mode, RXC SSC mode default is disabled after hardware reset.
realtek,sysclk-ssc-enable:
type: boolean
description:
Enable SYSCLK SSC mode, SYSCLK SSC mode default is disabled after hardware reset.
wakeup-source:
type: boolean
description:
Enable Wake-on-LAN support for the RTL8211F PHY.
unevaluatedProperties: false
allOf:
- $ref: ethernet-phy.yaml#
- if:
not:
properties:
compatible:
contains:
const: ethernet-phy-id001c.c916
then:
properties:
leds: false
examples:
- |
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethphy1: ethernet-phy@1 {
reg = <1>;
realtek,clkout-disable;
realtek,aldps-enable;
};
};