53 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/net/ethernet-phy-package.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Ethernet PHY Package Common Properties8 9maintainers:10 - Christian Marangi <ansuelsmth@gmail.com>11 12description:13 PHY packages are multi-port Ethernet PHY of the same family14 and each Ethernet PHY is affected by the global configuration15 of the PHY package.16 17 Each reg of the PHYs defined in the PHY package node is18 absolute and describe the real address of the Ethernet PHY on19 the MDIO bus.20 21properties:22 $nodename:23 pattern: "^ethernet-phy-package@[a-f0-9]+$"24 25 reg:26 minimum: 027 maximum: 3128 description:29 The base ID number for the PHY package.30 Commonly the ID of the first PHY in the PHY package.31 32 Some PHY in the PHY package might be not defined but33 still occupy ID on the device (just not attached to34 anything) hence the PHY package reg might correspond35 to a not attached PHY (offset 0).36 37 '#address-cells':38 const: 139 40 '#size-cells':41 const: 042 43patternProperties:44 ^ethernet-phy@[a-f0-9]+$:45 $ref: ethernet-phy.yaml#46 47required:48 - reg49 - '#address-cells'50 - '#size-cells'51 52additionalProperties: true53