From 69088c2825d9bcee7b2cfae699b648ed33e0c7d7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 25 May 2016 10:22:10 -0500 Subject: sio/winbond/w83667hg-a: Add pinmux defines for UART B Change-Id: Ib98c69de781d2b651ec168d03250cacc918c5c1f Signed-off-by: Timothy Pearson Reviewed-on: https://review.coreboot.org/14965 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/superio/winbond/w83667hg-a/w83667hg-a.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/superio/winbond/w83667hg-a/w83667hg-a.h b/src/superio/winbond/w83667hg-a/w83667hg-a.h index 0c0d427d03..d4e711094d 100644 --- a/src/superio/winbond/w83667hg-a/w83667hg-a.h +++ b/src/superio/winbond/w83667hg-a/w83667hg-a.h @@ -18,6 +18,13 @@ #ifndef SUPERIO_WINBOND_W83667HG_A #define SUPERIO_WINBOND_W83667HG_A +/* Pinmux configuration defines */ +#define W83667HG_SPI_PINMUX_OFFSET 0x2a + +#define W83667HG_SPI_PINMUX_GPIO4_SERIAL_B_MASK (1 << 2) +#define W83667HG_SPI_PINMUX_GPIO4 (0 << 2) +#define W83667HG_SPI_PINMUX_SERIAL_B (1 << 2) + /* Logical Device Numbers (LDN). */ #define W83667HG_A_FDC 0x00 #define W83667HG_A_PP 0x01 -- cgit v1.2.3