Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / tyan / s2892 / 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_940                     # 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     subsystemid 0x10f1 0x2892 inherit
9     chip northbridge/amd/amdk8                  # Northbridge / RAM controller
10       device pci 18.0 on                        # Link 0 == LDT 0
11         chip southbridge/nvidia/ck804           # Southbridge
12           device pci 0.0 on end                 # HT
13           device pci 1.0 on                     # LPC
14             chip superio/winbond/w83627hf       # Super I/O
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.1 on                # Parallel port
21                 io 0x60 = 0x378
22                 irq 0x70 = 7
23                 drq 0x74 = 3
24               end
25               device pnp 2e.2 on                # Com1
26                 io 0x60 = 0x3f8
27                 irq 0x70 = 4
28               end
29               device pnp 2e.3 off               # Com2
30                 io 0x60 = 0x2f8
31                 irq 0x70 = 3
32               end
33               device pnp 2e.5 on                # PS/2 keyboard & mouse
34                 io 0x60 = 0x60
35                 io 0x62 = 0x64
36                 irq 0x70 = 1
37                 irq 0x72 = 12
38               end
39               device pnp 2e.6 off               # Consumer IR
40                 io 0x60 = 0x100
41               end
42               device pnp 2e.7 off               # Game port, MIDI, GPIO1
43                 io 0x60 = 0x220
44                 io 0x62 = 0x300
45                 irq 0x70 = 9
46               end
47               device pnp 2e.8 off end           # GPIO2
48               device pnp 2e.9 off end           # GPIO3
49               device pnp 2e.a off end           # ACPI
50               device pnp 2e.b on                # Hardware monitor
51                 io 0x60 = 0x290
52                 irq 0x70 = 5
53               end
54             end
55           end
56           device pci 1.1 on                     # SM 0
57             chip drivers/generic/generic        # DIMM 0-0-0
58               device i2c 50 on end
59             end
60             chip drivers/generic/generic        # DIMM 0-0-1
61               device i2c 51 on end
62             end
63             chip drivers/generic/generic        # DIMM 0-1-0
64               device i2c 52 on end
65             end
66             chip drivers/generic/generic        # DIMM 0-1-1
67               device i2c 53 on end
68             end
69             chip drivers/generic/generic        # DIMM 1-0-0
70               device i2c 54 on end
71             end
72             chip drivers/generic/generic        # DIMM 1-0-1
73               device i2c 55 on end
74             end
75             chip drivers/generic/generic        # DIMM 1-1-0
76               device i2c 56 on end
77             end
78             chip drivers/generic/generic        # DIMM 1-1-1
79               device i2c 57 on end
80             end
81           end
82           device pci 1.1 on                     # SM 1
83             chip drivers/i2c/adm1027            # ADT7463A CPU0 temp, SYS FAN 2/3/4
84               device i2c 2d on end
85             end
86             chip drivers/i2c/adm1027            # ADT7463A CPU1 temp, CPU0/1 FAN , SYS FAN 1/5
87               device i2c 2e on end
88             end
89             chip drivers/generic/generic        # Winbond HWM 0x54 CPU0/1 VRM temp, SYSFAN 6/7, SB FAN
90               device i2c 2a on end
91             end
92             chip drivers/generic/generic        # Winbond HWM 0x92
93               device i2c 49 on end
94             end
95             chip drivers/generic/generic        # Winbond HWM 0x94
96               device i2c 4a on end
97             end
98           end
99           device pci 2.0 on end                 # USB 1.1
100           device pci 2.1 on end                 # USB 2
101           device pci 4.0 off end                # ACI
102           device pci 4.1 off end                # MCI
103           device pci 6.0 on end                 # IDE
104           device pci 7.0 on end                 # SATA 1
105           device pci 8.0 on end                 # SATA 0
106           device pci 9.0 on                     # PCI
107           #  chip drivers/ati/ragexl
108             device pci 6.0 on end
109           #  end
110             device pci 8.0 on end
111           end
112           device pci a.0 off end                # NIC
113           device pci b.0 off end                # PCI E 3
114           device pci c.0 off end                # PCI E 2
115           device pci d.0 on end                 # PCI E 1
116           device pci e.0 on end                 # PCI E 0
117           register "ide0_enable" = "1"
118           register "ide1_enable" = "1"
119           register "sata0_enable" = "1"
120           register "sata1_enable" = "1"
121         end
122       end
123       device pci 18.0 on end                    # Link 1
124       device pci 18.0 on                        # Link 2 == LDT 2
125         chip southbridge/amd/amd8131            # Southbridge
126           device pci 0.0 on end
127           device pci 0.1 on end
128           device pci 1.0 on
129             device pci 9.0 on end               # Broadcom 5704
130             device pci 9.1 on end
131           end
132           device pci 1.1 on end
133         end
134       end
135       device pci 18.1 on end
136       device pci 18.2 on end
137       device pci 18.3 on end
138     end
139   end
140   # chip drivers/generic/debug
141   #   device pnp 0.0 off end
142   #   device pnp 0.1 off end
143   #   device pnp 0.2 off end
144   #   device pnp 0.3 off end
145   #   device pnp 0.4 off end
146   #   device pnp 0.5 on end
147   # end
148 end