This patch support for the Technexion Tim-5690 mainboard.
[coreboot.git] / src / mainboard / technexion / tim5690 / devicetree.cb
1 #Define gpp_configuration,      A=0, B=1, C=2, D=3, E=4(default)
2 #Define vga_rom_address = 0xfff80000
3 #Define port_enable, (bit map): GFX(2,3), GPP(4,5,6,7)
4 #Define gfx_dev2_dev3, 0: a link will never be established on Dev2 or Dev3,
5 #                       1: the system allows a PCIE link to be established on Dev2 or Dev3.
6 #Define gfx_dual_slot, 0: single slot, 1: dual slot
7 #Define gfx_lane_reversal, 0: disable lane reversal, 1: enable
8 #Define gfx_tmds, 0: didn't support TMDS, 1: support
9 #Define gfx_compliance, 0: didn't support compliance, 1: support
10 #Define gfx_reconfiguration, 0: short reconfiguration, 1(default): long reconfiguration
11 #Define gfx_link_width, 0: x16, 1: x1, 2: x2, 3: x4, 4: x8, 5: x12 (not supported), 6: x16
12 chip northbridge/amd/amdk8/root_complex
13         device apic_cluster 0 on
14                 chip cpu/amd/socket_S1G1
15                 device apic 0 on end
16                 end
17         end
18         device pci_domain 0 on
19                 chip northbridge/amd/amdk8
20                         device pci 18.0 on #  southbridge
21                                 chip southbridge/amd/rs690
22                                         device pci 0.0 on end # HT      0x7910
23                                         device pci 1.0 on  # Internal Graphics P2P bridge 0x7912
24                                                 chip drivers/pci/onboard
25                                                         device pci 5.0 on end   # Internal Graphics 0x791F
26                                                         register "rom_address" = "0xfff80000" #512KB
27                                                         #register "rom_address" = "0xfff00000" #1024KB
28                                                         #register "rom_address" = "0xffe00000" #2048KB
29                                                         #register "rom_address" = "0xffc00000" #4096KB
30                                                 end
31                                         end
32                                         device pci 2.0 on end # PCIE P2P bridge (external graphics) 0x7913
33                                         device pci 3.0 off end # PCIE P2P bridge        0x791b
34                                         device pci 4.0 on end # PCIE P2P bridge 0x7914
35                                         device pci 5.0 on end # PCIE P2P bridge 0x7915
36                                         device pci 6.0 on end # PCIE P2P bridge 0x7916
37                                         device pci 7.0 on end # PCIE P2P bridge 0x7917
38                                         device pci 8.0 off end # NB/SB Link P2P bridge
39                                         register "vga_rom_address" = "0xfff80000"
40                                         #register "vga_rom_address" = "0xfff00000"
41                                         #register "vga_rom_address" = "0xffe00000"
42                                         #register "vga_rom_address" = "0xffc00000"
43                                         register "gpp_configuration" = "4"
44                                         register "port_enable" = "0xfc"
45                                         register "gfx_dev2_dev3" = "1"
46                                         register "gfx_dual_slot" = "0"
47                                         register "gfx_lane_reversal" = "0"
48                                         register "gfx_tmds" = "1"
49                                         register "gfx_compliance" = "0"
50                                         register "gfx_reconfiguration" = "0"
51                                         register "gfx_link_width" = "0"
52                                 end
53                                 chip southbridge/amd/sb600 # it is under NB/SB Link, but on the same pri bus
54                                         device pci 12.0 on end # SATA  0x4380
55                                         device pci 13.0 on end # USB   0x4387
56                                         device pci 13.1 on end # USB   0x4388
57                                         device pci 13.2 on end # USB   0x4389
58                                         device pci 13.3 on end # USB   0x438a
59                                         device pci 13.4 on end # USB   0x438b
60                                         device pci 13.5 on end # USB 2 0x4386
61                                         device pci 14.0 on # SM        0x4385
62                                                 chip drivers/generic/generic #dimm 0-0-0
63                                                         device i2c 50 on end
64                                                 end
65                                                 chip drivers/generic/generic #dimm 0-0-1
66                                                         device i2c 51 on end
67                                                 end
68                                                 chip drivers/generic/generic #dimm 0-1-0
69                                                         device i2c 52 on end
70                                                 end
71                                                 chip drivers/generic/generic #dimm 0-1-1
72                                                         device i2c 53 on end
73                                                 end
74                                         end # SM
75                                         device pci 14.1 on end # IDE    0x438c
76                                         device pci 14.2 on end # HDA    0x4383
77                                         device pci 14.3 on # LPC        0x438d
78                                                 chip superio/ite/it8712f
79                                                         device pnp 2e.0 off #  Floppy
80                                                                 io 0x60 = 0x3f0
81                                                                 irq 0x70 = 6
82                                                                 drq 0x74 = 2
83                                                         end
84                                                         device pnp 2e.1 on #  Com1
85                                                                 io 0x60 = 0x3f8
86                                                                 irq 0x70 = 4
87                                                         end
88                                                         device pnp 2e.2 on #  Com2
89                                                                 io 0x60 = 0x2f8
90                                                                 irq 0x70 = 3
91                                                         end
92                                                         device pnp 2e.3 on #  Parallel Port
93                                                                 io 0x60 = 0x378
94                                                                 irq 0x70 = 7
95                                                         end
96                                                         device pnp 2e.4 off end #  EC
97                                                         device pnp 2e.5 on #  Keyboard
98                                                                 io 0x60 = 0x60
99                                                                 io 0x62 = 0x64
100                                                                 irq 0x70 = 1
101                                                         end
102                                                         device pnp 2e.6 on #  Mouse
103                                                                 irq 0x70 = 12
104                                                         end
105                                                         device pnp 2e.7 off #  GPIO, must be closed for unresolved reason.
106                                                         end
107                                                         device pnp 2e.8 off #  MIDI
108                                                                 io 0x60 = 0x300
109                                                                 irq 0x70 = 9
110                                                         end
111                                                         device pnp 2e.9 off #  GAME
112                                                                 io 0x60 = 0x220
113                                                         end
114                                                         device pnp 2e.a off end #  CIR
115                                                 end     #superio/ite/it8712f
116                                         end             #LPC
117                                         device pci 14.4 on end # PCI 0x4384
118                                         device pci 14.5 on end # ACI 0x4382
119                                         device pci 14.6 on end # MCI 0x438e
120                                         register "ide0_enable" = "1"
121                                         register "sata0_enable" = "1"
122                                         register "hda_viddid" = "0x10ec0882"
123                                 end     #southbridge/amd/sb600
124                         end #  device pci 18.0
125
126                         device pci 18.0 on end
127                         device pci 18.0 on end
128                         device pci 18.1 on end
129                         device pci 18.2 on end
130                         device pci 18.3 on end
131                 end             #northbridge/amd/amdk8
132         end #pci_domain
133 end             #northbridge/amd/amdk8/root_complex
134