diff mbox series

[3/3] dt-bindings: ti-serdes-mux: Add defines for AM64 SoC

Message ID 20210310112745.3445-4-kishon@ti.com
State Accepted
Commit 4709b21a0566bee2f00b1bd8fb926c08dd838438
Headers show
Series AM64: Add SERDES DT bindings | expand

Commit Message

Kishon Vijay Abraham I March 10, 2021, 11:27 a.m. UTC
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>

---
 include/dt-bindings/mux/ti-serdes.h | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.17.1
diff mbox series

Patch

diff --git a/include/dt-bindings/mux/ti-serdes.h b/include/dt-bindings/mux/ti-serdes.h
index 9047ec6bd3cf..d417b9268b16 100644
--- a/include/dt-bindings/mux/ti-serdes.h
+++ b/include/dt-bindings/mux/ti-serdes.h
@@ -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 */