forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: net: lantiq,etop-xway: Document Lantiq Xway ETOP bindings
Document the Lantiq Xway SoC series External Bus Unit (ETOP) bindings. Signed-off-by: Aleksander Jan Bajkowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
53 changes: 53 additions & 0 deletions
53
Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/net/lantiq,etop-xway.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Lantiq Xway ETOP Ethernet driver | ||
|
||
maintainers: | ||
- John Crispin <[email protected]> | ||
|
||
properties: | ||
$nodename: | ||
pattern: "^ethernet@[0-9a-f]+$" | ||
|
||
compatible: | ||
const: lantiq,etop-xway | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
items: | ||
- description: TX interrupt | ||
- description: RX interrupt | ||
|
||
interrupt-names: | ||
items: | ||
- const: tx | ||
- const: rx | ||
|
||
phy-mode: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupt-parent | ||
- interrupts | ||
- interrupt-names | ||
- phy-mode | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
ethernet@e180000 { | ||
compatible = "lantiq,etop-xway"; | ||
reg = <0xe180000 0x40000>; | ||
interrupt-parent = <&icu0>; | ||
interrupts = <73>, <78>; | ||
interrupt-names = "tx", "rx"; | ||
phy-mode = "rmii"; | ||
}; |