fbad32ea12f7b68cce22810be3f837d587b6bdaf
[coreboot.git] / src / mainboard / gigabyte / m57sli / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex         # Root complex
2   device lapic_cluster 0 on                     # (L)APIC cluster
3     chip cpu/amd/socket_AM2                     # CPU socket
4       device lapic 0 on end                     # Local APIC of the CPU
5     end
6 end
7 device pci_domain 0 on                          # PCI domain
8   chip northbridge/amd/amdk8                    # Northbridge / RAM controller
9     device pci 18.0 on                          # Link 0 == LDT 0
10       chip southbridge/nvidia/mcp55             # Southbridge
11         device pci 0.0 on end                   # HT
12         device pci 1.0 on                       # LPC
13           chip superio/ite/it8716f              # Super I/O
14             device pnp 2e.0 on                  # Floppy and any LDN
15               # Watchdog from CLKIN (24 MHz)
16               irq 0x23 = 0x11
17               # Serial Flash (SPI only)
18               # 0x24 = 0x1a
19               io 0x60 = 0x3f0
20               irq 0x70 = 6
21               drq 0x74 = 2
22             end
23             device pnp 2e.1 on                  # Com1
24               io 0x60 = 0x3f8
25               irq 0x70 = 4
26             end
27             device pnp 2e.2 off                 # Com2
28               io 0x60 = 0x2f8
29               irq 0x70 = 3
30             end
31             device pnp 2e.3 on                  # Parallel port
32               io 0x60 = 0x378
33               irq 0x70 = 7
34             end
35             device pnp 2e.4 on                  # Embedded controller
36               io 0x60 = 0x290
37               io 0x62 = 0x230
38               irq 0x70 = 9
39             end
40             device pnp 2e.5 on                  # PS/2 keyboard
41               io 0x60 = 0x60
42               io 0x62 = 0x64
43               irq 0x70 = 1
44             end
45             device pnp 2e.6 on                  # PS/2 mouse
46               irq 0x70 = 12
47             end
48             device pnp 2e.7 on                  # GPIO, SPI flash
49               # Pin 84 is not GP10
50               irq 0x25 = 0x0
51               # Pin 21 is GP26, pin 26 is GP21, pin 27 is GP20
52               irq 0x26 = 0x43
53               # Pin 13 is GP35
54               irq 0x27 = 0x20
55               # Pin 70 is not GP46
56               # irq 0x28 = 0x0
57               # Pin 6,3,128,127,126 is GP63,64,65,66,67
58               irq 0x29 = 0x81
59               # Enable FAN_CTL/FAN_TAC set to 5 (pin 21, 23),
60               # enable FAN_CTL/FAN_TAC set to 4 (pin 20, 22),
61               # pin 48 is PCIRST5#, pin91 is PCIRSTIN#, VIN7 is internal
62               # voltage divider for VCCH5V, pin 95 is ATXPG, VIN3 is internal
63               # voltage divider for VCC5V
64               # irq 0x2c = 0x1f
65               # Simple I/O base
66               io 0x62 = 0x800
67               # Serial Flash I/O (SPI only)
68               io 0x64 = 0x820
69               # Watchdog force timeout (parallel flash only)
70               # irq 0x71 = 0x1
71               # No WDT interrupt
72               irq 0x72 = 0x0
73               # GPIO pin set 1 disable internal pullup
74               irq 0xb8 = 0x0
75               # GPIO pin set 5 enable internal pullup
76               irq 0xbc = 0x01
77               # SIO pin set 1 alternate function
78               # irq 0xc0 = 0x0
79               # SIO pin set 2 mixed function
80               irq 0xc1 = 0x43
81               # SIO pin set 3 mixed function
82               irq 0xc2 = 0x20
83               # SIO pin set 4 alternate function
84               # irq 0xc3 = 0x0
85               # SIO pin set 1 input mode
86               # irq 0xc8 = 0x0
87               # SIO pin set 2 input mode
88               irq 0xc9 = 0x0
89               # SIO pin set 4 input mode
90               # irq 0xcb = 0x0
91               # Generate SMI# on EC IRQ
92               # irq 0xf0 = 0x10
93               # SMI# level trigger
94               # irq 0xf1 = 0x40
95               # HWMON alert beep pin location
96               irq 0xf6 = 0x28
97             end
98             device pnp 2e.8 off                 # MIDI
99               io 0x60 = 0x300
100               irq 0x70 = 10
101             end
102             device pnp 2e.9 off                 # Game port
103               io 0x60 = 0x220
104             end
105             device pnp 2e.a off end             # Consumer IR
106           end
107         end
108         device pci 1.1 on                       # SM 0
109           chip drivers/generic/generic          # DIMM 0-0-0
110             device i2c 50 on end
111           end
112           chip drivers/generic/generic          # DIMM 0-0-1
113             device i2c 51 on end
114           end
115           chip drivers/generic/generic          # DIMM 0-1-0
116             device i2c 52 on end
117           end
118           chip drivers/generic/generic          # DIMM 0-1-1
119             device i2c 53 on end
120           end
121           chip drivers/generic/generic          # DIMM 1-0-0
122             device i2c 54 on end
123           end
124           chip drivers/generic/generic          # DIMM 1-0-1
125             device i2c 55 on end
126           end
127           chip drivers/generic/generic          # DIMM 1-1-0
128             device i2c 56 on end
129           end
130           chip drivers/generic/generic          # DIMM 1-1-1
131             device i2c 57 on end
132           end
133         end
134         device pci 2.0 on end                   # USB 1.1
135         device pci 2.1 on end                   # USB 2
136         device pci 4.0 on end                   # IDE
137         device pci 5.0 on end                   # SATA 0
138         device pci 5.1 on end                   # SATA 1
139         device pci 5.2 on end                   # SATA 2
140         device pci 6.0 on end                   # PCI
141         device pci 6.1 on end                   # AUDIO
142         device pci 8.0 on end                   # NIC
143         device pci 9.0 off end                  # N/A
144         device pci a.0 on end                   # PCI E 5
145         device pci b.0 on end                   # PCI E 4
146         device pci c.0 on end                   # PCI E 3
147         device pci d.0 on end                   # PCI E 2
148         device pci e.0 on end                   # PCI E 1
149         device pci f.0 on end                   # PCI E 0
150         register "ide0_enable" = "1"
151         register "sata0_enable" = "1"
152         register "sata1_enable" = "1"
153         # 1: SMBus under 2e.8, 2: SM0 3: SM1
154         register "mac_eeprom_smbus" = "3"
155         register "mac_eeprom_addr" = "0x51"
156         end
157       end
158       device pci 18.0 on end                    # Link 1
159       device pci 18.0 on end
160       device pci 18.1 on end
161       device pci 18.2 on end
162       device pci 18.3 on end
163     end
164   end
165   # chip drivers/generic/debug
166   #   device pnp 0.0 off end                    # chip name
167   #   device pnp 0.1 on end                     # pci_regs_all
168   #   device pnp 0.2 on end                     # mem
169   #   device pnp 0.3 off end                    # cpuid
170   #   device pnp 0.4 on end                     # smbus_regs_all
171   #   device pnp 0.5 off end                    # dual core msr
172   #   device pnp 0.6 off end                    # cache size
173   #   device pnp 0.7 off end                    # tsc
174   #   device pnp 0.8 off end                    # io
175   #   device pnp 0.9 off end                    # io
176   # end
177 end