xref: /linux/scripts/dtc/include-prefixes/arm64/freescale/fsl-lx2160a-serdes.dtsi (revision 67f8bc848ee31831336bd478e57d2f993551902e)
19f0f43baSIoana Ciornei// SPDX-License-Identifier: (GPL-2.0 OR MIT)
29f0f43baSIoana Ciornei//
39f0f43baSIoana Ciornei// Device Tree file describing the Lynx 28G SerDes blocks found on the LX2160A
49f0f43baSIoana Ciornei// Rev1 and Rev2
59f0f43baSIoana Ciornei//
69f0f43baSIoana Ciornei// Copyright 2026 NXP
79f0f43baSIoana Ciornei
89f0f43baSIoana Ciornei&soc {
9*bc12e3eeSIoana Ciornei	/* Note on the interpretation of SerDes lane numbering from
10*bc12e3eeSIoana Ciornei	 * LX2160ARM lane mappings for RCW[SRDS_PRTCL_S1]:
11*bc12e3eeSIoana Ciornei	 * The letters (A-H) correspond to logical lane numbers in the
12*bc12e3eeSIoana Ciornei	 * SerDes register map (lane A's registers start with LNAGCR0),
13*bc12e3eeSIoana Ciornei	 * while the numbers (0-7) correspond to physical lanes as
14*bc12e3eeSIoana Ciornei	 * routed to pins.  SerDes block #1 is flipped in the LX2160A
15*bc12e3eeSIoana Ciornei	 * floorplan (logical lane A goes to physical lane 7's pins),
16*bc12e3eeSIoana Ciornei	 * while SerDes blocks #2 and #3 are not.  The lanes below are
17*bc12e3eeSIoana Ciornei	 * listed right to left when looking at that table.
18*bc12e3eeSIoana Ciornei	 * Both the numbers and the letters are according to the logical
19*bc12e3eeSIoana Ciornei	 * numbering scheme, and do not account for the flipping.
20*bc12e3eeSIoana Ciornei	 */
219f0f43baSIoana Ciornei	serdes_1: phy@1ea0000 {
22*bc12e3eeSIoana Ciornei		compatible = "fsl,lx2160a-serdes1", "fsl,lynx-28g";
239f0f43baSIoana Ciornei		reg = <0x0 0x1ea0000 0x0 0x1e30>;
24*bc12e3eeSIoana Ciornei		#address-cells = <1>;
25*bc12e3eeSIoana Ciornei		#size-cells = <0>;
269f0f43baSIoana Ciornei		#phy-cells = <1>;
27*bc12e3eeSIoana Ciornei		status = "disabled";
28*bc12e3eeSIoana Ciornei
29*bc12e3eeSIoana Ciornei		serdes_1_lane_a: phy@0 {
30*bc12e3eeSIoana Ciornei			reg = <0>;
31*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
32*bc12e3eeSIoana Ciornei		};
33*bc12e3eeSIoana Ciornei
34*bc12e3eeSIoana Ciornei		serdes_1_lane_b: phy@1 {
35*bc12e3eeSIoana Ciornei			reg = <1>;
36*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
37*bc12e3eeSIoana Ciornei		};
38*bc12e3eeSIoana Ciornei
39*bc12e3eeSIoana Ciornei		serdes_1_lane_c: phy@2 {
40*bc12e3eeSIoana Ciornei			reg = <2>;
41*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
42*bc12e3eeSIoana Ciornei		};
43*bc12e3eeSIoana Ciornei
44*bc12e3eeSIoana Ciornei		serdes_1_lane_d: phy@3 {
45*bc12e3eeSIoana Ciornei			reg = <3>;
46*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
47*bc12e3eeSIoana Ciornei		};
48*bc12e3eeSIoana Ciornei
49*bc12e3eeSIoana Ciornei		serdes_1_lane_e: phy@4 {
50*bc12e3eeSIoana Ciornei			reg = <4>;
51*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
52*bc12e3eeSIoana Ciornei		};
53*bc12e3eeSIoana Ciornei
54*bc12e3eeSIoana Ciornei		serdes_1_lane_f: phy@5 {
55*bc12e3eeSIoana Ciornei			reg = <5>;
56*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
57*bc12e3eeSIoana Ciornei		};
58*bc12e3eeSIoana Ciornei
59*bc12e3eeSIoana Ciornei		serdes_1_lane_g: phy@6 {
60*bc12e3eeSIoana Ciornei			reg = <6>;
61*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
62*bc12e3eeSIoana Ciornei		};
63*bc12e3eeSIoana Ciornei
64*bc12e3eeSIoana Ciornei		serdes_1_lane_h: phy@7 {
65*bc12e3eeSIoana Ciornei			reg = <7>;
66*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
67*bc12e3eeSIoana Ciornei		};
689f0f43baSIoana Ciornei	};
699f0f43baSIoana Ciornei
709f0f43baSIoana Ciornei	serdes_2: phy@1eb0000 {
71*bc12e3eeSIoana Ciornei		compatible = "fsl,lx2160a-serdes2", "fsl,lynx-28g";
729f0f43baSIoana Ciornei		reg = <0x0 0x1eb0000 0x0 0x1e30>;
73*bc12e3eeSIoana Ciornei		#address-cells = <1>;
74*bc12e3eeSIoana Ciornei		#size-cells = <0>;
759f0f43baSIoana Ciornei		#phy-cells = <1>;
769f0f43baSIoana Ciornei		status = "disabled";
77*bc12e3eeSIoana Ciornei
78*bc12e3eeSIoana Ciornei		serdes_2_lane_a: phy@0 {
79*bc12e3eeSIoana Ciornei			reg = <0>;
80*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
81*bc12e3eeSIoana Ciornei		};
82*bc12e3eeSIoana Ciornei
83*bc12e3eeSIoana Ciornei		serdes_2_lane_b: phy@1 {
84*bc12e3eeSIoana Ciornei			reg = <1>;
85*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
86*bc12e3eeSIoana Ciornei		};
87*bc12e3eeSIoana Ciornei
88*bc12e3eeSIoana Ciornei		serdes_2_lane_c: phy@2 {
89*bc12e3eeSIoana Ciornei			reg = <2>;
90*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
91*bc12e3eeSIoana Ciornei		};
92*bc12e3eeSIoana Ciornei
93*bc12e3eeSIoana Ciornei		serdes_2_lane_d: phy@3 {
94*bc12e3eeSIoana Ciornei			reg = <3>;
95*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
96*bc12e3eeSIoana Ciornei		};
97*bc12e3eeSIoana Ciornei
98*bc12e3eeSIoana Ciornei		serdes_2_lane_e: phy@4 {
99*bc12e3eeSIoana Ciornei			reg = <4>;
100*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
101*bc12e3eeSIoana Ciornei		};
102*bc12e3eeSIoana Ciornei
103*bc12e3eeSIoana Ciornei		serdes_2_lane_f: phy@5 {
104*bc12e3eeSIoana Ciornei			reg = <5>;
105*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
106*bc12e3eeSIoana Ciornei		};
107*bc12e3eeSIoana Ciornei
108*bc12e3eeSIoana Ciornei		serdes_2_lane_g: phy@6 {
109*bc12e3eeSIoana Ciornei			reg = <6>;
110*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
111*bc12e3eeSIoana Ciornei		};
112*bc12e3eeSIoana Ciornei
113*bc12e3eeSIoana Ciornei		serdes_2_lane_h: phy@7 {
114*bc12e3eeSIoana Ciornei			reg = <7>;
115*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
116*bc12e3eeSIoana Ciornei		};
117*bc12e3eeSIoana Ciornei	};
118*bc12e3eeSIoana Ciornei
119*bc12e3eeSIoana Ciornei	serdes_3: phy@1ec0000 {
120*bc12e3eeSIoana Ciornei		compatible = "fsl,lx2160a-serdes3";
121*bc12e3eeSIoana Ciornei		reg = <0x0 0x1ec0000 0x0 0x1e30>;
122*bc12e3eeSIoana Ciornei		#address-cells = <1>;
123*bc12e3eeSIoana Ciornei		#size-cells = <0>;
124*bc12e3eeSIoana Ciornei		#phy-cells = <1>;
125*bc12e3eeSIoana Ciornei		status = "disabled";
126*bc12e3eeSIoana Ciornei
127*bc12e3eeSIoana Ciornei		serdes_3_lane_a: phy@0 {
128*bc12e3eeSIoana Ciornei			reg = <0>;
129*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
130*bc12e3eeSIoana Ciornei		};
131*bc12e3eeSIoana Ciornei
132*bc12e3eeSIoana Ciornei		serdes_3_lane_b: phy@1 {
133*bc12e3eeSIoana Ciornei			reg = <1>;
134*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
135*bc12e3eeSIoana Ciornei		};
136*bc12e3eeSIoana Ciornei
137*bc12e3eeSIoana Ciornei		serdes_3_lane_c: phy@2 {
138*bc12e3eeSIoana Ciornei			reg = <2>;
139*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
140*bc12e3eeSIoana Ciornei		};
141*bc12e3eeSIoana Ciornei
142*bc12e3eeSIoana Ciornei		serdes_3_lane_d: phy@3 {
143*bc12e3eeSIoana Ciornei			reg = <3>;
144*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
145*bc12e3eeSIoana Ciornei		};
146*bc12e3eeSIoana Ciornei
147*bc12e3eeSIoana Ciornei		serdes_3_lane_e: phy@4 {
148*bc12e3eeSIoana Ciornei			reg = <4>;
149*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
150*bc12e3eeSIoana Ciornei		};
151*bc12e3eeSIoana Ciornei
152*bc12e3eeSIoana Ciornei		serdes_3_lane_f: phy@5 {
153*bc12e3eeSIoana Ciornei			reg = <5>;
154*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
155*bc12e3eeSIoana Ciornei		};
156*bc12e3eeSIoana Ciornei
157*bc12e3eeSIoana Ciornei		serdes_3_lane_g: phy@6 {
158*bc12e3eeSIoana Ciornei			reg = <6>;
159*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
160*bc12e3eeSIoana Ciornei		};
161*bc12e3eeSIoana Ciornei
162*bc12e3eeSIoana Ciornei		serdes_3_lane_h: phy@7 {
163*bc12e3eeSIoana Ciornei			reg = <7>;
164*bc12e3eeSIoana Ciornei			#phy-cells = <0>;
165*bc12e3eeSIoana Ciornei		};
1669f0f43baSIoana Ciornei	};
1679f0f43baSIoana Ciornei};
168