mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
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>
This commit is contained in:
parent
e79e7c2df6
commit
099747ceb0
59
Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml
Normal file
59
Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml
Normal file
@ -0,0 +1,59 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/net/cirrus,ep9301-eth.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: EP93xx SoC Ethernet Controller
|
||||
|
||||
maintainers:
|
||||
- Alexander Sverdlin <alexander.sverdlin@gmail.com>
|
||||
- Nikita Shubin <nikita.shubin@maquefel.me>
|
||||
|
||||
allOf:
|
||||
- $ref: ethernet-controller.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- const: cirrus,ep9301-eth
|
||||
- items:
|
||||
- enum:
|
||||
- cirrus,ep9302-eth
|
||||
- cirrus,ep9307-eth
|
||||
- cirrus,ep9312-eth
|
||||
- cirrus,ep9315-eth
|
||||
- const: cirrus,ep9301-eth
|
||||
|
||||
reg:
|
||||
items:
|
||||
- description: The physical base address and size of IO range
|
||||
|
||||
interrupts:
|
||||
items:
|
||||
- description: Combined signal for various interrupt events
|
||||
|
||||
phy-handle: true
|
||||
|
||||
mdio:
|
||||
$ref: mdio.yaml#
|
||||
unevaluatedProperties: false
|
||||
description: optional node for embedded MDIO controller
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- interrupts
|
||||
- phy-handle
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
ethernet@80010000 {
|
||||
compatible = "cirrus,ep9301-eth";
|
||||
reg = <0x80010000 0x10000>;
|
||||
interrupt-parent = <&vic1>;
|
||||
interrupts = <7>;
|
||||
phy-handle = <&phy0>;
|
||||
};
|
Loading…
Reference in New Issue
Block a user