Skip to content

Commit 6f9323f

Browse files
arm64: dts: ti: k3-serdes: Add SERDES0/SERDES1 lane-muxing macros for J722S
The SERDES0 and SERDES1 instances of SERDES on J722S are single lane SERDES which are individually muxed across different peripherals. LANE0 of SERDES0 is muxed between USB and CPSW while LANE0 of SERDES1 is muxed between PCIe and CPSW. Define the lane-muxing macros to be used as the idle state values. Co-developed-by: Ravi Gunasekaran <r-gunasekaran@ti.com> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Reviewed-by: Roger Quadros <rogerq@kernel.org> Link: https://lore.kernel.org/r/20240615081600.3602462-6-s-vadapalli@ti.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
1 parent 18fb2b7 commit 6f9323f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/arm64/boot/dts/ti/k3-serdes.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,12 @@
201201
#define J784S4_SERDES4_LANE3_USB 0x2
202202
#define J784S4_SERDES4_LANE3_IP4_UNUSED 0x3
203203

204+
/* J722S */
205+
206+
#define J722S_SERDES0_LANE0_USB 0x0
207+
#define J722S_SERDES0_LANE0_QSGMII_LANE2 0x1
208+
209+
#define J722S_SERDES1_LANE0_PCIE0_LANE0 0x0
210+
#define J722S_SERDES1_LANE0_QSGMII_LANE1 0x1
211+
204212
#endif /* DTS_ARM64_TI_K3_SERDES_H */

0 commit comments

Comments
 (0)