xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/tqmls1088a-mbls10xxa-mc.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
2*84943d6fSEmmanuel Vadot/*
3*84943d6fSEmmanuel Vadot * Copyright (c) 2018-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 (MC related sections)
8*84943d6fSEmmanuel Vadot */
9*84943d6fSEmmanuel Vadot
10*84943d6fSEmmanuel Vadot#include <dt-bindings/net/ti-dp83867.h>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadot/ {
13*84943d6fSEmmanuel Vadot	sfp1: sfp1 {
14*84943d6fSEmmanuel Vadot		compatible = "sff,sfp";
15*84943d6fSEmmanuel Vadot		i2c-bus = <&sfp1_i2c>;
16*84943d6fSEmmanuel Vadot		mod-def0-gpios = <&gpioexp2 2 GPIO_ACTIVE_LOW>;
17*84943d6fSEmmanuel Vadot		los-gpios = <&gpioexp2 3 GPIO_ACTIVE_HIGH>;
18*84943d6fSEmmanuel Vadot		tx-fault-gpios = <&gpioexp2 0 GPIO_ACTIVE_HIGH>;
19*84943d6fSEmmanuel Vadot		tx-disable-gpios = <&gpioexp2 1 GPIO_ACTIVE_HIGH>;
20*84943d6fSEmmanuel Vadot	};
21*84943d6fSEmmanuel Vadot
22*84943d6fSEmmanuel Vadot	sfp2: sfp2 {
23*84943d6fSEmmanuel Vadot		compatible = "sff,sfp";
24*84943d6fSEmmanuel Vadot		i2c-bus = <&sfp2_i2c>;
25*84943d6fSEmmanuel Vadot		mod-def0-gpios = <&gpioexp2 10 GPIO_ACTIVE_LOW>;
26*84943d6fSEmmanuel Vadot		los-gpios = <&gpioexp2 11 GPIO_ACTIVE_HIGH>;
27*84943d6fSEmmanuel Vadot		tx-fault-gpios = <&gpioexp2 8 GPIO_ACTIVE_HIGH>;
28*84943d6fSEmmanuel Vadot		tx-disable-gpios = <&gpioexp2 9 GPIO_ACTIVE_HIGH>;
29*84943d6fSEmmanuel Vadot	};
30*84943d6fSEmmanuel Vadot};
31*84943d6fSEmmanuel Vadot
32*84943d6fSEmmanuel Vadot&dpmac1 {
33*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs1>;
34*84943d6fSEmmanuel Vadot};
35*84943d6fSEmmanuel Vadot
36*84943d6fSEmmanuel Vadot&dpmac2 {
37*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs2>;
38*84943d6fSEmmanuel Vadot};
39*84943d6fSEmmanuel Vadot
40*84943d6fSEmmanuel Vadot&dpmac3 {
41*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs3_0>;
42*84943d6fSEmmanuel Vadot};
43*84943d6fSEmmanuel Vadot
44*84943d6fSEmmanuel Vadot&dpmac4 {
45*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs3_1>;
46*84943d6fSEmmanuel Vadot};
47*84943d6fSEmmanuel Vadot
48*84943d6fSEmmanuel Vadot&dpmac5 {
49*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs3_2>;
50*84943d6fSEmmanuel Vadot};
51*84943d6fSEmmanuel Vadot
52*84943d6fSEmmanuel Vadot&dpmac6 {
53*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs3_3>;
54*84943d6fSEmmanuel Vadot};
55*84943d6fSEmmanuel Vadot
56*84943d6fSEmmanuel Vadot&dpmac7 {
57*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs7_0>;
58*84943d6fSEmmanuel Vadot};
59*84943d6fSEmmanuel Vadot
60*84943d6fSEmmanuel Vadot&dpmac8 {
61*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs7_1>;
62*84943d6fSEmmanuel Vadot};
63*84943d6fSEmmanuel Vadot
64*84943d6fSEmmanuel Vadot&dpmac9 {
65*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs7_2>;
66*84943d6fSEmmanuel Vadot};
67*84943d6fSEmmanuel Vadot
68*84943d6fSEmmanuel Vadot&dpmac10 {
69*84943d6fSEmmanuel Vadot	pcs-handle = <&pcs7_3>;
70*84943d6fSEmmanuel Vadot};
71*84943d6fSEmmanuel Vadot
72*84943d6fSEmmanuel Vadot&emdio1 {
73*84943d6fSEmmanuel Vadot	status = "okay";
74*84943d6fSEmmanuel Vadot
75*84943d6fSEmmanuel Vadot	qsgmii2_phy1: ethernet-phy@0 {
76*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
77*84943d6fSEmmanuel Vadot		reg = <0x00>;
78*84943d6fSEmmanuel Vadot	};
79*84943d6fSEmmanuel Vadot
80*84943d6fSEmmanuel Vadot	qsgmii2_phy2: ethernet-phy@1 {
81*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
82*84943d6fSEmmanuel Vadot		reg = <0x01>;
83*84943d6fSEmmanuel Vadot	};
84*84943d6fSEmmanuel Vadot
85*84943d6fSEmmanuel Vadot	qsgmii2_phy3: ethernet-phy@2 {
86*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
87*84943d6fSEmmanuel Vadot		reg = <0x02>;
88*84943d6fSEmmanuel Vadot	};
89*84943d6fSEmmanuel Vadot
90*84943d6fSEmmanuel Vadot	qsgmii2_phy4: ethernet-phy@3 {
91*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
92*84943d6fSEmmanuel Vadot		reg = <0x03>;
93*84943d6fSEmmanuel Vadot	};
94*84943d6fSEmmanuel Vadot
95*84943d6fSEmmanuel Vadot	rgmii_phy2: ethernet-phy@c {
96*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
97*84943d6fSEmmanuel Vadot		reg = <0x0c>;
98*84943d6fSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
99*84943d6fSEmmanuel Vadot		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
100*84943d6fSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
101*84943d6fSEmmanuel Vadot	};
102*84943d6fSEmmanuel Vadot
103*84943d6fSEmmanuel Vadot	rgmii_phy1: ethernet-phy@e {
104*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
105*84943d6fSEmmanuel Vadot		reg = <0x0e>;
106*84943d6fSEmmanuel Vadot		ti,rx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
107*84943d6fSEmmanuel Vadot		ti,tx-internal-delay = <DP83867_RGMIIDCTL_1_50_NS>;
108*84943d6fSEmmanuel Vadot		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
109*84943d6fSEmmanuel Vadot	};
110*84943d6fSEmmanuel Vadot
111*84943d6fSEmmanuel Vadot	qsgmii1_phy1: ethernet-phy@1c {
112*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
113*84943d6fSEmmanuel Vadot		reg = <0x1c>;
114*84943d6fSEmmanuel Vadot	};
115*84943d6fSEmmanuel Vadot
116*84943d6fSEmmanuel Vadot	qsgmii1_phy2: ethernet-phy@1d {
117*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
118*84943d6fSEmmanuel Vadot		reg = <0x1d>;
119*84943d6fSEmmanuel Vadot	};
120*84943d6fSEmmanuel Vadot
121*84943d6fSEmmanuel Vadot	qsgmii1_phy3: ethernet-phy@1e {
122*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
123*84943d6fSEmmanuel Vadot		reg = <0x1e>;
124*84943d6fSEmmanuel Vadot	};
125*84943d6fSEmmanuel Vadot
126*84943d6fSEmmanuel Vadot	qsgmii1_phy4: ethernet-phy@1f {
127*84943d6fSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c22";
128*84943d6fSEmmanuel Vadot		reg = <0x1f>;
129*84943d6fSEmmanuel Vadot	};
130*84943d6fSEmmanuel Vadot};
131*84943d6fSEmmanuel Vadot
132*84943d6fSEmmanuel Vadot&pcs_mdio1 {
133*84943d6fSEmmanuel Vadot	status = "okay";
134*84943d6fSEmmanuel Vadot};
135*84943d6fSEmmanuel Vadot
136*84943d6fSEmmanuel Vadot&pcs_mdio2 {
137*84943d6fSEmmanuel Vadot	status = "okay";
138*84943d6fSEmmanuel Vadot};
139*84943d6fSEmmanuel Vadot
140*84943d6fSEmmanuel Vadot&pcs_mdio3 {
141*84943d6fSEmmanuel Vadot	status = "okay";
142*84943d6fSEmmanuel Vadot};
143*84943d6fSEmmanuel Vadot
144*84943d6fSEmmanuel Vadot&pcs_mdio7 {
145*84943d6fSEmmanuel Vadot	status = "okay";
146*84943d6fSEmmanuel Vadot};
147