Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux/fpc-iii.git] / include / dt-bindings / mux / ti-serdes.h
blob9047ec6bd3cf82dceffd67e3d2d2bfc318e6a55b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * This header provides constants for SERDES MUX for TI SoCs
4 */
6 #ifndef _DT_BINDINGS_MUX_TI_SERDES
7 #define _DT_BINDINGS_MUX_TI_SERDES
9 /* J721E */
11 #define J721E_SERDES0_LANE0_QSGMII_LANE1 0x0
12 #define J721E_SERDES0_LANE0_PCIE0_LANE0 0x1
13 #define J721E_SERDES0_LANE0_USB3_0_SWAP 0x2
14 #define J721E_SERDES0_LANE0_IP4_UNUSED 0x3
16 #define J721E_SERDES0_LANE1_QSGMII_LANE2 0x0
17 #define J721E_SERDES0_LANE1_PCIE0_LANE1 0x1
18 #define J721E_SERDES0_LANE1_USB3_0 0x2
19 #define J721E_SERDES0_LANE1_IP4_UNUSED 0x3
21 #define J721E_SERDES1_LANE0_QSGMII_LANE3 0x0
22 #define J721E_SERDES1_LANE0_PCIE1_LANE0 0x1
23 #define J721E_SERDES1_LANE0_USB3_1_SWAP 0x2
24 #define J721E_SERDES1_LANE0_SGMII_LANE0 0x3
26 #define J721E_SERDES1_LANE1_QSGMII_LANE4 0x0
27 #define J721E_SERDES1_LANE1_PCIE1_LANE1 0x1
28 #define J721E_SERDES1_LANE1_USB3_1 0x2
29 #define J721E_SERDES1_LANE1_SGMII_LANE1 0x3
31 #define J721E_SERDES2_LANE0_IP1_UNUSED 0x0
32 #define J721E_SERDES2_LANE0_PCIE2_LANE0 0x1
33 #define J721E_SERDES2_LANE0_USB3_1_SWAP 0x2
34 #define J721E_SERDES2_LANE0_SGMII_LANE0 0x3
36 #define J721E_SERDES2_LANE1_IP1_UNUSED 0x0
37 #define J721E_SERDES2_LANE1_PCIE2_LANE1 0x1
38 #define J721E_SERDES2_LANE1_USB3_1 0x2
39 #define J721E_SERDES2_LANE1_SGMII_LANE1 0x3
41 #define J721E_SERDES3_LANE0_IP1_UNUSED 0x0
42 #define J721E_SERDES3_LANE0_PCIE3_LANE0 0x1
43 #define J721E_SERDES3_LANE0_USB3_0_SWAP 0x2
44 #define J721E_SERDES3_LANE0_IP4_UNUSED 0x3
46 #define J721E_SERDES3_LANE1_IP1_UNUSED 0x0
47 #define J721E_SERDES3_LANE1_PCIE3_LANE1 0x1
48 #define J721E_SERDES3_LANE1_USB3_0 0x2
49 #define J721E_SERDES3_LANE1_IP4_UNUSED 0x3
51 #define J721E_SERDES4_LANE0_EDP_LANE0 0x0
52 #define J721E_SERDES4_LANE0_IP2_UNUSED 0x1
53 #define J721E_SERDES4_LANE0_QSGMII_LANE5 0x2
54 #define J721E_SERDES4_LANE0_IP4_UNUSED 0x3
56 #define J721E_SERDES4_LANE1_EDP_LANE1 0x0
57 #define J721E_SERDES4_LANE1_IP2_UNUSED 0x1
58 #define J721E_SERDES4_LANE1_QSGMII_LANE6 0x2
59 #define J721E_SERDES4_LANE1_IP4_UNUSED 0x3
61 #define J721E_SERDES4_LANE2_EDP_LANE2 0x0
62 #define J721E_SERDES4_LANE2_IP2_UNUSED 0x1
63 #define J721E_SERDES4_LANE2_QSGMII_LANE7 0x2
64 #define J721E_SERDES4_LANE2_IP4_UNUSED 0x3
66 #define J721E_SERDES4_LANE3_EDP_LANE3 0x0
67 #define J721E_SERDES4_LANE3_IP2_UNUSED 0x1
68 #define J721E_SERDES4_LANE3_QSGMII_LANE8 0x2
69 #define J721E_SERDES4_LANE3_IP4_UNUSED 0x3
71 /* J7200 */
73 #define J7200_SERDES0_LANE0_QSGMII_LANE3 0x0
74 #define J7200_SERDES0_LANE0_PCIE1_LANE0 0x1
75 #define J7200_SERDES0_LANE0_IP3_UNUSED 0x2
76 #define J7200_SERDES0_LANE0_IP4_UNUSED 0x3
78 #define J7200_SERDES0_LANE1_QSGMII_LANE4 0x0
79 #define J7200_SERDES0_LANE1_PCIE1_LANE1 0x1
80 #define J7200_SERDES0_LANE1_IP3_UNUSED 0x2
81 #define J7200_SERDES0_LANE1_IP4_UNUSED 0x3
83 #define J7200_SERDES0_LANE2_QSGMII_LANE1 0x0
84 #define J7200_SERDES0_LANE2_PCIE1_LANE2 0x1
85 #define J7200_SERDES0_LANE2_IP3_UNUSED 0x2
86 #define J7200_SERDES0_LANE2_IP4_UNUSED 0x3
88 #define J7200_SERDES0_LANE3_QSGMII_LANE2 0x0
89 #define J7200_SERDES0_LANE3_PCIE1_LANE3 0x1
90 #define J7200_SERDES0_LANE3_USB 0x2
91 #define J7200_SERDES0_LANE3_IP4_UNUSED 0x3
93 #endif /* _DT_BINDINGS_MUX_TI_SERDES */