Altera Triple Speed Ethernet MAC driver (TSE)
Schema identifier ($id): "http://devicetree.org/schemas/net/altr,tse.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Maxime Chevallier <maxime.chevallier@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"altr,tse-1.0"
Rule 2
Exact value (
const):"ALTR,tse-1.0"Deprecated (
deprecated):true
Rule 3
Exact value (
const):"altr,tse-msgdma-1.0"
interrupts — required here #
Minimum number of items (minItems): 2
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx_irq"
Item 2
Exact value (
const):"tx_irq"
rx-fifo-depth — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Depth in bytes of the RX FIFO
tx-fifo-depth — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Depth in bytes of the TX FIFO
altr,has-supplementary-unicast — not listed as required here #
Value type (type): "boolean"
If present, TSE supports additional unicast addresses.
altr,has-hash-multicast-filter — not listed as required here #
Value type (type): "boolean"
If present, TSE supports hash based multicast filter.
mdio — not listed as required here #
Shared schema rule ($ref): mdio.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Creates and registers an MDIO bus.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "altr,tse-mdio"
Required in this object (required): "compatible"
Required in this object (required): "compatible", "reg", "interrupts", "rx-fifo-depth", "tx-fifo-depth"
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)
reg— not listed as required hereMinimum number of items (
minItems):4
reg-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"control_port"Item 2
Exact value (
const):"rx_csr"Item 3
Exact value (
const):"tx_csr"Item 4
Exact value (
const):"s1"
Rule 3 #
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 hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):7
reg-names— not listed as required hereMinimum number of items (
minItems):6Array item rules (
items)Item 1
Exact value (
const):"control_port"Item 2
Exact value (
const):"rx_csr"Item 3
Exact value (
const):"rx_desc"Item 4
Exact value (
const):"rx_resp"Item 5
Exact value (
const):"tx_csr"Item 6
Exact value (
const):"tx_desc"Item 7
Exact value (
const):"pcs"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
tse_sub_0: ethernet@c0100000 {
compatible = "altr,tse-msgdma-1.0";
reg = <0xc0100000 0x00000400>,
<0xc0101000 0x00000020>,
<0xc0102000 0x00000020>,
<0xc0103000 0x00000008>,
<0xc0104000 0x00000020>,
<0xc0105000 0x00000020>,
<0xc0106000 0x00000100>;
reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc", "pcs";
interrupt-parent = <&intc>;
interrupts = <0 44 4>,<0 45 4>;
interrupt-names = "rx_irq","tx_irq";
rx-fifo-depth = <2048>;
tx-fifo-depth = <2048>;
max-frame-size = <1500>;
local-mac-address = [ 00 00 00 00 00 00 ];
altr,has-supplementary-unicast;
altr,has-hash-multicast-filter;
sfp = <&sfp0>;
phy-mode = "sgmii";
managed = "in-band-status";
};
tse_sub_1_eth_tse_0: ethernet@1,00001000 {
compatible = "altr,tse-msgdma-1.0";
reg = <0x00001000 0x00000400>,
<0x00001460 0x00000020>,
<0x00001480 0x00000020>,
<0x000014A0 0x00000008>,
<0x00001400 0x00000020>,
<0x00001420 0x00000020>;
reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc";
interrupt-parent = <&hps_0_arm_gic_0>;
interrupts = <0 43 4>, <0 42 4>;
interrupt-names = "rx_irq", "tx_irq";
rx-fifo-depth = <2048>;
tx-fifo-depth = <2048>;
max-frame-size = <1500>;
local-mac-address = [ 00 00 00 00 00 00 ];
phy-mode = "gmii";
altr,has-supplementary-unicast;
altr,has-hash-multicast-filter;
phy-handle = <&phy1>;
mdio {
compatible = "altr,tse-mdio";
#address-cells = <1>;
#size-cells = <0>;
phy1: ethernet-phy@1 {
reg = <0x1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)