1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*7d0873ebSEmmanuel Vadot%YAML 1.2 3*7d0873ebSEmmanuel Vadot--- 4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/net/renesas,rzn1-gmac.yaml# 5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7d0873ebSEmmanuel Vadot 7*7d0873ebSEmmanuel Vadottitle: Renesas GMAC 8*7d0873ebSEmmanuel Vadot 9*7d0873ebSEmmanuel Vadotmaintainers: 10*7d0873ebSEmmanuel Vadot - Romain Gantois <romain.gantois@bootlin.com> 11*7d0873ebSEmmanuel Vadot 12*7d0873ebSEmmanuel Vadotselect: 13*7d0873ebSEmmanuel Vadot properties: 14*7d0873ebSEmmanuel Vadot compatible: 15*7d0873ebSEmmanuel Vadot contains: 16*7d0873ebSEmmanuel Vadot enum: 17*7d0873ebSEmmanuel Vadot - renesas,r9a06g032-gmac 18*7d0873ebSEmmanuel Vadot - renesas,rzn1-gmac 19*7d0873ebSEmmanuel Vadot required: 20*7d0873ebSEmmanuel Vadot - compatible 21*7d0873ebSEmmanuel Vadot 22*7d0873ebSEmmanuel VadotallOf: 23*7d0873ebSEmmanuel Vadot - $ref: snps,dwmac.yaml# 24*7d0873ebSEmmanuel Vadot 25*7d0873ebSEmmanuel Vadotproperties: 26*7d0873ebSEmmanuel Vadot compatible: 27*7d0873ebSEmmanuel Vadot items: 28*7d0873ebSEmmanuel Vadot - enum: 29*7d0873ebSEmmanuel Vadot - renesas,r9a06g032-gmac 30*7d0873ebSEmmanuel Vadot - const: renesas,rzn1-gmac 31*7d0873ebSEmmanuel Vadot - const: snps,dwmac 32*7d0873ebSEmmanuel Vadot 33*7d0873ebSEmmanuel Vadot pcs-handle: 34*7d0873ebSEmmanuel Vadot description: 35*7d0873ebSEmmanuel Vadot phandle pointing to a PCS sub-node compatible with 36*7d0873ebSEmmanuel Vadot renesas,rzn1-miic.yaml# 37*7d0873ebSEmmanuel Vadot 38*7d0873ebSEmmanuel Vadotrequired: 39*7d0873ebSEmmanuel Vadot - compatible 40*7d0873ebSEmmanuel Vadot 41*7d0873ebSEmmanuel VadotunevaluatedProperties: false 42*7d0873ebSEmmanuel Vadot 43*7d0873ebSEmmanuel Vadotexamples: 44*7d0873ebSEmmanuel Vadot - | 45*7d0873ebSEmmanuel Vadot #include <dt-bindings/clock/r9a06g032-sysctrl.h> 46*7d0873ebSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 47*7d0873ebSEmmanuel Vadot 48*7d0873ebSEmmanuel Vadot ethernet@44000000 { 49*7d0873ebSEmmanuel Vadot compatible = "renesas,r9a06g032-gmac", "renesas,rzn1-gmac", "snps,dwmac"; 50*7d0873ebSEmmanuel Vadot reg = <0x44000000 0x2000>; 51*7d0873ebSEmmanuel Vadot interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, 52*7d0873ebSEmmanuel Vadot <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, 53*7d0873ebSEmmanuel Vadot <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 54*7d0873ebSEmmanuel Vadot interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; 55*7d0873ebSEmmanuel Vadot clock-names = "stmmaceth"; 56*7d0873ebSEmmanuel Vadot clocks = <&sysctrl R9A06G032_HCLK_GMAC0>; 57*7d0873ebSEmmanuel Vadot power-domains = <&sysctrl>; 58*7d0873ebSEmmanuel Vadot snps,multicast-filter-bins = <256>; 59*7d0873ebSEmmanuel Vadot snps,perfect-filter-entries = <128>; 60*7d0873ebSEmmanuel Vadot tx-fifo-depth = <2048>; 61*7d0873ebSEmmanuel Vadot rx-fifo-depth = <4096>; 62*7d0873ebSEmmanuel Vadot pcs-handle = <&mii_conv1>; 63*7d0873ebSEmmanuel Vadot phy-mode = "mii"; 64*7d0873ebSEmmanuel Vadot }; 65*7d0873ebSEmmanuel Vadot 66*7d0873ebSEmmanuel Vadot... 67