payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / x201 / devicetree.cb
blobeffe4ef2611875608848cc872c467ac2ce15e2e9
1 ## SPDX-License-Identifier: GPL-2.0-only
3 chip northbridge/intel/ironlake
4 # IGD Displays
5 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
8 # Enable DisplayPort Hotplug with 6ms pulse
9 register "gpu_dp_d_hotplug" = "0x06"
11 # Enable Panel as LVDS and configure power delays
12 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
13 register "gpu_panel_power_cycle_delay" = "3"
14 register "gpu_panel_power_up_delay" = "250"
15 register "gpu_panel_power_down_delay" = "250"
16 register "gpu_panel_power_backlight_on_delay" = "2500"
17 register "gpu_panel_power_backlight_off_delay" = "2500"
18 register "gpu_cpu_backlight" = "0x58d"
19 register "gpu_pch_backlight" = "0x061a061a"
21 device cpu_cluster 0 on
22 chip cpu/intel/model_2065x
23 device lapic 0 on end
24 end
25 end
27 device domain 0 on
28 device pci 00.0 on # Host bridge
29 subsystemid 0x17aa 0x2193
30 end
31 device pci 01.0 off end # PEG
32 device pci 02.0 on # VGA controller
33 subsystemid 0x17aa 0x215a
34 end
35 chip southbridge/intel/ibexpeak
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 "gpi1_routing" = "2"
41 register "gpi13_routing" = "2"
43 register "sata_port_map" = "0x03"
45 register "gpe0_en" = "0x20022046"
46 register "alt_gp_smi_en" = "0x0000"
47 register "gen1_dec" = "0x7c1601"
48 register "gen2_dec" = "0x0c15e1"
49 register "gen3_dec" = "0x1c1681"
50 register "gen4_dec" = "0x040069"
52 register "docking_supported" = "1"
54 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
56 device pci 16.0 on end # Management Engine Interface 1
57 device pci 16.1 off end # Management Engine Interface 2
58 device pci 16.2 off end # Management Engine IDE-R, only management boot
59 device pci 16.3 off end # Management Engine KT
61 device pci 19.0 on # Ethernet
62 subsystemid 0x17aa 0x2153
63 end
65 device pci 1a.0 on # USB2 EHCI
66 subsystemid 0x17aa 0x2163
67 end
69 device pci 1b.0 on # Audio Controller
70 subsystemid 0x17aa 0x215e
71 end
73 device pci 1c.0 on end # PCIe Port #1
74 device pci 1c.1 on end # PCIe Port #2 (wwan)
75 device pci 1c.2 off end
76 device pci 1c.3 on
77 smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
78 end # PCIe Port #4 (Expresscard)
79 device pci 1c.4 on end # PCIe Port #5 (wlan)
80 device pci 1c.5 off end
81 device pci 1c.6 off end
82 device pci 1c.7 off end
84 device pci 1d.0 on # USB2 EHCI
85 subsystemid 0x17aa 0x2163
86 end
87 device pci 1e.0 on end # PCI 2 PCI bridge
88 device pci 1f.0 on # PCI-LPC bridge
89 subsystemid 0x17aa 0x2166
90 chip superio/nsc/pc87382
91 device pnp 164e.3 on # Digitizer
92 io 0x60 = 0x200
93 irq 0x29 = 0xb0
94 irq 0x70 = 0x5
95 irq 0xf0 = 0x82
96 end
97 # IR, not connected
98 device pnp 164e.2 off end
99 # GPIO, not connected
100 device pnp 164e.7 off end
101 # DLPC, not connected
102 device pnp 164e.19 off end
104 chip drivers/pc80/tpm
105 device pnp 0c31.0 on end
108 chip ec/lenovo/pmh7
109 device pnp ff.1 on end # dummy
110 register "backlight_enable" = "0x01"
111 register "dock_event_enable" = "0x01"
114 chip ec/lenovo/h8
115 device pnp ff.2 on # dummy
116 io 0x60 = 0x62
117 io 0x62 = 0x66
118 io 0x64 = 0x1600
119 io 0x66 = 0x1604
122 register "config0" = "0xa6"
123 register "config1" = "0x05"
124 register "config2" = "0xa0"
125 register "config3" = "0x01"
127 register "beepmask0" = "0xfe"
128 register "beepmask1" = "0x96"
129 register "has_power_management_beeps" = "1"
131 register "event2_enable" = "0xff"
132 register "event3_enable" = "0xff"
133 register "event4_enable" = "0xf4"
134 register "event5_enable" = "0x3c"
135 register "event6_enable" = "0x80"
136 register "event7_enable" = "0x01"
137 register "event8_enable" = "0x01"
138 register "event9_enable" = "0xff"
139 register "eventa_enable" = "0xff"
140 register "eventb_enable" = "0xff"
141 register "eventc_enable" = "0xff"
142 register "eventd_enable" = "0xff"
144 register "has_bdc_detection" = "1"
145 register "bdc_gpio_num" = "48"
146 register "bdc_gpio_lvl" = "0"
149 device pci 1f.2 on # IDE/SATA
150 subsystemid 0x17aa 0x2168
152 device pci 1f.3 on # SMBUS
153 subsystemid 0x17aa 0x2167
154 # eeprom, 8 virtual devices, same chip
155 chip drivers/i2c/at24rf08c
156 device i2c 54 on end
157 device i2c 55 on end
158 device i2c 56 on end
159 device i2c 57 on end
160 device i2c 5c on end
161 device i2c 5d on end
162 device i2c 5e on end
163 device i2c 5f on end
166 device pci 1f.4 off end
167 device pci 1f.5 off end
168 device pci 1f.6 on end