summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2019-05-01 14:17:00 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-05-03 17:46:36 +0300
commit5c629b1b69f780540e6e3bcc57d29438749f97c5 (patch)
tree2d039baab25f480ac4f2f70e90daef8ae11b93d3 /include
parentbd9216e29b81ff2e35d203668f319aaaf396e018 (diff)
downloadu-boot-5c629b1b69f780540e6e3bcc57d29438749f97c5.tar.xz
net: mscc: ocelot: Update DTS for Luton pcb90
Update device tree for luton to add support for luton pcb90. This pcb has 24 ports from which 12 ports are connected to SerDes6G. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/mscc/luton_data.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/mscc/luton_data.h b/include/dt-bindings/mscc/luton_data.h
new file mode 100644
index 0000000000..e488567729
--- /dev/null
+++ b/include/dt-bindings/mscc/luton_data.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
+/*
+ * Copyright (c) 2019 Microsemi Corporation
+ */
+
+#ifndef _LUTON_DATA_H_
+#define _LUTON_DATA_H_
+
+#define SERDES6G(x) (x)
+#define SERDES6G_MAX SERDES6G(5)
+#define SERDES_MAX (SERDES6G_MAX)
+
+/* similar with phy_interface_t */
+#define PHY_MODE_SGMII 2
+#define PHY_MODE_QSGMII 4
+
+#endif