Attention is currently required from: Angel Pons, Alexander Couzens, Evgeny Zinoviev.
Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69291 )
Change subject: nb/intel/sandybridge: Hook up CPU bus and PCI domain ops to devicetree ......................................................................
nb/intel/sandybridge: Hook up CPU bus and PCI domain ops to devicetree
The following commands were used to do this: $ for tree in $(find -name *.cb -exec grep -l sandybridge {} ;); do \ sed -i 's/cpu_cluster 0 on/cpu_cluster 0 on\n\t\tops \ sandybridge_cpu_bus_ops/' $tree; done
$ for tree in $(find -name *.cb -exec grep -l sandybridge {} ;); do \ sed -i 's/domain 0 on/domain 0 on\n\t\tops sandybridge_pci_domain_ops/' \ $tree; done
Change-Id: I718d9dbc184c8bca38f452efea3202901018cb04 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/mainboard/apple/macbookair4_2/devicetree.cb M src/mainboard/asrock/b75pro3-m/devicetree.cb M src/mainboard/asrock/h77pro4-m/devicetree.cb M src/mainboard/asus/h61-series/devicetree.cb M src/mainboard/asus/h61-series/variants/h61m-cs/overridetree.cb M src/mainboard/asus/h61-series/variants/p8h61-m_lx/overridetree.cb M src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/overridetree.cb M src/mainboard/asus/h61-series/variants/p8h61-m_pro/overridetree.cb M src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/overridetree.cb M src/mainboard/asus/maximus_iv_gene-z/devicetree.cb M src/mainboard/asus/p8x7x-series/devicetree.cb M src/mainboard/asus/p8x7x-series/variants/p8c_ws/overridetree.cb M src/mainboard/asus/p8x7x-series/variants/p8h77-v/overridetree.cb M src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb M src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb M src/mainboard/asus/p8x7x-series/variants/p8z77-v/overridetree.cb M src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/overridetree.cb M src/mainboard/biostar/th61-itx/devicetree.cb M src/mainboard/compulab/intense_pc/devicetree.cb M src/mainboard/dell/snb_ivb_workstations/variants/baseboard/devicetree.cb M src/mainboard/dell/snb_ivb_workstations/variants/optiplex_9010_sff/overridetree.cb M src/mainboard/dell/snb_ivb_workstations/variants/precision_t1650/overridetree.cb M src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb M src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/overridetree.cb M src/mainboard/gigabyte/ga-h61m-series/devicetree.cb M src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/overridetree.cb M src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/overridetree.cb M src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/overridetree.cb M src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/overridetree.cb M src/mainboard/google/butterfly/devicetree.cb M src/mainboard/google/link/devicetree.cb M src/mainboard/google/parrot/devicetree.cb M src/mainboard/google/stout/devicetree.cb M src/mainboard/hp/compaq_8200_elite_sff/devicetree.cb M src/mainboard/hp/snb_ivb_laptops/devicetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/2560p/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/2570p/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/2760p/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/8460p/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/8470p/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/8770w/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/probook_6360b/overridetree.cb M src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/overridetree.cb M src/mainboard/hp/z220_series/devicetree.cb M src/mainboard/hp/z220_series/variants/z220_cmt_workstation/overridetree.cb M src/mainboard/hp/z220_series/variants/z220_sff_workstation/overridetree.cb M src/mainboard/intel/dcp847ske/devicetree.cb M src/mainboard/intel/emeraldlake2/devicetree.cb M src/mainboard/kontron/ktqm77/devicetree.cb M src/mainboard/lenovo/l520/devicetree.cb M src/mainboard/lenovo/s230u/devicetree.cb M src/mainboard/lenovo/t420/devicetree.cb M src/mainboard/lenovo/t420s/devicetree.cb M src/mainboard/lenovo/t430/devicetree.cb M src/mainboard/lenovo/t430s/devicetree.cb M src/mainboard/lenovo/t430s/variants/t430s/overridetree.cb M src/mainboard/lenovo/t430s/variants/t431s/overridetree.cb M src/mainboard/lenovo/t520/devicetree.cb M src/mainboard/lenovo/t520/variants/t520/overridetree.cb M src/mainboard/lenovo/t520/variants/w520/overridetree.cb M src/mainboard/lenovo/t530/devicetree.cb M src/mainboard/lenovo/t530/variants/t530/overridetree.cb M src/mainboard/lenovo/t530/variants/w530/overridetree.cb M src/mainboard/lenovo/x131e/devicetree.cb M src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb M src/mainboard/lenovo/x220/devicetree.cb M src/mainboard/lenovo/x220/variants/x1/overridetree.cb M src/mainboard/lenovo/x220/variants/x220/overridetree.cb M src/mainboard/lenovo/x230/devicetree.cb M src/mainboard/lenovo/x230/variants/x230/overridetree.cb M src/mainboard/lenovo/x230/variants/x230s/overridetree.cb M src/mainboard/msi/ms7707/devicetree.cb M src/mainboard/roda/rv11/variants/rv11/devicetree.cb M src/mainboard/roda/rv11/variants/rw11/devicetree.cb M src/mainboard/samsung/lumpy/devicetree.cb M src/mainboard/samsung/stumpy/devicetree.cb M src/mainboard/sapphire/pureplatinumh61/devicetree.cb M src/mainboard/supermicro/x9sae/devicetree.cb M src/mainboard/supermicro/x9scl/devicetree.cb M src/northbridge/intel/sandybridge/northbridge.c 81 files changed, 142 insertions(+), 13 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/69291/1
diff --git a/src/mainboard/apple/macbookair4_2/devicetree.cb b/src/mainboard/apple/macbookair4_2/devicetree.cb index 6ea033e..b44c2d4 100644 --- a/src/mainboard/apple/macbookair4_2/devicetree.cb +++ b/src/mainboard/apple/macbookair4_2/devicetree.cb @@ -14,6 +14,7 @@ register "gpu_panel_power_up_delay" = "2000" register "gpu_pch_backlight" = "0x13121312" device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -24,6 +25,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH register "docking_supported" = "0" register "gen1_dec" = "0x000c0681" diff --git a/src/mainboard/asrock/b75pro3-m/devicetree.cb b/src/mainboard/asrock/b75pro3-m/devicetree.cb index 0f7d0a8..cd91fa2 100644 --- a/src/mainboard/asrock/b75pro3-m/devicetree.cb +++ b/src/mainboard/asrock/b75pro3-m/devicetree.cb @@ -14,6 +14,7 @@ register "gpu_panel_power_up_delay" = "0" register "gpu_pch_backlight" = "0x00000000" device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -23,6 +24,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on subsystemid 0x1849 0x0150 end diff --git a/src/mainboard/asrock/h77pro4-m/devicetree.cb b/src/mainboard/asrock/h77pro4-m/devicetree.cb index 86468c1..00ffeac 100644 --- a/src/mainboard/asrock/h77pro4-m/devicetree.cb +++ b/src/mainboard/asrock/h77pro4-m/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -11,6 +12,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on # Host bridge subsystemid 0x1849 0x0100 end diff --git a/src/mainboard/asus/h61-series/devicetree.cb b/src/mainboard/asus/h61-series/devicetree.cb index 32f0cd4..e1a8f02 100644 --- a/src/mainboard/asus/h61-series/devicetree.cb +++ b/src/mainboard/asus/h61-series/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -11,6 +12,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # Host bridge device pci 01.0 on end # PEG device pci 02.0 on end # iGPU diff --git a/src/mainboard/asus/h61-series/variants/h61m-cs/overridetree.cb b/src/mainboard/asus/h61-series/variants/h61m-cs/overridetree.cb index 89ef419..7649169 100644 --- a/src/mainboard/asus/h61-series/variants/h61m-cs/overridetree.cb +++ b/src/mainboard/asus/h61-series/variants/h61m-cs/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x844d inherit chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_lx/overridetree.cb b/src/mainboard/asus/h61-series/variants/p8h61-m_lx/overridetree.cb index aa9f8c8..b508ca9 100644 --- a/src/mainboard/asus/h61-series/variants/p8h61-m_lx/overridetree.cb +++ b/src/mainboard/asus/h61-series/variants/p8h61-m_lx/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x844d inherit chip southbridge/intel/bd82x6x register "gen1_dec" = "0x00000295" # Super I/O HWM diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/overridetree.cb b/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/overridetree.cb index 5d9635c..36ef8cd 100644 --- a/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/overridetree.cb +++ b/src/mainboard/asus/h61-series/variants/p8h61-m_lx3_r2_0/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x844d inherit chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_pro/overridetree.cb b/src/mainboard/asus/h61-series/variants/p8h61-m_pro/overridetree.cb index d726131..deeb6a8 100644 --- a/src/mainboard/asus/h61-series/variants/p8h61-m_pro/overridetree.cb +++ b/src/mainboard/asus/h61-series/variants/p8h61-m_pro/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" # HWM
diff --git a/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/overridetree.cb b/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/overridetree.cb index 7882bf0..d1df0eb 100644 --- a/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/overridetree.cb +++ b/src/mainboard/asus/h61-series/variants/p8h61-m_pro_cm6630/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" # HWM
diff --git a/src/mainboard/asus/maximus_iv_gene-z/devicetree.cb b/src/mainboard/asus/maximus_iv_gene-z/devicetree.cb index ca09d2f..32b1727 100644 --- a/src/mainboard/asus/maximus_iv_gene-z/devicetree.cb +++ b/src/mainboard/asus/maximus_iv_gene-z/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -12,6 +13,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x844d inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/asus/p8x7x-series/devicetree.cb b/src/mainboard/asus/p8x7x-series/devicetree.cb index 9710118..2511e65 100644 --- a/src/mainboard/asus/p8x7x-series/devicetree.cb +++ b/src/mainboard/asus/p8x7x-series/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -11,6 +12,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # Host bridge device pci 01.0 on end # PCIEX16_1 device pci 02.0 on end # iGPU diff --git a/src/mainboard/asus/p8x7x-series/variants/p8c_ws/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8c_ws/overridetree.cb index 4de539b..2c3eec5 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8c_ws/overridetree.cb +++ b/src/mainboard/asus/p8x7x-series/variants/p8c_ws/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops device pci 01.1 on end # PCIEX16_2 (electrical x8) device pci 06.0 on end # PCIEX16_3 (electrical x4) subsystemid 0x1043 0x84ca inherit diff --git a/src/mainboard/asus/p8x7x-series/variants/p8h77-v/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8h77-v/overridetree.cb index f20b49c..0b6ebca 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8h77-v/overridetree.cb +++ b/src/mainboard/asus/p8x7x-series/variants/p8h77-v/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x84ca inherit chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb index 9659ed1..08793aa 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb +++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x84ca inherit chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH register "gen1_dec" = "0x000c0291" diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb index 0162547..bcaca92 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb +++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x84ca inherit chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-v/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8z77-v/overridetree.cb index 77484c7..8334be0 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8z77-v/overridetree.cb +++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-v/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x84ca inherit device pci 01.1 on end # PCIEX_16_2 chip southbridge/intel/bd82x6x diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/overridetree.cb b/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/overridetree.cb index 6be23fa..316c15a 100644 --- a/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/overridetree.cb +++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-v_lx2/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1043 0x84ca inherit chip southbridge/intel/bd82x6x register "gen1_dec" = "0x000c0291" diff --git a/src/mainboard/biostar/th61-itx/devicetree.cb b/src/mainboard/biostar/th61-itx/devicetree.cb index 35c3ae34..c37b665 100644 --- a/src/mainboard/biostar/th61-itx/devicetree.cb +++ b/src/mainboard/biostar/th61-itx/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -11,6 +12,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1565 0x3108 inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/compulab/intense_pc/devicetree.cb b/src/mainboard/compulab/intense_pc/devicetree.cb index 6979615..1155ee9 100644 --- a/src/mainboard/compulab/intense_pc/devicetree.cb +++ b/src/mainboard/compulab/intense_pc/devicetree.cb @@ -7,6 +7,7 @@ register "gpu_dp_d_hotplug" = "4"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # FIXME: check all registers register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -16,6 +17,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on # Host bridge subsystemid 0x8086 0x2010 end diff --git a/src/mainboard/dell/snb_ivb_workstations/variants/baseboard/devicetree.cb b/src/mainboard/dell/snb_ivb_workstations/variants/baseboard/devicetree.cb index e614f1e..47c6f51 100644 --- a/src/mainboard/dell/snb_ivb_workstations/variants/baseboard/devicetree.cb +++ b/src/mainboard/dell/snb_ivb_workstations/variants/baseboard/devicetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -10,6 +11,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops
device pci 00.0 on end # Host bridge Host bridge device pci 01.0 on # PEG1 (blue slot1) diff --git a/src/mainboard/dell/snb_ivb_workstations/variants/optiplex_9010_sff/overridetree.cb b/src/mainboard/dell/snb_ivb_workstations/variants/optiplex_9010_sff/overridetree.cb index bfe453f..68b5c00 100644 --- a/src/mainboard/dell/snb_ivb_workstations/variants/optiplex_9010_sff/overridetree.cb +++ b/src/mainboard/dell/snb_ivb_workstations/variants/optiplex_9010_sff/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1028 0x052c inherit chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH register "sata_port_map" = "0x7" diff --git a/src/mainboard/dell/snb_ivb_workstations/variants/precision_t1650/overridetree.cb b/src/mainboard/dell/snb_ivb_workstations/variants/precision_t1650/overridetree.cb index 81133ee..db4a98a 100644 --- a/src/mainboard/dell/snb_ivb_workstations/variants/precision_t1650/overridetree.cb +++ b/src/mainboard/dell/snb_ivb_workstations/variants/precision_t1650/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1028 0x053a inherit
chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb index 7ca9a8b..54b4625 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb +++ b/src/mainboard/gigabyte/ga-b75m-d3h/devicetree.cb @@ -1,6 +1,7 @@ chip northbridge/intel/sandybridge
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -12,6 +13,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1458 0x5000 inherit device pci 00.0 on # Host bridge subsystemid 0x1458 0x5000 diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/overridetree.cb b/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/overridetree.cb index b496fe1..ea8da51 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/overridetree.cb +++ b/src/mainboard/gigabyte/ga-b75m-d3h/variants/ga-b75-d3v/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH device pci 16.0 off end # Management Engine Interface 1 register "xhci_overcurrent_mapping" = "0x00000c03" diff --git a/src/mainboard/gigabyte/ga-h61m-series/devicetree.cb b/src/mainboard/gigabyte/ga-h61m-series/devicetree.cb index 3f07202..762bfb1 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/devicetree.cb +++ b/src/mainboard/gigabyte/ga-h61m-series/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -11,6 +12,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1458 0x5000 inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/overridetree.cb b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/overridetree.cb index 3de7954..d9eada0 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/overridetree.cb +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/overridetree.cb b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/overridetree.cb index b6bdaa4..3db3a48 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/overridetree.cb +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-ds2v/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/overridetree.cb b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/overridetree.cb index c0908c1..02fe8f1 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/overridetree.cb +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61m-s2pv/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
diff --git a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/overridetree.cb b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/overridetree.cb index dd2d900..4aa5c2a 100644 --- a/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/overridetree.cb +++ b/src/mainboard/gigabyte/ga-h61m-series/variants/ga-h61ma-d3v/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
diff --git a/src/mainboard/google/butterfly/devicetree.cb b/src/mainboard/google/butterfly/devicetree.cb index c79526e..dcfaebd 100644 --- a/src/mainboard/google/butterfly/devicetree.cb +++ b/src/mainboard/google/butterfly/devicetree.cb @@ -21,6 +21,7 @@ register "max_mem_clock_mhz" = "666" # DDR3-1333
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -33,6 +34,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # host bridge device pci 01.0 off end # PCIe Bridge for discrete graphics device pci 02.0 on end # vga controller diff --git a/src/mainboard/google/link/devicetree.cb b/src/mainboard/google/link/devicetree.cb index 49c3476..8ff8429 100644 --- a/src/mainboard/google/link/devicetree.cb +++ b/src/mainboard/google/link/devicetree.cb @@ -20,6 +20,7 @@ register "max_mem_clock_mhz" = "666"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -32,6 +33,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1ae0 0xc000 inherit device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller diff --git a/src/mainboard/google/parrot/devicetree.cb b/src/mainboard/google/parrot/devicetree.cb index 6850cf2..0e09348 100644 --- a/src/mainboard/google/parrot/devicetree.cb +++ b/src/mainboard/google/parrot/devicetree.cb @@ -20,6 +20,7 @@ register "max_mem_clock_mhz" = "666"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -32,6 +33,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller
diff --git a/src/mainboard/google/stout/devicetree.cb b/src/mainboard/google/stout/devicetree.cb index b38adaf..7669e4b 100644 --- a/src/mainboard/google/stout/devicetree.cb +++ b/src/mainboard/google/stout/devicetree.cb @@ -20,6 +20,7 @@ register "max_mem_clock_mhz" = "666"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -34,6 +35,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1ae0 0xc000 inherit device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller diff --git a/src/mainboard/hp/compaq_8200_elite_sff/devicetree.cb b/src/mainboard/hp/compaq_8200_elite_sff/devicetree.cb index 98e48ef..071c541 100644 --- a/src/mainboard/hp/compaq_8200_elite_sff/devicetree.cb +++ b/src/mainboard/hp/compaq_8200_elite_sff/devicetree.cb @@ -7,6 +7,7 @@ register "gpu_dp_d_hotplug" = "0"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -17,6 +18,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x1495 inherit
device pci 00.0 on end # Host bridge Host bridge diff --git a/src/mainboard/hp/snb_ivb_laptops/devicetree.cb b/src/mainboard/hp/snb_ivb_laptops/devicetree.cb index 2bfbacd..2b4e372 100644 --- a/src/mainboard/hp/snb_ivb_laptops/devicetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_panel_power_up_delay" = "300" register "gpu_pch_backlight" = "0x02880288" device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -25,6 +26,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops
device pci 00.0 on end # Host bridge
diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/2560p/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/2560p/overridetree.cb index d69a21e..3121e84 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/2560p/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/2560p/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_pch_backlight" = "0x02880288"
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x162b inherit
device pci 01.0 off end # PEG diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/2570p/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/2570p/overridetree.cb index d89492f..2376340 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/2570p/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/2570p/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_panel_power_backlight_off_delay" = "2300" register "gpu_pch_backlight" = "0x0d9c0d9c" device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x17df inherit
device pci 01.0 off end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/2760p/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/2760p/overridetree.cb index d911112..055c2c5 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/2760p/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/2760p/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_panel_power_backlight_off_delay" = "2000" register "gpu_pch_backlight" = "0x02880288" device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x162a inherit
device pci 01.0 off end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/8460p/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/8460p/overridetree.cb index 02dc6a4..b0464b6 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/8460p/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/8460p/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_panel_power_backlight_off_delay" = "2000" register "gpu_pch_backlight" = "0x02880288" device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x161c inherit
device pci 01.0 on end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/8470p/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/8470p/overridetree.cb index 729db13..a0e0244 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/8470p/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/8470p/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_panel_power_backlight_off_delay" = "2000" register "gpu_pch_backlight" = "0x0d9c0d9c" device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x179b inherit
device pci 01.0 on end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/8770w/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/8770w/overridetree.cb index 7244acd..27618e0 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/8770w/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/8770w/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x176c inherit
device pci 01.0 on # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/overridetree.cb index 1eb9c4c..c8f9e15 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/folio_9470m/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_panel_power_backlight_off_delay" = "2000" register "gpu_pch_backlight" = "0x0d9c0d9c" device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x18df inherit
device pci 01.0 off end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/probook_6360b/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/probook_6360b/overridetree.cb index 3289588..5004768 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/probook_6360b/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/probook_6360b/overridetree.cb @@ -4,6 +4,7 @@ register "gpu_cpu_backlight" = "0x0000014a"
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x1621 inherit
device pci 01.0 off end # PEG diff --git a/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/overridetree.cb b/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/overridetree.cb index 68b6daa..2fb7077 100644 --- a/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/overridetree.cb +++ b/src/mainboard/hp/snb_ivb_laptops/variants/revolve_810_g1/overridetree.cb @@ -5,6 +5,7 @@ register "gpu_panel_power_backlight_off_delay" = "2000" register "gpu_pch_backlight" = "0x02880288" device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x18f8 inherit
device pci 01.0 off end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/hp/z220_series/devicetree.cb b/src/mainboard/hp/z220_series/devicetree.cb index bcacf71..ccc39ab 100644 --- a/src/mainboard/hp/z220_series/devicetree.cb +++ b/src/mainboard/hp/z220_series/devicetree.cb @@ -7,6 +7,7 @@ register "gpu_dp_d_hotplug" = "0"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -17,6 +18,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x1791 inherit
device pci 00.0 on end # Host bridge Host bridge diff --git a/src/mainboard/hp/z220_series/variants/z220_cmt_workstation/overridetree.cb b/src/mainboard/hp/z220_series/variants/z220_cmt_workstation/overridetree.cb index 55bdaac..3194b85 100644 --- a/src/mainboard/hp/z220_series/variants/z220_cmt_workstation/overridetree.cb +++ b/src/mainboard/hp/z220_series/variants/z220_cmt_workstation/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x1791 inherit device pci 06.0 on end # Extra x4 port on north bridge chip southbridge/intel/bd82x6x diff --git a/src/mainboard/hp/z220_series/variants/z220_sff_workstation/overridetree.cb b/src/mainboard/hp/z220_series/variants/z220_sff_workstation/overridetree.cb index c31bf33..da3f839 100644 --- a/src/mainboard/hp/z220_series/variants/z220_sff_workstation/overridetree.cb +++ b/src/mainboard/hp/z220_series/variants/z220_sff_workstation/overridetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x103c 0x1791 inherit
chip southbridge/intel/bd82x6x diff --git a/src/mainboard/intel/dcp847ske/devicetree.cb b/src/mainboard/intel/dcp847ske/devicetree.cb index f7821d0..4daf8e2 100644 --- a/src/mainboard/intel/dcp847ske/devicetree.cb +++ b/src/mainboard/intel/dcp847ske/devicetree.cb @@ -12,6 +12,7 @@ register "gpu_dp_b_hotplug" = "0x06"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -23,6 +24,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # Host bridge device pci 01.0 off end # PCIe Bridge for discrete graphics device pci 02.0 on end # Internal graphics VGA controller diff --git a/src/mainboard/intel/emeraldlake2/devicetree.cb b/src/mainboard/intel/emeraldlake2/devicetree.cb index 170dbaa..fb91629 100644 --- a/src/mainboard/intel/emeraldlake2/devicetree.cb +++ b/src/mainboard/intel/emeraldlake2/devicetree.cb @@ -12,6 +12,7 @@ register "gpu_dp_b_hotplug" = "0x06"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -24,6 +25,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller
diff --git a/src/mainboard/kontron/ktqm77/devicetree.cb b/src/mainboard/kontron/ktqm77/devicetree.cb index 31bee5d..fe6ed3b 100644 --- a/src/mainboard/kontron/ktqm77/devicetree.cb +++ b/src/mainboard/kontron/ktqm77/devicetree.cb @@ -3,6 +3,7 @@ register "gfx" = "GMA_STATIC_DISPLAYS(0)"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -15,6 +16,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # host bridge device pci 01.0 on end # PCIe Bridge x16 device pci 02.0 on end # vga controller diff --git a/src/mainboard/lenovo/l520/devicetree.cb b/src/mainboard/lenovo/l520/devicetree.cb index 6c2dabe..bfaca73 100644 --- a/src/mainboard/lenovo/l520/devicetree.cb +++ b/src/mainboard/lenovo/l520/devicetree.cb @@ -13,6 +13,7 @@ register "gpu_pch_backlight" = "0x00000000"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -23,6 +24,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21dd inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/lenovo/s230u/devicetree.cb b/src/mainboard/lenovo/s230u/devicetree.cb index f7d65ca..afa8d27 100644 --- a/src/mainboard/lenovo/s230u/devicetree.cb +++ b/src/mainboard/lenovo/s230u/devicetree.cb @@ -12,6 +12,7 @@ register "gpu_panel_power_up_delay" = "600" register "gpu_pch_backlight" = "0x041e041e" device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -21,6 +22,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x2205 inherit
device pci 00.0 on end # Host bridge Host bridge diff --git a/src/mainboard/lenovo/t420/devicetree.cb b/src/mainboard/lenovo/t420/devicetree.cb index c934f5f..fdba94a 100644 --- a/src/mainboard/lenovo/t420/devicetree.cb +++ b/src/mainboard/lenovo/t420/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_pch_backlight" = "0x06100610"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -28,6 +29,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21ce inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/t420s/devicetree.cb b/src/mainboard/lenovo/t420s/devicetree.cb index 1d6adaf..400a072 100644 --- a/src/mainboard/lenovo/t420s/devicetree.cb +++ b/src/mainboard/lenovo/t420s/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_pch_backlight" = "0x06100610"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -28,6 +29,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21d2 inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/t430/devicetree.cb b/src/mainboard/lenovo/t430/devicetree.cb index 141faa9..38bffcf 100644 --- a/src/mainboard/lenovo/t430/devicetree.cb +++ b/src/mainboard/lenovo/t430/devicetree.cb @@ -15,6 +15,7 @@ register "gpu_pch_backlight" = "0x11551155"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # FIXME: check all registers register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -25,6 +26,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21f3 inherit
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH diff --git a/src/mainboard/lenovo/t430s/devicetree.cb b/src/mainboard/lenovo/t430s/devicetree.cb index 739d01d..a8d849f 100644 --- a/src/mainboard/lenovo/t430s/devicetree.cb +++ b/src/mainboard/lenovo/t430s/devicetree.cb @@ -15,6 +15,7 @@ register "gpu_pch_backlight" = "0x11551155"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -27,6 +28,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21fb inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/t430s/variants/t430s/overridetree.cb b/src/mainboard/lenovo/t430s/variants/t430s/overridetree.cb index 4250665..7e47e06 100644 --- a/src/mainboard/lenovo/t430s/variants/t430s/overridetree.cb +++ b/src/mainboard/lenovo/t430s/variants/t430s/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH # Enable hotplug on Port 5 for Thunderbolt controller register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 1, 0, 0, 0 }" diff --git a/src/mainboard/lenovo/t430s/variants/t431s/overridetree.cb b/src/mainboard/lenovo/t430s/variants/t431s/overridetree.cb index fcd137f..e808891 100644 --- a/src/mainboard/lenovo/t430s/variants/t431s/overridetree.cb +++ b/src/mainboard/lenovo/t430s/variants/t431s/overridetree.cb @@ -13,6 +13,7 @@ register "gpu_cpu_backlight" = "0x03d2"
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x2208 inherit
device pci 01.0 off end # PCIe Bridge for discrete graphics diff --git a/src/mainboard/lenovo/t520/devicetree.cb b/src/mainboard/lenovo/t520/devicetree.cb index 9c75231..bc9bc53 100644 --- a/src/mainboard/lenovo/t520/devicetree.cb +++ b/src/mainboard/lenovo/t520/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_pch_backlight" = "0x06100610"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -28,6 +29,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21cf inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/t520/variants/t520/overridetree.cb b/src/mainboard/lenovo/t520/variants/t520/overridetree.cb index cba2b7d..33ad442b 100644 --- a/src/mainboard/lenovo/t520/variants/t520/overridetree.cb +++ b/src/mainboard/lenovo/t520/variants/t520/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH device pci 1e.0 off end # PCI-2-PCI bridge device pci 1f.0 on # LPC bridge diff --git a/src/mainboard/lenovo/t520/variants/w520/overridetree.cb b/src/mainboard/lenovo/t520/variants/w520/overridetree.cb index 3e1c90ee..574959e 100644 --- a/src/mainboard/lenovo/t520/variants/w520/overridetree.cb +++ b/src/mainboard/lenovo/t520/variants/w520/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH device pci 1c.6 on end # PCIe Port #7 USB 3.0 end diff --git a/src/mainboard/lenovo/t530/devicetree.cb b/src/mainboard/lenovo/t530/devicetree.cb index 5cfa207..cba284a 100644 --- a/src/mainboard/lenovo/t530/devicetree.cb +++ b/src/mainboard/lenovo/t530/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_pch_backlight" = "0x11551155"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -28,6 +29,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21f6 inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/lenovo/t530/variants/t530/overridetree.cb b/src/mainboard/lenovo/t530/variants/t530/overridetree.cb index 78f7b9b..dc08f9d 100644 --- a/src/mainboard/lenovo/t530/variants/t530/overridetree.cb +++ b/src/mainboard/lenovo/t530/variants/t530/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH device pci 1f.0 on # PCI-LPC bridge chip ec/lenovo/h8 diff --git a/src/mainboard/lenovo/t530/variants/w530/overridetree.cb b/src/mainboard/lenovo/t530/variants/w530/overridetree.cb index 115bc1f..b9704672 100644 --- a/src/mainboard/lenovo/t530/variants/w530/overridetree.cb +++ b/src/mainboard/lenovo/t530/variants/w530/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops device pci 02.0 on # Internal graphics VGA controller subsystemid 0x17aa 0x21f5 end diff --git a/src/mainboard/lenovo/x131e/devicetree.cb b/src/mainboard/lenovo/x131e/devicetree.cb index f28212e..21e7652 100644 --- a/src/mainboard/lenovo/x131e/devicetree.cb +++ b/src/mainboard/lenovo/x131e/devicetree.cb @@ -15,6 +15,7 @@ register "gpu_pch_backlight" = "0x11551155"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -27,6 +28,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21fe inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb b/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb index cbf1141..eb6544f 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb +++ b/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb @@ -13,6 +13,7 @@ register "gpu_pch_backlight" = "0x11551155"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -25,6 +26,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21f9 inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/x220/devicetree.cb b/src/mainboard/lenovo/x220/devicetree.cb index 923c88b..56c5d22 100644 --- a/src/mainboard/lenovo/x220/devicetree.cb +++ b/src/mainboard/lenovo/x220/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_pch_backlight" = "0x06100610"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -28,6 +29,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21db inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/x220/variants/x1/overridetree.cb b/src/mainboard/lenovo/x220/variants/x1/overridetree.cb index d236139..f6ee357 100644 --- a/src/mainboard/lenovo/x220/variants/x1/overridetree.cb +++ b/src/mainboard/lenovo/x220/variants/x1/overridetree.cb @@ -13,6 +13,7 @@ register "gpu_pch_backlight" = "0x13121312"
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21e8 inherit
chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH diff --git a/src/mainboard/lenovo/x220/variants/x220/overridetree.cb b/src/mainboard/lenovo/x220/variants/x220/overridetree.cb index 8e939fd..597e16e 100644 --- a/src/mainboard/lenovo/x220/variants/x220/overridetree.cb +++ b/src/mainboard/lenovo/x220/variants/x220/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH device pci 1f.0 on #LPC bridge chip ec/lenovo/h8 diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb index 30a7916..e71a2d4 100644 --- a/src/mainboard/lenovo/x230/devicetree.cb +++ b/src/mainboard/lenovo/x230/devicetree.cb @@ -16,6 +16,7 @@ register "gpu_pch_backlight" = "0x11551155"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -28,6 +29,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x21fa inherit
device pci 00.0 on end # host bridge diff --git a/src/mainboard/lenovo/x230/variants/x230/overridetree.cb b/src/mainboard/lenovo/x230/variants/x230/overridetree.cb index 978d017..88507c4 100644 --- a/src/mainboard/lenovo/x230/variants/x230/overridetree.cb +++ b/src/mainboard/lenovo/x230/variants/x230/overridetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH register "docking_supported" = "1" register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }" diff --git a/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb b/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb index 1c0efd3..1990fe4 100644 --- a/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb +++ b/src/mainboard/lenovo/x230/variants/x230s/overridetree.cb @@ -12,6 +12,7 @@ register "gpu_panel_power_up_delay" = "2000" # 200ms
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x17aa 0x2209 inherit chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH # X230s does not support docking diff --git a/src/mainboard/msi/ms7707/devicetree.cb b/src/mainboard/msi/ms7707/devicetree.cb index 8e5df58..5147562 100644 --- a/src/mainboard/msi/ms7707/devicetree.cb +++ b/src/mainboard/msi/ms7707/devicetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -9,6 +10,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1462 0x7707 inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/roda/rv11/variants/rv11/devicetree.cb b/src/mainboard/roda/rv11/variants/rv11/devicetree.cb index 6cb77e3..f3490a0 100644 --- a/src/mainboard/roda/rv11/variants/rv11/devicetree.cb +++ b/src/mainboard/roda/rv11/variants/rv11/devicetree.cb @@ -18,6 +18,7 @@ register "gpu_pch_backlight" = "0x002e0000"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -30,6 +31,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller
diff --git a/src/mainboard/roda/rv11/variants/rw11/devicetree.cb b/src/mainboard/roda/rv11/variants/rw11/devicetree.cb index 2291f61..b0a7f1a 100644 --- a/src/mainboard/roda/rv11/variants/rw11/devicetree.cb +++ b/src/mainboard/roda/rv11/variants/rw11/devicetree.cb @@ -18,6 +18,7 @@ register "gpu_pch_backlight" = "0x13120000"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -30,6 +31,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller
diff --git a/src/mainboard/samsung/lumpy/devicetree.cb b/src/mainboard/samsung/lumpy/devicetree.cb index 1aab76d..18352e2 100644 --- a/src/mainboard/samsung/lumpy/devicetree.cb +++ b/src/mainboard/samsung/lumpy/devicetree.cb @@ -20,6 +20,7 @@ register "max_mem_clock_mhz" = "666"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -32,6 +33,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops ioapic_irq 4 INTA 0x10 ioapic_irq 4 INTB 0x11 ioapic_irq 4 INTC 0x12 diff --git a/src/mainboard/samsung/stumpy/devicetree.cb b/src/mainboard/samsung/stumpy/devicetree.cb index 90ed429..6beebbc 100644 --- a/src/mainboard/samsung/stumpy/devicetree.cb +++ b/src/mainboard/samsung/stumpy/devicetree.cb @@ -12,6 +12,7 @@ register "max_mem_clock_mhz" = "666"
device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # Magic APIC ID to locate this chip device lapic 0 on end @@ -24,6 +25,7 @@ end
device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x1ae0 0xc000 inherit device pci 00.0 on end # host bridge device pci 02.0 on end # vga controller diff --git a/src/mainboard/sapphire/pureplatinumh61/devicetree.cb b/src/mainboard/sapphire/pureplatinumh61/devicetree.cb index d5f6fda..97d97df 100644 --- a/src/mainboard/sapphire/pureplatinumh61/devicetree.cb +++ b/src/mainboard/sapphire/pureplatinumh61/devicetree.cb @@ -2,6 +2,7 @@
chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -11,6 +12,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH register "gen1_dec" = "0x000c0291" register "gen2_dec" = "0x000c0a01" diff --git a/src/mainboard/supermicro/x9sae/devicetree.cb b/src/mainboard/supermicro/x9sae/devicetree.cb index 05a187e..2ea79c8 100644 --- a/src/mainboard/supermicro/x9sae/devicetree.cb +++ b/src/mainboard/supermicro/x9sae/devicetree.cb @@ -7,6 +7,7 @@ register "gpu_dp_d_hotplug" = "4" register "gpu_panel_power_cycle_delay" = "4" device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -16,6 +17,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x15d9 0x0644 inherit
device pci 00.0 on end # Host bridge diff --git a/src/mainboard/supermicro/x9scl/devicetree.cb b/src/mainboard/supermicro/x9scl/devicetree.cb index 284d8f3..e143981 100644 --- a/src/mainboard/supermicro/x9scl/devicetree.cb +++ b/src/mainboard/supermicro/x9scl/devicetree.cb @@ -1,5 +1,6 @@ chip northbridge/intel/sandybridge device cpu_cluster 0 on + ops sandybridge_cpu_bus_ops chip cpu/intel/model_206ax # FIXME: check all registers register "acpi_c1" = "1" register "acpi_c2" = "3" @@ -9,6 +10,7 @@ end end device domain 0 on + ops sandybridge_pci_domain_ops subsystemid 0x15d9 0x0624 inherit device pci 00.0 on end # Host bridge device pci 01.0 on end # PEG diff --git a/src/northbridge/intel/sandybridge/northbridge.c b/src/northbridge/intel/sandybridge/northbridge.c index 521044b..ad85d68 100644 --- a/src/northbridge/intel/sandybridge/northbridge.c +++ b/src/northbridge/intel/sandybridge/northbridge.c @@ -52,7 +52,7 @@ return NULL; }
-static struct device_operations pci_domain_ops = { +struct device_operations sandybridge_pci_domain_ops = { .read_resources = pci_domain_read_resources, .set_resources = pci_domain_set_resources, .scan_bus = pci_domain_scan_bus, @@ -412,23 +412,12 @@ .devices = pci_device_ids, };
-static struct device_operations cpu_bus_ops = { +struct device_operations sandybridge_cpu_bus_ops = { .read_resources = noop_read_resources, .set_resources = noop_set_resources, .init = mp_cpu_bus_init, };
-static void enable_dev(struct device *dev) -{ - /* Set the operations if it is a special bus type */ - if (dev->path.type == DEVICE_PATH_DOMAIN) { - dev->ops = &pci_domain_ops; - } else if (dev->path.type == DEVICE_PATH_CPU_CLUSTER) { - dev->ops = &cpu_bus_ops; - } -} - struct chip_operations northbridge_intel_sandybridge_ops = { CHIP_NAME("Intel SandyBridge/IvyBridge integrated Northbridge") - .enable_dev = enable_dev, };