summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2016-05-25 10:22:10 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2016-05-29 19:34:54 +0200
commit69088c2825d9bcee7b2cfae699b648ed33e0c7d7 (patch)
tree53e8111195cb40e55e8bdef8919085522b207403 /src/superio/winbond
parente4cca16b426f3907983992352ae9ace7cce1c41f (diff)
downloadcoreboot-69088c2825d9bcee7b2cfae699b648ed33e0c7d7.tar.xz
sio/winbond/w83667hg-a: Add pinmux defines for UART B
Change-Id: Ib98c69de781d2b651ec168d03250cacc918c5c1f Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com> Reviewed-on: https://review.coreboot.org/14965 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83667hg-a/w83667hg-a.h7
1 files changed, 7 insertions, 0 deletions
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