80 lines · yaml
1# SPDX-License-Identifier: GPL-2.0+2%YAML 1.23---4$id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Realtek RTL82xx PHY8 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 PHYs16 17properties:18 compatible:19 enum:20 - ethernet-phy-id001c.c80021 - ethernet-phy-id001c.c81622 - ethernet-phy-id001c.c83823 - ethernet-phy-id001c.c84024 - ethernet-phy-id001c.c84825 - ethernet-phy-id001c.c84926 - ethernet-phy-id001c.c84a27 - ethernet-phy-id001c.c86228 - ethernet-phy-id001c.c87829 - ethernet-phy-id001c.c88030 - ethernet-phy-id001c.c91031 - ethernet-phy-id001c.c91232 - ethernet-phy-id001c.c91333 - ethernet-phy-id001c.c91434 - ethernet-phy-id001c.c91535 - ethernet-phy-id001c.c91636 - ethernet-phy-id001c.c94237 - ethernet-phy-id001c.c96138 - ethernet-phy-id001c.cad039 - ethernet-phy-id001c.cb0040 41 leds: true42 43 realtek,clkout-disable:44 type: boolean45 description:46 Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset.47 48 49 realtek,aldps-enable:50 type: boolean51 description:52 Enable ALDPS mode, ALDPS mode default is disabled after hardware reset.53 54unevaluatedProperties: false55 56allOf:57 - $ref: ethernet-phy.yaml#58 - if:59 not:60 properties:61 compatible:62 contains:63 const: ethernet-phy-id001c.c91664 then:65 properties:66 leds: false67 68examples:69 - |70 mdio {71 #address-cells = <1>;72 #size-cells = <0>;73 74 ethphy1: ethernet-phy@1 {75 reg = <1>;76 realtek,clkout-disable;77 realtek,aldps-enable;78 };79 };80