Qualcomm Atheros AR803x PHY
Schema identifier ($id): "http://devicetree.org/schemas/net/qca,ar803x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Florian Fainelli <f.fainelli@gmail.com>", "Heiner Kallweit <hkallweit1@gmail.com>"
Bindings for Qualcomm Atheros AR803x PHYs
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ethernet-phy.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereExact value (
const):7
resets— not listed as required hereArray item rules (
items)Item 1
GE PHY MISC reset which triggers a reset across MDC, DSP, RX, and TX lines.
qcom,dac-preset-short-cable— not listed as required hereSet if this phy is connected to another phy to adjust the values for MDAC and EDAC to adjust amplitude, bias current settings, and error detection and correction algorithm to accommodate for short cable length. If not set, DAC values are not modified and it is assumed the MDI output pins of this PHY are directly connected to an RJ45 connector.
Value type (
type):"boolean"
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "ethernet-phy-id004d.d0c0"
qca,clk-out-frequency — not listed as required here #
Clock output frequency in Hertz.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 25000000, 50000000, 62500000, 125000000
qca,clk-out-strength — not listed as required here #
Clock output driver strength.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
qca,disable-smarteee — not listed as required here #
Disable Atheros SmartEEE feature.
Value type (type): "boolean"
qca,keep-pll-enabled — not listed as required here #
If set, keep the PLL enabled even if there is no link. Useful if you want to use the clock output without an ethernet link.
Only supported on the AR8031.
Value type (type): "boolean"
qca,disable-hibernation-mode — not listed as required here #
Disable Atheros AR803X PHYs hibernation mode. If present, indicates that the hardware of PHY will not enter power saving mode when the cable is disconnected. And the RX_CLK always keeps outputting a valid clock.
Value type (type): "boolean"
qca,smarteee-tw-us-100m — not listed as required here #
EEE Tw parameter for 100M links.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 255
qca,smarteee-tw-us-1g — not listed as required here #
EEE Tw parameter for gigabit links.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 255
vddio-supply — not listed as required here #
RGMII I/O voltage regulator (see regulator/regulator.yaml).
The PHY supports RGMII I/O voltages of 1.5V, 1.8V and 2.5V. You can either connect this to the vddio-regulator (1.5V / 1.8V) or the vddh-regulator (2.5V).
Only supported on the AR8031.
vddio-regulator — not listed as required here #
Value type (type): "object"
Initial data for the VDDIO regulator. Set this to 1.5V or 1.8V.
Shared schema rule ($ref): /schemas/regulator/regulator.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
vddh-regulator — not listed as required here #
Value type (type): "object"
Dummy subnode to model the external connection of the PHY VDDH regulator to VDDIO.
Shared schema rule ($ref): /schemas/regulator/regulator.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/net/qca-ar803x.h>
ethernet {
#address-cells = <1>;
#size-cells = <0>;
phy-mode = "rgmii-id";
ethernet-phy@0 {
reg = <0>;
qca,clk-out-frequency = <125000000>;
qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
vddio-supply = <&vddio>;
vddio: vddio-regulator {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
};
};
#include <dt-bindings/net/qca-ar803x.h>
ethernet {
#address-cells = <1>;
#size-cells = <0>;
phy-mode = "rgmii-id";
ethernet-phy@0 {
reg = <0>;
qca,clk-out-frequency = <50000000>;
qca,keep-pll-enabled;
vddio-supply = <&vddh>;
vddh: vddh-regulator {
};
};
};
#include <dt-bindings/reset/qcom,gcc-ipq5018.h>
mdio {
#address-cells = <1>;
#size-cells = <0>;
ge_phy: ethernet-phy@7 {
compatible = "ethernet-phy-id004d.d0c0";
reg = <7>;
resets = <&gcc GCC_GEPHY_MISC_ARES>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0+
Line 29: This PHY is always at MDIO address 7 in the IPQ5018 SoC