mb/google/rauru: Enable RTC
[coreboot2.git] / src / mainboard / gigabyte / ga-945gcm-s2l / devicetree.cb
bloba903347e34255f16af3258a8921217b4f220a56c
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/i945
5 device cpu_cluster 0 on ops i945_cpu_bus_ops
6 end
8 register "pci_mmio_size" = "768"
10 device domain 0 on
11 ops i945_pci_domain_ops
12 device pci 00.0 on # host bridge
13 subsystemid 0x1458 0x5000
14 end
15 device pci 01.0 on # i945 PCIe root port
16 subsystemid 0x1458 0x5000
17 end
18 device pci 02.0 on # vga controller
19 subsystemid 0x1458 0xd000
20 end
22 chip southbridge/intel/i82801gx
23 register "pirqa_routing" = "0x80"
24 register "pirqb_routing" = "0x80"
25 register "pirqc_routing" = "0x80"
26 register "pirqd_routing" = "0x80"
27 register "pirqe_routing" = "0x80"
28 register "pirqf_routing" = "0x80"
29 register "pirqg_routing" = "0x80"
30 register "pirqh_routing" = "0x80"
32 # GPI routing
33 # 0 No effect (default)
34 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
35 # 2 SCI (if corresponding GPIO_EN bit is also set)
36 register "gpi0_routing" = "1"
37 register "gpi1_routing" = "1"
38 register "gpi2_routing" = "1"
39 register "gpi3_routing" = "1"
40 register "gpi4_routing" = "1"
41 register "gpi5_routing" = "1"
42 register "gpi6_routing" = "1"
43 register "gpi7_routing" = "1"
44 register "gpi8_routing" = "1"
45 register "gpi9_routing" = "1"
46 register "gpi10_routing" = "1"
47 register "gpi11_routing" = "1"
48 register "gpi12_routing" = "1"
49 register "gpi13_routing" = "2"
50 register "gpi14_routing" = "1"
51 register "gpi15_routing" = "1"
53 register "gpe0_en" = "0"
55 register "ide_enable_primary" = "true"
56 register "ide_enable_secondary" = "false"
57 register "c3_latency" = "85"
59 register "p_cnt_throttling_supported" = "false"
61 register "gen1_dec" = "0x000c0801" # ???
62 register "gen2_dec" = "0x00040291" # Environment Controller
64 device pci 1b.0 on end # High Definition Audio
65 device pci 1c.0 on end # PCIe
66 device pci 1c.1 on end # PCIe
67 device pci 1c.2 off end # PCIe port 3
68 device pci 1c.3 off end # PCIe port 4
69 device pci 1c.4 off end # PCIe port 5
70 device pci 1c.5 off end # PCIe port 6
71 device pci 1d.0 on end # USB UHCI
72 device pci 1d.1 on end # USB UHCI
73 device pci 1d.2 on end # USB UHCI
74 device pci 1d.3 on end # USB UHCI
75 device pci 1d.7 on end # USB2 EHCI
76 device pci 1e.0 on end # PCI bridge
77 device pci 1e.2 off end # AC'97 Audio
78 device pci 1e.3 off end # AC'97 Modem
80 device pci 1f.0 on # LPC bridge
81 chip superio/ite/it8718f # Super I/O
82 register "TMPIN1.mode" = "THERMAL_RESISTOR"
83 register "TMPIN2.mode" = "THERMAL_RESISTOR"
84 register "TMPIN3.mode" = "THERMAL_DIODE"
85 register "TMPIN3.offset" = "0"
86 register "ec.vin_mask" = "VIN_ALL"
88 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
89 register "FAN1.smart.tmpin" = "3"
90 register "FAN1.smart.tmp_off" = "30"
91 register "FAN1.smart.tmp_start" = "35"
92 register "FAN1.smart.tmp_full" = "75"
93 register "FAN1.smart.tmp_delta" = "3"
94 register "FAN1.smart.smoothing" = "1"
95 register "FAN1.smart.pwm_start" = "0"
96 register "FAN1.smart.slope" = "10"
98 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
99 register "FAN2.smart.tmpin" = "3"
100 register "FAN2.smart.tmp_off" = "30"
101 register "FAN2.smart.tmp_start" = "35"
102 register "FAN2.smart.tmp_full" = "75"
103 register "FAN2.smart.tmp_delta" = "3"
104 register "FAN2.smart.smoothing" = "1"
105 register "FAN2.smart.pwm_start" = "0"
106 register "FAN2.smart.slope" = "10"
108 device pnp 2e.0 off end # Floppy
109 device pnp 2e.1 on # COM1
110 io 0x60 = 0x3f8
111 irq 0x70 = 4
113 device pnp 2e.2 off end # COM2
114 device pnp 2e.3 on # Parallel port
115 io 0x60 = 0x378
116 irq 0x70 = 7
117 io 0x62 = 0
118 drq 0x74 = 4
119 irq 0xf0 = 0x08
121 device pnp 2e.4 on # Environment controller
122 io 0x60 = 0x290
123 irq 0x70 = 0x00
124 io 0x62 = 0x000
125 irq 0xf0 = 0x00
126 irq 0xf1 = 0x00
127 irq 0xf2 = 0x0a
128 irq 0xf3 = 0x00
129 irq 0xf4 = 0x80
130 irq 0xf5 = 0x20
131 irq 0xf6 = 0x3e
133 device pnp 2e.5 on # Keyboard
134 io 0x60 = 0x60
135 irq 0x70 = 1
136 io 0x62 = 0x64
137 irq 0xf0 = 0x48
139 device pnp 2e.6 on # Mouse
140 irq 0x70 = 0
141 irq 0x71 = 2
142 irq 0xf0 = 0
146 device pci 1f.1 on end # IDE
147 device pci 1f.2 on end # SATA
148 device pci 1f.3 on end # SMBus