xref: /aosp_15_r20/external/coreboot/src/mainboard/pcengines/apu2/variants/apu3/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					register "reset_gpios" = "1"
22					device pnp 2e.0 off end
23					device pnp 2e.2 on
24						io 0x60 = 0x3f8
25						irq 0x70 = 4
26					end
27					device pnp 2e.3 on
28						io 0x60 = 0x2f8
29						irq 0x70 = 3
30					end
31					device pnp 2e.10 on
32						# UART C is conditionally turned on
33						io 0x60 = 0x3e8
34						irq 0x70 = 4
35					end
36					device pnp 2e.11 on
37						# UART D is conditionally turned on
38						io 0x60 = 0x2e8
39						irq 0x70 = 3
40					end
41					device pnp 2e.008 off end
42					device pnp 2e.108 on
43						io 0x60 = 0x220
44					end
45					# GPIO0 and GPIO1 are conditionally turned on
46					device pnp 2e.007 on end
47					device pnp 2e.107 on end
48					device pnp 2e.607 off end
49					device pnp 2e.f on end
50				end
51			end
52			device ref sdhci	on end
53			device ref ehci_2	on end	# USB EHCI2 usb[8:7] - muxed with XHCI
54		end
55	end
56end
57