blob: a93d2f165899fc3d7326cba9ac0d9cb20766a88f [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/brcm,bcm4908-enet.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom BCM4908 Ethernet controller
8
9description: Broadcom's Ethernet controller integrated into BCM4908 family SoCs
10
11maintainers:
12 - Rafał Miłecki <rafal@milecki.pl>
13
14allOf:
15 - $ref: ethernet-controller.yaml#
16
17properties:
18 compatible:
19 const: brcm,bcm4908-enet
20
21 reg:
22 maxItems: 1
23
24 interrupts:
25 minItems: 1
26 items:
27 - description: RX interrupt
28 - description: TX interrupt
29
30 interrupt-names:
31 minItems: 1
32 items:
33 - const: rx
34 - const: tx
35
36required:
37 - reg
38 - interrupts
39 - interrupt-names
40
41unevaluatedProperties: false
42
43examples:
44 - |
45 #include <dt-bindings/interrupt-controller/irq.h>
46 #include <dt-bindings/interrupt-controller/arm-gic.h>
47
48 ethernet@80002000 {
49 compatible = "brcm,bcm4908-enet";
50 reg = <0x80002000 0x1000>;
51
52 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
53 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
54 interrupt-names = "rx", "tx";
55 };