From 2fd2923aebae63bdf4567f70d933831f44e082ed Mon Sep 17 00:00:00 2001 From: Aamir Bohra Date: Wed, 21 Nov 2018 11:08:04 +0530 Subject: mb/intel/icelake_rvp: Configure eSPI IO decode range for EC This implementation adds eSPI IO decode range for EC. 1. 0x800-0x8FF / 0x200-020F: EC host command range. 2. 0x900-0x9ff: EC memory map range. Change-Id: I69e6b3a83c072036c5b3ae801f8d80dfda82478e Signed-off-by: Subrata Banik Signed-off-by: Aamir Bohra Reviewed-on: https://review.coreboot.org/c/29764 Tested-by: build bot (Jenkins) Reviewed-by: Shelley Chen --- src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb | 6 ++++++ src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb b/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb index fb39b60e8d..a57d91afbe 100644 --- a/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb +++ b/src/mainboard/intel/icelake_rvp/variants/icl_u/devicetree.cb @@ -27,6 +27,12 @@ chip soc/intel/icelake register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC0)" register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC0)" + # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f + register "gen1_dec" = "0x00fc0801" + register "gen2_dec" = "0x000c0201" + # EC memory map range is 0x900-0x9ff + register "gen3_dec" = "0x00fc0901" + register "PchHdaDspEnable" = "1" register "PchHdaAudioLinkHda" = "1" diff --git a/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb b/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb index b3a78269c6..f8fbfb4c29 100644 --- a/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb +++ b/src/mainboard/intel/icelake_rvp/variants/icl_y/devicetree.cb @@ -27,6 +27,12 @@ chip soc/intel/icelake register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC0)" register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC0)" + # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f + register "gen1_dec" = "0x00fc0801" + register "gen2_dec" = "0x000c0201" + # EC memory map range is 0x900-0x9ff + register "gen3_dec" = "0x00fc0901" + register "PchHdaDspEnable" = "1" register "PchHdaAudioLinkHda" = "1" register "PchHdaAudioLinkSsp0" = "1" -- cgit v1.2.3