diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-08-11 13:42:40 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-11-30 15:19:06 +0000 |
commit | 691d58f9996d2ff3820b2c08646e98f16bbde2ee (patch) | |
tree | 043767ab2d786e0736961513a2b7d3012a5ef8ca /src/northbridge | |
parent | 6cecb0d963dd8df9440487690c11a6da75d8b70f (diff) |
nb/intel/sandybridge: Add a chipset devicetree
This only moves CPU configuration to a common place. Other PCI devices
can be done in follow-ups.
Change-Id: I9c5b6f25b779e28b6719cf70455ff0f1a916ad87
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56912
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/sandybridge/Kconfig | 3 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/chipset.cb | 18 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/northbridge/intel/sandybridge/Kconfig b/src/northbridge/intel/sandybridge/Kconfig index 551714a79f..bbe8ac4d69 100644 --- a/src/northbridge/intel/sandybridge/Kconfig +++ b/src/northbridge/intel/sandybridge/Kconfig @@ -17,6 +17,9 @@ config NORTHBRIDGE_SPECIFIC_OPTIONS select NO_DDR2 select USE_DDR3 +config CHIPSET_DEVICETREE + default "northbridge/intel/sandybridge/chipset.cb" + config SANDYBRIDGE_VBOOT_IN_ROMSTAGE bool default n diff --git a/src/northbridge/intel/sandybridge/chipset.cb b/src/northbridge/intel/sandybridge/chipset.cb new file mode 100644 index 0000000000..ae02a5b927 --- /dev/null +++ b/src/northbridge/intel/sandybridge/chipset.cb @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0-only + +chip northbridge/intel/sandybridge + device cpu_cluster 0 on + chip cpu/intel/model_206ax + # Magic APIC ID to locate this chip + device lapic 0 on end + device lapic 0xacac off end + + register "acpi_c1" = "1" # ACPI(C1) = MWAIT(C1) + register "acpi_c2" = "3" # ACPI(C2) = MWAIT(C3) + register "acpi_c3" = "5" # ACPI(C3) = MWAIT(C7) + end + end + + device domain 0 on + end +end |