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