summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/mtlrvp/variants
diff options
context:
space:
mode:
authorHarsha B R <harsha.b.r@intel.com>2022-12-16 12:47:55 +0530
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2022-12-29 07:10:55 +0000
commit7fb5bf8893fe311a9ce33f9125b2e111952092c7 (patch)
tree88801eaccd072077aa6891fdca132e2d05342d45 /src/mainboard/intel/mtlrvp/variants
parentec0a85b5807320695a89cba6bffcaca6d0bbc0f1 (diff)
mb/intel/mtlrvp: Add configuration for UART devices
This patch adds below configuration for MTL-RVP UART devices, Interface -> UART0 PCI -> 0:0x1e:0 Device -> AP UART BUG=b:224325352 TEST=Able to build with the patch and boot the mtlrvp ito chromeOS using subsequent patches in the train. UART logs appear on AP console. Signed-off-by: Harsha B R <harsha.b.r@intel.com> Change-Id: I4702d603aa49357f4db0d18d646e536d9d81787e Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70873 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Krishna P Bhat D <krishna.p.bhat.d@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/intel/mtlrvp/variants')
-rw-r--r--src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb
index 10b4cea335..d28b7b1970 100644
--- a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb
+++ b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb
@@ -11,6 +11,12 @@ chip soc/intel/meteorlake
# EC memory map range is 0x900-0x9ff
register "gen3_dec" = "0x00fc0901"
+ register "serial_io_uart_mode" = "{
+ [PchSerialIoIndexUART0] = PchSerialIoPci,
+ [PchSerialIoIndexUART1] = PchSerialIoDisabled,
+ [PchSerialIoIndexUART2] = PchSerialIoDisabled,
+ }"
+
device domain 0 on
device ref igpu on end
device ref heci1 on end