summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sama5d3xmb_gmac.dtsi
blob: 65aea7a75b1d1d54c9e533fa468bbd1ca694eaf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * sama5d3xmb_gmac.dtsi - Device Tree Include file for SAMA5D3x motherboard
 * Gigabit Ethernet
 *
 *  Copyright (C) 2016 Atmel,
 *
 * Licensed under GPLv2 or later.
 */

/ {
	ahb {
		apb {
			macb0: ethernet@f0028000 {
				phy-mode = "rgmii";
				#address-cells = <1>;
				#size-cells = <0>;

				ethernet-phy@1 {
					reg = <0x1>;
					interrupt-parent = <&pioB>;
					interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
					txen-skew-ps = <800>;
					txc-skew-ps = <3000>;
					rxdv-skew-ps = <400>;
					rxc-skew-ps = <3000>;
					rxd0-skew-ps = <400>;
					rxd1-skew-ps = <400>;
					rxd2-skew-ps = <400>;
					rxd3-skew-ps = <400>;
				};

				ethernet-phy@7 {
					reg = <0x7>;
					interrupt-parent = <&pioB>;
					interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
					txen-skew-ps = <800>;
					txc-skew-ps = <3000>;
					rxdv-skew-ps = <400>;
					rxc-skew-ps = <3000>;
					rxd0-skew-ps = <400>;
					rxd1-skew-ps = <400>;
					rxd2-skew-ps = <400>;
					rxd3-skew-ps = <400>;
				};
			};
		};
	};
};