| 1 |
# TODO: Update for Glinda |
| 2 |
|
| 3 |
chip soc/amd/glinda |
| 4 |
device cpu_cluster 0 on |
| 5 |
ops amd_cpu_bus_ops |
| 6 |
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 device function |
| 13 |
device pci 01.1 alias usb4_pcie_bridge_0 off end |
| 14 |
device pci 01.2 alias usb4_pcie_bridge_1 off end |
| 15 |
device pci 01.3 alias usb4_pcie_bridge_2 off end |
| 16 |
|
| 17 |
# The PCIe GPP aliases in this SoC match the device and function numbers |
| 18 |
device pci 02.0 on end # Dummy device function, do not disable |
| 19 |
device pci 02.1 alias gpp_bridge_2_1 off ops amd_external_pcie_gpp_ops end |
| 20 |
device pci 02.2 alias gpp_bridge_2_2 off ops amd_external_pcie_gpp_ops end |
| 21 |
device pci 02.3 alias gpp_bridge_2_3 off ops amd_external_pcie_gpp_ops end |
| 22 |
device pci 02.4 alias gpp_bridge_2_4 off ops amd_external_pcie_gpp_ops end |
| 23 |
device pci 02.5 alias gpp_bridge_2_5 off ops amd_external_pcie_gpp_ops end |
| 24 |
device pci 02.6 alias gpp_bridge_2_6 off ops amd_external_pcie_gpp_ops end |
| 25 |
|
| 26 |
device pci 03.0 on end # Dummy device function, do not disable |
| 27 |
device pci 03.1 alias gpp_bridge_3_1 off ops amd_external_pcie_gpp_ops end |
| 28 |
device pci 03.2 alias gpp_bridge_3_2 off ops amd_external_pcie_gpp_ops end |
| 29 |
device pci 03.3 alias gpp_bridge_3_3 off ops amd_external_pcie_gpp_ops end |
| 30 |
device pci 03.4 alias gpp_bridge_3_4 off ops amd_external_pcie_gpp_ops end |
| 31 |
device pci 03.5 alias gpp_bridge_3_5 off ops amd_external_pcie_gpp_ops end |
| 32 |
device pci 03.6 alias gpp_bridge_3_6 off ops amd_external_pcie_gpp_ops end |
| 33 |
|
| 34 |
device pci 08.0 on end # Dummy device function, do not disable |
| 35 |
device pci 08.1 alias gpp_bridge_a on # Internal GPP Bridge 0 to Bus A |
| 36 |
ops amd_internal_pcie_gpp_ops |
| 37 |
device pci 0.0 alias gfx off ops amd_graphics_ops end # Internal GPU (GFX) |
| 38 |
device pci 0.1 alias gfx_hda off end # Display HD Audio Controller (GFXAZ) |
| 39 |
device pci 0.2 alias crypto off end # Crypto Coprocessor |
| 40 |
device pci 0.4 alias xhci_1 off |
| 41 |
ops xhci_pci_ops |
| 42 |
chip drivers/usb/acpi |
| 43 |
register "type" = "UPC_TYPE_HUB" |
| 44 |
device usb 0.0 alias xhci_1_root_hub off |
| 45 |
chip drivers/usb/acpi |
| 46 |
device usb 3.0 alias usb3_port7 off end |
| 47 |
end |
| 48 |
chip drivers/usb/acpi |
| 49 |
device usb 2.0 alias usb2_port7 off end |
| 50 |
end |
| 51 |
end |
| 52 |
end |
| 53 |
end |
| 54 |
device pci 0.5 alias acp off ops amd_acp_ops end # Audio Processor (ACP) |
| 55 |
device pci 0.6 alias hda off end # Audio Processor HD Audio Controller (main AZ) |
| 56 |
device pci 0.7 alias mp2 off end # Sensor Fusion Hub (MP2) |
| 57 |
end |
| 58 |
|
| 59 |
device pci 08.2 alias gpp_bridge_b on # Internal GPP Bridge 1 to Bus B |
| 60 |
ops amd_internal_pcie_gpp_ops |
| 61 |
device pci 0.0 on end # dummy, do not disable |
| 62 |
device pci 0.1 alias npu off end # Neural Processing Unit (NPU) |
| 63 |
end |
| 64 |
|
| 65 |
device pci 08.3 alias gpp_bridge_c on # Internal GPP Bridge 2 to Bus C |
| 66 |
ops amd_internal_pcie_gpp_ops |
| 67 |
|
| 68 |
device pci 0.0 alias xhci_0 off |
| 69 |
ops xhci_pci_ops |
| 70 |
chip drivers/usb/acpi |
| 71 |
register "type" = "UPC_TYPE_HUB" |
| 72 |
device usb 0.3 alias xhci_0_root_hub off |
| 73 |
chip drivers/usb/acpi |
| 74 |
device usb 3.0 alias usb3_port2 off end |
| 75 |
end |
| 76 |
chip drivers/usb/acpi |
| 77 |
device usb 3.1 alias usb3_port3 off end |
| 78 |
end |
| 79 |
chip drivers/usb/acpi |
| 80 |
device usb 2.0 alias usb2_port2 off end |
| 81 |
end |
| 82 |
chip drivers/usb/acpi |
| 83 |
device usb 2.1 alias usb2_port3 off end |
| 84 |
end |
| 85 |
chip drivers/usb/acpi |
| 86 |
device usb 2.2 alias usb2_port4 off end |
| 87 |
end |
| 88 |
chip drivers/usb/acpi |
| 89 |
device usb 2.3 alias usb2_port5 off end |
| 90 |
end |
| 91 |
chip drivers/usb/acpi |
| 92 |
device usb 2.4 alias usb2_port6 off end |
| 93 |
end |
| 94 |
end |
| 95 |
end |
| 96 |
end |
| 97 |
device pci 0.3 alias usb4_xhci_0 off |
| 98 |
ops xhci_pci_ops |
| 99 |
chip drivers/usb/acpi |
| 100 |
register "type" = "UPC_TYPE_HUB" |
| 101 |
device usb 0.0 alias usb4_xhci_0_root_hub off |
| 102 |
chip drivers/usb/acpi |
| 103 |
device usb 3.0 alias usb3_port0 off end |
| 104 |
end |
| 105 |
chip drivers/usb/acpi |
| 106 |
device usb 2.0 alias usb2_port0 off end |
| 107 |
end |
| 108 |
end |
| 109 |
end |
| 110 |
end |
| 111 |
device pci 0.4 alias usb4_xhci_1 off |
| 112 |
ops xhci_pci_ops |
| 113 |
chip drivers/usb/acpi |
| 114 |
register "type" = "UPC_TYPE_HUB" |
| 115 |
device usb 0.0 alias usb4_xhci_1_root_hub off |
| 116 |
chip drivers/usb/acpi |
| 117 |
device usb 3.0 alias usb3_port1 off end |
| 118 |
end |
| 119 |
chip drivers/usb/acpi |
| 120 |
device usb 2.0 alias usb2_port1 off end |
| 121 |
end |
| 122 |
end |
| 123 |
end |
| 124 |
end |
| 125 |
device pci 0.5 alias usb4_router_0 off end |
| 126 |
device pci 0.6 alias usb4_router_1 off end |
| 127 |
end |
| 128 |
|
| 129 |
device pci 14.0 alias smbus on ops amd_smbus_ops end # primary FCH function |
| 130 |
device pci 14.3 alias lpc_bridge on ops amd_lpc_ops end |
| 131 |
|
| 132 |
device pci 18.0 alias data_fabric_0 on ops amd_data_fabric_ops end |
| 133 |
device pci 18.1 alias data_fabric_1 on ops amd_data_fabric_ops end |
| 134 |
device pci 18.2 alias data_fabric_2 on ops amd_data_fabric_ops end |
| 135 |
device pci 18.3 alias data_fabric_3 on ops amd_data_fabric_ops end |
| 136 |
device pci 18.4 alias data_fabric_4 on ops amd_data_fabric_ops end |
| 137 |
device pci 18.5 alias data_fabric_5 on ops amd_data_fabric_ops end |
| 138 |
device pci 18.6 alias data_fabric_6 on ops amd_data_fabric_ops end |
| 139 |
device pci 18.7 alias data_fabric_7 on ops amd_data_fabric_ops end |
| 140 |
end |
| 141 |
|
| 142 |
device mmio 0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops end |
| 143 |
device mmio 0xfedc3000 alias i2c_1 off ops soc_amd_i2c_mmio_ops end |
| 144 |
device mmio 0xfedc4000 alias i2c_2 off ops soc_amd_i2c_mmio_ops end |
| 145 |
device mmio 0xfedc5000 alias i2c_3 off ops soc_amd_i2c_mmio_ops end |
| 146 |
device mmio 0xfedc9000 alias uart_0 off ops amd_uart_mmio_ops end |
| 147 |
device mmio 0xfedca000 alias uart_1 off ops amd_uart_mmio_ops end |
| 148 |
device mmio 0xfedce000 alias uart_2 off ops amd_uart_mmio_ops end |
| 149 |
device mmio 0xfedcf000 alias uart_3 off ops amd_uart_mmio_ops end |
| 150 |
device mmio 0xfedd1000 alias uart_4 off ops amd_uart_mmio_ops end |
| 151 |
device mmio 0xfedd2000 alias i3c_0 off ops soc_amd_i3c_mmio_ops end |
| 152 |
device mmio 0xfedd3000 alias i3c_1 off ops soc_amd_i3c_mmio_ops end |
| 153 |
device mmio 0xfedd4000 alias i3c_2 off ops soc_amd_i3c_mmio_ops end |
| 154 |
device mmio 0xfedd6000 alias i3c_3 off ops soc_amd_i3c_mmio_ops end |
| 155 |
end |