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