Skip to content

Commit 099747c

Browse files
maquefelarndb
authored andcommitted
dt-bindings: net: Add Cirrus EP93xx
Add YAML bindings for ep93xx SoC Ethernet Controller. Signed-off-by: Nikita Shubin <[email protected]> Tested-by: Alexander Sverdlin <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Reviewed-by: Mark Brown <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Miquel Raynal <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent e79e7c2 commit 099747c

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/cirrus,ep9301-eth.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: EP93xx SoC Ethernet Controller
8+
9+
maintainers:
10+
- Alexander Sverdlin <[email protected]>
11+
- Nikita Shubin <[email protected]>
12+
13+
allOf:
14+
- $ref: ethernet-controller.yaml#
15+
16+
properties:
17+
compatible:
18+
oneOf:
19+
- const: cirrus,ep9301-eth
20+
- items:
21+
- enum:
22+
- cirrus,ep9302-eth
23+
- cirrus,ep9307-eth
24+
- cirrus,ep9312-eth
25+
- cirrus,ep9315-eth
26+
- const: cirrus,ep9301-eth
27+
28+
reg:
29+
items:
30+
- description: The physical base address and size of IO range
31+
32+
interrupts:
33+
items:
34+
- description: Combined signal for various interrupt events
35+
36+
phy-handle: true
37+
38+
mdio:
39+
$ref: mdio.yaml#
40+
unevaluatedProperties: false
41+
description: optional node for embedded MDIO controller
42+
43+
required:
44+
- compatible
45+
- reg
46+
- interrupts
47+
- phy-handle
48+
49+
additionalProperties: false
50+
51+
examples:
52+
- |
53+
ethernet@80010000 {
54+
compatible = "cirrus,ep9301-eth";
55+
reg = <0x80010000 0x10000>;
56+
interrupt-parent = <&vic1>;
57+
interrupts = <7>;
58+
phy-handle = <&phy0>;
59+
};

0 commit comments

Comments
 (0)