Documentation/devicetree/bindings/net/davicom,dm9000.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/davicom,dm9000.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/davicom,dm9000.yaml
Extension
.yaml
Size
1235 bytes
Lines
60
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/davicom,dm9000.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Davicom DM9000 Fast Ethernet Controller

maintainers:
  - Paul Cercueil <paul@crapouillou.net>

properties:
  compatible:
    const: davicom,dm9000

  reg:
    items:
      - description: Address registers
      - description: Data registers

  interrupts:
    maxItems: 1

  davicom,no-eeprom:
    type: boolean
    description: Configuration EEPROM is not available

  davicom,ext-phy:
    type: boolean
    description: Use external PHY

  reset-gpios:
    maxItems: 1

  vcc-supply: true

required:
  - compatible
  - reg
  - interrupts

allOf:
  - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
  - $ref: /schemas/net/ethernet-controller.yaml#

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>

    ethernet@a8000000 {
        compatible = "davicom,dm9000";
        reg = <0xa8000000 0x2>, <0xa8000002 0x2>;
        interrupt-parent = <&gph1>;
        interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
        local-mac-address = [00 00 de ad be ef];
        davicom,no-eeprom;
    };

Annotation

Implementation Notes