xref: /freebsd/sys/contrib/device-tree/Bindings/net/brcm,bcm4908-enet.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/net/brcm,bcm4908-enet.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Broadcom BCM4908 Ethernet controller
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotdescription: Broadcom's Ethernet controller integrated into BCM4908 family SoCs
105def4c47SEmmanuel Vadot
115def4c47SEmmanuel Vadotmaintainers:
125def4c47SEmmanuel Vadot  - Rafał Miłecki <rafal@milecki.pl>
135def4c47SEmmanuel Vadot
145def4c47SEmmanuel VadotallOf:
155def4c47SEmmanuel Vadot  - $ref: ethernet-controller.yaml#
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadotproperties:
185def4c47SEmmanuel Vadot  compatible:
195def4c47SEmmanuel Vadot    const: brcm,bcm4908-enet
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadot  reg:
225def4c47SEmmanuel Vadot    maxItems: 1
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  interrupts:
25*2eb4d8dcSEmmanuel Vadot    minItems: 1
26*2eb4d8dcSEmmanuel Vadot    items:
27*2eb4d8dcSEmmanuel Vadot      - description: RX interrupt
28*2eb4d8dcSEmmanuel Vadot      - description: TX interrupt
295def4c47SEmmanuel Vadot
305def4c47SEmmanuel Vadot  interrupt-names:
31*2eb4d8dcSEmmanuel Vadot    minItems: 1
32*2eb4d8dcSEmmanuel Vadot    items:
33*2eb4d8dcSEmmanuel Vadot      - const: rx
34*2eb4d8dcSEmmanuel Vadot      - const: tx
355def4c47SEmmanuel Vadot
365def4c47SEmmanuel Vadotrequired:
375def4c47SEmmanuel Vadot  - reg
385def4c47SEmmanuel Vadot  - interrupts
395def4c47SEmmanuel Vadot  - interrupt-names
405def4c47SEmmanuel Vadot
4182ea1a07SEmmanuel VadotunevaluatedProperties: false
425def4c47SEmmanuel Vadot
435def4c47SEmmanuel Vadotexamples:
445def4c47SEmmanuel Vadot  - |
455def4c47SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
465def4c47SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot    ethernet@80002000 {
495def4c47SEmmanuel Vadot        compatible = "brcm,bcm4908-enet";
505def4c47SEmmanuel Vadot        reg = <0x80002000 0x1000>;
515def4c47SEmmanuel Vadot
52*2eb4d8dcSEmmanuel Vadot        interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
53*2eb4d8dcSEmmanuel Vadot                     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
54*2eb4d8dcSEmmanuel Vadot        interrupt-names = "rx", "tx";
555def4c47SEmmanuel Vadot    };
56