INTn on Marvell PHY can be routed to LED[2] pin. This setting must be made via LED Timer Control Register on page 3. Change-Id: Ida1efbb604c382676b9d13ac8bf14de768f93637 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69433 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
12 lines
368 B
C
12 lines
368 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include "m88e1512.h"
|
|
|
|
struct drivers_net_phy_m88e1512_config {
|
|
bool configure_leds; /* Enable LED customization */
|
|
unsigned char led_0_ctrl; /* LED[0] Control */
|
|
unsigned char led_1_ctrl; /* LED[1] Control */
|
|
unsigned char led_2_ctrl; /* LED[2] Control */
|
|
bool enable_int; /* INTn can be routed to LED[2] pin */
|
|
};
|