xref: /linux/Documentation/devicetree/bindings/net/davicom,dm9000.yaml (revision a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0)
1*f7812cdaSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*f7812cdaSKrzysztof Kozlowski%YAML 1.2
3*f7812cdaSKrzysztof Kozlowski---
4*f7812cdaSKrzysztof Kozlowski$id: http://devicetree.org/schemas/net/davicom,dm9000.yaml#
5*f7812cdaSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f7812cdaSKrzysztof Kozlowski
7*f7812cdaSKrzysztof Kozlowskititle: Davicom DM9000 Fast Ethernet Controller
8*f7812cdaSKrzysztof Kozlowski
9*f7812cdaSKrzysztof Kozlowskimaintainers:
10*f7812cdaSKrzysztof Kozlowski  - Paul Cercueil <paul@crapouillou.net>
11*f7812cdaSKrzysztof Kozlowski
12*f7812cdaSKrzysztof Kozlowskiproperties:
13*f7812cdaSKrzysztof Kozlowski  compatible:
14*f7812cdaSKrzysztof Kozlowski    const: davicom,dm9000
15*f7812cdaSKrzysztof Kozlowski
16*f7812cdaSKrzysztof Kozlowski  reg:
17*f7812cdaSKrzysztof Kozlowski    items:
18*f7812cdaSKrzysztof Kozlowski      - description: Address registers
19*f7812cdaSKrzysztof Kozlowski      - description: Data registers
20*f7812cdaSKrzysztof Kozlowski
21*f7812cdaSKrzysztof Kozlowski  interrupts:
22*f7812cdaSKrzysztof Kozlowski    maxItems: 1
23*f7812cdaSKrzysztof Kozlowski
24*f7812cdaSKrzysztof Kozlowski  davicom,no-eeprom:
25*f7812cdaSKrzysztof Kozlowski    type: boolean
26*f7812cdaSKrzysztof Kozlowski    description: Configuration EEPROM is not available
27*f7812cdaSKrzysztof Kozlowski
28*f7812cdaSKrzysztof Kozlowski  davicom,ext-phy:
29*f7812cdaSKrzysztof Kozlowski    type: boolean
30*f7812cdaSKrzysztof Kozlowski    description: Use external PHY
31*f7812cdaSKrzysztof Kozlowski
32*f7812cdaSKrzysztof Kozlowski  reset-gpios:
33*f7812cdaSKrzysztof Kozlowski    maxItems: 1
34*f7812cdaSKrzysztof Kozlowski
35*f7812cdaSKrzysztof Kozlowski  vcc-supply: true
36*f7812cdaSKrzysztof Kozlowski
37*f7812cdaSKrzysztof Kozlowskirequired:
38*f7812cdaSKrzysztof Kozlowski  - compatible
39*f7812cdaSKrzysztof Kozlowski  - reg
40*f7812cdaSKrzysztof Kozlowski  - interrupts
41*f7812cdaSKrzysztof Kozlowski
42*f7812cdaSKrzysztof KozlowskiallOf:
43*f7812cdaSKrzysztof Kozlowski  - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
44*f7812cdaSKrzysztof Kozlowski  - $ref: /schemas/net/ethernet-controller.yaml#
45*f7812cdaSKrzysztof Kozlowski
46*f7812cdaSKrzysztof KozlowskiunevaluatedProperties: false
47*f7812cdaSKrzysztof Kozlowski
48*f7812cdaSKrzysztof Kozlowskiexamples:
49*f7812cdaSKrzysztof Kozlowski  - |
50*f7812cdaSKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/irq.h>
51*f7812cdaSKrzysztof Kozlowski
52*f7812cdaSKrzysztof Kozlowski    ethernet@a8000000 {
53*f7812cdaSKrzysztof Kozlowski        compatible = "davicom,dm9000";
54*f7812cdaSKrzysztof Kozlowski        reg = <0xa8000000 0x2>, <0xa8000002 0x2>;
55*f7812cdaSKrzysztof Kozlowski        interrupt-parent = <&gph1>;
56*f7812cdaSKrzysztof Kozlowski        interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
57*f7812cdaSKrzysztof Kozlowski        local-mac-address = [00 00 de ad be ef];
58*f7812cdaSKrzysztof Kozlowski        davicom,no-eeprom;
59*f7812cdaSKrzysztof Kozlowski    };
60