05ce8775323837e4894223e2254c8dbbfa03d062
[coreboot.git] / src / mainboard / via / pc2500e / devicetree.cb
1 chip northbridge/via/cn700                      # Northbridge
2   device pci_domain 0 on                        # PCI domain
3     subsystemid 0x1019 0xaa51 inherit
4     device pci 0.0 on end                       # AGP Bridge
5     device pci 0.1 on end                       # Error Reporting
6     device pci 0.2 on end                       # Host Bus Control
7     device pci 0.3 on end                       # Memory Controller
8     device pci 0.4 on end                       # Power Management
9     device pci 0.7 on end                       # V-Link Controller
10     device pci 1.0 on end                       # PCI Bridge
11     chip southbridge/via/vt8237r                # Southbridge
12       # Enable both IDE channels.
13       register "ide0_enable" = "1"
14       register "ide1_enable" = "1"
15       # Both cables are 40pin.
16       register "ide0_80pin_cable" = "0"
17       register "ide1_80pin_cable" = "0"
18       device pci f.0 on end                     # SATA
19       device pci f.1 on end                     # IDE
20       register "fn_ctrl_lo" = "0x80"
21       register "fn_ctrl_hi" = "0x1d"
22       device pci 10.0 on end                    # UHCI
23       device pci 10.1 on end                    # UHCI
24       device pci 10.2 on end                    # UHCI
25       device pci 10.3 on end                    # UHCI
26       device pci 10.4 on end                    # EHCI
27       device pci 10.5 on end                    # UDCI
28       device pci 11.0 on                        # Southbridge LPC
29         chip superio/ite/it8716f                # Super I/O
30           device pnp 2e.0 on                    # Floppy
31             io 0x60 = 0x3f0
32             irq 0x70 = 6
33             drq 0x74 = 2
34           end
35           device pnp 2e.1 on                    # COM1
36             io 0x60 = 0x3f8
37             irq 0x70 = 4
38           end
39           device pnp 2e.2 off                   # COM2 (N/A on this board)
40             io 0x60 = 0x2f8
41             irq 0x70 = 3
42           end
43           device pnp 2e.3 on                    # Parallel port
44             io 0x60 = 0x378
45             irq 0x70 = 7
46             drq 0x74 = 3
47           end
48           device pnp 2e.4 on                    # Environment controller
49             io 0x60 = 0x290
50             io 0x62 = 0x0000
51             irq 0x70 = 9
52           end
53           device pnp 2e.5 off                   # PS/2 keyboard (not used)
54             io 0x60 = 0x60
55             io 0x62 = 0x64
56             irq 0x70 = 1
57           end
58           device pnp 2e.6 off                   # PS/2 mouse (not used)
59             irq 0x70 = 12
60           end
61           device pnp 2e.7 on                    # GPIO
62             io 0x60 = 0x0000
63             io 0x62 = 0x0800
64             io 0x64 = 0x0000
65           end
66           device pnp 2e.8 off                   # MIDI port (N/A)
67             io 0x60 = 0x300
68             irq 0x70 = 10
69           end
70           device pnp 2e.9 off                   # Game port (N/A)
71             io 0x60 = 0x201
72           end
73           device pnp 2e.a on                    # Consumer IR
74             io 0x60 = 0x310
75             irq 0x70 = 11
76           end
77         end
78       end
79       device pci 11.5 on end                    # AC'97 audio
80       # device pci 11.6 off end                 # AC'97 modem (N/A)
81       device pci 12.0 on end                    # Ethernet
82     end
83   end
84   device lapic_cluster 0 on                     # APIC cluster
85     chip cpu/via/model_c7                       # VIA C7
86       device lapic 0 on end                     # APIC
87     end
88   end
89 end