samus: Updates for EVT board

- Remove NFC GPIOs
- Change EC wake to GPIO27
- Enable wake on HOTWORD_DET_L_3V3
- Add new Hynix memory SKU

BUG=chrome-os-partner:31549
BRANCH=none
TEST=emerge-samus coreboot, cannot fully test until EVT

Original-Change-Id: Ia25fc39f0b67c53305b3fd9150117d6a7867eb3a
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/213796
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit 740ac0bb7eaa9ae35fce8a04825f9c5ecf7cab79)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I2b1c194eae2ebc53291f078c00ba04f82e10b0c1
Reviewed-on: http://review.coreboot.org/8963
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Duncan Laurie 2014-08-22 13:36:12 -07:00 committed by Marc Jones
parent 63dc01b76e
commit be19c54585
5 changed files with 52 additions and 9 deletions

View File

@ -27,9 +27,8 @@ Scope (\_SB)
Return (\_SB.PCI0.LPCB.EC0.LIDS) Return (\_SB.PCI0.LPCB.EC0.LIDS)
} }
// There is no GPIO for LID, the EC pulses WAKE# pin instead. // EC wake is GPIO27 which is a special DeepSX wake pin
// There is no GPE for WAKE#, so fake it with PCI_EXP_WAKE Name (_PRW, Package(){ 0x70, 5 }) // GP27_EN
Name (_PRW, Package(){ 0x69, 5 }) // PCI_EXP
} }
Device (PWRB) Device (PWRB)
@ -189,6 +188,29 @@ Scope (\_SB.PCI0.I2C0)
} }
} }
} }
Device (HOTW)
{
Name (_HID, "PNP0A05")
Name (_DDN, "Hotword Wake")
Name (_UID, 1)
Name (GPIO, 46) /* HOTWORD_DET_L_3V3 */
Name (_PRW, Package() { GPIO, 3 })
Method (_DSW, 3, NotSerialized)
{
If (LEqual (Arg0, 1)) {
// Enable GPIO as wake source
\_SB.PCI0.LPCB.GPIO.GWAK (^GPIO)
}
}
Method (_STA)
{
Return (0xF)
}
}
} }
Scope (\_SB.PCI0.I2C1) Scope (\_SB.PCI0.I2C1)

View File

@ -45,6 +45,9 @@ chip soc/intel/broadwell
register "sata_port_map" = "0x1" register "sata_port_map" = "0x1"
register "sio_acpi_mode" = "1" register "sio_acpi_mode" = "1"
# Set I2C0 to 1.8V
register "sio_i2c0_voltage" = "1"
# Force enable ASPM for PCIe Port 3 # Force enable ASPM for PCIe Port 3
register "pcie_port_force_aspm" = "0x04" register "pcie_port_force_aspm" = "0x04"
register "pcie_port_coalesce" = "1" register "pcie_port_coalesce" = "1"

View File

@ -35,7 +35,7 @@ static const struct gpio_config mainboard_gpio_config[] = {
PCH_GPIO_NATIVE, /* 6: NATIVE: I2C1_SDA_GPIO6 */ PCH_GPIO_NATIVE, /* 6: NATIVE: I2C1_SDA_GPIO6 */
PCH_GPIO_NATIVE, /* 7: NATIVE: I2C1_SCL_GPIO7 */ PCH_GPIO_NATIVE, /* 7: NATIVE: I2C1_SCL_GPIO7 */
PCH_GPIO_ACPI_SCI, /* 8: PCH_LTE_WAKE_L */ PCH_GPIO_ACPI_SCI, /* 8: PCH_LTE_WAKE_L */
PCH_GPIO_PIRQ, /* 9: NFC_INT (PIRQ) */ PCH_GPIO_UNUSED, /* 9: UNUSED */
PCH_GPIO_ACPI_SCI, /* 10: PCH_WLAN_WAKE_L */ PCH_GPIO_ACPI_SCI, /* 10: PCH_WLAN_WAKE_L */
PCH_GPIO_UNUSED, /* 11: UNUSED */ PCH_GPIO_UNUSED, /* 11: UNUSED */
PCH_GPIO_UNUSED, /* 12: UNUSED */ PCH_GPIO_UNUSED, /* 12: UNUSED */
@ -52,8 +52,8 @@ static const struct gpio_config mainboard_gpio_config[] = {
PCH_GPIO_OUT_LOW, /* 23: PP3300_AUTOBAHN_EN */ PCH_GPIO_OUT_LOW, /* 23: PP3300_AUTOBAHN_EN */
PCH_GPIO_UNUSED, /* 24: UNUSED */ PCH_GPIO_UNUSED, /* 24: UNUSED */
PCH_GPIO_INPUT, /* 25: EC_IN_RW */ PCH_GPIO_INPUT, /* 25: EC_IN_RW */
PCH_GPIO_OUT_HIGH, /* 26: NFC_EN */ PCH_GPIO_UNUSED, /* 26: UNUSED */
PCH_GPIO_UNUSED, /* 27: UNUSED */ PCH_GPIO_ACPI_SCI, /* 27: PCH_WAKE_L */
PCH_GPIO_UNUSED, /* 28: UNUSED */ PCH_GPIO_UNUSED, /* 28: UNUSED */
PCH_GPIO_UNUSED, /* 29: UNUSED */ PCH_GPIO_UNUSED, /* 29: UNUSED */
PCH_GPIO_NATIVE, /* 30: NATIVE: PCH_SUSWARN_L */ PCH_GPIO_NATIVE, /* 30: NATIVE: PCH_SUSWARN_L */
@ -72,7 +72,7 @@ static const struct gpio_config mainboard_gpio_config[] = {
PCH_GPIO_OUT_HIGH, /* 43: PP1800_CODEC_EN */ PCH_GPIO_OUT_HIGH, /* 43: PP1800_CODEC_EN */
PCH_GPIO_UNUSED, /* 44: UNUSED */ PCH_GPIO_UNUSED, /* 44: UNUSED */
PCH_GPIO_PIRQ, /* 45: DSP_INT (PIRQN) */ PCH_GPIO_PIRQ, /* 45: DSP_INT (PIRQN) */
PCH_GPIO_PIRQ, /* 46: HOTWORD_DET_L (PIRQO) */ PCH_GPIO_ACPI_SCI, /* 46: HOTWORD_DET_L_3V3 (WAKE) */
PCH_GPIO_OUT_LOW, /* 47: SSD_RESET_L */ PCH_GPIO_OUT_LOW, /* 47: SSD_RESET_L */
PCH_GPIO_UNUSED, /* 48: UNUSED */ PCH_GPIO_UNUSED, /* 48: UNUSED */
PCH_GPIO_UNUSED, /* 49: UNUSED */ PCH_GPIO_UNUSED, /* 49: UNUSED */
@ -90,7 +90,7 @@ static const struct gpio_config mainboard_gpio_config[] = {
PCH_GPIO_NATIVE, /* 61: NATIVE: PCH_SUS_STAT */ PCH_GPIO_NATIVE, /* 61: NATIVE: PCH_SUS_STAT */
PCH_GPIO_NATIVE, /* 62: NATIVE: PCH_SUSCLK */ PCH_GPIO_NATIVE, /* 62: NATIVE: PCH_SUSCLK */
PCH_GPIO_NATIVE, /* 63: NATIVE: PCH_SLP_S5_L */ PCH_GPIO_NATIVE, /* 63: NATIVE: PCH_SLP_S5_L */
PCH_GPIO_OUT_LOW, /* 64: NFC_FW_UPDATE */ PCH_GPIO_UNUSED, /* 64: UNUSED */
PCH_GPIO_INPUT, /* 65: RAM_ID3 */ PCH_GPIO_INPUT, /* 65: RAM_ID3 */
PCH_GPIO_INPUT, /* 66: RAM_ID3_OLD (STRAP) */ PCH_GPIO_INPUT, /* 66: RAM_ID3_OLD (STRAP) */
PCH_GPIO_INPUT, /* 67: RAM_ID0 */ PCH_GPIO_INPUT, /* 67: RAM_ID0 */

View File

@ -35,7 +35,7 @@ SPD_SOURCES += empty # 0b1001
SPD_SOURCES += samsung_8Gb # 0b1010 SPD_SOURCES += samsung_8Gb # 0b1010
SPD_SOURCES += empty # 0b1011 SPD_SOURCES += empty # 0b1011
SPD_SOURCES += hynix_8Gb # 0b1100 SPD_SOURCES += hynix_8Gb # 0b1100
SPD_SOURCES += empty # 0b1101 SPD_SOURCES += hynix_16Gb # 0b1101
SPD_SOURCES += empty # 0b1110 SPD_SOURCES += empty # 0b1110
SPD_SOURCES += empty # 0b1111 SPD_SOURCES += empty # 0b1111

View File

@ -0,0 +1,18 @@
# Hynix H9CNNNNCLTMLAR-NTM LPDDR3
# banks 8, ranks 2, rows 15, columns 11, density 16384 Mb, x32
91 20 F1 03 06 1A 05 0B 03 11 01 08 0A 00 50 01
78 78 90 50 90 11 50 E0 10 04 3C 3C 01 90 00 00
00 80 00 00 00 00 00 A8 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 0F 01 02 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 80 AD 00 00 00 55 00 00 00 00 00
48 39 43 43 4E 4E 4E 42 4C 54 4D 4C 41 52 2D 4E
54 4D 00 00 80 AD 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00