Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / amd / bimini_fam10 / devicetree.cb
1         # sample config for amd/bimini_fam10
2 chip northbridge/amd/amdfam10/root_complex
3         device lapic_cluster 0 on
4                 chip cpu/amd/socket_ASB2  #L1 and DDR3
5                          device lapic 0 on end
6                 end
7         end
8         device pci_domain 0 on
9                 subsystemid 0x1022 0x3060 inherit
10                 chip northbridge/amd/amdfam10
11                         device pci 18.0 on #  northbridge
12                                 chip southbridge/amd/rs780
13                                         device pci 0.0 on end # HT      0x9600
14                                         device pci 1.0 on end # Internal Graphics P2P bridge 0x9602
15                                         device pci 2.0 off end # PCIE P2P bridge (external graphics) 0x9603
16                                         device pci 3.0 off end # PCIE P2P bridge        0x960b
17                                         device pci 4.0 on end # PCIE P2P bridge 0x9604
18                                         device pci 5.0 on end # PCIE P2P bridge 0x9605
19                                         device pci 6.0 on end # PCIE P2P bridge 0x9606
20                                         device pci 7.0 on end # PCIE P2P bridge 0x9607
21                                         device pci 8.0 off end # NB/SB Link P2P bridge
22                                         device pci 9.0 on end #
23                                         device pci a.0 off end #
24                                         register "gppsb_configuration" = "4"   # Configuration E
25                                         register "gpp_configuration" = "2"   # Configuration C
26                                         register "port_enable" = "0x6fc"
27                                         register "gfx_dev2_dev3" = "1"
28                                         register "gfx_dual_slot" = "0"
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/sb800 # it is under NB/SB Link, but on the same pci bus
36                                         device pci 11.0 on end # SATA
37                                         device pci 12.0 on end # USB
38                                         device pci 12.2 on end # USB
39                                         device pci 13.0 on end # USB
40                                         device pci 13.2 on end # USB
41                                         device pci 14.0 on # SM
42                                                 chip drivers/generic/generic #dimm 0-0-0
43                                                         device i2c 50 on end
44                                                 end
45                                                 chip drivers/generic/generic #dimm 0-0-1
46                                                         device i2c 51 on end
47                                                 end
48                                                 chip drivers/generic/generic #dimm 0-1-0
49                                                         device i2c 52 on end
50                                                 end
51                                                 chip drivers/generic/generic #dimm 0-1-1
52                                                         device i2c 53 on end
53                                                 end
54                                         end # SM
55                                         device pci 14.1 on end # IDE    0x439c
56                                         device pci 14.2 on end # HDA    0x4383
57                                         device pci 14.3 on end # LPC    0x439d
58                                         device pci 14.4 off end # PCI   0x4384 # PCI-b conflict with GPIO.
59                                         device pci 14.5 on end # USB 2
60                                         device pci 14.6 on end # Gec
61                                         device pci 15.0 on end # PCIe 0
62                                         device pci 15.1 on end # PCIe 1
63                                         device pci 15.2 on end # PCIe 2
64                                         device pci 15.3 on end # PCIe 3
65                                         device pci 16.0 on end # USB
66                                         device pci 16.2 on end # USB
67                                         register "boot_switch_sata_ide" = "0"   # 0: boot from SATA. 1: IDE
68                                         register "gpp_configuration" = "4"
69                                 end     #southbridge/amd/sb800
70                         end #  device pci 18.0
71
72                         device pci 18.0 on end
73                         device pci 18.0 on end
74                         device pci 18.1 on end
75                         device pci 18.2 on end
76                         device pci 18.3 on end
77                         device pci 18.4 on end
78                 end
79         end #pci_domain
80         #for node 32 to node 63
81 #       device pci_domain 0 on
82 #               chip northbridge/amd/amdfam10
83 #                         device pci 00.0 on end#  northbridge
84 #                         device pci 00.0 on end
85 #                         device pci 00.0 on end
86 #                         device pci 00.0 on end
87 #                         device pci 00.1 on end
88 #                         device pci 00.2 on end
89 #                         device pci 00.3 on end
90 #                         device pci 00.4 on end
91 #                        device pci 00.5 on end
92 #               end
93 #       end #pci_domain
94
95 #         chip drivers/generic/debug
96 #                device pnp 0.0 off end # chip name
97 #                 device pnp 0.1 on end # pci_regs_all
98 #                 device pnp 0.2 off end # mem
99 #                 device pnp 0.3 off end # cpuid
100 #                 device pnp 0.4 off end # smbus_regs_all
101 #                 device pnp 0.5 off end # dual core msr
102 #                 device pnp 0.6 off end # cache size
103 #                 device pnp 0.7 off end # tsc
104 #                 device pnp 0.8 off end # hard reset
105 #                 device pnp 0.9 off end # mcp55
106 #                 device pnp 0.a on end # GH ext table
107 #        end
108
109 end