payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / x1_carbon_gen1 / devicetree.cb
blobcbf1141aec8e3e8f1aad2d47c24ab7c3ac491501
1 chip northbridge/intel/sandybridge
2 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
3 register "gpu_cpu_backlight" = "0x00001155"
4 register "gpu_dp_b_hotplug" = "4"
5 register "gpu_dp_c_hotplug" = "4"
6 register "gpu_dp_d_hotplug" = "4"
7 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
8 register "gpu_panel_power_backlight_off_delay" = "2000"
9 register "gpu_panel_power_backlight_on_delay" = "3000"
10 register "gpu_panel_power_cycle_delay" = "6"
11 register "gpu_panel_power_down_delay" = "300"
12 register "gpu_panel_power_up_delay" = "300"
13 register "gpu_pch_backlight" = "0x11551155"
15 device cpu_cluster 0 on
16 chip cpu/intel/model_206ax
17 # Magic APIC ID to locate this chip
18 device lapic 0 on end
19 device lapic 0xacac off end
21 register "acpi_c1" = "1" # ACPI(C1) = MWAIT(C1)
22 register "acpi_c2" = "3" # ACPI(C2) = MWAIT(C3)
23 register "acpi_c3" = "5" # ACPI(C3) = MWAIT(C7)
24 end
25 end
27 device domain 0 on
28 subsystemid 0x17aa 0x21f9 inherit
30 device pci 00.0 on end # host bridge
31 device pci 01.0 off end # PCIe Bridge for discrete graphics
32 device pci 02.0 on end # vga controller
34 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
35 # GPI routing
36 # 0 No effect (default)
37 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
38 # 2 SCI (if corresponding GPIO_EN bit is also set)
39 register "alt_gp_smi_en" = "0x0000"
40 register "gpi1_routing" = "2"
41 register "gpi13_routing" = "2"
43 # Enable SATA ports 0 (HDD bay) 2 (msata)
44 register "sata_port_map" = "0x5"
45 # Set max SATA speed to 6.0 Gb/s
46 register "sata_interface_speed_support" = "0x3"
48 register "gen1_dec" = "0x7c1601"
49 register "gen2_dec" = "0x0c15e1"
50 register "gen3_dec" = "0x000000"
51 register "gen4_dec" = "0x0c06a1"
53 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }"
55 register "xhci_switchable_ports" = "0xf"
56 register "superspeed_capable_ports" = "0xf"
57 register "xhci_overcurrent_mapping" = "0x4000201"
59 # Enable zero-based linear PCIe root port functions
60 register "pcie_port_coalesce" = "true"
62 register "spi_uvscc" = "0x2005"
63 register "spi_lvscc" = "0x2005"
65 device pci 14.0 on end # USB 3.0 Controller
66 device pci 16.0 on end # Management Engine Interface 1
67 device pci 16.1 off end # Management Engine Interface 2
68 device pci 16.2 off end # Management Engine IDE-R
69 device pci 16.3 off end # Management Engine KT
70 device pci 19.0 off end # Intel Gigabit Ethernet
71 device pci 1a.0 on end # USB2 EHCI #2
72 device pci 1b.0 on end # High Definition Audio
73 device pci 1c.0 on
74 chip drivers/ricoh/rce822
75 register "sdwppol" = "0"
76 register "disable_mask" = "0x87"
77 device pci 00.0 on end
78 end
79 end # PCIe Port #1
80 device pci 1c.1 on end # PCIe Port #2
81 device pci 1c.2 off end # PCIe Port #3
82 device pci 1c.3 off end # PCIe Port #4
83 device pci 1c.4 off end # PCIe Port #5
84 device pci 1c.5 off end # PCIe Port #6
85 device pci 1c.6 off end # PCIe Port #7
86 device pci 1c.7 off end # PCIe Port #8
87 device pci 1d.0 on end # USB2 EHCI #1
88 device pci 1e.0 off end # PCI bridge
89 device pci 1f.0 on #LPC bridge
90 chip ec/lenovo/pmh7
91 device pnp ff.1 on end # dummy
92 register "backlight_enable" = "0x01"
93 register "dock_event_enable" = "0x01"
94 end
96 chip drivers/pc80/tpm
97 device pnp 0c31.0 on end
98 end
100 chip ec/lenovo/h8
101 device pnp ff.2 on # dummy
102 io 0x60 = 0x62
103 io 0x62 = 0x66
104 io 0x64 = 0x1600
105 io 0x66 = 0x1604
108 register "has_keyboard_backlight" = "1"
110 register "beepmask0" = "0x00"
111 register "beepmask1" = "0x86"
112 register "config0" = "0xa6"
113 register "config1" = "0x05"
114 register "config2" = "0xa0"
115 register "config3" = "0xc0"
116 register "event2_enable" = "0xff"
117 register "event3_enable" = "0xff"
118 register "event4_enable" = "0xc0"
119 register "event5_enable" = "0x3c"
120 register "event7_enable" = "0x01"
121 register "event8_enable" = "0x7b"
122 register "event9_enable" = "0xff"
123 register "eventc_enable" = "0xff"
124 register "eventd_enable" = "0xff"
125 register "evente_enable" = "0x0d"
127 register "has_bdc_detection" = "1"
128 register "bdc_gpio_num" = "54"
129 register "bdc_gpio_lvl" = "0"
131 register "has_wwan_detection" = "1"
132 register "wwan_gpio_num" = "70"
133 register "wwan_gpio_lvl" = "0"
135 end # LPC bridge
136 device pci 1f.2 on end # SATA Controller 1
137 device pci 1f.3 on
138 # eeprom, 8 virtual devices, same chip
139 chip drivers/i2c/at24rf08c
140 device i2c 54 on end
141 device i2c 55 on end
142 device i2c 56 on end
143 device i2c 57 on end
144 device i2c 5c on end
145 device i2c 5d on end
146 device i2c 5e on end
147 device i2c 5f on end
149 end # SMBus
150 device pci 1f.5 off end # SATA Controller 2
151 device pci 1f.6 on end # Thermal