blob: ef3bfa9a56e40790fbaf3ab3a6ba95b4ac936ccc [file] [log] [blame]
Felix Held5e0cd9f2022-08-12 17:25:27 +02001chip soc/amd/mendocino
Felix Held3c44c622022-01-10 20:57:29 +01002 device cpu_cluster 0 on
Felix Held8f2e5c92023-01-16 20:06:31 +01003 ops amd_cpu_bus_ops
Felix Held3c44c622022-01-10 20:57:29 +01004 end
5 device domain 0 on
Arthur Heymans7f380772022-09-20 14:03:28 +02006 ops mendocino_pci_domain_ops
Arthur Heymans6a5d7702022-10-05 14:41:51 +02007 device pci 00.0 alias gnb on ops mendocino_root_complex_operations end
Arthur Heymansb3dcb962022-10-05 21:54:29 +02008 device pci 00.2 alias iommu off ops amd_iommu_ops end
Felix Held3c44c622022-01-10 20:57:29 +01009
Felix Heldf5b09db2023-12-05 00:41:05 +010010 device pci 01.0 on end # Dummy device function
Felix Held3c44c622022-01-10 20:57:29 +010011
Felix Heldf5b09db2023-12-05 00:41:05 +010012 device pci 02.0 on end # Dummy device function, do not disable
Martin Rothc9ce5f62023-04-19 13:37:40 -060013 device pci 02.1 alias gpp_bridge_0 hidden ops amd_external_pcie_gpp_ops end
14 device pci 02.2 alias gpp_bridge_1 hidden ops amd_external_pcie_gpp_ops end
15 device pci 02.3 alias gpp_bridge_2 hidden ops amd_external_pcie_gpp_ops end
16 device pci 02.4 alias gpp_bridge_3 hidden ops amd_external_pcie_gpp_ops end
17 device pci 02.5 alias gpp_bridge_4 hidden ops amd_external_pcie_gpp_ops end
18 device pci 02.6 alias gpp_bridge_5 hidden ops amd_external_pcie_gpp_ops end
Felix Held3c44c622022-01-10 20:57:29 +010019
Felix Heldf5b09db2023-12-05 00:41:05 +010020 device pci 08.0 on end # Dummy device function, do not disable
Felix Held3c44c622022-01-10 20:57:29 +010021 device pci 08.1 alias gpp_bridge_a off # Internal GPP Bridge 0 to Bus A
Arthur Heymansb171f762022-10-05 22:12:02 +020022 ops amd_internal_pcie_gpp_ops
Arthur Heymans796a8f32022-10-05 22:15:58 +020023 device pci 0.0 alias gfx off ops amd_graphics_ops end # Internal GPU (GFX)
Felix Held3c44c622022-01-10 20:57:29 +010024 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
Felix Helded6c9992023-06-07 20:50:08 +020027 ops xhci_pci_ops
Felix Held3c44c622022-01-10 20:57:29 +010028 chip drivers/usb/acpi
29 register "type" = "UPC_TYPE_HUB"
30 device usb 0.0 alias xhci_0_root_hub off
31 chip drivers/usb/acpi
32 device usb 3.0 alias usb3_port0 off end
33 end
34 chip drivers/usb/acpi
Felix Held3c44c622022-01-10 20:57:29 +010035 device usb 2.0 alias usb2_port0 off end
36 end
37 chip drivers/usb/acpi
38 device usb 2.1 alias usb2_port1 off end
39 end
Felix Held3c44c622022-01-10 20:57:29 +010040 end
41 end
42 end
43 device pci 0.4 alias xhci_1 off
Felix Helded6c9992023-06-07 20:50:08 +020044 ops xhci_pci_ops
Felix Held3c44c622022-01-10 20:57:29 +010045 chip drivers/usb/acpi
46 register "type" = "UPC_TYPE_HUB"
47 device usb 0.0 alias xhci_1_root_hub off
48 chip drivers/usb/acpi
Felix Helda3f8eda2022-01-13 18:11:11 +010049 device usb 3.0 alias usb3_port2 off end
Felix Held3c44c622022-01-10 20:57:29 +010050 end
51 chip drivers/usb/acpi
Felix Helda3f8eda2022-01-13 18:11:11 +010052 device usb 3.1 alias usb3_port3 off end
Felix Held3c44c622022-01-10 20:57:29 +010053 end
54 chip drivers/usb/acpi
Felix Helda3f8eda2022-01-13 18:11:11 +010055 device usb 2.0 alias usb2_port2 off end
Felix Held3c44c622022-01-10 20:57:29 +010056 end
57 chip drivers/usb/acpi
Felix Helda3f8eda2022-01-13 18:11:11 +010058 device usb 2.1 alias usb2_port3 off end
Felix Held3c44c622022-01-10 20:57:29 +010059 end
60 chip drivers/usb/acpi
Felix Helda3f8eda2022-01-13 18:11:11 +010061 device usb 2.2 alias usb2_port4 off end
Felix Held3c44c622022-01-10 20:57:29 +010062 end
63 end
64 end
65 end
Arthur Heymans987ec882022-10-05 21:50:23 +020066 device pci 0.5 alias acp off ops amd_acp_ops end # Audio Processor (ACP)
Felix Held3c44c622022-01-10 20:57:29 +010067 device pci 0.6 alias hda off end # Audio Processor HD Audio Controller (main AZ)
68 device pci 0.7 alias mp2 off end # Sensor Fusion Hub (MP2)
69 end
Arthur Heymansb171f762022-10-05 22:12:02 +020070 device pci 08.2 alias gpp_bridge_b off ops amd_internal_pcie_gpp_ops end # Internal GPP Bridge 1 to Bus B
Felix Held3c44c622022-01-10 20:57:29 +010071 device pci 08.3 alias gpp_bridge_c off # Internal GPP Bridge 2 to Bus C
Arthur Heymansb171f762022-10-05 22:12:02 +020072 ops amd_internal_pcie_gpp_ops
Jon Murphy6e368f72022-02-24 14:37:04 -070073 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 +020074 # When using this as XHCI2, the mainboard devicetree needs to add ops xhci_pci_ops
Felix Held3c44c622022-01-10 20:57:29 +010075 end
76
Arthur Heymansfd2bb9b2022-10-05 14:36:55 +020077 device pci 14.0 alias smbus on ops amd_smbus_ops end # primary FCH function
Arthur Heymansc6f029c2022-10-05 21:48:07 +020078 device pci 14.3 alias lpc_bridge on ops amd_lpc_ops end
Felix Held3c44c622022-01-10 20:57:29 +010079
Fred Reitbergeraab7f042022-11-03 15:26:47 -040080 device pci 18.0 alias data_fabric_0 on ops amd_data_fabric_ops end
81 device pci 18.1 alias data_fabric_1 on ops amd_data_fabric_ops end
82 device pci 18.2 alias data_fabric_2 on ops amd_data_fabric_ops end
83 device pci 18.3 alias data_fabric_3 on ops amd_data_fabric_ops end
84 device pci 18.4 alias data_fabric_4 on ops amd_data_fabric_ops end
85 device pci 18.5 alias data_fabric_5 on ops amd_data_fabric_ops end
86 device pci 18.6 alias data_fabric_6 on ops amd_data_fabric_ops end
87 device pci 18.7 alias data_fabric_7 on ops amd_data_fabric_ops end
Felix Held3c44c622022-01-10 20:57:29 +010088 end
89
Arthur Heymans7f380772022-09-20 14:03:28 +020090 device mmio 0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops end
91 device mmio 0xfedc3000 alias i2c_1 off ops soc_amd_i2c_mmio_ops end
92 device mmio 0xfedc4000 alias i2c_2 off ops soc_amd_i2c_mmio_ops end
93 device mmio 0xfedc5000 alias i2c_3 off ops soc_amd_i2c_mmio_ops end
Felix Held97e61252022-10-18 19:03:20 +020094 device mmio 0xfedc9000 alias uart_0 off ops amd_uart_mmio_ops end
95 device mmio 0xfedca000 alias uart_1 off ops amd_uart_mmio_ops end
96 device mmio 0xfedce000 alias uart_2 off ops amd_uart_mmio_ops end
97 device mmio 0xfedcf000 alias uart_3 off ops amd_uart_mmio_ops end
98 device mmio 0xfedd1000 alias uart_4 off ops amd_uart_mmio_ops end
Felix Held3c44c622022-01-10 20:57:29 +010099end