Jon Murphy | 4f73242 | 2022-08-05 15:43:44 -0600 | [diff] [blame] | 1 | chip soc/amd/mendocino |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 2 | device cpu_cluster 0 on |
Arthur Heymans | 7f38077 | 2022-09-20 14:03:28 +0200 | [diff] [blame] | 3 | ops mendocino_cpu_bus_ops |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 4 | end |
| 5 | device domain 0 on |
Arthur Heymans | 7f38077 | 2022-09-20 14:03:28 +0200 | [diff] [blame] | 6 | ops mendocino_pci_domain_ops |
Arthur Heymans | 6a5d770 | 2022-10-05 14:41:51 +0200 | [diff] [blame] | 7 | device pci 00.0 alias gnb on ops mendocino_root_complex_operations end |
Arthur Heymans | b3dcb96 | 2022-10-05 21:54:29 +0200 | [diff] [blame^] | 8 | device pci 00.2 alias iommu off ops amd_iommu_ops end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 9 | |
Felix Held | 1c3b2a7 | 2022-01-13 00:00:15 +0100 | [diff] [blame] | 10 | device pci 01.0 on end # Dummy Host Bridge |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 11 | |
| 12 | device pci 02.0 on end # Dummy Host Bridge, do not disable |
Arthur Heymans | b171f76 | 2022-10-05 22:12:02 +0200 | [diff] [blame] | 13 | device pci 02.1 alias gpp_bridge_0 off ops amd_external_pcie_gpp_ops end |
| 14 | device pci 02.2 alias gpp_bridge_1 off ops amd_external_pcie_gpp_ops end |
| 15 | device pci 02.3 alias gpp_bridge_2 off ops amd_external_pcie_gpp_ops end |
| 16 | device pci 02.4 alias gpp_bridge_3 off ops amd_external_pcie_gpp_ops end |
| 17 | device pci 02.5 alias gpp_bridge_4 off ops amd_external_pcie_gpp_ops end |
| 18 | device pci 02.6 alias gpp_bridge_5 off ops amd_external_pcie_gpp_ops end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 19 | |
| 20 | device pci 08.0 on end # Dummy Host Bridge, do not disable |
| 21 | device pci 08.1 alias gpp_bridge_a off # Internal GPP Bridge 0 to Bus A |
Arthur Heymans | b171f76 | 2022-10-05 22:12:02 +0200 | [diff] [blame] | 22 | ops amd_internal_pcie_gpp_ops |
Arthur Heymans | 796a8f3 | 2022-10-05 22:15:58 +0200 | [diff] [blame] | 23 | device pci 0.0 alias gfx off ops amd_graphics_ops end # Internal GPU (GFX) |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 24 | device pci 0.1 alias gfx_hda off end # Display HD Audio Controller (GFXAZ) |
| 25 | device pci 0.2 alias crypto off end # Crypto Coprocessor |
| 26 | device pci 0.3 alias xhci_0 off |
| 27 | chip drivers/usb/acpi |
| 28 | register "type" = "UPC_TYPE_HUB" |
| 29 | device usb 0.0 alias xhci_0_root_hub off |
| 30 | chip drivers/usb/acpi |
| 31 | device usb 3.0 alias usb3_port0 off end |
| 32 | end |
| 33 | chip drivers/usb/acpi |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 34 | device usb 2.0 alias usb2_port0 off end |
| 35 | end |
| 36 | chip drivers/usb/acpi |
| 37 | device usb 2.1 alias usb2_port1 off end |
| 38 | end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 39 | end |
| 40 | end |
| 41 | end |
| 42 | device pci 0.4 alias xhci_1 off |
| 43 | chip drivers/usb/acpi |
| 44 | register "type" = "UPC_TYPE_HUB" |
| 45 | device usb 0.0 alias xhci_1_root_hub off |
| 46 | chip drivers/usb/acpi |
Felix Held | a3f8eda | 2022-01-13 18:11:11 +0100 | [diff] [blame] | 47 | device usb 3.0 alias usb3_port2 off end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 48 | end |
| 49 | chip drivers/usb/acpi |
Felix Held | a3f8eda | 2022-01-13 18:11:11 +0100 | [diff] [blame] | 50 | device usb 3.1 alias usb3_port3 off end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 51 | end |
| 52 | chip drivers/usb/acpi |
Felix Held | a3f8eda | 2022-01-13 18:11:11 +0100 | [diff] [blame] | 53 | device usb 2.0 alias usb2_port2 off end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 54 | end |
| 55 | chip drivers/usb/acpi |
Felix Held | a3f8eda | 2022-01-13 18:11:11 +0100 | [diff] [blame] | 56 | device usb 2.1 alias usb2_port3 off end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 57 | end |
| 58 | chip drivers/usb/acpi |
Felix Held | a3f8eda | 2022-01-13 18:11:11 +0100 | [diff] [blame] | 59 | device usb 2.2 alias usb2_port4 off end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 60 | end |
| 61 | end |
| 62 | end |
| 63 | end |
Arthur Heymans | 987ec88 | 2022-10-05 21:50:23 +0200 | [diff] [blame] | 64 | device pci 0.5 alias acp off ops amd_acp_ops end # Audio Processor (ACP) |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 65 | device pci 0.6 alias hda off end # Audio Processor HD Audio Controller (main AZ) |
| 66 | device pci 0.7 alias mp2 off end # Sensor Fusion Hub (MP2) |
| 67 | end |
Arthur Heymans | b171f76 | 2022-10-05 22:12:02 +0200 | [diff] [blame] | 68 | device pci 08.2 alias gpp_bridge_b off ops amd_internal_pcie_gpp_ops end # Internal GPP Bridge 1 to Bus B |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 69 | device pci 08.3 alias gpp_bridge_c off # Internal GPP Bridge 2 to Bus C |
Arthur Heymans | b171f76 | 2022-10-05 22:12:02 +0200 | [diff] [blame] | 70 | ops amd_internal_pcie_gpp_ops |
Jon Murphy | 6e368f7 | 2022-02-24 14:37:04 -0700 | [diff] [blame] | 71 | device pci 0.0 alias xhci_2 off end # Might also be a dummy device with different PCI DID |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 72 | end |
| 73 | |
Arthur Heymans | fd2bb9b | 2022-10-05 14:36:55 +0200 | [diff] [blame] | 74 | device pci 14.0 alias smbus on ops amd_smbus_ops end # primary FCH function |
Arthur Heymans | c6f029c | 2022-10-05 21:48:07 +0200 | [diff] [blame] | 75 | device pci 14.3 alias lpc_bridge on ops amd_lpc_ops end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 76 | |
Arthur Heymans | 6a5d770 | 2022-10-05 14:41:51 +0200 | [diff] [blame] | 77 | device pci 18.0 alias data_fabric_0 on ops mendocino_data_fabric_ops end |
| 78 | device pci 18.1 alias data_fabric_1 on ops mendocino_data_fabric_ops end |
| 79 | device pci 18.2 alias data_fabric_2 on ops mendocino_data_fabric_ops end |
| 80 | device pci 18.3 alias data_fabric_3 on ops mendocino_data_fabric_ops end |
| 81 | device pci 18.4 alias data_fabric_4 on ops mendocino_data_fabric_ops end |
| 82 | device pci 18.5 alias data_fabric_5 on ops mendocino_data_fabric_ops end |
| 83 | device pci 18.6 alias data_fabric_6 on ops mendocino_data_fabric_ops end |
| 84 | device pci 18.7 alias data_fabric_7 on ops mendocino_data_fabric_ops end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 85 | end |
| 86 | |
Arthur Heymans | 7f38077 | 2022-09-20 14:03:28 +0200 | [diff] [blame] | 87 | device mmio 0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops end |
| 88 | device mmio 0xfedc3000 alias i2c_1 off ops soc_amd_i2c_mmio_ops end |
| 89 | device mmio 0xfedc4000 alias i2c_2 off ops soc_amd_i2c_mmio_ops end |
| 90 | device mmio 0xfedc5000 alias i2c_3 off ops soc_amd_i2c_mmio_ops end |
| 91 | device mmio 0xfedc9000 alias uart_0 off ops mendocino_uart_mmio_ops end |
| 92 | device mmio 0xfedca000 alias uart_1 off ops mendocino_uart_mmio_ops end |
| 93 | device mmio 0xfedce000 alias uart_2 off ops mendocino_uart_mmio_ops end |
| 94 | device mmio 0xfedcf000 alias uart_3 off ops mendocino_uart_mmio_ops end |
| 95 | device mmio 0xfedd1000 alias uart_4 off ops mendocino_uart_mmio_ops end |
Felix Held | 65d73cc | 2022-10-13 20:58:47 +0200 | [diff] [blame] | 96 | device mmio 0xfedd5000 alias emmc off ops amd_emmc_mmio_ops end |
Felix Held | 3c44c62 | 2022-01-10 20:57:29 +0100 | [diff] [blame] | 97 | end |