From 930577ac7b090e9af0a988560c3445b7ba78f08c Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 6 Jun 2017 23:51:57 -0500 Subject: soc/baytrail: assign unique DMA request lines to I2C controllers Each I2C controller should have a unique pair of DMA request lines, and DMA channels should be assigned incrementally, rolling over as necessary. Source: Intel Baytrail/ValleyView UEFI reference code Change-Id: Icc9b27aaa14583d11d325e43d9165ddda72ca865 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/20080 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/baytrail/acpi/lpss.asl | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/soc/intel/baytrail/acpi/lpss.asl b/src/soc/intel/baytrail/acpi/lpss.asl index 6cac06a13e..6473a78419 100644 --- a/src/soc/intel/baytrail/acpi/lpss.asl +++ b/src/soc/intel/baytrail/acpi/lpss.asl @@ -156,8 +156,8 @@ Device (I2C2) { LPSS_I2C2_IRQ } - FixedDMA (0x10, 0x0, Width32Bit, ) - FixedDMA (0x11, 0x1, Width32Bit, ) + FixedDMA (0x12, 0x2, Width32Bit, ) + FixedDMA (0x13, 0x3, Width32Bit, ) }) Method (_CRS) @@ -215,8 +215,8 @@ Device (I2C3) { LPSS_I2C3_IRQ } - FixedDMA (0x10, 0x0, Width32Bit, ) - FixedDMA (0x11, 0x1, Width32Bit, ) + FixedDMA (0x14, 0x4, Width32Bit, ) + FixedDMA (0x15, 0x5, Width32Bit, ) }) Method (_CRS) @@ -274,8 +274,8 @@ Device (I2C4) { LPSS_I2C4_IRQ } - FixedDMA (0x10, 0x0, Width32Bit, ) - FixedDMA (0x11, 0x1, Width32Bit, ) + FixedDMA (0x16, 0x6, Width32Bit, ) + FixedDMA (0x17, 0x7, Width32Bit, ) }) Method (_CRS) @@ -333,8 +333,8 @@ Device (I2C5) { LPSS_I2C5_IRQ } - FixedDMA (0x10, 0x0, Width32Bit, ) - FixedDMA (0x11, 0x1, Width32Bit, ) + FixedDMA (0x18, 0x0, Width32Bit, ) + FixedDMA (0x19, 0x1, Width32Bit, ) }) Method (_CRS) @@ -392,8 +392,8 @@ Device (I2C6) { LPSS_I2C6_IRQ } - FixedDMA (0x10, 0x0, Width32Bit, ) - FixedDMA (0x11, 0x1, Width32Bit, ) + FixedDMA (0x1A, 0x2, Width32Bit, ) + FixedDMA (0x1B, 0x3, Width32Bit, ) }) Method (_CRS) @@ -451,8 +451,8 @@ Device (I2C7) { LPSS_I2C7_IRQ } - FixedDMA (0x10, 0x0, Width32Bit, ) - FixedDMA (0x11, 0x1, Width32Bit, ) + FixedDMA (0x1C, 0x4, Width32Bit, ) + FixedDMA (0x1D, 0x5, Width32Bit, ) }) Method (_CRS) -- cgit v1.2.3