Use subsystem id from devicetree.cb instead of Kconfig and move
[coreboot.git] / src / mainboard / asus / m2v-mx_se / devicetree.cb
1 chip northbridge/amd/amdk8/root_complex         # Root complex
2   device lapic_cluster 0 on                     # APIC cluster
3     chip cpu/amd/socket_AM2                     # CPU
4       device lapic 0 on end                     # APIC
5     end
6   end
7   device pci_domain 0 on                        # PCI domain
8     subsystemid 0x1043 0 inherit
9     chip northbridge/amd/amdk8                  # mc0
10       device pci 18.0 on                        # Northbridge
11         # Devices on link 0, link 0 == LDT 0
12         chip southbridge/via/vt8237r            # Southbridge
13           register "ide0_enable" = "1"          # Enable IDE channel 0
14           register "ide1_enable" = "1"          # Enable IDE channel 1
15           register "ide0_80pin_cable" = "1"     # 80pin cable on IDE channel 0
16           register "ide1_80pin_cable" = "1"     # 80pin cable on IDE channel 1
17           register "fn_ctrl_lo" = "0xc0"        # Enable SB functions
18           register "fn_ctrl_hi" = "0x1d"        # Enable SB functions
19           device pci 0.0 on end                 # HT
20           device pci f.1 on end                 # IDE
21           device pci 11.0 on                    # LPC
22             chip drivers/generic/generic        # DIMM 0-0-0
23               device i2c 50 on end
24             end
25             chip drivers/generic/generic        # DIMM 0-0-1
26               device i2c 51 on end
27             end
28             chip drivers/generic/generic        # DIMM 0-1-0
29               device i2c 52 on end
30             end
31             chip drivers/generic/generic        # DIMM 0-1-1
32               device i2c 53 on end
33             end
34             chip superio/ite/it8712f            # Super I/O
35               device pnp 2e.0 on                # Floppy
36                 io 0x60 = 0x3f0
37                 irq 0x70 = 6
38                 drq 0x74 = 2
39               end
40               device pnp 2e.1 on                # Com1
41                 io 0x60 = 0x3f8
42                 irq 0x70 = 4
43               end
44               device pnp 2e.2 off               # Com2
45                 io 0x60 = 0x2f8
46                 irq 0x70 = 3
47               end
48               device pnp 2e.3 on                # Parallel port
49                 io 0x60 = 0x378
50                 irq 0x70 = 7
51               end
52               device pnp 2e.4 on                # Environment controller
53                 io 0x60 = 0x290
54                 io 0x62 = 0x230
55                 irq 0x70 = 0x00
56               end
57               device pnp 2e.5 off end           # PS/2 keyboard
58               device pnp 2e.6 off end           # PS/2 mouse
59               device pnp 2e.7 off end           # GPIO config
60               device pnp 2e.8 off end           # Midi port
61               device pnp 2e.9 off end           # Game port
62               device pnp 2e.a off end           # IR
63              end
64            end
65           device pci 12.0 on end                # VIA LAN
66           device pci 13.0 on end                # br
67           device pci 13.1 on end                # br2 need to have it here to discover it
68         end
69         chip southbridge/via/k8t890             # "Southbridge" K8M890
70         end
71       end
72       device pci 18.1 on end
73       device pci 18.2 on end
74       device pci 18.3 on end
75     end
76   end
77 end