d031947d2d4a245f30af74d89d84e56adad76d88
[coreboot.git] / src / mainboard / tyan / s2895 / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex
2         device apic_cluster 0 on
3                 chip cpu/amd/socket_940
4                         device apic 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 #  northbridge
10                                 #  devices on link 0, link 0 == LDT 0
11                                 chip southbridge/nvidia/ck804
12                                         device pci 0.0 on end   # HT
13                                         device pci 1.0 on # LPC
14                                                 chip superio/smsc/lpc47b397
15                                                         device pnp 2e.0 on #  Floppy
16                                                                 io 0x60 = 0x3f0
17                                                                 irq 0x70 = 6
18                                                                 drq 0x74 = 2
19                                                         end
20                                                         device pnp 2e.3 on #  Parallel Port
21                                                                 io 0x60 = 0x378
22                                                                 irq 0x70 = 7
23                                                                 drq 0x74 = 4
24                                                         end
25                                                         device pnp 2e.4 on #  Com1
26                                                                 io 0x60 = 0x3f8
27                                                                 irq 0x70 = 4
28                                                         end
29                                                         device pnp 2e.5 off #  Com2
30                                                                 io 0x60 = 0x2f8
31                                                                 irq 0x70 = 3
32                                                         end
33                                                         device pnp 2e.7 on #  Keyboard
34                                                                 io 0x60 = 0x60
35                                                                 io 0x62 = 0x64
36                                                                 irq 0x70 = 1
37                                                                 irq 0x72 = 12
38                                                         end
39                                                         device pnp 2e.8 on # HW Monitor
40                                                                 io 0x60 = 0x480
41                                                                 chip drivers/generic/generic # LM95221 CPU temp
42                                                                         device i2c 2b on end
43                                                                 end
44                                                                 chip drivers/generic/generic # EMCT03
45                                                                         device i2c 54 on end
46                                                                 end
47                                                         end
48                                                         device  pnp 2e.a on #  RT
49                                                                 io 0x60 = 0x400
50                                                         end
51                                                 end
52                                         end
53                                         device pci 1.1 on # SM 0
54                                                 chip drivers/generic/generic #dimm 0-0-0
55                                                         device i2c 50 on end
56                                                 end
57                                                 chip drivers/generic/generic #dimm 0-0-1
58                                                         device i2c 51 on end
59                                                 end
60                                                 chip drivers/generic/generic #dimm 0-1-0
61                                                         device i2c 52 on end
62                                                 end
63                                                 chip drivers/generic/generic #dimm 0-1-1
64                                                         device i2c 53 on end
65                                                 end
66                                                 chip drivers/generic/generic #dimm 1-0-0
67                                                         device i2c 54 on end
68                                                 end
69                                                 chip drivers/generic/generic #dimm 1-0-1
70                                                         device i2c 55 on end
71                                                 end
72                                                 chip drivers/generic/generic #dimm 1-1-0
73                                                         device i2c 56 on end
74                                                 end
75                                                 chip drivers/generic/generic #dimm 1-1-1
76                                                         device i2c 57 on end
77                                                 end
78                                         end # SM
79                                         device pci 1.1 on # SM 1
80                                                 chip drivers/generic/generic #MAC EEPROM
81                                                         device i2c 51 on end
82                                                 end
83
84                                         end # SM
85                                         device pci 2.0 on end # USB 1.1
86                                         device pci 2.1 on end # USB 2
87                                         device pci 4.0 on end # ACI
88                                         device pci 4.1 off end # MCI
89                                         device pci 6.0 on end # IDE
90                                         device pci 7.0 on end # SATA 1
91                                         device pci 8.0 on end # SATA 0
92                                         device pci 9.0 on end # PCI
93                                         device pci a.0 on end # NIC
94                                         device pci b.0 off end # PCI E 3
95                                         device pci c.0 off end # PCI E 2
96                                         device pci d.0 off end # PCI E 1
97                                         device pci e.0 on end # PCI E 0
98                                         register "ide0_enable" = "1"
99                                         register "ide1_enable" = "1"
100                                         register "sata0_enable" = "1"
101                                         register "sata1_enable" = "1"
102                                         register "mac_eeprom_smbus" = "3" # 1: smbus under 2e.8, 2: SM0 3: SM1
103                                         register "mac_eeprom_addr" = "0x51"
104                                 end
105                         end #  device pci 18.0
106                         device pci 18.0 on end # Link 1
107                         device pci 18.0 on
108                         #  devices on link 2, link 2 == LDT 2
109                                 chip southbridge/amd/amd8131
110                                         # the on/off keyword is mandatory
111                                         device pci 0.0 on end
112                                         device pci 0.1 on end
113                                         device pci 1.0 on
114                                                 device pci 6.0 on end # lsi scsi
115                                                 device pci 6.1 on end
116                                         end
117                                         device pci 1.1 on end
118                                 end
119                         end # device pci 18.0
120                         device pci 18.1 on end
121                         device pci 18.2 on end
122                         device pci 18.3 on end
123                 end #mc0
124
125                 chip northbridge/amd/amdk8
126                         device pci 19.0 on #  northbridge
127                                 #  devices on link 0, link 0 == LDT 0
128                                 chip southbridge/nvidia/ck804
129                                         device pci 0.0 on end   # HT
130                                         device pci 1.0 on end   # LPC
131                                         device pci 1.1 off end # SM
132                                         device pci 2.0 off end # USB 1.1
133                                         device pci 2.1 off end # USB 2
134                                         device pci 4.0 off end # ACI
135                                         device pci 4.1 off end # MCI
136                                         device pci 6.0 off end # IDE
137                                         device pci 7.0 off end # SATA 1
138                                         device pci 8.0 off end # SATA 0
139                                         device pci 9.0 off end # PCI
140                                         device pci a.0 on end # NIC
141                                         device pci b.0 off end # PCI E 3
142                                         device pci c.0 off end # PCI E 2
143                                         device pci d.0 off end # PCI E 1
144                                         device pci e.0 on end # PCI E 0
145                                         register "mac_eeprom_smbus" = "3"
146                                         register "mac_eeprom_addr" = "0x51"
147                                 end
148                         end #  device pci 19.0
149
150                         device pci 19.0 on end
151                         device pci 19.0 on end
152                         device pci 19.1 on end
153                         device pci 19.2 on end
154                         device pci 19.3 on end
155                 end
156         end # PCI domain
157
158 #       chip drivers/generic/debug
159 #               device pnp 0.0 off end # chip name
160 #               device pnp 0.1 off end # pci_regs_all
161 #               device pnp 0.2 off end # mem
162 #               device pnp 0.3 off end # cpuid
163 #               device pnp 0.4 on  end # smbus_regs_all
164 #               device pnp 0.5 off end # dual core msr
165 #               device pnp 0.6 off end # cache size
166 #               device pnp 0.7 off end # tsc
167 #       end
168 end # root_complex