mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-23 11:33:32 +00:00
1141176163
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>
19 lines
434 B
C
19 lines
434 B
C
/* 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
|