Merge tag 'rpmsg-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / net / brcm,bcm4908-enet.yaml
1 # 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
7 title: Broadcom BCM4908 Ethernet controller
8
9 description: Broadcom's Ethernet controller integrated into BCM4908 family SoCs
10
11 maintainers:
12   - Rafał Miłecki <rafal@milecki.pl>
13
14 allOf:
15   - $ref: ethernet-controller.yaml#
16
17 properties:
18   compatible:
19     const: brcm,bcm4908-enet
20
21   reg:
22     maxItems: 1
23
24   interrupts:
25     minItems: 1
26     maxItems: 2
27     items:
28       - description: RX interrupt
29       - description: TX interrupt
30
31   interrupt-names:
32     minItems: 1
33     maxItems: 2
34     items:
35       - const: rx
36       - const: tx
37
38 required:
39   - reg
40   - interrupts
41   - interrupt-names
42
43 unevaluatedProperties: false
44
45 examples:
46   - |
47     #include <dt-bindings/interrupt-controller/irq.h>
48     #include <dt-bindings/interrupt-controller/arm-gic.h>
49
50     ethernet@80002000 {
51         compatible = "brcm,bcm4908-enet";
52         reg = <0x80002000 0x1000>;
53
54         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
55                      <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
56         interrupt-names = "rx", "tx";
57     };