mb/google/fatcat/variants/fatcat: Enable BT audio offload
[coreboot2.git] / src / mainboard / lenovo / x131e / devicetree.cb
blobdfd11d566cbbf2200d5ddb70a9a72817c77d3f02
1 chip northbridge/intel/sandybridge
2 # IGD Displays
3 register "gfx" = "GMA_STATIC_DISPLAYS(1)"
5 register "gpu_dp_d_hotplug" = "0x04"
7 # Enable Panel as LVDS and configure power delays
8 register "gpu_panel_port_select" = "PANEL_PORT_LVDS"
9 register "gpu_panel_power_cycle_delay" = "4"
10 register "gpu_panel_power_up_delay" = "100"
11 register "gpu_panel_power_down_delay" = "100"
12 register "gpu_panel_power_backlight_on_delay" = "3000"
13 register "gpu_panel_power_backlight_off_delay" = "2000"
14 register "gpu_cpu_backlight" = "0x1155"
15 register "gpu_pch_backlight" = "0x11551155"
17 register "spd_addresses" = "{0x50, 0, 0x52, 0}"
19 device domain 0 on
20 subsystemid 0x17aa 0x21fe inherit
22 device ref host_bridge on end # Host bridge
23 device ref peg10 off end # PCIe Bridge for discrete graphics
24 device ref igd on end # Internal graphics VGA controller
25 device ref dev4 off end # Signal processing controller
27 chip southbridge/intel/bd82x6x
28 # GPI routing
29 register "alt_gp_smi_en" = "0x0000"
30 register "gpi6_routing" = "2"
31 register "gpi13_routing" = "2"
33 # Enable SATA ports 0 (2.5 inch) and 1 (mSATA)
34 register "sata_port_map" = "0x3"
35 # Set max SATA speed to 6.0 Gb/s
36 register "sata_interface_speed_support" = "0x3"
38 register "gen1_dec" = "0x007c1611"
39 register "gen2_dec" = "0x00040069"
40 register "gen3_dec" = "0x000c0701"
41 register "gen4_dec" = "0x000c06a1"
43 register "xhci_switchable_ports" = "0x3"
44 register "superspeed_capable_ports" = "0x3"
45 register "usb_port_config" = "{
46 {1, 1, 0}, /* P0: USB 3.0 1 (OC0) */
47 {1, 1, 0}, /* P1: USB 3.0 2 (OC0) */
48 {0, 0, -1},
49 {1, 1, -1}, /* P3: Camera (no OC) */
50 {1, 0, -1}, /* P4: WLAN (no OC) */
51 {1, 0, -1}, /* P5: WWAN (no OC) */
52 {0, 0, 0}, {0, 0, 0}, {0, 0, 0},
53 {1, 1, 4}, /* P9: USB 2.0 (AUO4) (OC4) */
54 {0, 0, 0}, {0, 0, 0}, {0, 0, 0},
55 {1, 0, -1} /* P13: Bluetooth (no OC) */
58 # Enable zero-based linear PCIe root port functions
59 register "pcie_port_coalesce" = "true"
61 register "spi_uvscc" = "0x2005"
62 register "spi_lvscc" = "0x2005"
64 device ref xhci on end # USB 3.0 Controller
65 device ref mei1 on end # Management Engine Interface 1
66 device ref mei2 off end # Management Engine Interface 2
67 device ref me_ide_r off end # Management Engine IDE-R
68 device ref me_kt off end # Management Engine KT
69 device ref gbe off end # Intel Gigabit Ethernet
70 device ref ehci2 on end # USB2 EHCI #2
71 device ref hda on end # High Definition Audio controller
72 device ref pcie_rp1 on end # PCIe Port #1
73 device ref pcie_rp2 on end # PCIe Port #2 (WLAN card)
74 device ref pcie_rp3 on end # PCIe Port #3 (Card Reader)
75 device ref pcie_rp4 off end # PCIe Port #4
76 device ref pcie_rp5 off end # PCIe Port #5
77 device ref pcie_rp6 on end # PCIe Port #6 (Ethernet controller)
78 device ref pcie_rp7 off end # PCIe Port #7
79 device ref pcie_rp8 off end # PCIe Port #8
80 device ref ehci1 on end # USB2 EHCI #1
81 device ref pci_bridge off end # PCI bridge
82 device ref lpc on # LPC bridge PCI-LPC bridge
83 chip drivers/pc80/tpm
84 device pnp 0c31.0 on end
85 end
87 chip ec/lenovo/h8
88 device pnp ff.1 on # dummy
89 io 0x60 = 0x62
90 io 0x62 = 0x66
91 io 0x64 = 0x1600
92 io 0x66 = 0x1604
93 end
95 register "config0" = "0xa6"
96 register "config1" = "0x04"
97 register "config2" = "0xa0"
98 register "config3" = "0x62"
100 register "has_keyboard_backlight" = "0"
102 register "beepmask0" = "0x00"
103 register "beepmask1" = "0x87"
104 register "has_power_management_beeps" = "0"
106 register "event0_enable" = "0xff"
107 register "event1_enable" = "0xff"
108 register "event2_enable" = "0xff"
109 register "event3_enable" = "0xff"
110 register "event4_enable" = "0xff"
111 register "event5_enable" = "0xff"
112 register "event6_enable" = "0xff"
113 register "event7_enable" = "0xff"
114 register "event8_enable" = "0xff"
115 register "event9_enable" = "0xff"
116 register "eventa_enable" = "0xff"
117 register "eventb_enable" = "0xff"
118 register "eventc_enable" = "0xff"
119 register "eventd_enable" = "0xff"
120 register "evente_enable" = "0xff"
121 register "eventf_enable" = "0xff"
124 device ref sata1 on end # SATA Controller 1
125 device ref smbus on # SMBus
126 # eeprom, 8 virtual devices, same chip
127 chip drivers/i2c/at24rf08c
128 device i2c 54 on end
129 device i2c 55 on end
130 device i2c 56 on end
131 device i2c 57 on end
132 device i2c 5c on end
133 device i2c 5d on end
134 device i2c 5e on end
135 device i2c 5f on end
138 device ref sata2 off end # SATA Controller 2
139 device ref thermal off end # Thermal