Kconfig!
[coreboot.git] / src / mainboard / kontron / 986lcd-m / devicetree.cb
1 chip northbridge/intel/i945
2
3         device apic_cluster 0 on
4                 chip cpu/intel/socket_mFCPGA478
5                         device apic 0 on end
6                 end
7         end
8
9         device pci_domain 0 on 
10                 device pci 00.0 on end # host bridge
11                 device pci 01.0 off end # i945 PCIe root port
12                 chip drivers/pci/onboard
13                         device pci 02.0 on end # vga controller
14                         # register "rom_address" = "0xfffc0000" # 256 KB image
15                         # register "rom_address" = "0xfff80000" # 512 KB image
16                         register "rom_address" = "0xfff00000" # 1 MB image
17                 end
18                 device pci 02.1 on end # display controller
19
20                 chip southbridge/intel/i82801gx
21                         register "pirqa_routing" = "0x05"
22                         register "pirqb_routing" = "0x07"
23                         register "pirqc_routing" = "0x05"
24                         register "pirqd_routing" = "0x07"
25                         register "pirqe_routing" = "0x80"
26                         register "pirqf_routing" = "0x80"
27                         register "pirqg_routing" = "0x80"
28                         register "pirqh_routing" = "0x06"
29
30                         # GPI routing
31                         #  0 No effect (default)
32                         #  1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
33                         #  2 SCI (if corresponding GPIO_EN bit is also set)
34                         register "gpi13_routing" = "1"
35
36                         register "ide_legacy_combined" = "0x1"
37                         register "ide_enable_primary" = "0x1"
38                         register "ide_enable_secondary" = "0x1"
39                         register "sata_ahci" = "0x0"
40
41                         device pci 1b.0 on end # High Definition Audio
42                         device pci 1c.0 on end # PCIe
43                         device pci 1c.1 on end # PCIe
44                         device pci 1c.2 on end # PCIe
45                         #device pci 1c.3 off end # PCIe port 4
46                         #device pci 1c.4 off end # PCIe port 5
47                         #device pci 1c.5 off end # PCIe port 6
48                         device pci 1d.0 on end # USB UHCI
49                         device pci 1d.1 on end # USB UHCI
50                         device pci 1d.2 on end # USB UHCI
51                         device pci 1d.3 on end # USB UHCI
52                         device pci 1d.7 on end # USB2 EHCI
53                         device pci 1e.0 on end # PCI bridge
54                         #device pci 1e.2 off end # AC'97 Audio 
55                         #device pci 1e.3 off end # AC'97 Modem
56                         device pci 1f.0 on # LPC bridge
57                                 chip superio/winbond/w83627thg
58                                         device pnp 2e.0 off             # Floppy
59                                         end
60                                         device pnp 2e.1 off             # Parport
61                                         end
62                                         device pnp 2e.2 on
63                                                  io 0x60 = 0x3f8
64                                                 irq 0x70 = 4
65                                         end
66                                         device pnp 2e.3 on
67                                                  io 0x60 = 0x2f8
68                                                 irq 0x70 = 3
69                                                 irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq
70                                         end
71                                         device pnp 2e.5 on              # Keyboard+Mouse
72                                                  io 0x60 = 0x60
73                                                  io 0x62 = 0x64
74                                                 irq 0x70 = 1
75                                                 irq 0x72 = 12
76                                                 irq 0xf0 = 0x82         # HW accel A20.
77                                         end
78                                         device pnp 2e.7 on              # GPIO1, GAME, MIDI
79                                                  io 0x62 = 0x330
80                                                 irq 0x70 = 9
81                                         end
82                                         device pnp 2e.8 on              # GPIO2
83                                                 # all default
84                                         end
85                                         device pnp 2e.9 on              # GPIO3/4
86                                                 irq 0x30 = 0x03         # does this work?
87                                                 irq 0xf0 = 0xfb         # set inputs/outputs
88                                                 irq 0xf1 = 0x66
89                                         end
90                                         device pnp 2e.a off             # ACPI
91                                         end
92                                         device pnp 2e.b on              # HWM
93                                                  io 0x60 = 0xa00
94                                                 irq 0x70 = 0
95                                         end
96
97                                 end
98                                 chip superio/winbond/w83627thg
99                                         device pnp 4e.0 off             # Floppy
100                                         end
101                                         device pnp 4e.1 off             # Parport
102                                         end
103                                         device pnp 4e.2 on              # COM3
104                                                  io 0x60 = 0x3e8
105                                                 irq 0x70 = 11
106                                         end
107                                         device pnp 4e.3 on              # COM4
108                                                  io 0x60 = 0x2e8
109                                                 irq 0x70 = 10
110                                         end
111                                         device pnp 4e.5 off             # Keyboard
112                                         end
113                                         device pnp 4e.7 off             # GPIO1, GAME, MIDI
114                                         end
115                                         device pnp 4e.8 off             # GPIO2
116                                         end
117                                         device pnp 4e.9 off             # GPIO3/4
118                                         end
119                                         device pnp 4e.a off             # ACPI
120                                         end
121                                         device pnp 4e.b off             # HWM
122                                         end
123                                 end
124
125                         end
126                         #device pci 1f.1 off end # IDE
127                         device pci 1f.2 on end  # SATA
128                         device pci 1f.3 on end  # SMBus
129                         #device pci 1f.4 off end # Realtek ID Codec
130                 end
131         end
132 end