xref: /freebsd-src/sys/contrib/device-tree/src/arm/microchip/sama5d3xmb_gmac.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * sama5d3xmb_gmac.dtsi - Device Tree Include file for SAMA5D3x motherboard
4*f126890aSEmmanuel Vadot * Gigabit Ethernet
5*f126890aSEmmanuel Vadot *
6*f126890aSEmmanuel Vadot *  Copyright (C) 2016 Atmel,
7*f126890aSEmmanuel Vadot */
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot/ {
10*f126890aSEmmanuel Vadot	ahb {
11*f126890aSEmmanuel Vadot		apb {
12*f126890aSEmmanuel Vadot			macb0: ethernet@f0028000 {
13*f126890aSEmmanuel Vadot				phy-mode = "rgmii";
14*f126890aSEmmanuel Vadot				#address-cells = <1>;
15*f126890aSEmmanuel Vadot				#size-cells = <0>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot				ethernet-phy@1 {
18*f126890aSEmmanuel Vadot					reg = <0x1>;
19*f126890aSEmmanuel Vadot					interrupt-parent = <&pioB>;
20*f126890aSEmmanuel Vadot					interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
21*f126890aSEmmanuel Vadot					txen-skew-ps = <800>;
22*f126890aSEmmanuel Vadot					txc-skew-ps = <3000>;
23*f126890aSEmmanuel Vadot					rxdv-skew-ps = <400>;
24*f126890aSEmmanuel Vadot					rxc-skew-ps = <3000>;
25*f126890aSEmmanuel Vadot					rxd0-skew-ps = <400>;
26*f126890aSEmmanuel Vadot					rxd1-skew-ps = <400>;
27*f126890aSEmmanuel Vadot					rxd2-skew-ps = <400>;
28*f126890aSEmmanuel Vadot					rxd3-skew-ps = <400>;
29*f126890aSEmmanuel Vadot				};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot				ethernet-phy@7 {
32*f126890aSEmmanuel Vadot					reg = <0x7>;
33*f126890aSEmmanuel Vadot					interrupt-parent = <&pioB>;
34*f126890aSEmmanuel Vadot					interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
35*f126890aSEmmanuel Vadot					txen-skew-ps = <800>;
36*f126890aSEmmanuel Vadot					txc-skew-ps = <3000>;
37*f126890aSEmmanuel Vadot					rxdv-skew-ps = <400>;
38*f126890aSEmmanuel Vadot					rxc-skew-ps = <3000>;
39*f126890aSEmmanuel Vadot					rxd0-skew-ps = <400>;
40*f126890aSEmmanuel Vadot					rxd1-skew-ps = <400>;
41*f126890aSEmmanuel Vadot					rxd2-skew-ps = <400>;
42*f126890aSEmmanuel Vadot					rxd3-skew-ps = <400>;
43*f126890aSEmmanuel Vadot				};
44*f126890aSEmmanuel Vadot			};
45*f126890aSEmmanuel Vadot		};
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot};
48