60 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/net/fsl,cpm-enet.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Network for cpm enet8 9maintainers:10 - Frank Li <Frank.Li@nxp.com>11 12properties:13 compatible:14 oneOf:15 - enum:16 - fsl,cpm1-scc-enet17 - fsl,cpm2-scc-enet18 - fsl,cpm1-fec-enet19 - fsl,cpm2-fcc-enet20 - fsl,qe-enet21 - items:22 - enum:23 - fsl,mpc8272-fcc-enet24 - const: fsl,cpm2-fcc-enet25 26 reg:27 minItems: 128 maxItems: 329 30 interrupts:31 maxItems: 132 33 fsl,cpm-command:34 $ref: /schemas/types.yaml#/definitions/uint3235 description: cpm command36 37required:38 - compatible39 - reg40 - interrupts41 42allOf:43 - $ref: ethernet-controller.yaml44 45unevaluatedProperties: false46 47examples:48 - |49 ethernet@11300 {50 compatible = "fsl,mpc8272-fcc-enet",51 "fsl,cpm2-fcc-enet";52 reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;53 local-mac-address = [ 00 00 00 00 00 00 ];54 interrupts = <20 8>;55 interrupt-parent = <&pic>;56 phy-handle = <&phy0>;57 fsl,cpm-command = <0x12000300>;58 };59 60