The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/net/brcm,amac.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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,amac.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Broadcom AMAC Ethernet Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Florian Fainelli <f.fainelli@gmail.com>
   11 
   12 allOf:
   13   - $ref: "ethernet-controller.yaml#"
   14   - if:
   15       properties:
   16         compatible:
   17           contains:
   18             enum:
   19               - brcm,amac
   20     then:
   21       properties:
   22         reg:
   23           maxItems: 2
   24         reg-names:
   25           maxItems: 2
   26 
   27   - if:
   28       properties:
   29         compatible:
   30           contains:
   31             enum:
   32               - brcm,nsp-amac
   33     then:
   34       properties:
   35         reg:
   36           minItems: 2
   37           maxItems: 2
   38         reg-names:
   39           minItems: 2
   40           maxItems: 2
   41 
   42   - if:
   43       properties:
   44         compatible:
   45           contains:
   46             enum:
   47               - brcm,ns2-amac
   48     then:
   49       properties:
   50         reg:
   51           minItems: 3
   52         reg-names:
   53           minItems: 3
   54 
   55 properties:
   56   compatible:
   57     enum:
   58       - brcm,amac
   59       - brcm,nsp-amac
   60       - brcm,ns2-amac
   61 
   62   interrupts:
   63     maxItems: 1
   64 
   65   reg:
   66     minItems: 1
   67     maxItems: 3
   68 
   69   reg-names:
   70     minItems: 1
   71     items:
   72       - const: amac_base
   73       - const: idm_base
   74       - const: nicpm_base
   75 
   76 unevaluatedProperties: false
   77 
   78 examples:
   79   - |
   80    #include <dt-bindings/interrupt-controller/arm-gic.h>
   81 
   82    amac0: ethernet@18022000 {
   83       compatible = "brcm,nsp-amac";
   84       reg = <0x18022000 0x1000>,
   85             <0x18110000 0x1000>;
   86       reg-names = "amac_base", "idm_base";
   87       interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
   88    };

Cache object: 307043479622301c93d6f558e6e5ef10


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.