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/davicom,dm9051.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/davicom,dm9051.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Davicom DM9051 SPI Ethernet Controller
    8 
    9 maintainers:
   10   - Joseph CHANG <josright123@gmail.com>
   11 
   12 description: |
   13   The DM9051 is a fully integrated and cost-effective low pin count single
   14   chip Fast Ethernet controller with a Serial Peripheral Interface (SPI).
   15 
   16 allOf:
   17   - $ref: ethernet-controller.yaml#
   18 
   19 properties:
   20   compatible:
   21     const: davicom,dm9051
   22 
   23   reg:
   24     maxItems: 1
   25 
   26   spi-max-frequency:
   27     maximum: 45000000
   28 
   29   interrupts:
   30     maxItems: 1
   31 
   32   local-mac-address: true
   33 
   34   mac-address: true
   35 
   36 required:
   37   - compatible
   38   - reg
   39   - spi-max-frequency
   40   - interrupts
   41 
   42 additionalProperties: false
   43 
   44 examples:
   45   # Raspberry Pi platform
   46   - |
   47     /* for Raspberry Pi with pin control stuff for GPIO irq */
   48     #include <dt-bindings/interrupt-controller/irq.h>
   49     #include <dt-bindings/gpio/gpio.h>
   50     spi {
   51         #address-cells = <1>;
   52         #size-cells = <0>;
   53 
   54         ethernet@0 {
   55             compatible = "davicom,dm9051";
   56             reg = <0>; /* spi chip select */
   57             local-mac-address = [00 00 00 00 00 00];
   58             interrupt-parent = <&gpio>;
   59             interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
   60             spi-max-frequency = <31200000>;
   61         };
   62     };

Cache object: 552c83ff458072fe4114a1e46ba43c9f


[ 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.