aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/src/arm64/freescale/tqmls104xa-mbls10xxa-fman.dtsi
blob: 4c38dd5411432da7a824c5594dccbf2d0af47468 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
/*
 * Copyright (c) 2019,2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
 * D-82229 Seefeld, Germany.
 * Author: Gregor Herburger, Timo Herbrecher
 *
 * Device Tree Include file for MBLS10xxA from TQ (FMAN related sections)
 */

#include <dt-bindings/net/ti-dp83867.h>

&enet0 {
	status = "disabled";
};

&enet1 {
	status = "disabled";
};

&enet2 {
	phy-handle = <&rgmii_phy1>;
	phy-connection-type = "rgmii";
	phy-mode = "rgmii-id";
	status = "okay";
};

&enet3 {
	phy-handle = <&rgmii_phy2>;
	phy-connection-type = "rgmii";
	phy-mode = "rgmii-id";
	status = "okay";
};

&enet4 {
	status = "disabled";
};

&enet5 {
	status = "disabled";
};

&enet6 {
	status = "disabled";
};

&mdio0 {
	status = "okay";

	qsgmii2_phy1: ethernet-phy@0 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x00>;
	};

	qsgmii2_phy2: ethernet-phy@1 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x01>;
	};

	qsgmii2_phy3: ethernet-phy@2 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x02>;
	};

	qsgmii2_phy4: ethernet-phy@3 {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x03>;
	};

	rgmii_phy2: ethernet-phy@c {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x0c>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
	};

	rgmii_phy1: ethernet-phy@e {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x0e>;
		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
	};

	qsgmii1_phy1: ethernet-phy@1c {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x1c>;
	};

	qsgmii1_phy2: ethernet-phy@1d {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x1d>;
	};

	qsgmii1_phy3: ethernet-phy@1e {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x1e>;
	};

	qsgmii1_phy4: ethernet-phy@1f {
		compatible = "ethernet-phy-ieee802.3-c22";
		reg = <0x1f>;
	};
};