From f813e602cf2ec46260dedcb68dc040242b45f83f Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 4 Feb 2026 10:33:54 -0600 Subject: [PATCH] sio/nuvoton/nct6796d: Add additional LDNs Add new LDNs supported by the NCT6796D: - 0x11: PGPIO, RI PSOUT Wake-Up - 0x12: LED control - 0x15: LED control 2 Change-Id: Icef4d32fad5430cbbe8ee4f3719d603361cfea95 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/91101 Tested-by: build bot (Jenkins) Reviewed-by: Alicja Michalska --- src/superio/nuvoton/nct6796d/nct6796d.h | 3 +++ src/superio/nuvoton/nct6796d/superio.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/superio/nuvoton/nct6796d/nct6796d.h b/src/superio/nuvoton/nct6796d/nct6796d.h index 53aeab4e2d..5468acbab1 100644 --- a/src/superio/nuvoton/nct6796d/nct6796d.h +++ b/src/superio/nuvoton/nct6796d/nct6796d.h @@ -17,7 +17,10 @@ #define NCT6796D_BCLK_WDT2_WDTMEM 0x0D /* BCLK, WDT2, WDT_MEM */ #define NCT6796D_CIRWUP 0x0E /* CIR Wake-Up */ #define NCT6796D_GPIO_PP_OD 0x0F /* GPIO Push-Pull/Open-Drain */ +#define NCT6796D_PGPIO_RI_PSOUT 0x11 /* PGPIO, RI PSOUT Wake-Up */ +#define NCT6796D_LED 0x12 /* LED control */ #define NCT6796D_PORT80 0x14 /* Port 80 UART */ +#define NCT6796D_LED2 0x15 /* LED Control 2 */ #define NCT6796D_DS 0x16 /* Deep Sleep */ /* Virtual LDNs */ diff --git a/src/superio/nuvoton/nct6796d/superio.c b/src/superio/nuvoton/nct6796d/superio.c index 65d7465461..79dc685eef 100644 --- a/src/superio/nuvoton/nct6796d/superio.c +++ b/src/superio/nuvoton/nct6796d/superio.c @@ -74,7 +74,10 @@ static struct pnp_info pnp_dev_info[] = { { NULL, NCT6796D_CIRWUP, PNP_IO0 | PNP_IRQ0, 0x0ff8, }, { NULL, NCT6796D_GPIO_PP_OD}, + { NULL, NCT6796D_PGPIO_RI_PSOUT}, + { NULL, NCT6796D_LED}, { NULL, NCT6796D_PORT80}, + { NULL, NCT6796D_LED2}, { NULL, NCT6796D_WDT1}, { NULL, NCT6796D_WDTMEM}, { NULL, NCT6796D_GPIOBASE, PNP_IO0,