diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2017-06-06 23:51:57 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-09 16:56:54 +0200 |
commit | 930577ac7b090e9af0a988560c3445b7ba78f08c (patch) | |
tree | ab9682cd84fe13cb932bbb862f59beacfb3476b9 | |
parent | f6cfa71217f8a8b42e1f6fe8be6b91d2ef0bca63 (diff) |
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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/20080
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | src/soc/intel/baytrail/acpi/lpss.asl | 24 |
1 files 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) |