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 <nikita.shubin@maquefel.me> Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Mark Brown <broonie@kernel.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent e79e7c2 commit 099747c

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

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 <alexander.sverdlin@gmail.com>
11+
- Nikita Shubin <nikita.shubin@maquefel.me>
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)