aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-12 14:51:49 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2023-02-04 01:42:39 +0000
commitb5df65a9aaee50421913ace6d7a4b35e0ddff676 (patch)
treeaa885e29c4e724f4fb583bca5c93fe1243e95da2 /src/mainboard/asrock
parent9ce7935b490830a709c62e271bf269801520ec29 (diff)
mb/*: Replace SNB PCI devices with references from chipset.cb
Removing default on/off from mainboard devicetrees is left as a follow-up. Change-Id: I74c34a97ea4340fb11a0db422a48e1418221627e Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69502 Reviewed-by: Jakub Czapiga <jacz@semihalf.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/b75pro3-m/devicetree.cb52
-rw-r--r--src/mainboard/asrock/h77pro4-m/devicetree.cb52
2 files changed, 52 insertions, 52 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/devicetree.cb b/src/mainboard/asrock/b75pro3-m/devicetree.cb
index f45418fe75..163cdb33a9 100644
--- a/src/mainboard/asrock/b75pro3-m/devicetree.cb
+++ b/src/mainboard/asrock/b75pro3-m/devicetree.cb
@@ -15,13 +15,13 @@ chip northbridge/intel/sandybridge
register "gpu_pch_backlight" = "0x00000000"
device domain 0 on
- device pci 00.0 on
+ device ref host_bridge on
subsystemid 0x1849 0x0150
end
- device pci 01.0 on
+ device ref peg10 on
subsystemid 0x1849 0x0151
end
- device pci 02.0 on
+ device ref igd on
subsystemid 0x1849 0x0152
end
chip southbridge/intel/bd82x6x
@@ -39,53 +39,53 @@ chip northbridge/intel/sandybridge
register "spi_uvscc" = "0x2005"
register "spi_lvscc" = "0x2005"
- device pci 14.0 on # USB 3.0 Controller
+ device ref xhci on # USB 3.0 Controller
subsystemid 0x1849 0x1e31
end
- device pci 16.0 on # Management Engine Interface 1
+ device ref mei1 on # Management Engine Interface 1
subsystemid 0x1849 0x1e3a
end
- device pci 16.1 off # Management Engine Interface 2
+ device ref mei2 off # Management Engine Interface 2
end
- device pci 16.2 off # Management Engine IDE-R
+ device ref me_ide_r off # Management Engine IDE-R
end
- device pci 16.3 on # Management Engine KT
+ device ref me_kt on # Management Engine KT
subsystemid 0x1849 0x1e3d
end
- device pci 19.0 off # Intel Gigabit Ethernet
+ device ref gbe off # Intel Gigabit Ethernet
end
- device pci 1a.0 on # USB2 EHCI #2
+ device ref ehci2 on # USB2 EHCI #2
subsystemid 0x1849 0x1e2d
end
- device pci 1b.0 on # High Definition Audio Audio controller
+ device ref hda on # High Definition Audio Audio controller
subsystemid 0x1849 0x8892
end
- device pci 1c.0 on # PCIe Port #1
+ device ref pcie_rp1 on # PCIe Port #1
subsystemid 0x1849 0x1e10
end
- device pci 1c.1 off # PCIe Port #2
+ device ref pcie_rp2 off # PCIe Port #2
end
- device pci 1c.2 off # PCIe Port #3
+ device ref pcie_rp3 off # PCIe Port #3
end
- device pci 1c.3 off # PCIe Port #4
+ device ref pcie_rp4 off # PCIe Port #4
end
- device pci 1c.4 on # PCIe Port #5, ASMedia ASM1062 SATA Controller
+ device ref pcie_rp5 on # PCIe Port #5, ASMedia ASM1062 SATA Controller
subsystemid 0x1849 0x1e18
end
- device pci 1c.5 on # PCIe Port #6, Realtek PCIe GbE Controller
+ device ref pcie_rp6 on # PCIe Port #6, Realtek PCIe GbE Controller
subsystemid 0x1849 0x1e1a
end
- device pci 1c.6 off # PCIe Port #7
+ device ref pcie_rp7 off # PCIe Port #7
end
- device pci 1c.7 off # PCIe Port #8
+ device ref pcie_rp8 off # PCIe Port #8
end
- device pci 1d.0 on # USB2 EHCI #1
+ device ref ehci1 on # USB2 EHCI #1
subsystemid 0x1849 0x1e26
end
- device pci 1e.0 on # PCI bridge
+ device ref pci_bridge on # PCI bridge
subsystemid 0x1849 0x244e
end
- device pci 1f.0 on # LPC bridge
+ device ref lpc on # LPC bridge
subsystemid 0x1849 0x1e49
chip superio/nuvoton/nct6776
device pnp 2e.0 off end # Floppy
@@ -130,15 +130,15 @@ chip northbridge/intel/sandybridge
device pnp 2e.17 on end # GPIOA
end
end
- device pci 1f.2 on # SATA Controller 1
+ device ref sata1 on # SATA Controller 1
subsystemid 0x1849 0x1e02
end
- device pci 1f.3 on # SMBus
+ device ref smbus on # SMBus
subsystemid 0x1849 0x1e22
end
- device pci 1f.5 off # SATA Controller 2
+ device ref sata2 off # SATA Controller 2
end
- device pci 1f.6 off # Thermal
+ device ref thermal off # Thermal
end
end
end
diff --git a/src/mainboard/asrock/h77pro4-m/devicetree.cb b/src/mainboard/asrock/h77pro4-m/devicetree.cb
index 7d94706faa..646b9a3411 100644
--- a/src/mainboard/asrock/h77pro4-m/devicetree.cb
+++ b/src/mainboard/asrock/h77pro4-m/devicetree.cb
@@ -2,11 +2,11 @@
chip northbridge/intel/sandybridge
device domain 0 on
- device pci 00.0 on # Host bridge
+ device ref host_bridge on # Host bridge
subsystemid 0x1849 0x0100
end
- device pci 01.0 on end # PEG - slot "PCIE1"
- device pci 02.0 on # iGPU
+ device ref peg10 on end # PEG - slot "PCIE1"
+ device ref igd on # iGPU
subsystemid 0x1849 0x0102
end
chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
@@ -20,45 +20,45 @@ chip northbridge/intel/sandybridge
register "superspeed_capable_ports" = "0x0000000f"
register "xhci_overcurrent_mapping" = "0x00000c03"
register "xhci_switchable_ports" = "0x0000000f"
- device pci 14.0 on # USB 3.0 Controller
+ device ref xhci on # USB 3.0 Controller
subsystemid 0x1849 0x1e31
end
- device pci 16.0 on # Management Engine Interface 1
+ device ref mei1 on # Management Engine Interface 1
subsystemid 0x1849 0x1e3a
end
- device pci 16.1 off end # Management Engine Interface 2
- device pci 16.2 off end # Management Engine IDE-R
- device pci 16.3 off end # Management Engine KT
- device pci 19.0 off end # Intel Gigabit Ethernet
- device pci 1a.0 on # USB2 EHCI #2
+ device ref mei2 off end # Management Engine Interface 2
+ device ref me_ide_r off end # Management Engine IDE-R
+ device ref me_kt off end # Management Engine KT
+ device ref gbe off end # Intel Gigabit Ethernet
+ device ref ehci2 on # USB2 EHCI #2
subsystemid 0x1849 0x1e2d
end
- device pci 1b.0 on # High Definition Audio
+ device ref hda on # High Definition Audio
subsystemid 0x1849 0x8892
end
- device pci 1c.0 on # PCIe Port #1 - slot "PCIE4", 4 lanes
+ device ref pcie_rp1 on # PCIe Port #1 - slot "PCIE4", 4 lanes
subsystemid 0x1849 0x1e10
end
- device pci 1c.1 off end # PCIe Port #2
- device pci 1c.2 off end # PCIe Port #3
- device pci 1c.3 off end # PCIe Port #4
- device pci 1c.4 on # PCIe Port #5 - slot "PCIE2", 1 lane
+ device ref pcie_rp2 off end # PCIe Port #2
+ device ref pcie_rp3 off end # PCIe Port #3
+ device ref pcie_rp4 off end # PCIe Port #4
+ device ref pcie_rp5 on # PCIe Port #5 - slot "PCIE2", 1 lane
subsystemid 0x1849 0x1e18
end
- device pci 1c.5 on # PCIe Port #6 - RTL8111E GbE
+ device ref pcie_rp6 on # PCIe Port #6 - RTL8111E GbE
subsystemid 0x1849 0x1e1a
end
- device pci 1c.6 on # PCIe Port #7 - slot "PCIE3", 1 lane
+ device ref pcie_rp7 on # PCIe Port #7 - slot "PCIE3", 1 lane
subsystemid 0x1849 0x1e16
end
- device pci 1c.7 on # PCIe Port #8 - ASM1061 SATA Controller
+ device ref pcie_rp8 on # PCIe Port #8 - ASM1061 SATA Controller
subsystemid 0x1849 0x1e1e
end
- device pci 1d.0 on # USB2 EHCI #1
+ device ref ehci1 on # USB2 EHCI #1
subsystemid 0x1849 0x1e26
end
- device pci 1e.0 off end # PCI bridge
- device pci 1f.0 on # LPC bridge
+ device ref pci_bridge off end # PCI bridge
+ device ref lpc on # LPC bridge
subsystemid 0x1849 0x1e4a
chip superio/nuvoton/nct6776
device pnp 2e.0 off end # Floppy
@@ -118,14 +118,14 @@ chip northbridge/intel/sandybridge
device pnp 2e.17 off end # GPIOA
end
end
- device pci 1f.2 on # SATA (AHCI)
+ device ref sata1 on # SATA (AHCI)
subsystemid 0x1849 0x1e02
end
- device pci 1f.3 on # SMBus
+ device ref smbus on # SMBus
subsystemid 0x1849 0x1e22
end
- device pci 1f.5 off end # SATA (Legacy)
- device pci 1f.6 off end # Thermal
+ device ref sata2 off end # SATA (Legacy)
+ device ref thermal off end # Thermal
end
end
end