1# SPDX-License-Identifier: GPL-2.0+ 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Realtek RTL82xx PHY 8 9maintainers: 10 - Andrew Lunn <andrew@lunn.ch> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Heiner Kallweit <hkallweit1@gmail.com> 13 14description: 15 Bindings for Realtek RTL82xx PHYs 16 17properties: 18 compatible: 19 enum: 20 - ethernet-phy-id001c.c800 21 - ethernet-phy-id001c.c816 22 - ethernet-phy-id001c.c838 23 - ethernet-phy-id001c.c840 24 - ethernet-phy-id001c.c848 25 - ethernet-phy-id001c.c849 26 - ethernet-phy-id001c.c84a 27 - ethernet-phy-id001c.c862 28 - ethernet-phy-id001c.c878 29 - ethernet-phy-id001c.c880 30 - ethernet-phy-id001c.c910 31 - ethernet-phy-id001c.c912 32 - ethernet-phy-id001c.c913 33 - ethernet-phy-id001c.c914 34 - ethernet-phy-id001c.c915 35 - ethernet-phy-id001c.c916 36 - ethernet-phy-id001c.c942 37 - ethernet-phy-id001c.c961 38 - ethernet-phy-id001c.cad0 39 - ethernet-phy-id001c.cb00 40 41 leds: true 42 43 realtek,aldps-enable: 44 type: boolean 45 description: 46 Enable ALDPS mode, ALDPS mode default is disabled after hardware reset. 47 48 realtek,clkout-disable: 49 type: boolean 50 description: 51 Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset. 52 53 realtek,clkout-ssc-enable: 54 type: boolean 55 description: 56 Enable CLKOUT SSC mode, CLKOUT SSC mode default is disabled after hardware reset. 57 58 realtek,rxc-ssc-enable: 59 type: boolean 60 description: 61 Enable RXC SSC mode, RXC SSC mode default is disabled after hardware reset. 62 63 realtek,sysclk-ssc-enable: 64 type: boolean 65 description: 66 Enable SYSCLK SSC mode, SYSCLK SSC mode default is disabled after hardware reset. 67 68 wakeup-source: 69 type: boolean 70 description: 71 Enable Wake-on-LAN support for the RTL8211F PHY. 72 73unevaluatedProperties: false 74 75allOf: 76 - $ref: ethernet-phy.yaml# 77 - if: 78 not: 79 properties: 80 compatible: 81 contains: 82 const: ethernet-phy-id001c.c916 83 then: 84 properties: 85 leds: false 86 87examples: 88 - | 89 mdio { 90 #address-cells = <1>; 91 #size-cells = <0>; 92 93 ethphy1: ethernet-phy@1 { 94 reg = <1>; 95 realtek,clkout-disable; 96 realtek,aldps-enable; 97 }; 98 }; 99