From bbf26154da675845251c54f71d1df9df8d2a4fd5 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 3 Nov 2014 15:46:59 -0800 Subject: [PATCH] samus: Enable GSPI0 interface This will be connected to the coded for firmware upload. BUG=chrome-os-partner:33495 BRANCH=samus TEST=build and boot on samus, check that GSPI driver is loaded Change-Id: I25c91145aef8ca2aef229ffb27e8a45df659982e Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/228835 Reviewed-by: Aaron Durbin --- src/mainboard/google/samus/devicetree.cb | 2 +- src/mainboard/google/samus/gpio.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mainboard/google/samus/devicetree.cb b/src/mainboard/google/samus/devicetree.cb index da2d3d2a25..26b7b4141a 100644 --- a/src/mainboard/google/samus/devicetree.cb +++ b/src/mainboard/google/samus/devicetree.cb @@ -70,7 +70,7 @@ chip soc/intel/broadwell device pci 15.0 on end # Serial I/O DMA device pci 15.1 on end # I2C0 device pci 15.2 on end # I2C1 - device pci 15.3 off end # GSPI0 + device pci 15.3 on end # GSPI0 device pci 15.4 off end # GSPI1 device pci 15.5 off end # UART0 device pci 15.6 off end # UART1 diff --git a/src/mainboard/google/samus/gpio.h b/src/mainboard/google/samus/gpio.h index 5d1ebdd1b7..c9795a294c 100644 --- a/src/mainboard/google/samus/gpio.h +++ b/src/mainboard/google/samus/gpio.h @@ -111,10 +111,10 @@ static const struct gpio_config mainboard_gpio_config[] = { PCH_GPIO_UNUSED, /* 80: UNUSED */ PCH_GPIO_UNUSED, /* 81: UNUSED */ PCH_GPIO_NATIVE, /* 82: NATIVE: EC_RCIN_L */ - PCH_GPIO_UNUSED, /* 83: UNUSED */ - PCH_GPIO_UNUSED, /* 84: UNUSED */ - PCH_GPIO_UNUSED, /* 85: UNUSED */ - PCH_GPIO_UNUSED, /* 86: UNUSED (STRAP) */ + PCH_GPIO_NATIVE, /* 83: GSPI0_CS */ + PCH_GPIO_NATIVE, /* 84: GSPI0_CLK */ + PCH_GPIO_NATIVE, /* 85: GSPI0_MISO */ + PCH_GPIO_NATIVE, /* 86: GSPI0_MOSI (STRAP) */ PCH_GPIO_UNUSED, /* 87: UNUSED */ PCH_GPIO_UNUSED, /* 88: UNUSED */ PCH_GPIO_OUT_HIGH, /* 89: PP3300_SD_EN */