Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Kyösti Mälkki | 595ef3d | 2015-05-27 12:44:16 +0300 | [diff] [blame] | 3 | chip northbridge/amd/agesa/family16kb/root_complex |
| 4 | device cpu_cluster 0 on |
| 5 | chip cpu/amd/agesa/family16kb |
| 6 | device lapic 0 on end |
| 7 | end |
| 8 | end |
| 9 | |
| 10 | device domain 0 on |
| 11 | subsystemid 0x1022 0x1410 inherit |
Kyösti Mälkki | 760970f | 2019-01-08 09:32:44 +0200 | [diff] [blame] | 12 | chip northbridge/amd/agesa/family16kb |
| 13 | device pci 0.0 on end # Root Complex |
| 14 | device pci 1.0 on end # Internal Graphics P2P bridge 0x9835 |
| 15 | device pci 1.1 on end # Internal Multimedia |
| 16 | device pci 2.0 on end # PCIe Host Bridge |
| 17 | device pci 2.1 on end # x4 PCIe Slot |
| 18 | device pci 2.2 on end # PCIe Q7 Realtek GBit LAN |
| 19 | device pci 2.3 on end # PCIe CB Realtek GBit LAN |
| 20 | device pci 2.4 on end # x2 PCIe Microsemi FPGA |
| 21 | end #chip northbridge/amd/agesa/family16kb |
Kyösti Mälkki | 595ef3d | 2015-05-27 12:44:16 +0300 | [diff] [blame] | 22 | |
Kyösti Mälkki | 760970f | 2019-01-08 09:32:44 +0200 | [diff] [blame] | 23 | chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus |
| 24 | device pci 10.0 on end # XHCI HC0 |
| 25 | device pci 11.0 on end # SATA |
| 26 | device pci 12.0 on end # USB |
| 27 | device pci 12.2 on end # USB |
| 28 | device pci 13.0 on end # USB |
| 29 | device pci 13.2 on end # USB |
| 30 | device pci 14.0 on end # SM |
| 31 | device pci 14.2 on end # HDA 0x4383 |
| 32 | device pci 14.3 on # LPC 0x439d |
| 33 | chip superio/fintek/f81866d |
| 34 | register "hwm_amd_tsi_addr" = "0x98" # Set to AMD |
| 35 | register "hwm_amd_tsi_control" = "0x02" # Set to AMD |
| 36 | register "hwm_fan_select" = "0xC0" # Sets Fan2 to PWM |
| 37 | register "hwm_fan_mode" = "0xD5" # Sets FAN1-3 to Auto RPM mode |
| 38 | register "hwm_fan3_control" = "0x00" # Fan control 23kHz |
| 39 | register "hwm_fan2_temp_map_select" = "0x1E" # Fan control 23kHz |
| 40 | register "hwm_fan2_bound1" = "0x3C" # 60°C |
| 41 | register "hwm_fan2_bound2" = "0x32" # 50°C |
| 42 | register "hwm_fan2_bound3" = "0x28" # 40°C |
| 43 | register "hwm_fan2_bound4" = "0x1E" # 30°C |
| 44 | register "hwm_fan2_seg1_speed" = "0xFF" # 100% |
| 45 | register "hwm_fan2_seg2_speed" = "0xD9" # 85% |
| 46 | register "hwm_fan2_seg3_speed" = "0xB2" # 70% |
| 47 | register "hwm_fan2_seg4_speed" = "0x99" # 60% |
| 48 | register "hwm_fan2_seg5_speed" = "0x80" # 50% |
| 49 | register "hwm_temp_sens_type" = "0x04" # Sets temp sensor 1 type to to thermistor |
| 50 | device pnp 4e.0 off # Floppy |
| 51 | io 0x60 = 0x3f0 |
| 52 | irq 0x70 = 6 |
| 53 | drq 0x74 = 2 |
| 54 | end |
| 55 | device pnp 4e.3 off end # Parallel Port |
| 56 | device pnp 4e.4 on # Hardware Monitor |
| 57 | io 0x60 = 0x295 |
| 58 | irq 0x70 = 0 |
| 59 | end |
| 60 | device pnp 4e.5 off # Keyboard |
| 61 | io 0x60 = 0x60 |
| 62 | io 0x62 = 0x64 |
| 63 | irq 0x70 = 1 |
| 64 | end |
| 65 | device pnp 4e.6 off end # GPIO |
| 66 | device pnp 4e.7 on end # WDT |
| 67 | device pnp 4e.a off end # PME |
| 68 | device pnp 4e.10 on # COM1 |
| 69 | io 0x60 = 0x3f8 |
| 70 | irq 0x70 = 4 |
| 71 | end |
| 72 | device pnp 4e.11 on # COM2 |
| 73 | io 0x60 = 0x2f8 |
| 74 | irq 0x70 = 3 |
| 75 | end |
| 76 | device pnp 4e.12 on # COM3 |
| 77 | io 0x60 = 0x3e8 |
| 78 | irq 0x70 = 4 |
| 79 | end |
| 80 | device pnp 4e.13 on # COM4 |
| 81 | io 0x60 = 0x2e8 |
| 82 | irq 0x70 = 3 |
| 83 | end |
| 84 | device pnp 4e.14 off # COM5 |
| 85 | end |
| 86 | device pnp 4e.15 off # COM6 |
| 87 | end |
| 88 | end # f81866d |
| 89 | end #LPC |
| 90 | device pci 14.7 on end # SD |
| 91 | end #chip southbridge/amd/agesa/hudson |
Kyösti Mälkki | 595ef3d | 2015-05-27 12:44:16 +0300 | [diff] [blame] | 92 | |
Kyösti Mälkki | 760970f | 2019-01-08 09:32:44 +0200 | [diff] [blame] | 93 | chip northbridge/amd/agesa/family16kb |
Kyösti Mälkki | 595ef3d | 2015-05-27 12:44:16 +0300 | [diff] [blame] | 94 | device pci 18.0 on end |
| 95 | device pci 18.1 on end |
| 96 | device pci 18.2 on end |
| 97 | device pci 18.3 on end |
| 98 | device pci 18.4 on end |
| 99 | device pci 18.5 on end |
Kyösti Mälkki | 760970f | 2019-01-08 09:32:44 +0200 | [diff] [blame] | 100 | end |
Kyösti Mälkki | 595ef3d | 2015-05-27 12:44:16 +0300 | [diff] [blame] | 101 | |
Kyösti Mälkki | 595ef3d | 2015-05-27 12:44:16 +0300 | [diff] [blame] | 102 | end #domain |
| 103 | end #northbridge/amd/agesa/family16kb/root_complex |