Debian Codegraph @

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

raw
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
7 title: Davicom DM9000 Fast Ethernet Controller
8
9 maintainers:
10 - Paul Cercueil <[email protected]>
11
12 properties:
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
37 required:
38 - compatible
39 - reg
40 - interrupts
41
42 allOf:
43 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
44 - $ref: /schemas/net/ethernet-controller.yaml#
45
46 unevaluatedProperties: false
47
48 examples:
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 };