summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-12 23:35:23 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-14 00:01:46 +0000
commitf19677aee867f0779878033e3221dbd6c58e61ff (patch)
tree72f076c387f9e5cb31bf1b22d229e5f0d8549b29
parent61b50a64bf6eea248484c75568a2270004fc757d (diff)
mb/amd/padmelon/devicetree: use device aliases
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I509daac75c80bdca808706f783b04843209cc313 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68380 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/amd/padmelon/devicetree.cb38
-rw-r--r--src/mainboard/amd/padmelon/override-merlinfalcon.cb3
2 files changed, 15 insertions, 26 deletions
diff --git a/src/mainboard/amd/padmelon/devicetree.cb b/src/mainboard/amd/padmelon/devicetree.cb
index d1f35962b9..a0ba7255bc 100644
--- a/src/mainboard/amd/padmelon/devicetree.cb
+++ b/src/mainboard/amd/padmelon/devicetree.cb
@@ -5,22 +5,18 @@ chip soc/amd/stoneyridge
device domain 0 on
subsystemid 0x1022 0x1410 inherit
- device pci 0.0 on end # Root Complex
- device pci 0.2 on end # IOMMU
- device pci 1.0 on end # Internal Graphics P2P bridge 0x9874
- device pci 1.1 on end # Internal Multimedia
- device pci 2.0 on end # PCIe Host Bridge
- device pci 2.2 on end # mini PCIe slot x1
- device pci 2.4 on end # LAN RTL8111F
- device pci 2.5 on end # LAN RTL8111F
- device pci 8.0 on end # PSP
- device pci 9.0 on end # HDA
- device pci 9.2 on end # HDA
- device pci 10.0 on end # USB xHCI
- device pci 11.0 on end # SATA
- device pci 12.0 on end # USB EHCI
- device pci 14.0 on end # SM
- device pci 14.3 on # LPC 0x439d
+ device ref iommu on end
+ device ref gfx on end
+ device ref gfx_hda on end
+ device ref gpp_bridge_1 on end # mini PCIe slot x1
+ device ref gpp_bridge_3 on end # LAN RTL8111F
+ device ref gpp_bridge_4 on end # LAN RTL8111F
+ device ref hda_bridge on end
+ device ref hda on end
+ device ref xhci on end
+ device ref sata on end
+ device ref ehci on end
+ device ref lpc_bridge on
chip superio/fintek/f81803a
device pnp 4e.1 on # COM1
io 0x60 = 0x3f8
@@ -39,13 +35,7 @@ chip soc/amd/stoneyridge
device pnp 4e.7 off end # WDT
device pnp 4e.a off end # PME
end # f81803a
- end # LPC
- device pci 14.7 on end # SD
- device pci 18.0 on end
- device pci 18.1 on end
- device pci 18.2 on end
- device pci 18.3 on end
- device pci 18.4 on end
- device pci 18.5 on end
+ end
+ device ref sdhci on end
end #domain
end #soc/amd/stoneyridge
diff --git a/src/mainboard/amd/padmelon/override-merlinfalcon.cb b/src/mainboard/amd/padmelon/override-merlinfalcon.cb
index 2abb241ba6..640c31ac23 100644
--- a/src/mainboard/amd/padmelon/override-merlinfalcon.cb
+++ b/src/mainboard/amd/padmelon/override-merlinfalcon.cb
@@ -7,7 +7,6 @@ chip soc/amd/stoneyridge
}"
device domain 0 on
- device pci 3.0 on end # GFX host bridge
- device pci 3.1 on end # GFX PCIe x8 slot
+ device ref gfx_bridge_0 on end # GFX PCIe x8 slot
end
end