src/: Replace GPL boilerplate with SPDX headers
[coreboot.git] / src / mainboard / getac / p470 / devicetree.cb
blobe366287255719ccf13e05f50fb6d6e6951f29a18
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ##
5 ## SPDX-License-Identifier: GPL-2.0-only
7 chip northbridge/intel/i945
8 # IGD Displays
9 register "gfx.ndid" = "2"
10 register "gfx.did" = "{ 0x80000100, 0x80000410, 0x80000320, 0x80000410, 0x00000005 }"
12 device cpu_cluster 0 on
13 chip cpu/intel/socket_m
14 device lapic 0 on end
15 end
16 end
18 register "pci_mmio_size" = "768"
20 device domain 0 on
21 device pci 00.0 on end # host bridge
22 device pci 01.0 off end # i945 PCIe root port
23 device pci 02.0 on end # vga controller
24 device pci 02.1 on end # display controller
26 chip southbridge/intel/i82801gx
27 register "pirqa_routing" = "0x0a"
28 register "pirqb_routing" = "0x0a"
29 register "pirqc_routing" = "0x0a"
30 register "pirqd_routing" = "0x0a"
31 register "pirqe_routing" = "0x80"
32 register "pirqf_routing" = "0x80"
33 register "pirqg_routing" = "0x0a"
34 register "pirqh_routing" = "0x0a"
36 # GPI routing
37 # 0 No effect (default)
38 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
39 # 2 SCI (if corresponding GPIO_EN bit is also set)
40 register "gpi8_routing" = "1" # EXTSMI low active
41 register "gpi7_routing" = "2" # ECSCI low active
43 # GPE0 Enables
44 register "gpe0_en" = "0x00800106"
45 register "alt_gp_smi_en" = "0x0100"
47 register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED"
48 register "ide_enable_primary" = "0x1"
49 register "ide_enable_secondary" = "0x0"
51 register "c3_latency" = "85"
52 register "docking_supported" = "1"
53 register "p_cnt_throttling_supported" = "1"
55 register "gen1_dec" = "0x001c02e1"
56 register "gen2_dec" = "0x00fc0601"
57 register "gen3_dec" = "0x00040069"
59 device pci 1b.0 on end # High Definition Audio
60 device pci 1c.0 on end # PCIe port 1
61 device pci 1c.1 on end # PCIe port 2
62 device pci 1c.2 on end # PCIe port 3
63 device pci 1c.3 on end # PCIe port 4
64 device pci 1c.4 off end # PCIe port 5
65 device pci 1c.5 off end # PCIe port 6
66 device pci 1d.0 on end # USB UHCI
67 device pci 1d.1 on end # USB UHCI
68 device pci 1d.2 on end # USB UHCI
69 device pci 1d.3 on end # USB UHCI
70 device pci 1d.7 on end # USB2 EHCI
71 device pci 1e.0 on
72 chip southbridge/ti/pcixx12
74 end
75 end # PCI bridge
76 device pci 1e.2 off end # AC'97 Audio
77 device pci 1e.3 off end # AC'97 Modem
78 device pci 1f.0 on # LPC bridge
79 chip superio/smsc/fdc37n972
80 device pnp 2e.0 off # Floppy
81 end
82 device pnp 2e.1 off # ACPI PM
83 end
84 # 2e.2 does not exist
85 device pnp 2e.3 on # Parallel port
86 io 0x60 = 0x378
87 irq 0x70 = 5
88 end
89 device pnp 2e.4 on # COM1
90 io 0x60 = 0x3f8
91 irq 0x70 = 4
92 end
93 device pnp 2e.5 off
94 end
95 #device pnp 2e.6 on # RTC
96 # io 0x60 = 0x70
97 # io 0x62 = 0x74
98 #end
99 device pnp 2e.7 off # Keyboard
101 device pnp 2e.8 off # EC
102 io 0x60 = 0x62
104 #device pnp 2e.9 on # Mailbox
105 #end
107 chip superio/smsc/sio10n268
108 device pnp 4e.0 off # Floppy
110 device pnp 4e.1 off # Parport
112 #device pnp 4e.2 on # COM3
113 # io 0x60 = 0x3e8
114 # irq 0x70 = 6
115 #end
116 #device pnp 4e.3 on # COM4
117 # io 0x60 = 0x2e8
118 # irq 0x70 = 6
119 #end
120 device pnp 4e.5 on # Keyboard
121 io 0x60 = 0x60
122 io 0x62 = 0x64
124 device pnp 4e.7 off # GPIO1, GAME, MIDI
126 device pnp 4e.8 off # GPIO2
128 device pnp 4e.9 off # GPIO3/4
130 device pnp 4e.a off # ACPI
132 device pnp 4e.b off # HWM
134 chip ec/acpi
139 device pci 1f.1 off end # IDE
140 device pci 1f.2 on end # SATA
141 device pci 1f.3 on end # SMBus