Revert "m5a99x-evo: ugly quirks, but WOOT: ohai seabios :-)"
[coreboot.git] / src / mainboard / asus / m5a99x-evo / devicetree.cb
1 # sample config for advansus/A785E-I
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                 subsystemid 0x1043 0x843e inherit #TODO: Set the correctly subsystem id.
10                 chip northbridge/amd/amdfam10
11             device pci 18.0 on end # Link 0
12             device pci 18.0 on     # Link 1, IO-HUB on socket0 link 2(internal Node0 Link 1)
13                 chip northbridge/amd/cimx/rd890 # North Bridge PCI side of HT Root complex
14                     device pci 0.0 on  end # HT Root Complex
15                     device pci 0.1 off end # CLKCONFIG
16                     device pci 2.0 on  end # GPP1 Port0
17                     device pci 3.0 off end # GPP1 Port1
18                     device pci 4.0 off end # GPP3a Port0
19                     device pci 5.0 off end # GPP3a Port1
20                     device pci 6.0 off end # GPP3a Port2
21                     device pci 7.0 off end # GPP3a Port3
22                     device pci 8.0 off end # NB/SB Link P2P bridge, should be hidden at boot time
23                     device pci 9.0 off end # GPP3a Port4
24                     device pci a.0 off end # GPP3a Port5
25                     device pci b.0 off end # GPP2 Port0 (Not for sr5650)
26                     device pci c.0 off end # GPP2 Port1 (Not for sr5650/sr5670)
27                     device pci d.0 on  end # GPP3b Port0 (Not for sr5650/sr5670) 0x5A1E, Intel 82576
28                     register "gpp1_configuration" = "0"   # Configuration 16:0 default
29                     register "gpp2_configuration" = "1"   # Configuration 8:8
30                     register "gpp3a_configuration" = "2"   # 2 Configuration 4:1:1:0:0:0, 11 Configuration 1:1:1:1:1:1
31                     register "port_enable" = "0x2104"
32                 end # northbridge/amd/cimx/rd890
33                                 chip southbridge/amd/cimx/sb900 # it is under NB/SB Link, but on the same pci bus
34                                         device pci 11.0 on end # SATA
35                                         device pci 12.0 on end # USB
36                                         device pci 12.2 on end # USB
37                                         device pci 13.0 on end # USB
38                                         device pci 13.2 on end # USB
39                                         device pci 14.0 on # SM
40                                                 chip drivers/generic/generic #dimm 0-0-0
41                                                         device i2c 50 on end
42                                                 end
43                                                 chip drivers/generic/generic #dimm 0-0-1
44                                                         device i2c 51 on end
45                                                 end
46                                                 chip drivers/generic/generic #dimm 0-1-0
47                                                         device i2c 52 on end
48                                                 end
49                                                 chip drivers/generic/generic #dimm 0-1-1
50                                                         device i2c 53 on end
51                                                 end
52                                         end # SM
53                                         device pci 14.1 on end # IDE    0x439c
54                                         device pci 14.2 on end # HDA    0x4383
55                                         device pci 14.3 on
56                                                 chip superio/ite/it8721f
57                                                         device pnp 2e.0 off #  Floppy
58                                                                 io 0x60 = 0x3f0
59                                                                 irq 0x70 = 6
60                                                                 drq 0x74 = 2
61                                                         end
62                                                         device pnp 2e.1 off #  Parallel Port
63                                                                 io 0x60 = 0x378
64                                                                 irq 0x70 = 7
65                                                         end
66                                                         device pnp 2e.2 on #  Com1
67                                                                 io 0x60 = 0x3f8
68                                                                 irq 0x70 = 4
69                                                         end
70                                                         device pnp 2e.3 on #  Com2
71                                                                 io 0x60 = 0x2f8
72                                                                 irq 0x70 = 3
73                                                         end
74                                                         device pnp 2e.5 on #  Keyboard
75                                                                 io 0x60 = 0x60
76                                                                 io 0x62 = 0x64
77                                                                 irq 0x70 = 1
78                                                                 irq 0x72 = 12
79                                                         end
80                                                         device pnp 2e.6 off  # SFI
81                                                                 io 0x62 = 0x100
82                                                         end
83                                                         device pnp 2e.7 off #  GPIO_GAME_MIDI
84                                                                 io 0x60 = 0x220
85                                                                 io 0x62 = 0x300
86                                                                 irq 0x70 = 9
87                                                         end
88                                                         device pnp 2e.8 off end #  WDTO_PLED
89                                                         device pnp 2e.9 off end #  GPIO_SUSLED
90                                                         device pnp 2e.a off end #  ACPI
91                                                         device pnp 2e.b on #  HW Monitor
92                                                                 io 0x60 = 0x290
93                                                                 irq 0x70 = 5
94                                                         end
95                                                 end     #superio/winbond/w83627hf
96                                         end # LPC       0x439d
97                                         device pci 14.4 off end # PCIB 0x4384, NOTE: PCI interface pins shared with GPIO {GPIO 35:0}
98                                         device pci 14.5 on end # USB 2
99                                         device pci 14.6 off end # Gec
100                                         device pci 15.0 on end # PCIe 0
101                                         device pci 15.1 on end # PCIe 1
102                                         device pci 15.2 on end # PCIe 2
103                                         device pci 15.3 on end # PCIe 3
104                                         device pci 16.0 on end # USB
105                                         device pci 16.2 on end # USB
106                                         #register "gpp_configuration" = "0" #4:0:0:0
107                                         #register "gpp_configuration" = "2" #2:2:0:0
108                                         #register "gpp_configuration" = "3" #2:1:1:0
109                                         register "gpp_configuration" = "4" #1:1:1:1
110                                         register "boot_switch_sata_ide" = "0"   # 0: boot from SATA. 1: IDE
111                                 end     #southbridge/amd/cimx/sb800
112                         end #  device pci 18.0
113
114                         device pci 18.1 on end
115                         device pci 18.2 on end
116                         device pci 18.3 on end
117                         device pci 18.4 on end
118                 end
119         end #pci_domain
120 end