mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 12:04:46 +08:00
da4b3d88b0
'interrupt-parent' is never required as it can be in a parent node or a parent node itself can be an interrupt provider. Where exactly it lives is outside the scope of a binding schema. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Bartosz Golaszewski <brgl@bgdev.pl> Link: https://lore.kernel.org/r/20220107031905.2406176-1-robh@kernel.org
69 lines
1.4 KiB
YAML
69 lines
1.4 KiB
YAML
# 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 <john@phrozen.org>
|
|
|
|
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
|
|
|
|
lantiq,tx-burst-length:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
TX programmable burst length.
|
|
enum: [2, 4, 8]
|
|
|
|
lantiq,rx-burst-length:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
RX programmable burst length.
|
|
enum: [2, 4, 8]
|
|
|
|
phy-mode: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- interrupt-names
|
|
- lantiq,tx-burst-length
|
|
- lantiq,rx-burst-length
|
|
- phy-mode
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
ethernet@e180000 {
|
|
compatible = "lantiq,etop-xway";
|
|
reg = <0xe180000 0x40000>;
|
|
interrupt-parent = <&icu0>;
|
|
interrupts = <73>, <78>;
|
|
interrupt-names = "tx", "rx";
|
|
lantiq,tx-burst-length = <8>;
|
|
lantiq,rx-burst-length = <8>;
|
|
phy-mode = "rmii";
|
|
};
|