payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / t60 / devicetree.cb
blob7709a87949851615f878d05a3eef82bedef470b5
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/i945
4 # IGD Displays
5 register "gfx" = "GMA_STATIC_DISPLAYS(0)"
7 register "gpu_hotplug" = "0x00000220"
8 register "gpu_lvds_use_spread_spectrum_clock" = "1"
9 register "pwm_freq" = "275"
10 register "gpu_panel_power_up_delay" = "250"
11 register "gpu_panel_power_backlight_on_delay" = "2380"
12 register "gpu_panel_power_down_delay" = "250"
13 register "gpu_panel_power_backlight_off_delay" = "2380"
14 register "gpu_panel_power_cycle_delay" = "2"
16 device cpu_cluster 0 on
17 chip cpu/intel/socket_m
18 device lapic 0 on end
19 end
20 end
22 register "pci_mmio_size" = "768"
24 device domain 0 on
25 device pci 00.0 on # Host bridge
26 subsystemid 0x17aa 0x2015
27 end
28 device pci 01.0 on # PCI-e
29 device pci 00.0 on # VGA
30 subsystemid 0x17aa 0x20a4
31 end
32 end
34 device pci 02.0 on # GMA Graphics controller
35 subsystemid 0x17aa 0x201a
36 end
37 device pci 02.1 on # display controller
38 subsystemid 0x17aa 0x201a
39 end
41 chip southbridge/intel/i82801gx
42 register "pirqa_routing" = "0x0b"
43 register "pirqb_routing" = "0x0b"
44 register "pirqc_routing" = "0x0b"
45 register "pirqd_routing" = "0x0b"
46 register "pirqe_routing" = "0x0b"
47 register "pirqf_routing" = "0x0b"
48 register "pirqg_routing" = "0x0b"
49 register "pirqh_routing" = "0x0b"
51 # GPI routing
52 # 0 No effect (default)
53 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
54 # 2 SCI (if corresponding GPIO_EN bit is also set)
55 register "gpi13_routing" = "2"
56 register "gpi12_routing" = "2"
57 register "gpi8_routing" = "2"
59 register "sata_ports_implemented" = "0x01"
61 register "gpe0_en" = "0x11000006"
62 register "alt_gp_smi_en" = "0x1000"
64 register "c4onc3_enable" = "1"
65 register "c3_latency" = "0x23"
66 register "docking_supported" = "1"
67 register "p_cnt_throttling_supported" = "1"
69 register "gen1_dec" = "0x007c1601"
70 register "gen2_dec" = "0x000c15e1"
71 register "gen3_dec" = "0x001c1681"
73 device pci 1b.0 on # Audio Controller
74 subsystemid 0x17aa 0x2010
75 end
76 device pci 1c.0 on # Ethernet
77 subsystemid 0x17aa 0x2001
78 end
79 device pci 1c.1 on end # WLAN
80 device pci 1c.2 on end # PCIe port 3
81 device pci 1c.3 on end # PCIe port 4
82 device pci 1c.4 off end # PCIe port 5
83 device pci 1c.5 off end # PCIe port 6
85 device pci 1d.0 on # USB UHCI
86 subsystemid 0x17aa 0x200a
87 end
88 device pci 1d.1 on # USB UHCI
89 subsystemid 0x17aa 0x200a
90 end
91 device pci 1d.2 on # USB UHCI
92 subsystemid 0x17aa 0x200a
93 end
94 device pci 1d.3 on # USB UHCI
95 subsystemid 0x17aa 0x200a
96 end
97 device pci 1d.7 on # USB2 EHCI
98 subsystemid 0x17aa 0x200b
99 end
100 device pci 1e.0 on # PCI Bridge
101 chip southbridge/ti/pci1x2x
102 device pci 00.0 on
103 subsystemid 0x17aa 0x2012
105 register "scr" = "0x0844d070"
106 register "mrr" = "0x01d01002"
109 device pci 1e.2 off end # AC'97 Audio
110 device pci 1e.3 off end # AC'97 Modem
111 device pci 1f.0 on # PCI-LPC bridge
112 subsystemid 0x17aa 0x2009
113 chip ec/lenovo/pmh7
114 device pnp ff.1 on end # dummy
115 register "backlight_enable" = "0x01"
116 register "dock_event_enable" = "0x01"
118 chip ec/lenovo/h8
119 device pnp ff.2 on # dummy
120 io 0x60 = 0x62
121 io 0x62 = 0x66
122 io 0x64 = 0x1600
123 io 0x66 = 0x1604
126 register "config0" = "0xa6"
127 register "config1" = "0x05"
128 register "config2" = "0xa0"
129 register "config3" = "0x01"
131 register "beepmask0" = "0xfe"
132 register "beepmask1" = "0x96"
133 register "has_power_management_beeps" = "1"
135 register "event2_enable" = "0xff"
136 register "event3_enable" = "0xff"
137 register "event4_enable" = "0xf4"
138 register "event5_enable" = "0x3f"
139 register "event6_enable" = "0x80"
140 register "event7_enable" = "0x01"
141 register "event8_enable" = "0x01"
142 register "event9_enable" = "0xff"
143 register "eventa_enable" = "0xff"
144 register "eventb_enable" = "0xff"
145 register "eventc_enable" = "0x3c"
146 register "eventd_enable" = "0xff"
148 chip superio/nsc/pc87382
149 device pnp 164e.2 on # IR
150 io 0x60 = 0x2f8
153 device pnp 164e.3 off # Serial Port
154 io 0x60 = 0x3f8
157 device pnp 164e.7 on # GPIO
158 io 0x60 = 0x1680
161 device pnp 164e.19 on # DLPC
162 io 0x60 = 0x164c
166 chip superio/nsc/pc87384
167 device pnp 2e.0 off end #FDC
169 device pnp 2e.1 on # Parallel Port
170 io 0x60 = 0x3bc
171 irq 0x70 = 7
174 device pnp 2e.2 off # Serial Port / IR
175 io 0x60 = 0x2f8
176 irq 0x70 = 4
179 device pnp 2e.3 on # Serial Port
180 io 0x60 = 0x3f8
181 irq 0x70 = 4
184 device pnp 2e.7 on # GPIO
185 io 0x60 = 0x1620
188 device pnp 2e.a off end # WDT
191 device pci 1f.2 on # SATA
192 subsystemid 0x17aa 0x200d
194 device pci 1f.3 on # SMBUS
195 subsystemid 0x17aa 0x200f
196 chip drivers/i2c/ck505
197 device i2c 69 on end
199 # eeprom, 8 virtual devices, same chip
200 chip drivers/i2c/at24rf08c
201 device i2c 54 on end
202 device i2c 55 on end
203 device i2c 56 on end
204 device i2c 57 on end
205 device i2c 5c on end
206 device i2c 5d on end
207 device i2c 5e on end
208 device i2c 5f on end