mb/google/rauru: Implement regulator interface
[coreboot.git] / src / mainboard / lenovo / x131e / devicetree.cb
blobb74e78f6c09ea880aca582ad00fe18abace2dbd5
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" = "0xf"
44 register "superspeed_capable_ports" = "0xf"
45 register "xhci_overcurrent_mapping" = "0x00000c03"
46 register "usb_port_config" = "{
47 {1, 1, 0}, /* P0: USB 3.0 1 (OC0) */
48 {1, 1, 0}, /* P1: USB 3.0 2 (OC0) */
49 {0, 0, 0},
50 {1, 1, -1}, /* P3: Camera (no OC) */
51 {1, 0, -1}, /* P4: WLAN (no OC) */
52 {1, 0, -1}, /* P5: WWAN (no OC) */
53 {0, 0, 0}, {0, 0, 0}, {0, 0, 0},
54 {1, 1, 4}, /* P9: USB 2.0 (AUO4) (OC4) */
55 {0, 0, 0}, {0, 0, 0}, {0, 0, 0},
56 {1, 0, -1} /* P13: Bluetooth (no OC) */
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 ref xhci on end # USB 3.0 Controller
66 device ref mei1 on end # Management Engine Interface 1
67 device ref mei2 off end # Management Engine Interface 2
68 device ref me_ide_r off end # Management Engine IDE-R
69 device ref me_kt off end # Management Engine KT
70 device ref gbe off end # Intel Gigabit Ethernet
71 device ref ehci2 on end # USB2 EHCI #2
72 device ref hda on end # High Definition Audio controller
73 device ref pcie_rp1 on end # PCIe Port #1
74 device ref pcie_rp2 on end # PCIe Port #2 (WLAN card)
75 device ref pcie_rp3 on end # PCIe Port #3 (Card Reader)
76 device ref pcie_rp4 off end # PCIe Port #4
77 device ref pcie_rp5 off end # PCIe Port #5
78 device ref pcie_rp6 on end # PCIe Port #6 (Ethernet controller)
79 device ref pcie_rp7 off end # PCIe Port #7
80 device ref pcie_rp8 off end # PCIe Port #8
81 device ref ehci1 on end # USB2 EHCI #1
82 device ref pci_bridge off end # PCI bridge
83 device ref lpc on # LPC bridge PCI-LPC bridge
84 chip drivers/pc80/tpm
85 device pnp 0c31.0 on end
86 end
88 chip ec/lenovo/h8
89 device pnp ff.1 on # dummy
90 io 0x60 = 0x62
91 io 0x62 = 0x66
92 io 0x64 = 0x1600
93 io 0x66 = 0x1604
94 end
96 register "config0" = "0xa6"
97 register "config1" = "0x04"
98 register "config2" = "0xa0"
99 register "config3" = "0x62"
101 register "has_keyboard_backlight" = "0"
103 register "beepmask0" = "0x00"
104 register "beepmask1" = "0x87"
105 register "has_power_management_beeps" = "0"
107 register "event0_enable" = "0xff"
108 register "event1_enable" = "0xff"
109 register "event2_enable" = "0xff"
110 register "event3_enable" = "0xff"
111 register "event4_enable" = "0xff"
112 register "event5_enable" = "0xff"
113 register "event6_enable" = "0xff"
114 register "event7_enable" = "0xff"
115 register "event8_enable" = "0xff"
116 register "event9_enable" = "0xff"
117 register "eventa_enable" = "0xff"
118 register "eventb_enable" = "0xff"
119 register "eventc_enable" = "0xff"
120 register "eventd_enable" = "0xff"
121 register "evente_enable" = "0xff"
122 register "eventf_enable" = "0xff"
125 device ref sata1 on end # SATA Controller 1
126 device ref smbus on # SMBus
127 # eeprom, 8 virtual devices, same chip
128 chip drivers/i2c/at24rf08c
129 device i2c 54 on end
130 device i2c 55 on end
131 device i2c 56 on end
132 device i2c 57 on end
133 device i2c 5c on end
134 device i2c 5d on end
135 device i2c 5e on end
136 device i2c 5f on end
139 device ref sata2 off end # SATA Controller 2
140 device ref thermal off end # Thermal