xref: /aosp_15_r20/external/coreboot/src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1# SPDX-License-Identifier: GPL-2.0-only
2
3chip northbridge/amd/pi/00730F01
4	device domain 0 on
5		subsystemid 0x1022 0x1410 inherit
6		device ref iommu		on end
7		device ref gpp_bridge_0		on end	# mPCIe slot 2 (on GFX lane)
8		device ref gpp_bridge_1		on end	# LAN3
9		device ref gpp_bridge_2		on end	# LAN2
10		device ref gpp_bridge_3		on end	# LAN1
11		device ref gpp_bridge_4		on end	# mPCIe slot 1
12
13		chip southbridge/amd/pi/hudson		# it is under NB/SB Link, but on the same pci bus
14			device ref xhci		on end	# XHCI HC0 muxed with EHCI 2
15			device ref sata		on end
16			device ref ehci_0	on end	# USB EHCI0 usb[0:3] is connected
17			device ref ehci_1	on end	# USB EHCI1 usb[4:7]
18			device ref lpc_bridge	on
19				chip superio/nuvoton/nct5104d # SIO NCT5104D
20					register "irq_trigger_type" = "0"
21					device pnp 2e.0 off end
22					device pnp 2e.2 on
23						io 0x60 = 0x3f8
24						irq 0x70 = 4
25					end
26					device pnp 2e.3 on
27						io 0x60 = 0x2f8
28						irq 0x70 = 3
29					end
30					device pnp 2e.10 on
31						# UART C is conditionally turned on
32						io 0x60 = 0x3e8
33						irq 0x70 = 4
34					end
35					device pnp 2e.11 on
36						# UART D is conditionally turned on
37						io 0x60 = 0x2e8
38						irq 0x70 = 3
39					end
40					device pnp 2e.008 off end
41					device pnp 2e.108 off end
42					device pnp 2e.f off end
43					device pnp 2e.007 off end
44					device pnp 2e.107 off end
45					device pnp 2e.607 off end
46				end # SIO NCT5104D
47				chip drivers/pc80/tpm
48					device pnp 0c31.0 on end
49				end # LPC TPM
50			end
51			device ref ehci_2	on end	# USB EHCI2 usb[8:7] - muxed with XHCI
52		end
53	end
54end
55