Faraday Technology FTGMAC100 gigabit ethernet controller
Schema identifier ($id): "http://devicetree.org/schemas/net/faraday,ftgmac100.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Po-Yu Chuang <ratbert@faraday-tech.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"faraday,ftgmac100"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"aspeed,ast2400-mac","aspeed,ast2500-mac","aspeed,ast2600-mac"Item 2
Exact value (
const):"faraday,ftgmac100"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
MAC IP clock
Item 2
RMII RCLK gate for AST2500/2600
resets — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"MACCLK"
Item 2
Exact value (
const):"RCLK"
phy-mode — not listed as required here #
Allowed values (enum): "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rmii"
phy-handle — not listed as required here #
true — No constraints added by this property rule.
use-ncsi — not listed as required here #
Use the NC-SI stack instead of an MDIO PHY. Currently assumes rmii (100bT) but kept as a separate property in case NC-SI grows support for a gigabit link.
Value type (type): "boolean"
no-hw-checksum — not listed as required here #
Used to disable HW checksum support. Here for backward compatibility as the driver now should have correct defaults based on the SoC.
Value type (type): "boolean"
Deprecated (deprecated): true
mdio — not listed as required here #
Shared schema rule ($ref): /schemas/net/mdio.yaml#
Required in this object (required): "compatible", "reg", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ethernet-controller.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)
resets— not listed as required here
true— No constraints added by this property rule.When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ethernet@1e660000 {
compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
reg = <0x1e660000 0x180>;
interrupts = <2>;
use-ncsi;
};
ethernet@1e680000 {
compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
reg = <0x1e680000 0x180>;
interrupts = <2>;
phy-handle = <&phy>;
phy-mode = "rgmii";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0