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