| 
     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     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 
   36 required:
   37   - reg
   38   - interrupts
   39   - interrupt-names
   40 
   41 unevaluatedProperties: false
   42 
   43 examples:
   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     };
Cache object: 9d05993f4e97991eea1a0ec8cc77bfdc 
 
 |