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