src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / asus / f2a85-m / devicetree_f2a85-m_le.cb
blob926e1a0a4d9febd1ab18807e93e5b9179006e17b
2 # This file is part of the coreboot project.
5 # SPDX-License-Identifier: GPL-2.0-only
7 chip northbridge/amd/agesa/family15tn/root_complex
9 device cpu_cluster 0 on
10 chip cpu/amd/agesa/family15tn
11 device lapic 10 on end
12 end
13 end
15 device domain 0 on
16 subsystemid 0x1022 0x1410 inherit
17 chip northbridge/amd/agesa/family15tn # CPU side of HT root complex
19 chip northbridge/amd/agesa/family15tn # PCI side of HT root complex
20 device pci 0.0 on end # Root Complex
21 device pci 0.2 on end # IOMMU
22 device pci 1.0 on end # Internal Graphics P2P bridge 0x99XX
23 device pci 1.1 on end # Internal Multimedia
24 device pci 2.0 on end # PCIE SLOT0 x16 blue
25 device pci 3.0 off end # unused?
26 device pci 4.0 on end # PCIE 4x black
27 device pci 5.0 off end # unused?
28 device pci 6.0 off end # unused?
29 device pci 7.0 off end # LAN
30 device pci 8.0 off end # NB/SB Link P2P bridge
31 end #chip northbridge/amd/agesa/family15tn # PCI side of HT root complex
33 chip southbridge/amd/agesa/hudson # it is under NB/SB Link, but on the same pci bus
34 device pci 10.0 on end # XHCI HC0
35 device pci 10.1 on end # XHCI HC1
36 device pci 11.0 on end # SATA
37 device pci 12.0 on end # USB
38 device pci 12.2 on end # USB
39 device pci 13.0 on end # USB
40 device pci 13.2 on end # USB
41 device pci 14.0 on end # SMBUS
42 device pci 14.1 off end # IDE 0x439c
43 device pci 14.2 on end # HDA 0x4383
44 device pci 14.3 on # LPC 0x439d
45 chip superio/ite/it8728f
46 register "TMPIN1.mode" = "THERMAL_RESISTOR"
47 register "TMPIN2.mode" = "THERMAL_RESISTOR"
48 register "TMPIN3.mode" = "THERMAL_RESISTOR"
50 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
51 register "FAN1.smart.tmpin" = "1"
52 register "FAN1.smart.tmp_off" = "0x80" # never
53 register "FAN1.smart.tmp_start" = "20"
54 register "FAN1.smart.tmp_full" = "70"
55 register "FAN1.smart.tmp_delta" = "0"
56 register "FAN1.smart.smoothing" = "1"
57 register "FAN1.smart.pwm_start" = "20"
58 register "FAN1.smart.slope" = "32"
60 # Enable tacho reading for chassis fan.
61 register "FAN2.mode" = "FAN_MODE_OFF"
63 device pnp 2e.0 off # Floppy
64 io 0x60 = 0x3f0
65 irq 0x70 = 6
66 drq 0x74 = 2
67 end
68 device pnp 2e.1 on # Com1
69 io 0x60 = 0x3f8
70 irq 0x70 = 4
71 end
72 device pnp 2e.2 off # Com2
73 io 0x60 = 0x2f8
74 irq 0x70 = 3
75 end
76 device pnp 2e.3 off # Parallel Port
77 io 0x60 = 0x378
78 irq 0x70 = 7
79 end
80 device pnp 2e.4 on # Env Controller
81 io 0x60 = 0x290
82 io 0x62 = 0x220
83 irq 0x70 = 0
84 end
85 device pnp 2e.5 on # Keyboard
86 io 0x60 = 0x60
87 io 0x62 = 0x64
88 irq 0x70 = 1
89 end
90 device pnp 2e.6 off # Mouse
91 irq 0x70 = 12
92 end
93 device pnp 2e.7 on # GPIO
94 io 0x60 = 0x228 #SMI
95 io 0x62 = 0x300 #Simple I/O
96 io 0x64 = 0x238 #Phony resource IT8603E does not have it
97 irq 0x70 = 0
98 end
99 device pnp 2e.a off end # CIR
100 end #superio/ite/it8728f
101 end #device pci 14.3 # LPC
102 device pci 14.4 on end # PCI 0x4384
103 device pci 14.5 on end # USB 2
104 device pci 14.6 off end # Gec
105 device pci 14.7 off end # SD
106 device pci 15.0 on end # PCIe 0 - onboard PCIe 1x
107 device pci 15.1 on end # PCIe 1 onboard gigabit
108 device pci 15.2 off end # unused
109 device pci 15.3 off end # unused
110 end #chip southbridge/amd/agesa/hudson
112 device pci 18.0 on end
113 device pci 18.1 on end
114 device pci 18.2 on end
115 device pci 18.3 on end
116 device pci 18.4 on end
117 device pci 18.5 on end
119 register "spdAddrLookup" = "
121 { {0xA0, 0x00}, {0xA2, 0x00}, }, // socket 0 - Channel 0 & 1 - 8-bit SPD addresses
122 { {0x00, 0x00}, {0x00, 0x00}, }, // socket 1 - Channel 0 & 1 - 8-bit SPD addresses
125 end #chip northbridge/amd/agesa/family15tn # CPU side of HT root complex
126 end #domain
127 end #chip northbridge/amd/agesa/family15tn/root_complex