sio/nuvoton/nct6779d: Correct GPIOBASE virtual LDN
According to datasheet, the enable bit for direct I/O access to GPIO lines is at CR30[3] of LDN 8, not [0] as currently coded. Change-Id: Id2f997aebc36a2fcaa8c3763f324d3b288f785d2 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81926 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
/* virtual LDN for GPIO */
|
/* virtual LDN for GPIO */
|
||||||
|
|
||||||
#define NCT6779D_GPIOBASE ((0 << 8) | NCT6779D_WDT1_GPIO01_V)
|
#define NCT6779D_GPIOBASE ((3 << 8) | NCT6779D_WDT1_GPIO01_V)
|
||||||
|
|
||||||
#define NCT6779D_GPIO0 ((1 << 8) | NCT6779D_WDT1_GPIO01_V)
|
#define NCT6779D_GPIO0 ((1 << 8) | NCT6779D_WDT1_GPIO01_V)
|
||||||
#define NCT6779D_GPIO1 ((1 << 8) | NCT6779D_GPIO12345678_V)
|
#define NCT6779D_GPIO1 ((1 << 8) | NCT6779D_GPIO12345678_V)
|
||||||
|
Reference in New Issue
Block a user