Random fixes for TI pci1x2x / Nokia IP530 / others.
[coreboot.git] / src / mainboard / nokia / ip530 / devicetree.cb
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2010 Marc Bertens <mbertens@xs4all.nl>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19 ##
20
21 chip northbridge/intel/i440bx           # Northbridge
22   device lapic_cluster 0 on             # (L)APIC cluster
23     chip cpu/intel/socket_PGA370        # CPU socket
24       device lapic 0 on end             # Local APIC of the CPU
25     end
26   end
27   device pci_domain 0 on                # PCI domain
28     device pci 0.0 on end               # Host bridge
29     device pci 1.0 on end               # PCI/AGP bridge
30     chip southbridge/intel/i82371eb     # Southbridge
31       device pci 7.0 on                 # ISA bridge
32         chip superio/smsc/smscsuperio   # Super I/O (SMSC FDC37B787)
33           device pnp 3f0.0 off end      # Floppy (No connector)
34           device pnp 3f0.3 off end      # Parallel port (No connector)
35           device pnp 3f0.4 on           # COM1
36             io 0x60 = 0x3f8
37             irq 0x70 = 4
38           end
39           device pnp 3f0.5 on           # COM2 / IR
40             io 0x60 = 0x2f8
41             irq 0x70 = 3
42           end
43           device pnp 3f0.6 on end       # RTC
44           device pnp 3f0.7 off end      # PS/2 keyboard / mouse (No connector)
45           device pnp 3f0.8 on end       # AUX I/O
46           device pnp 3f0.a off end      # ACPI (No support yet)
47         end
48       end
49       device pci 7.1 on end             # IDE
50       device pci 7.2 off end            # USB (No connector)
51       device pci 7.3 off end            # ACPI (No support yet)
52       register "ide0_enable" = "1"
53       register "ide1_enable" = "1"
54       register "ide_legacy_enable" = "1"
55       # Disable UDMA/33 for lower speed if your IDE device(s) don't support it.
56       register "ide0_drive0_udma33_enable" = "1"
57       register "ide0_drive1_udma33_enable" = "1"
58       register "ide1_drive0_udma33_enable" = "1"
59       register "ide1_drive1_udma33_enable" = "1"
60     end
61   end
62 end