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,dm9000.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Davicom DM9000 Fast Ethernet Controller
8
9maintainers:
10  - Paul Cercueil <paul@crapouillou.net>
11
12properties:
13  compatible:
14    const: davicom,dm9000
15
16  reg:
17    items:
18      - description: Address registers
19      - description: Data registers
20
21  interrupts:
22    maxItems: 1
23
24  davicom,no-eeprom:
25    type: boolean
26    description: Configuration EEPROM is not available
27
28  davicom,ext-phy:
29    type: boolean
30    description: Use external PHY
31
32  reset-gpios:
33    maxItems: 1
34
35  vcc-supply: true
36
37required:
38  - compatible
39  - reg
40  - interrupts
41
42allOf:
43  - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
44  - $ref: /schemas/net/ethernet-controller.yaml#
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/interrupt-controller/irq.h>
51
52    ethernet@a8000000 {
53        compatible = "davicom,dm9000";
54        reg = <0xa8000000 0x2>, <0xa8000002 0x2>;
55        interrupt-parent = <&gph1>;
56        interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
57        local-mac-address = [00 00 de ad be ef];
58        davicom,no-eeprom;
59    };
60