linux-loongson/Documentation/devicetree/bindings/net/via,vt8500-rhine.yaml
Alexey Charkov 630cb33ccf dt-bindings: net: via-rhine: Convert to YAML
Rewrite the textual description for the VIA Rhine platform Ethernet
controller as YAML schema, and switch the filename to follow the
compatible string. These are used in several VIA/WonderMedia SoCs

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250430-rhine-binding-v2-1-4290156c0f57@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-01 18:04:59 -07:00

42 lines
760 B
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/via,vt8500-rhine.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: VIA Rhine 10/100 Network Controller
description:
VIA's Ethernet controller integrated into VIA VT8500,
WonderMedia WM8950 and related SoCs
maintainers:
- Alexey Charkov <alchark@gmail.com>
allOf:
- $ref: ethernet-controller.yaml#
properties:
compatible:
const: via,vt8500-rhine
reg:
maxItems: 1
interrupts:
maxItems: 1
required:
- reg
- interrupts
unevaluatedProperties: false
examples:
- |
ethernet@d8004000 {
compatible = "via,vt8500-rhine";
reg = <0xd8004000 0x100>;
interrupts = <10>;
};