lede/target/linux/phytium/files-5.10/Documentation/devicetree/bindings/net/phytium,gmac.yaml
HunZI a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00

55 lines
1.1 KiB
YAML
Executable File

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/net/phytium,gmac.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: Phytium 10/100/1000 Ethernet driver (GMAC)
maintainers:
- Chen Baozi <chenbaozi@phytium.com.cn>
# We need a select here so we don't match all nodes with 'snps,dwmac'
select:
properties:
compatible:
contains:
enum:
- phytium,gmac
required:
- compatible
allOf:
- $ref: "snps,dwmac.yaml#"
properties:
compatible:
- items:
- enum:
- phytium,gmac
clock-frequency: true
required:
- compatible
- clock-frequency
unevaluatedProperties: false
examples:
- |
gmac0: eth@2820c000 {
compatible = "phytium,gmac";
reg = <0x0 0x2820c000 0x0 0x2000>;
interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <250000000>;
snps,pbl = <16>;
snps,fixed-burst;
snps,multicast-filter-bins = <64>;
snps,perfect-filter-entries = <128>;
tx-fifo-depth = <4096>;
rx-fifo-depth = <4096>;
max-frame-size = <9000>;
};