diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2019-04-03 19:54:47 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2019-04-12 17:32:51 +0200 |
commit | 1141176163d205ddc5b729256509a858c0fe8267 (patch) | |
tree | 742e46ce25bfe319d96651df76e63a2a2780857e /include/dt-bindings | |
parent | 6aa50ae22c63e2b509bad2a815c12946b8a9aaf8 (diff) | |
download | u-boot-1141176163d205ddc5b729256509a858c0fe8267.tar.gz |
net: mscc: jaguar2: Add ethenet nodes for Jaguar2.
Add ethernet nodes for Jaguar2 SoCs family. There are 3 pcb in this
family: pcb110, pcb111 and pcb112.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/mscc/jr2_data.h | 19 |
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 |