xref: /freebsd/sys/contrib/device-tree/Bindings/net/fsl,cpm-enet.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot%YAML 1.2
3*b2d2a78aSEmmanuel Vadot---
4*b2d2a78aSEmmanuel Vadot$id: http://devicetree.org/schemas/net/fsl,cpm-enet.yaml#
5*b2d2a78aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadottitle: Network for cpm enet
8*b2d2a78aSEmmanuel Vadot
9*b2d2a78aSEmmanuel Vadotmaintainers:
10*b2d2a78aSEmmanuel Vadot  - Frank Li <Frank.Li@nxp.com>
11*b2d2a78aSEmmanuel Vadot
12*b2d2a78aSEmmanuel Vadotproperties:
13*b2d2a78aSEmmanuel Vadot  compatible:
14*b2d2a78aSEmmanuel Vadot    oneOf:
15*b2d2a78aSEmmanuel Vadot      - enum:
16*b2d2a78aSEmmanuel Vadot          - fsl,cpm1-scc-enet
17*b2d2a78aSEmmanuel Vadot          - fsl,cpm2-scc-enet
18*b2d2a78aSEmmanuel Vadot          - fsl,cpm1-fec-enet
19*b2d2a78aSEmmanuel Vadot          - fsl,cpm2-fcc-enet
20*b2d2a78aSEmmanuel Vadot          - fsl,qe-enet
21*b2d2a78aSEmmanuel Vadot      - items:
22*b2d2a78aSEmmanuel Vadot          - enum:
23*b2d2a78aSEmmanuel Vadot              - fsl,mpc8272-fcc-enet
24*b2d2a78aSEmmanuel Vadot          - const: fsl,cpm2-fcc-enet
25*b2d2a78aSEmmanuel Vadot
26*b2d2a78aSEmmanuel Vadot  reg:
27*b2d2a78aSEmmanuel Vadot    minItems: 1
28*b2d2a78aSEmmanuel Vadot    maxItems: 3
29*b2d2a78aSEmmanuel Vadot
30*b2d2a78aSEmmanuel Vadot  interrupts:
31*b2d2a78aSEmmanuel Vadot    maxItems: 1
32*b2d2a78aSEmmanuel Vadot
33*b2d2a78aSEmmanuel Vadot  fsl,cpm-command:
34*b2d2a78aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
35*b2d2a78aSEmmanuel Vadot    description: cpm command
36*b2d2a78aSEmmanuel Vadot
37*b2d2a78aSEmmanuel Vadotrequired:
38*b2d2a78aSEmmanuel Vadot  - compatible
39*b2d2a78aSEmmanuel Vadot  - reg
40*b2d2a78aSEmmanuel Vadot  - interrupts
41*b2d2a78aSEmmanuel Vadot
42*b2d2a78aSEmmanuel VadotallOf:
43*b2d2a78aSEmmanuel Vadot  - $ref: ethernet-controller.yaml
44*b2d2a78aSEmmanuel Vadot
45*b2d2a78aSEmmanuel VadotunevaluatedProperties: false
46*b2d2a78aSEmmanuel Vadot
47*b2d2a78aSEmmanuel Vadotexamples:
48*b2d2a78aSEmmanuel Vadot  - |
49*b2d2a78aSEmmanuel Vadot    ethernet@11300 {
50*b2d2a78aSEmmanuel Vadot        compatible = "fsl,mpc8272-fcc-enet",
51*b2d2a78aSEmmanuel Vadot                     "fsl,cpm2-fcc-enet";
52*b2d2a78aSEmmanuel Vadot        reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
53*b2d2a78aSEmmanuel Vadot        local-mac-address = [ 00 00 00 00 00 00 ];
54*b2d2a78aSEmmanuel Vadot        interrupts = <20 8>;
55*b2d2a78aSEmmanuel Vadot        interrupt-parent = <&pic>;
56*b2d2a78aSEmmanuel Vadot        phy-handle = <&phy0>;
57*b2d2a78aSEmmanuel Vadot        fsl,cpm-command = <0x12000300>;
58*b2d2a78aSEmmanuel Vadot    };
59*b2d2a78aSEmmanuel Vadot
60