Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / src / mainboard / pcengines / alix1c / devicetree.cb
1 chip northbridge/amd/lx
2         device pci_domain 0 on
3                 device pci 1.0 on end
4                 device pci 1.1 on end
5                 chip southbridge/amd/cs5536
6                         # IRQ 12 and 1 unmasked,  Keyboard and Mouse IRQs. OK
7                         # SIRQ Mode = Active(Quiet) mode. Save power....
8                         # Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK
9                         # How to get these? Boot linux and do this:
10                         # rdmsr 0x51400025
11                         register "lpc_serirq_enable" = "0x0000105a"
12                         # rdmsr 0x5140004e -- polairy is high 16 bits of low 32 bits
13                         register "lpc_serirq_polarity" = "0x0000EFA5"
14                         # mode is high 10 bits (determined from code)
15                         register "lpc_serirq_mode" = "1"
16                         # Don't yet know how to find this.
17                         register "enable_gpio_int_route" = "0x0D0C0700"
18                         register "enable_ide_nand_flash" = "0" # 0:ide mode, 1:flash
19                         register "enable_USBP4_device" = "0"    #0: host, 1:device
20                         register "enable_USBP4_overcurrent" = "0" #0:off, xxxx:overcurrent setting CS5536 Data Book (pages 380-381)
21                         register "com1_enable" = "0"
22                         register "com1_address" = "0x3F8"
23                         register "com1_irq" = "4"
24                         register "com2_enable" = "0"
25                         register "com2_address" = "0x2F8"
26                         register "com2_irq" = "3"
27                         register "unwanted_vpci[0]" = "0"       # End of list has a zero
28                                 device pci f.0 on       # ISA Bridge
29                                 chip superio/winbond/w83627hf
30                                         device pnp 2e.0 off #  Floppy
31                                                 io 0x60 = 0x3f0
32                                                 irq 0x70 = 6
33                                                 drq 0x74 = 2
34                                         end
35                                         device pnp 2e.1 on #  Parallel Port
36                                                 io 0x60 = 0x378
37                                                 irq 0x70 = 7
38                                         end
39                                         device pnp 2e.2 on #  Com1
40                                                 io 0x60 = 0x3f8
41                                                 irq 0x70 = 4
42                                         end
43                                         device pnp 2e.3 on #  Com2
44                                                 io 0x60 = 0x2f8
45                                                 irq 0x70 = 3
46                                         end
47                                         device pnp 2e.5 on #  Keyboard
48                                                 io 0x60 = 0x60
49                                                 io 0x62 = 0x64
50                                                 irq 0x70 = 1
51                                                 irq 0x72 = 12
52                                         end
53                                         device pnp 2e.6 off #  CIR
54                                                 io 0x60 = 0x100
55                                         end
56                                         device pnp 2e.7 off #  GAME_MIDI_GIPO1
57                                                 io 0x60 = 0x220
58                                                 io 0x62 = 0x300
59                                                 irq 0x70 = 9
60                                         end
61                                         device pnp 2e.8 on end #  GPIO2
62                                         device pnp 2e.9 on end #  GPIO3
63                                         device pnp 2e.a on end #  ACPI
64                                         device pnp 2e.b on #  HW Monitor
65                                                 io 0x60 = 0x290
66                                                 irq 0x70 = 5
67                                         end
68                                 end
69                         end
70                         device pci f.1 on end   # Flash controller
71                         device pci f.2 on end   # IDE controller
72                                 device pci f.3 on end   # Audio
73                                 device pci f.4 on end   # OHCI
74                         device pci f.5 on end   # EHCI
75                 end
76         end
77
78         # APIC cluster is late CPU init.
79         device apic_cluster 0 on
80                 chip cpu/amd/model_lx
81                         device apic 0 on end
82                 end
83         end
84
85 end
86