1*2eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*2eb4d8dcSEmmanuel Vadot%YAML 1.2 3*2eb4d8dcSEmmanuel Vadot--- 4*2eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/net/idt,3243x-emac.yaml# 5*2eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*2eb4d8dcSEmmanuel Vadot 7*2eb4d8dcSEmmanuel Vadottitle: IDT 79rc3243x Ethernet controller 8*2eb4d8dcSEmmanuel Vadot 9*2eb4d8dcSEmmanuel Vadotdescription: Ethernet controller integrated into IDT 79RC3243x family SoCs 10*2eb4d8dcSEmmanuel Vadot 11*2eb4d8dcSEmmanuel Vadotmaintainers: 12*2eb4d8dcSEmmanuel Vadot - Thomas Bogendoerfer <tsbogend@alpha.franken.de> 13*2eb4d8dcSEmmanuel Vadot 14*2eb4d8dcSEmmanuel VadotallOf: 15*2eb4d8dcSEmmanuel Vadot - $ref: ethernet-controller.yaml# 16*2eb4d8dcSEmmanuel Vadot 17*2eb4d8dcSEmmanuel Vadotproperties: 18*2eb4d8dcSEmmanuel Vadot compatible: 19*2eb4d8dcSEmmanuel Vadot const: idt,3243x-emac 20*2eb4d8dcSEmmanuel Vadot 21*2eb4d8dcSEmmanuel Vadot reg: 22*2eb4d8dcSEmmanuel Vadot maxItems: 3 23*2eb4d8dcSEmmanuel Vadot 24*2eb4d8dcSEmmanuel Vadot reg-names: 25*2eb4d8dcSEmmanuel Vadot items: 26*2eb4d8dcSEmmanuel Vadot - const: emac 27*2eb4d8dcSEmmanuel Vadot - const: dma_rx 28*2eb4d8dcSEmmanuel Vadot - const: dma_tx 29*2eb4d8dcSEmmanuel Vadot 30*2eb4d8dcSEmmanuel Vadot interrupts: 31*2eb4d8dcSEmmanuel Vadot items: 32*2eb4d8dcSEmmanuel Vadot - description: RX interrupt 33*2eb4d8dcSEmmanuel Vadot - description: TX interrupt 34*2eb4d8dcSEmmanuel Vadot 35*2eb4d8dcSEmmanuel Vadot interrupt-names: 36*2eb4d8dcSEmmanuel Vadot items: 37*2eb4d8dcSEmmanuel Vadot - const: rx 38*2eb4d8dcSEmmanuel Vadot - const: tx 39*2eb4d8dcSEmmanuel Vadot 40*2eb4d8dcSEmmanuel Vadot clocks: 41*2eb4d8dcSEmmanuel Vadot maxItems: 1 42*2eb4d8dcSEmmanuel Vadot 43*2eb4d8dcSEmmanuel Vadot clock-names: 44*2eb4d8dcSEmmanuel Vadot items: 45*2eb4d8dcSEmmanuel Vadot - const: mdioclk 46*2eb4d8dcSEmmanuel Vadot 47*2eb4d8dcSEmmanuel Vadotrequired: 48*2eb4d8dcSEmmanuel Vadot - compatible 49*2eb4d8dcSEmmanuel Vadot - reg 50*2eb4d8dcSEmmanuel Vadot - reg-names 51*2eb4d8dcSEmmanuel Vadot - interrupts 52*2eb4d8dcSEmmanuel Vadot - interrupt-names 53*2eb4d8dcSEmmanuel Vadot 54*2eb4d8dcSEmmanuel VadotadditionalProperties: false 55*2eb4d8dcSEmmanuel Vadot 56*2eb4d8dcSEmmanuel Vadotexamples: 57*2eb4d8dcSEmmanuel Vadot - | 58*2eb4d8dcSEmmanuel Vadot 59*2eb4d8dcSEmmanuel Vadot ethernet@60000 { 60*2eb4d8dcSEmmanuel Vadot compatible = "idt,3243x-emac"; 61*2eb4d8dcSEmmanuel Vadot 62*2eb4d8dcSEmmanuel Vadot reg = <0x60000 0x10000>, 63*2eb4d8dcSEmmanuel Vadot <0x40000 0x14>, 64*2eb4d8dcSEmmanuel Vadot <0x40014 0x14>; 65*2eb4d8dcSEmmanuel Vadot reg-names = "emac", "dma_rx", "dma_tx"; 66*2eb4d8dcSEmmanuel Vadot 67*2eb4d8dcSEmmanuel Vadot interrupt-parent = <&rcpic3>; 68*2eb4d8dcSEmmanuel Vadot interrupts = <0>, <1>; 69*2eb4d8dcSEmmanuel Vadot interrupt-names = "rx", "tx"; 70*2eb4d8dcSEmmanuel Vadot 71*2eb4d8dcSEmmanuel Vadot clocks = <&iclk>; 72*2eb4d8dcSEmmanuel Vadot clock-names = "mdioclk"; 73*2eb4d8dcSEmmanuel Vadot }; 74