Skip to content

Commit 603094b

Browse files
Gerhard Englederdavem330
authored andcommitted
dt-bindings: net: Add tsnep Ethernet controller
The TSN endpoint Ethernet MAC is a FPGA based network device for real-time communication. It is integrated as normal Ethernet controller with ethernet-controller.yaml and mdio.yaml. Signed-off-by: Gerhard Engleder <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2b34a28 commit 603094b

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/engleder,tsnep.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: TSN endpoint Ethernet MAC binding
8+
9+
maintainers:
10+
- Gerhard Engleder <[email protected]>
11+
12+
allOf:
13+
- $ref: ethernet-controller.yaml#
14+
15+
properties:
16+
compatible:
17+
const: engleder,tsnep
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
local-mac-address: true
26+
27+
mac-address: true
28+
29+
nvmem-cells: true
30+
31+
nvmem-cells-names: true
32+
33+
phy-connection-type:
34+
enum:
35+
- mii
36+
- gmii
37+
- rgmii
38+
- rgmii-id
39+
40+
phy-mode: true
41+
42+
phy-handle: true
43+
44+
mdio:
45+
type: object
46+
$ref: "mdio.yaml#"
47+
description: optional node for embedded MDIO controller
48+
49+
required:
50+
- compatible
51+
- reg
52+
- interrupts
53+
54+
additionalProperties: false
55+
56+
examples:
57+
- |
58+
axi {
59+
#address-cells = <2>;
60+
#size-cells = <2>;
61+
tnsep0: ethernet@a0000000 {
62+
compatible = "engleder,tsnep";
63+
reg = <0x0 0xa0000000 0x0 0x10000>;
64+
interrupts = <0 89 1>;
65+
interrupt-parent = <&gic>;
66+
local-mac-address = [00 00 00 00 00 00];
67+
phy-mode = "rgmii";
68+
phy-handle = <&phy0>;
69+
mdio {
70+
#address-cells = <1>;
71+
#size-cells = <0>;
72+
suppress-preamble;
73+
phy0: ethernet-phy@1 {
74+
reg = <1>;
75+
rxc-skew-ps = <1080>;
76+
};
77+
};
78+
};
79+
};

0 commit comments

Comments
 (0)