| 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 |
|
| 7 |
title: Realtek RTL82xx PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Andrew Lunn <[email protected]> |
| 11 |
- Florian Fainelli <[email protected]> |
| 12 |
- Heiner Kallweit <[email protected]> |
| 13 |
|
| 14 |
description: |
| 15 |
Bindings for Realtek RTL82xx PHYs |
| 16 |
|
| 17 |
properties: |
| 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,clkout-disable: |
| 44 |
type: boolean |
| 45 |
description: |
| 46 |
Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset. |
| 47 |
|
| 48 |
realtek,aldps-enable: |
| 49 |
type: boolean |
| 50 |
description: |
| 51 |
Enable ALDPS mode, ALDPS mode default is disabled after hardware reset. |
| 52 |
|
| 53 |
wakeup-source: |
| 54 |
type: boolean |
| 55 |
description: |
| 56 |
Enable Wake-on-LAN support for the RTL8211F PHY. |
| 57 |
|
| 58 |
unevaluatedProperties: false |
| 59 |
|
| 60 |
allOf: |
| 61 |
- $ref: ethernet-phy.yaml# |
| 62 |
- if: |
| 63 |
not: |
| 64 |
properties: |
| 65 |
compatible: |
| 66 |
contains: |
| 67 |
const: ethernet-phy-id001c.c916 |
| 68 |
then: |
| 69 |
properties: |
| 70 |
leds: false |
| 71 |
|
| 72 |
examples: |
| 73 |
- | |
| 74 |
mdio { |
| 75 |
#address-cells = <1>; |
| 76 |
#size-cells = <0>; |
| 77 |
|
| 78 |
ethphy1: ethernet-phy@1 { |
| 79 |
reg = <1>; |
| 80 |
realtek,clkout-disable; |
| 81 |
realtek,aldps-enable; |
| 82 |
}; |
| 83 |
}; |