VIA cpus: apply un-written naming rules
[coreboot.git] / src / mainboard / via / epia-cn / devicetree.cb
1 chip northbridge/via/cn700                      # Northbridge
2   device pci_domain 0 on                        # PCI domain
3     device pci 0.0 on end                       # AGP Bridge
4     device pci 0.1 on end                       # Error Reporting
5     device pci 0.2 on end                       # Host Bus Control
6     device pci 0.3 on end                       # Memory Controller
7     device pci 0.4 on end                       # Power Management
8     device pci 0.7 on end                       # V-Link Controller
9     device pci 1.0 on end                       # PCI Bridge
10     chip southbridge/via/vt8237r                # Southbridge
11       # Enable both IDE channels.
12       register "ide0_enable" = "1"
13       register "ide1_enable" = "1"
14       # Both cables are 40pin.
15       register "ide0_80pin_cable" = "0"
16       register "ide1_80pin_cable" = "0"
17       device pci f.0 on end                     # IDE
18       register "fn_ctrl_lo" = "0x80"
19       register "fn_ctrl_hi" = "0x1d"
20       device pci 10.0 on end                    # OHCI
21       device pci 10.1 on end                    # OHCI
22       device pci 10.2 on end                    # OHCI
23       device pci 10.3 on end                    # OHCI
24       device pci 10.4 on end                    # EHCI
25       device pci 10.5 on end                    # UDCI
26       device pci 11.0 on                        # Southbridge LPC
27         chip superio/via/vt1211                 # Super I/O
28           device pnp 2e.0 off                   # Floppy
29             io 0x60 = 0x3f0
30             irq 0x70 = 6
31             drq 0x74 = 2
32           end
33           device pnp 2e.1 on                    # Parallel Port
34             io 0x60 = 0x378
35             irq 0x70 = 7
36             drq 0x74 = 3
37           end
38           device pnp 2e.2 on                    # COM1
39             io 0x60 = 0x3f8
40             irq 0x70 = 4
41           end
42           device pnp 2e.3 on                    # COM2
43             io 0x60 = 0x2f8
44             irq 0x70 = 3
45           end
46           device pnp 2e.b on                    # HWM
47             io 0x60 = 0xec00
48           end
49         end
50       end
51       device pci 11.5 on end                    # AC'97 audio
52       # device pci 11.6 off end                 # AC'97 Modem
53       device pci 12.0 on end                    # Ethernet
54     end
55   end
56   device lapic_cluster 0 on                     # APIC cluster
57     chip cpu/via/c7                     # VIA C7
58       device lapic 0 on end                     # APIC
59     end
60   end
61 end