xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/tqmls104xa-mbls10xxa-fman.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2*84943d6fSEmmanuel Vadot/*
3*84943d6fSEmmanuel Vadot * Copyright (c) 2019,2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4*84943d6fSEmmanuel Vadot * D-82229 Seefeld, Germany.
5*84943d6fSEmmanuel Vadot * Author: Gregor Herburger, Timo Herbrecher
6*84943d6fSEmmanuel Vadot *
7*84943d6fSEmmanuel Vadot * Device Tree Include file for MBLS10xxA from TQ (FMAN related sections)
8*84943d6fSEmmanuel Vadot */
9*84943d6fSEmmanuel Vadot
10*84943d6fSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadot&enet0 {
13*84943d6fSEmmanuel Vadot	status = "disabled";
14*84943d6fSEmmanuel Vadot};
15*84943d6fSEmmanuel Vadot
16*84943d6fSEmmanuel Vadot&enet1 {
17*84943d6fSEmmanuel Vadot	status = "disabled";
18*84943d6fSEmmanuel Vadot};
19*84943d6fSEmmanuel Vadot
20*84943d6fSEmmanuel Vadot&enet2 {
21*84943d6fSEmmanuel Vadot	phy-handle = <&rgmii_phy1>;
22*84943d6fSEmmanuel Vadot	phy-connection-type = "rgmii";
23*84943d6fSEmmanuel Vadot	phy-mode = "rgmii-id";
24*84943d6fSEmmanuel Vadot	status = "okay";
25*84943d6fSEmmanuel Vadot};
26*84943d6fSEmmanuel Vadot
27*84943d6fSEmmanuel Vadot&enet3 {
28*84943d6fSEmmanuel Vadot	phy-handle = <&rgmii_phy2>;
29*84943d6fSEmmanuel Vadot	phy-connection-type = "rgmii";
30*84943d6fSEmmanuel Vadot	phy-mode = "rgmii-id";
31*84943d6fSEmmanuel Vadot	status = "okay";
32*84943d6fSEmmanuel Vadot};
33*84943d6fSEmmanuel Vadot
34*84943d6fSEmmanuel Vadot&enet4 {
35*84943d6fSEmmanuel Vadot	status = "disabled";
36*84943d6fSEmmanuel Vadot};
37*84943d6fSEmmanuel Vadot
38*84943d6fSEmmanuel Vadot&enet5 {
39*84943d6fSEmmanuel Vadot	status = "disabled";
40*84943d6fSEmmanuel Vadot};
41*84943d6fSEmmanuel Vadot
42*84943d6fSEmmanuel Vadot&enet6 {
43*84943d6fSEmmanuel Vadot	status = "disabled";
44*84943d6fSEmmanuel Vadot};
45*84943d6fSEmmanuel Vadot
46*84943d6fSEmmanuel Vadot&mdio0 {
47*84943d6fSEmmanuel Vadot	status = "okay";
48*84943d6fSEmmanuel Vadot
49*84943d6fSEmmanuel Vadot	qsgmii2_phy1: ethernet-phy@0 {
50*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
51*84943d6fSEmmanuel Vadot		reg = <0x00>;
52*84943d6fSEmmanuel Vadot	};
53*84943d6fSEmmanuel Vadot
54*84943d6fSEmmanuel Vadot	qsgmii2_phy2: ethernet-phy@1 {
55*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
56*84943d6fSEmmanuel Vadot		reg = <0x01>;
57*84943d6fSEmmanuel Vadot	};
58*84943d6fSEmmanuel Vadot
59*84943d6fSEmmanuel Vadot	qsgmii2_phy3: ethernet-phy@2 {
60*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
61*84943d6fSEmmanuel Vadot		reg = <0x02>;
62*84943d6fSEmmanuel Vadot	};
63*84943d6fSEmmanuel Vadot
64*84943d6fSEmmanuel Vadot	qsgmii2_phy4: ethernet-phy@3 {
65*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
66*84943d6fSEmmanuel Vadot		reg = <0x03>;
67*84943d6fSEmmanuel Vadot	};
68*84943d6fSEmmanuel Vadot
69*84943d6fSEmmanuel Vadot	rgmii_phy2: ethernet-phy@c {
70*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
71*84943d6fSEmmanuel Vadot		reg = <0x0c>;
72*84943d6fSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
73*84943d6fSEmmanuel Vadot		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
74*84943d6fSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
75*84943d6fSEmmanuel Vadot	};
76*84943d6fSEmmanuel Vadot
77*84943d6fSEmmanuel Vadot	rgmii_phy1: ethernet-phy@e {
78*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
79*84943d6fSEmmanuel Vadot		reg = <0x0e>;
80*84943d6fSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
81*84943d6fSEmmanuel Vadot		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
82*84943d6fSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
83*84943d6fSEmmanuel Vadot	};
84*84943d6fSEmmanuel Vadot
85*84943d6fSEmmanuel Vadot	qsgmii1_phy1: ethernet-phy@1c {
86*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
87*84943d6fSEmmanuel Vadot		reg = <0x1c>;
88*84943d6fSEmmanuel Vadot	};
89*84943d6fSEmmanuel Vadot
90*84943d6fSEmmanuel Vadot	qsgmii1_phy2: ethernet-phy@1d {
91*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
92*84943d6fSEmmanuel Vadot		reg = <0x1d>;
93*84943d6fSEmmanuel Vadot	};
94*84943d6fSEmmanuel Vadot
95*84943d6fSEmmanuel Vadot	qsgmii1_phy3: ethernet-phy@1e {
96*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
97*84943d6fSEmmanuel Vadot		reg = <0x1e>;
98*84943d6fSEmmanuel Vadot	};
99*84943d6fSEmmanuel Vadot
100*84943d6fSEmmanuel Vadot	qsgmii1_phy4: ethernet-phy@1f {
101*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
102*84943d6fSEmmanuel Vadot		reg = <0x1f>;
103*84943d6fSEmmanuel Vadot	};
104*84943d6fSEmmanuel Vadot};
105