Rename "apic" and "apic_cluster" to "lapic" and "lapic_cluster"
[coreboot.git] / src / mainboard / amd / tilapia_fam10 / devicetree.cb
1 # sample config for amd/tilapia_fam10
2 chip northbridge/amd/amdfam10/root_complex
3         device lapic_cluster 0 on
4                 chip cpu/amd/socket_AM3  #L1 and DDR3
5                          device lapic 0 on end
6                 end
7         end
8         device pci_domain 0 on
9                 chip northbridge/amd/amdfam10
10                         device pci 18.0 on #  northbridge
11                                 chip southbridge/amd/rs780
12                                         device pci 0.0 on end # HT      0x9600
13                                         device pci 1.0 on end # Internal Graphics P2P bridge 0x9602
14                                         device pci 2.0 on end # PCIE P2P bridge (external graphics) 0x9603
15                                         device pci 3.0 on end # PCIE P2P bridge 0x960b
16                                         device pci 4.0 on end # PCIE P2P bridge 0x9604
17                                         device pci 5.0 off end # PCIE P2P bridge 0x9605
18                                         device pci 6.0 off end # PCIE P2P bridge 0x9606
19                                         device pci 7.0 off end # PCIE P2P bridge 0x9607
20                                         device pci 8.0 off end # NB/SB Link P2P bridge
21                                         device pci 9.0 on end #
22                                         device pci a.0 on end #
23                                         register "gppsb_configuration" = "1"   # Configuration B
24                                         register "gpp_configuration" = "3"   # Configuration D default
25                                         register "port_enable" = "0x6fc"
26                                         register "gfx_dev2_dev3" = "1"
27                                         register "gfx_dual_slot" = "2"
28
29                                         register "gfx_lane_reversal" = "0"
30                                         register "gfx_tmds" = "0"
31                                         register "gfx_compliance" = "0"
32                                         register "gfx_reconfiguration" = "1"
33                                         register "gfx_link_width" = "0"
34                                 end
35                                 chip southbridge/amd/sb700 # it is under NB/SB Link, but on the same pri bus
36                                         device pci 11.0 on end # SATA
37                                         device pci 12.0 on end # USB
38                                         device pci 12.1 on end # USB
39                                         device pci 12.2 on end # USB
40                                         device pci 13.0 on end # USB
41                                         device pci 13.1 on end # USB
42                                         device pci 13.2 on end # USB
43                                         device pci 14.0 on # SM
44                                                 chip drivers/generic/generic #dimm 0-0-0
45                                                         device i2c 50 on end
46                                                 end
47                                                 chip drivers/generic/generic #dimm 0-0-1
48                                                         device i2c 51 on end
49                                                 end
50                                                 chip drivers/generic/generic #dimm 0-1-0
51                                                         device i2c 52 on end
52                                                 end
53                                                 chip drivers/generic/generic #dimm 0-1-1
54                                                         device i2c 53 on end
55                                                 end
56                                         end # SM
57                                         device pci 14.1 on end # IDE    0x439c
58                                         device pci 14.2 on end # HDA    0x4383
59                                         device pci 14.3 on # LPC        0x439d
60                                                 chip superio/ite/it8718f
61                                                         device pnp 2e.0 off #  Floppy
62                                                                 io 0x60 = 0x3f0
63                                                                 irq 0x70 = 6
64                                                                 drq 0x74 = 2
65                                                         end
66                                                         device pnp 2e.1 on #  Com1
67                                                                 io 0x60 = 0x3f8
68                                                                 irq 0x70 = 4
69                                                         end
70                                                         device pnp 2e.2 off #  Com2
71                                                                 io 0x60 = 0x2f8
72                                                                 irq 0x70 = 3
73                                                         end
74                                                         device pnp 2e.3 off #  Parallel Port
75                                                                 io 0x60 = 0x378
76                                                                 irq 0x70 = 7
77                                                         end
78                                                         device pnp 2e.4 off end #  EC
79                                                         device pnp 2e.5 on #  Keyboard
80                                                                 io 0x60 = 0x60
81                                                                 io 0x62 = 0x64
82                                                                 irq 0x70 = 1
83                                                         end
84                                                         device pnp 2e.6 on #  Mouse
85                                                                 irq 0x70 = 12
86                                                         end
87                                                         device pnp 2e.7 off #  GPIO, must be closed for unresolved reason.
88                                                         end
89                                                         device pnp 2e.8 off #  MIDI
90                                                                 io 0x60 = 0x300
91                                                                 irq 0x70 = 9
92                                                         end
93                                                         device pnp 2e.9 off #  GAME
94                                                                 io 0x60 = 0x220
95                                                         end
96                                                         device pnp 2e.a off end #  CIR
97                                                 end     #superio/ite/it8718f
98                                         end             #LPC
99                                         device pci 14.4 on end # PCI 0x4384
100                                         device pci 14.5 on end # USB 2
101                                         register "ide0_enable" = "1"
102                                         register "sata0_enable" = "1"
103                                         register "boot_switch_sata_ide" = "0"   # 0: boot from SATA. 1: IDE
104                                         register "hda_viddid" = "0x10ec0882"
105                                 end     #southbridge/amd/sb700
106                         end #  device pci 18.0
107
108                         device pci 18.0 on end
109                         device pci 18.0 on end
110                         device pci 18.1 on end
111                         device pci 18.2 on end
112                         device pci 18.3 on end
113                         device pci 18.4 on end
114 #                       device pci 00.5 on end
115                 end
116         end #pci_domain
117         #for node 32 to node 63
118 #       device pci_domain 0 on
119 #               chip northbridge/amd/amdfam10
120 #                         device pci 00.0 on end#  northbridge
121 #                         device pci 00.0 on end
122 #                         device pci 00.0 on end
123 #                         device pci 00.0 on end
124 #                         device pci 00.1 on end
125 #                         device pci 00.2 on end
126 #                         device pci 00.3 on end
127 #                         device pci 00.4 on end
128 #                        device pci 00.5 on end
129 #               end
130 #       end #pci_domain
131
132 #         chip drivers/generic/debug
133 #                device pnp 0.0 off end # chip name
134 #                 device pnp 0.1 on end # pci_regs_all
135 #                 device pnp 0.2 off end # mem
136 #                 device pnp 0.3 off end # cpuid
137 #                 device pnp 0.4 off end # smbus_regs_all
138 #                 device pnp 0.5 off end # dual core msr
139 #                 device pnp 0.6 off end # cache size
140 #                 device pnp 0.7 off end # tsc
141 #                 device pnp 0.8 off end # hard reset
142 #                 device pnp 0.9 off end # mcp55
143 #                 device pnp 0.a on end # GH ext table
144 #        end
145 end