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