summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKapil Porwal <kapilporwal@google.com>2022-11-26 02:38:38 +0530
committerSubrata Banik <subratabanik@google.com>2022-11-29 19:51:26 +0000
commit39f5042d9e67439a9d486248d4578c4e3dca6277 (patch)
tree57ab3d15f8a9c3a93f0d657fead6228b9938719f /src
parent4c2c2c43d0c37765aef73ecd1223f8bea0e7f1fd (diff)
mb/google/brya: Add ACPI DmaProperty for ethernet devices
Add ACPI DmaProperty for ethernet devices. BUG=b:259716145 TEST=Verified SSDT on google/osiris. Before: Scope (\_SB.PCI0.RP01) { Device (RLTK) { Name (_HID, "R8168") // _HID: Hardware ID Name (_UID, 0xD0E889DD) // _UID: Unique ID Name (_DDN, "Realtek r8168") // _DDN: DOS Device Name Name (_ADR, 0x00000000) // _ADR: Address Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake { 0x07, 0x03 }) } } After: Scope (\_SB.PCI0.RP01) { Device (RLTK) { Name (_HID, "R8168") // _HID: Hardware ID Name (_UID, 0xD0E889DD) // _UID: Unique ID Name (_DDN, "Realtek r8168") // _DDN: DOS Device Name Name (_ADR, 0x00000000) // _ADR: Address Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake { 0x07, 0x03 }) Name (_DSD, Package (0x02) // _DSD: Device-Specific Data { ToUUID ("70d24161-6dd5-4c9e-8070-705531292865"), Package (0x01) { Package (0x02) { "DmaProperty", One } } }) } } Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: I647593fd02644d30cd21b60d8305c0ec55dc64cb Reviewed-on: https://review.coreboot.org/c/coreboot/+/70017 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/agah/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/brask/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/kinox/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/kuldax/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/lisbon/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/moli/overridetree.cb1
-rw-r--r--src/mainboard/google/brya/variants/osiris/overridetree.cb1
7 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/agah/overridetree.cb b/src/mainboard/google/brya/variants/agah/overridetree.cb
index 69afa24e16..53c60c17f3 100644
--- a/src/mainboard/google/brya/variants/agah/overridetree.cb
+++ b/src/mainboard/google/brya/variants/agah/overridetree.cb
@@ -225,6 +225,7 @@ chip soc/intel/alderlake
register "customized_leds" = "0x05af"
register "wake" = "GPE0_DW0_07"
register "device_index" = "0"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end #RTL8111H Ethernet NIC
diff --git a/src/mainboard/google/brya/variants/brask/overridetree.cb b/src/mainboard/google/brya/variants/brask/overridetree.cb
index b967b536ab..b2169c35a9 100644
--- a/src/mainboard/google/brya/variants/brask/overridetree.cb
+++ b/src/mainboard/google/brya/variants/brask/overridetree.cb
@@ -77,6 +77,7 @@ chip soc/intel/alderlake
register "customized_led0" = "0x23f"
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end # RTL8125 Ethernet NIC
diff --git a/src/mainboard/google/brya/variants/kinox/overridetree.cb b/src/mainboard/google/brya/variants/kinox/overridetree.cb
index 147478ee7e..f79d7ea55d 100644
--- a/src/mainboard/google/brya/variants/kinox/overridetree.cb
+++ b/src/mainboard/google/brya/variants/kinox/overridetree.cb
@@ -266,6 +266,7 @@ chip soc/intel/alderlake
register "customized_leds" = "0x05af"
register "wake" = "GPE0_DW0_07" #GPP_A7
register "device_index" = "0"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end # RTL8111K Ethernet NIC
diff --git a/src/mainboard/google/brya/variants/kuldax/overridetree.cb b/src/mainboard/google/brya/variants/kuldax/overridetree.cb
index a1587887ba..e36c9f493f 100644
--- a/src/mainboard/google/brya/variants/kuldax/overridetree.cb
+++ b/src/mainboard/google/brya/variants/kuldax/overridetree.cb
@@ -177,6 +177,7 @@ chip soc/intel/alderlake
register "customized_led0" = "0x23f"
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end # RTL8125 Ethernet NIC
diff --git a/src/mainboard/google/brya/variants/lisbon/overridetree.cb b/src/mainboard/google/brya/variants/lisbon/overridetree.cb
index fc285639cf..6c471b3245 100644
--- a/src/mainboard/google/brya/variants/lisbon/overridetree.cb
+++ b/src/mainboard/google/brya/variants/lisbon/overridetree.cb
@@ -192,6 +192,7 @@ chip soc/intel/alderlake
register "customized_led0" = "0x23f"
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end # RTL8111 Ethernet NIC
diff --git a/src/mainboard/google/brya/variants/moli/overridetree.cb b/src/mainboard/google/brya/variants/moli/overridetree.cb
index f3b28c4b90..2c13c6420e 100644
--- a/src/mainboard/google/brya/variants/moli/overridetree.cb
+++ b/src/mainboard/google/brya/variants/moli/overridetree.cb
@@ -160,6 +160,7 @@ chip soc/intel/alderlake
register "customized_leds" = "0x0482"
register "wake" = "GPE0_DW0_07"
register "device_index" = "0"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
end # RTL8111K Ethernet NIC
diff --git a/src/mainboard/google/brya/variants/osiris/overridetree.cb b/src/mainboard/google/brya/variants/osiris/overridetree.cb
index be4e251172..d76cf4357f 100644
--- a/src/mainboard/google/brya/variants/osiris/overridetree.cb
+++ b/src/mainboard/google/brya/variants/osiris/overridetree.cb
@@ -247,6 +247,7 @@ chip soc/intel/alderlake
register "customized_led0" = "0x23f"
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
+ register "add_acpi_dma_property" = "true"
device pci 00.0 on end
end
# Enable PCIE 7 using clk 6