summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-04-13 15:27:26 +0300
committerTom Rini <trini@konsulko.com>2019-04-13 15:27:26 +0300
commit0a5228be868622894a5f8f226203cd7bac562187 (patch)
tree180df0714bcd961c378fb4569cd9b40bd366e5fc /include/dt-bindings
parent015289580f81733f7358227743e3e5881653a797 (diff)
parentc3b6c8e2d8fb5b8d0d67858dc4a2133b7065df5b (diff)
downloadu-boot-0a5228be868622894a5f8f226203cd7bac562187.tar.xz
Merge tag 'mips-pull-2019-04-12' of git://git.denx.de/u-boot-mips
- mt76xx: add USB support, small fixes - ath79: small fixes, add support for QCA9563 SoC and AP152 reference board - mscc: small fixes, add network support for JR2 and ServalT SoCs - bmips: small fixes, enable more drivers for ARM specific BCM6858 and BCM63158 SoCs - MIPS: fix redundant relocation of initrd images
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/mscc/jr2_data.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/mscc/jr2_data.h b/include/dt-bindings/mscc/jr2_data.h
new file mode 100644
index 0000000000..2f06fc5c5d
--- /dev/null
+++ b/include/dt-bindings/mscc/jr2_data.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
+/*
+ * Copyright (c) 2018 Microsemi Corporation
+ */
+
+#ifndef _JR2_DATA_H_
+#define _JR2_DATA_H_
+
+#define SERDES1G(x) (x)
+#define SERDES1G_MAX SERDES1G(10)
+#define SERDES6G(x) (SERDES1G_MAX + 1 + (x))
+#define SERDES6G_MAX SERDES6G(17)
+#define SERDES_MAX (SERDES6G_MAX + 1)
+
+/* similar with phy_interface_t */
+#define PHY_MODE_SGMII 2
+#define PHY_MODE_QSGMII 4
+
+#endif