15956d97fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0+ 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 75956d97fSEmmanuel Vadottitle: Realtek RTL82xx PHY 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotmaintainers: 105956d97fSEmmanuel Vadot - Andrew Lunn <andrew@lunn.ch> 115956d97fSEmmanuel Vadot - Florian Fainelli <f.fainelli@gmail.com> 125956d97fSEmmanuel Vadot - Heiner Kallweit <hkallweit1@gmail.com> 135956d97fSEmmanuel Vadot 145956d97fSEmmanuel Vadotdescription: 155956d97fSEmmanuel Vadot Bindings for Realtek RTL82xx PHYs 165956d97fSEmmanuel Vadot 175956d97fSEmmanuel Vadotproperties: 18*0e8011faSEmmanuel Vadot compatible: 19*0e8011faSEmmanuel Vadot enum: 20*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c800 21*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c816 22*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c838 23*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c840 24*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c848 25*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c849 26*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c84a 27*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c862 28*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c878 29*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c880 30*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c910 31*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c912 32*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c913 33*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c914 34*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c915 35*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c916 36*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c942 37*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.c961 38*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.cad0 39*0e8011faSEmmanuel Vadot - ethernet-phy-id001c.cb00 40*0e8011faSEmmanuel Vadot 41*0e8011faSEmmanuel Vadot leds: true 42*0e8011faSEmmanuel Vadot 435956d97fSEmmanuel Vadot realtek,clkout-disable: 445956d97fSEmmanuel Vadot type: boolean 455956d97fSEmmanuel Vadot description: 465956d97fSEmmanuel Vadot Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset. 475956d97fSEmmanuel Vadot 485956d97fSEmmanuel Vadot 495956d97fSEmmanuel Vadot realtek,aldps-enable: 505956d97fSEmmanuel Vadot type: boolean 515956d97fSEmmanuel Vadot description: 525956d97fSEmmanuel Vadot Enable ALDPS mode, ALDPS mode default is disabled after hardware reset. 535956d97fSEmmanuel Vadot 545956d97fSEmmanuel VadotunevaluatedProperties: false 555956d97fSEmmanuel Vadot 56*0e8011faSEmmanuel VadotallOf: 57*0e8011faSEmmanuel Vadot - $ref: ethernet-phy.yaml# 58*0e8011faSEmmanuel Vadot - if: 59*0e8011faSEmmanuel Vadot not: 60*0e8011faSEmmanuel Vadot properties: 61*0e8011faSEmmanuel Vadot compatible: 62*0e8011faSEmmanuel Vadot contains: 63*0e8011faSEmmanuel Vadot const: ethernet-phy-id001c.c916 64*0e8011faSEmmanuel Vadot then: 65*0e8011faSEmmanuel Vadot properties: 66*0e8011faSEmmanuel Vadot leds: false 67*0e8011faSEmmanuel Vadot 685956d97fSEmmanuel Vadotexamples: 695956d97fSEmmanuel Vadot - | 705956d97fSEmmanuel Vadot mdio { 715956d97fSEmmanuel Vadot #address-cells = <1>; 725956d97fSEmmanuel Vadot #size-cells = <0>; 735956d97fSEmmanuel Vadot 745956d97fSEmmanuel Vadot ethphy1: ethernet-phy@1 { 755956d97fSEmmanuel Vadot reg = <1>; 765956d97fSEmmanuel Vadot realtek,clkout-disable; 775956d97fSEmmanuel Vadot realtek,aldps-enable; 785956d97fSEmmanuel Vadot }; 795956d97fSEmmanuel Vadot }; 80