cpu/intel/common: Use a common acpi/cpu.asl file
[coreboot.git] / src / mainboard / lenovo / x230 / devicetree.cb
bloba31be72b165997ea50a9a62659e37a81cd4adf29
1 chip northbridge/intel/sandybridge
2 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
6 # Enable DisplayPort Hotplug with 6ms pulse
7 register "gpu_dp_d_hotplug" = "0x06"
9 # Enable Panel as LVDS and configure power delays
10 register "gpu_panel_port_select" = "0" # LVDS
11 register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms
12 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
13 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
14 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
15 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
16 register "gfx.use_spread_spectrum_clock" = "1"
17 register "gfx.link_frequency_270_mhz" = "1"
18 register "gpu_cpu_backlight" = "0x1155"
19 register "gpu_pch_backlight" = "0x11551155"
21 device cpu_cluster 0 on
22 chip cpu/intel/socket_rPGA989
23 device lapic 0 on end
24 end
25 chip cpu/intel/model_206ax
26 # Magic APIC ID to locate this chip
27 device lapic 0xACAC off end
29 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
30 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
31 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
33 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
34 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
35 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
36 end
37 end
39 register "pci_mmio_size" = "1024"
41 device domain 0 on
42 device pci 00.0 on
43 subsystemid 0x17aa 0x21fa
44 end # host bridge
45 device pci 01.0 off end # PCIe Bridge for discrete graphics
46 device pci 02.0 on
47 subsystemid 0x17aa 0x21fa
48 end # vga controller
50 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
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 "alt_gp_smi_en" = "0x0000"
56 register "gpi1_routing" = "2"
57 register "gpi13_routing" = "2"
59 # Enable SATA ports 0 (HDD bay) & 1 (dock) & 2 (msata)
60 register "sata_port_map" = "0x7"
61 # Set max SATA speed to 6.0 Gb/s
62 register "sata_interface_speed_support" = "0x3"
64 register "gen1_dec" = "0x7c1601"
65 register "gen2_dec" = "0x0c15e1"
66 register "gen4_dec" = "0x0c06a1"
68 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
70 register "xhci_switchable_ports" = "0xf"
71 register "superspeed_capable_ports" = "0xf"
72 register "xhci_overcurrent_mapping" = "0x4000201"
74 # Enable zero-based linear PCIe root port functions
75 register "pcie_port_coalesce" = "1"
76 register "c2_latency" = "101" # c2 not supported
77 register "p_cnt_throttling_supported" = "1"
79 register "spi_uvscc" = "0x2005"
80 register "spi_lvscc" = "0x2005"
82 device pci 14.0 on
83 subsystemid 0x17aa 0x21fa
84 end # USB 3.0 Controller
85 device pci 16.0 on
86 subsystemid 0x17aa 0x21fa
87 end # Management Engine Interface 1
88 device pci 16.1 off end # Management Engine Interface 2
89 device pci 16.2 off end # Management Engine IDE-R
90 device pci 16.3 off end # Management Engine KT
91 device pci 19.0 on
92 subsystemid 0x17aa 0x21f3
93 end # Intel Gigabit Ethernet
94 device pci 1a.0 on
95 subsystemid 0x17aa 0x21fa
96 end # USB2 EHCI #2
97 device pci 1b.0 on
98 subsystemid 0x17aa 0x21fa
99 end # High Definition Audio
100 device pci 1c.0 on
101 subsystemid 0x17aa 0x21fa
102 chip drivers/ricoh/rce822
103 register "sdwppol" = "1"
104 register "disable_mask" = "0x87"
105 device pci 00.0 on
106 subsystemid 0x17aa 0x21fa
109 end # PCIe Port #1
110 device pci 1c.1 on
111 subsystemid 0x17aa 0x21fa
112 end # PCIe Port #2
113 device pci 1c.2 on
114 subsystemid 0x17aa 0x21fa
115 end # PCIe Port #3 (expresscard)
116 device pci 1c.3 off end # PCIe Port #4
117 device pci 1c.4 off end # PCIe Port #5
118 device pci 1c.5 off end # PCIe Port #6
119 device pci 1c.6 off end # PCIe Port #7
120 device pci 1c.7 off end # PCIe Port #8
121 device pci 1d.0 on
122 subsystemid 0x17aa 0x21fa
123 end # USB2 EHCI #1
124 device pci 1e.0 off end # PCI bridge
125 device pci 1f.0 on #LPC bridge
126 subsystemid 0x17aa 0x21fa
127 chip ec/lenovo/pmh7
128 device pnp ff.1 on # dummy
130 register "backlight_enable" = "0x01"
131 register "dock_event_enable" = "0x01"
134 chip drivers/pc80/tpm
135 device pnp 0c31.0 on end
138 chip ec/lenovo/h8
139 device pnp ff.2 on # dummy
140 io 0x60 = 0x62
141 io 0x62 = 0x66
142 io 0x64 = 0x1600
143 io 0x66 = 0x1604
146 register "config0" = "0xa6"
147 register "config1" = "0x09"
148 register "config2" = "0xa0"
149 register "config3" = "0xe0"
151 register "has_keyboard_backlight" = "1"
153 register "beepmask0" = "0x00"
154 register "beepmask1" = "0x86"
155 register "has_power_management_beeps" = "0"
156 register "event2_enable" = "0xff"
157 register "event3_enable" = "0xff"
158 register "event4_enable" = "0xd0"
159 register "event5_enable" = "0xfc"
160 register "event6_enable" = "0x00"
161 register "event7_enable" = "0x01"
162 register "event8_enable" = "0x7b"
163 register "event9_enable" = "0xff"
164 register "eventa_enable" = "0x01"
165 register "eventb_enable" = "0x00"
166 register "eventc_enable" = "0xff"
167 register "eventd_enable" = "0xff"
168 register "evente_enable" = "0x0d"
170 # BDC detection is broken on this board:
171 # BDC shorts pin14 and pin1
172 # BDC's connector pin14 is left floating
173 # BDC's connector pin1 is routed to SB GPIO 54
174 register "has_bdc_detection" = "0"
176 register "has_wwan_detection" = "1"
177 register "wwan_gpio_num" = "70"
178 register "wwan_gpio_lvl" = "0"
180 end # LPC bridge
181 device pci 1f.2 on
182 subsystemid 0x17aa 0x21fa
183 end # SATA Controller 1
184 device pci 1f.3 on
185 subsystemid 0x17aa 0x21fa
186 # eeprom, 8 virtual devices, same chip
187 chip drivers/i2c/at24rf08c
188 device i2c 54 on end
189 device i2c 55 on end
190 device i2c 56 on end
191 device i2c 57 on end
192 device i2c 5c on end
193 device i2c 5d on end
194 device i2c 5e on end
195 device i2c 5f on end
197 end # SMBus
198 device pci 1f.5 off end # SATA Controller 2
199 device pci 1f.6 on
200 subsystemid 0x17aa 0x21fa
201 end # Thermal