payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / x60 / devicetree.cb
blob86200629284518ec12b25999cb52ae05f340bdc8
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" = "180"
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 0x2017
27 end
28 device pci 02.0 on # VGA controller
29 subsystemid 0x17aa 0x201a
30 end
31 device pci 02.1 on # display controller
32 subsystemid 0x17aa 0x201a
33 end
34 chip southbridge/intel/i82801gx
35 register "pirqa_routing" = "0x0b"
36 register "pirqb_routing" = "0x0b"
37 register "pirqc_routing" = "0x0b"
38 register "pirqd_routing" = "0x0b"
39 register "pirqe_routing" = "0x0b"
40 register "pirqf_routing" = "0x0b"
41 register "pirqg_routing" = "0x0b"
42 register "pirqh_routing" = "0x0b"
44 # GPI routing
45 # 0 No effect (default)
46 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
47 # 2 SCI (if corresponding GPIO_EN bit is also set)
48 register "gpi13_routing" = "2"
49 register "gpi12_routing" = "1"
50 register "gpi8_routing" = "2"
52 register "sata_ports_implemented" = "0x01"
54 register "gpe0_en" = "0x11000006"
55 register "alt_gp_smi_en" = "0x1000"
57 register "c4onc3_enable" = "1"
59 register "c3_latency" = "0x23"
60 register "docking_supported" = "1"
61 register "p_cnt_throttling_supported" = "1"
63 register "gen1_dec" = "0x007c1601"
64 register "gen2_dec" = "0x000c15e1"
65 register "gen3_dec" = "0x001c1681"
67 device pci 1b.0 on # Audio Controller
68 subsystemid 0x17aa 0x2010
69 end
70 device pci 1c.0 on end # Ethernet
71 device pci 1c.1 on end # Atheros WLAN
72 device pci 1c.2 on end # PCIe port 3
73 device pci 1c.3 on end # PCIe port 4
74 device pci 1c.4 off end # PCIe port 5
75 device pci 1c.5 off end # PCIe port 6
77 device pci 1d.0 on # USB UHCI
78 subsystemid 0x17aa 0x200a
79 end
80 device pci 1d.1 on # USB UHCI
81 subsystemid 0x17aa 0x200a
82 end
83 device pci 1d.2 on # USB UHCI
84 subsystemid 0x17aa 0x200a
85 end
86 device pci 1d.3 on # USB UHCI
87 subsystemid 0x17aa 0x200a
88 end
89 device pci 1d.7 on # USB2 EHCI
90 subsystemid 0x17aa 0x200b
91 end
92 device pci 1e.0 on # PCI Bridge
93 chip southbridge/ricoh/rl5c476
94 device pci 0.0 on end
95 end
96 end
97 device pci 1e.2 off end # AC'97 Audio
98 device pci 1e.3 off end # AC'97 Modem
99 device pci 1f.0 on # PCI-LPC bridge
100 subsystemid 0x17aa 0x2009
101 chip ec/lenovo/pmh7
102 device pnp ff.1 on end # dummy
103 register "backlight_enable" = "0x01"
104 register "dock_event_enable" = "0x01"
106 chip ec/lenovo/h8
107 device pnp ff.2 on # dummy
108 io 0x60 = 0x62
109 io 0x62 = 0x66
110 io 0x64 = 0x1600
111 io 0x66 = 0x1604
114 register "config0" = "0xa6"
115 register "config1" = "0x05"
116 register "config2" = "0xa0"
117 register "config3" = "0x01"
119 register "beepmask0" = "0xfe"
120 register "beepmask1" = "0x96"
121 register "has_power_management_beeps" = "1"
123 register "event2_enable" = "0xff"
124 register "event3_enable" = "0xff"
125 register "event4_enable" = "0xf4"
126 register "event5_enable" = "0x3c"
127 register "event6_enable" = "0x80"
128 register "event7_enable" = "0x01"
129 register "event8_enable" = "0x01"
130 register "event9_enable" = "0xff"
131 register "eventa_enable" = "0xff"
132 register "eventb_enable" = "0xff"
133 register "eventc_enable" = "0xff"
134 register "eventd_enable" = "0xff"
136 register "has_bdc_detection" = "1"
137 register "bdc_gpio_num" = "7"
138 register "bdc_gpio_lvl" = "0"
140 chip superio/nsc/pc87382
141 device pnp 164e.2 on # IR
142 io 0x60 = 0x2f8
145 device pnp 164e.3 on # Digitizer
146 io 0x60 = 0x200
147 irq 0x29 = 0xb0
148 irq 0x70 = 0x5
149 irq 0xf0 = 0x82
152 device pnp 164e.7 on # GPIO
153 io 0x60 = 0x1680
156 device pnp 164e.19 on # DLPC
157 io 0x60 = 0x164c
161 chip superio/nsc/pc87392
162 device pnp 2e.0 off end #FDC
164 device pnp 2e.1 on # Parallel Port
165 io 0x60 = 0x3bc
166 irq 0x70 = 7
169 device pnp 2e.2 off # Serial Port / IR
170 io 0x60 = 0x2f8
171 irq 0x70 = 4
174 device pnp 2e.3 on # Serial Port
175 io 0x60 = 0x3f8
176 irq 0x70 = 4
179 device pnp 2e.7 on # GPIO
180 io 0x60 = 0x1620
183 device pnp 2e.a off end # WDT
186 device pci 1f.1 on # IDE
187 subsystemid 0x17aa 0x200c
189 device pci 1f.2 on # SATA
190 subsystemid 0x17aa 0x200d
192 device pci 1f.3 on # SMBUS
193 subsystemid 0x17aa 0x200f
194 chip drivers/i2c/ck505
195 register "mask" = "{ 0xff, 0xff, 0xff,
196 0xff, 0xff, 0xff, 0xff, 0xff,
197 0xff, 0xff, 0xff, 0xff }"
198 register "regs" = "{ 0x2e, 0xf7, 0x3c,
199 0x20, 0x01, 0x00, 0x1b, 0x01,
200 0x54, 0xff, 0xff, 0x07 }"
201 device i2c 69 on end
203 # eeprom, 8 virtual devices, same chip
204 chip drivers/i2c/at24rf08c
205 device i2c 54 on end
206 device i2c 55 on end
207 device i2c 56 on end
208 device i2c 57 on end
209 device i2c 5c on end
210 device i2c 5d on end
211 device i2c 5e on end
212 device i2c 5f on end