blob: bf7d67d81b670ed7b6ec226ec76ca06f28f0d16a [file] [log] [blame]
Martin Rothf95a11e2022-10-21 16:43:08 -06001# TODO: Update for Glinda
2
3chip soc/amd/glinda
4 device cpu_cluster 0 on
Felix Held8f2e5c92023-01-16 20:06:31 +01005 ops amd_cpu_bus_ops
Martin Rothf95a11e2022-10-21 16:43:08 -06006 end
7 device domain 0 on
8 ops glinda_pci_domain_ops
9 device pci 00.0 alias gnb on ops glinda_root_complex_operations end
10 device pci 00.2 alias iommu off ops amd_iommu_ops end
11
12 device pci 01.0 on end # Dummy Host Bridge
13
14 device pci 02.0 on end # Dummy Host Bridge, do not disable
15 device pci 02.1 alias gpp_bridge_0 off ops amd_external_pcie_gpp_ops end
16 device pci 02.2 alias gpp_bridge_1 off ops amd_external_pcie_gpp_ops end
17 device pci 02.3 alias gpp_bridge_2 off ops amd_external_pcie_gpp_ops end
18 device pci 02.4 alias gpp_bridge_3 off ops amd_external_pcie_gpp_ops end
19 device pci 02.5 alias gpp_bridge_4 off ops amd_external_pcie_gpp_ops end
20 device pci 02.6 alias gpp_bridge_5 off ops amd_external_pcie_gpp_ops end
21
22 device pci 08.0 on end # Dummy Host Bridge, do not disable
23 device pci 08.1 alias gpp_bridge_a off # Internal GPP Bridge 0 to Bus A
24 ops amd_internal_pcie_gpp_ops
25 device pci 0.0 alias gfx off ops amd_graphics_ops end # Internal GPU (GFX)
26 device pci 0.1 alias gfx_hda off end # Display HD Audio Controller (GFXAZ)
27 device pci 0.2 alias crypto off end # Crypto Coprocessor
28 device pci 0.3 alias xhci_0 off
Felix Helded6c9992023-06-07 20:50:08 +020029 ops xhci_pci_ops
Martin Rothf95a11e2022-10-21 16:43:08 -060030 chip drivers/usb/acpi
31 register "type" = "UPC_TYPE_HUB"
32 device usb 0.0 alias xhci_0_root_hub off
33 chip drivers/usb/acpi
34 device usb 3.0 alias usb3_port0 off end
35 end
36 chip drivers/usb/acpi
37 device usb 2.0 alias usb2_port0 off end
38 end
39 chip drivers/usb/acpi
40 device usb 2.1 alias usb2_port1 off end
41 end
42 end
43 end
44 end
45 device pci 0.4 alias xhci_1 off
Felix Helded6c9992023-06-07 20:50:08 +020046 ops xhci_pci_ops
Martin Rothf95a11e2022-10-21 16:43:08 -060047 chip drivers/usb/acpi
48 register "type" = "UPC_TYPE_HUB"
49 device usb 0.0 alias xhci_1_root_hub off
50 chip drivers/usb/acpi
51 device usb 3.0 alias usb3_port2 off end
52 end
53 chip drivers/usb/acpi
54 device usb 3.1 alias usb3_port3 off end
55 end
56 chip drivers/usb/acpi
57 device usb 2.0 alias usb2_port2 off end
58 end
59 chip drivers/usb/acpi
60 device usb 2.1 alias usb2_port3 off end
61 end
62 chip drivers/usb/acpi
63 device usb 2.2 alias usb2_port4 off end
64 end
65 end
66 end
67 end
68 device pci 0.5 alias acp off ops amd_acp_ops end # Audio Processor (ACP)
69 device pci 0.6 alias hda off end # Audio Processor HD Audio Controller (main AZ)
70 device pci 0.7 alias mp2 off end # Sensor Fusion Hub (MP2)
71 end
72 device pci 08.2 alias gpp_bridge_b off ops amd_internal_pcie_gpp_ops end # Internal GPP Bridge 1 to Bus B
73 device pci 08.3 alias gpp_bridge_c off # Internal GPP Bridge 2 to Bus C
74 ops amd_internal_pcie_gpp_ops
75 device pci 0.0 alias xhci_2 off end # Might also be a dummy device with different PCI DID
Felix Helded6c9992023-06-07 20:50:08 +020076 # When using this as XHCI2, the mainboard devicetree needs to add ops xhci_pci_ops
Martin Rothf95a11e2022-10-21 16:43:08 -060077 end
78
79 device pci 14.0 alias smbus on ops amd_smbus_ops end # primary FCH function
80 device pci 14.3 alias lpc_bridge on ops amd_lpc_ops end
81
Fred Reitbergeraab7f042022-11-03 15:26:47 -040082 device pci 18.0 alias data_fabric_0 on ops amd_data_fabric_ops end
83 device pci 18.1 alias data_fabric_1 on ops amd_data_fabric_ops end
84 device pci 18.2 alias data_fabric_2 on ops amd_data_fabric_ops end
85 device pci 18.3 alias data_fabric_3 on ops amd_data_fabric_ops end
86 device pci 18.4 alias data_fabric_4 on ops amd_data_fabric_ops end
87 device pci 18.5 alias data_fabric_5 on ops amd_data_fabric_ops end
88 device pci 18.6 alias data_fabric_6 on ops amd_data_fabric_ops end
89 device pci 18.7 alias data_fabric_7 on ops amd_data_fabric_ops end
Martin Rothf95a11e2022-10-21 16:43:08 -060090 end
91
92 device mmio 0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops end
93 device mmio 0xfedc3000 alias i2c_1 off ops soc_amd_i2c_mmio_ops end
94 device mmio 0xfedc4000 alias i2c_2 off ops soc_amd_i2c_mmio_ops end
95 device mmio 0xfedc5000 alias i2c_3 off ops soc_amd_i2c_mmio_ops end
96 device mmio 0xfedc9000 alias uart_0 off ops amd_uart_mmio_ops end
97 device mmio 0xfedca000 alias uart_1 off ops amd_uart_mmio_ops end
98 device mmio 0xfedce000 alias uart_2 off ops amd_uart_mmio_ops end
99 device mmio 0xfedcf000 alias uart_3 off ops amd_uart_mmio_ops end
100 device mmio 0xfedd1000 alias uart_4 off ops amd_uart_mmio_ops end
Martin Rothf95a11e2022-10-21 16:43:08 -0600101end