diff options
author | Fred Reitberger <reitbergerfred@gmail.com> | 2022-04-22 15:30:09 -0400 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-27 16:08:36 +0000 |
commit | 19788cd9a48b7ab302c50a2fd6818a172615d1e5 (patch) | |
tree | 48cced9c2a524c1f3eb20efd52dedf8b8d77d5be /src/mainboard/amd/chausie/devicetree.cb | |
parent | 6e184e6bdf2d4662aa110affbf4f78208bceea2f (diff) |
mb/amd/chausie: Add EC support
Add support for the chausie EC. Use EC to configure default board GPIO
settings.
Change-Id: I3e59e17644cddf1a508614f90c20561bde2691fb
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63794
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd/chausie/devicetree.cb')
-rw-r--r-- | src/mainboard/amd/chausie/devicetree.cb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/amd/chausie/devicetree.cb b/src/mainboard/amd/chausie/devicetree.cb index 85e9c08f7e..4a0c5b056e 100644 --- a/src/mainboard/amd/chausie/devicetree.cb +++ b/src/mainboard/amd/chausie/devicetree.cb @@ -2,7 +2,15 @@ chip soc/amd/sabrina register "common_config.espi_config" = "{ - .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X2E_0X2F_EN, + .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X2E_0X2F_EN | ESPI_DECODE_IO_0X60_0X64_EN, + .generic_io_range[0] = { + .base = 0x3f8, + .size = 8, + }, + .generic_io_range[1] = { + .base = 0x600, + .size = 256, + }, .io_mode = ESPI_IO_MODE_QUAD, .op_freq_mhz = ESPI_OP_FREQ_16_MHZ, .crc_check_enable = 1, |