Add ASUS M4A785T-M mainboard support
[coreboot.git] / src / mainboard / asus / m4a785t-m / devicetree.cb
1 chip northbridge/amd/amdfam10/root_complex
2         device lapic_cluster 0 on
3                 chip cpu/amd/socket_AM3  #L1 and DDR2
4                          device lapic 0 on end
5                 end
6         end
7         device pci_domain 0 on
8                 subsystemid 0x1043 0x83a2 inherit
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 off end # PCIE P2P bridge (external graphics) 0x9603
15                                         device pci 3.0 off end # PCIE P2P bridge        0x960b
16                                         device pci 4.0 off 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 off end #
22                                         device pci a.0 on end # bridge to RTL8111/8168B PCI Express Gigabit Ethernet
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/it8712f
61                                                         device pnp 2e.0 off end #  Floppy
62                                                         device pnp 2e.1 on #  Com1
63                                                                 io 0x60 = 0x3f8
64                                                                 irq 0x70 = 4
65                                                         end
66                                                         device pnp 2e.2 off #  Com2
67                                                                 io 0x60 = 0x2f8
68                                                                 irq 0x70 = 3
69                                                         end
70                                                         device pnp 2e.3 off #  Parallel Port
71                                                                 io 0x60 = 0x378
72                                                                 irq 0x70 = 7
73                                                         end
74                                                         device pnp 2e.4 off end #  Environment Controller
75                                                         device pnp 2e.5 on #  Keyboard
76                                                                 io 0x60 = 0x60
77                                                                 io 0x62 = 0x64
78                                                                 irq 0x70 = 1
79                                                         end
80                                                         device pnp 2e.6 on #  Mouse
81                                                                 irq 0x70 = 12
82                                                         end
83                                                         device pnp 2e.7 off #  GPIO, must be closed for unresolved reason.
84                                                         end
85                                                         device pnp 2e.8 off #  MIDI
86                                                         end
87                                                         device pnp 2e.9 off #  GAME
88                                                         end
89                                                         device pnp 2e.a off end #  CIR
90                                                 end     #superio
91                                         end             #LPC
92                                         device pci 14.4 on end # PCI to PCI Bridge [1002:4384]
93                                         device pci 14.5 on end # USB 2
94                                         register "boot_switch_sata_ide" = "0"   # 0: boot from SATA. 1: IDE
95                                 end     #southbridge/amd/sb700
96                         end #  device pci 18.0
97
98                         device pci 18.0 on end
99                         device pci 18.0 on end
100                         device pci 18.1 on end
101                         device pci 18.2 on end
102                         device pci 18.3 on end
103                         device pci 18.4 on end
104                 end # chip northbridge
105         end #pci_domain
106 end # northbridge/amd/amdfam10/root_complex