dt-bindings: ti-serdes-mux: Add defines for AM64 SoC
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 10 Mar 2021 11:27:45 +0000 (16:57 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 17 Mar 2021 06:32:40 +0000 (12:02 +0530)
AM64 has a single lane SERDES which can be configured to be used
with either PCIe or USB. Define the possilbe values for the SERDES
function in AM64 SoC here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Acked-by: Peter Rosin <peda@axentia.se>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210310112745.3445-4-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/dt-bindings/mux/ti-serdes.h

index 9047ec6..d417b92 100644 (file)
@@ -90,4 +90,9 @@
 #define J7200_SERDES0_LANE3_USB                        0x2
 #define J7200_SERDES0_LANE3_IP4_UNUSED         0x3
 
+/* AM64 */
+
+#define AM64_SERDES0_LANE0_PCIE0               0x0
+#define AM64_SERDES0_LANE0_USB                 0x1
+
 #endif /* _DT_BINDINGS_MUX_TI_SERDES */