From: Liu Changjie Document the MAE0621A PHY IDs (for the -Q2C and -Q3C variants) and their optional 125 MHz CLKOUT setting. Boards which do not provide the property retain the hardware strap or bootloader configuration. Only the 125 MHz setting is exposed because it is the only setting exercised on hardware. Signed-off-by: Liu Changjie [Andre: Add PHY-ID for -Q2C variant] Signed-off-by: Andre Przywara Reviewed-by: Krzysztof Kozlowski --- .../bindings/net/maxio,mae0621a.yaml | 40 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/maxio,mae0621a.yaml diff --git a/Documentation/devicetree/bindings/net/maxio,mae0621a.yaml b/Documentation/devicetree/bindings/net/maxio,mae0621a.yaml new file mode 100644 index 0000000000000..c4d06c6261681 --- /dev/null +++ b/Documentation/devicetree/bindings/net/maxio,mae0621a.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/maxio,mae0621a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxio MAE0621A Ethernet PHY + +maintainers: + - Liu Changjie + +allOf: + - $ref: ethernet-phy.yaml# + +properties: + compatible: + enum: + - ethernet-phy-id7b74.4411 + - ethernet-phy-id7b74.4412 + + maxio,clk-out-frequency-hz: + description: + Selects a 125 MHz clock on the CLKOUT pin. If the property is absent, + the hardware strap or bootloader configuration is preserved. + const: 125000000 + +unevaluatedProperties: false + +examples: + - | + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@1 { + compatible = "ethernet-phy-id7b74.4412"; + reg = <1>; + maxio,clk-out-frequency-hz = <125000000>; + }; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index ba20029693734..8ea4d421719b0 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1035,6 +1035,8 @@ patternProperties: description: MaxBotix Inc. "^maxim,.*": description: Maxim Integrated Products + "^maxio,.*": + description: Maxio Technology (Hangzhou) Co., Ltd. "^maxlinear,.*": description: MaxLinear Inc. "^maxtor,.*": -- 2.46.4