summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/variants/leon/overridetree.cb
blob: 1d50086c58b47d9df290c6f1d15cb91cf6c822e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
chip northbridge/intel/haswell

	register "panel_cfg" = "{
		.up_delay_ms		=  40,
		.down_delay_ms		=  15,
		.cycle_delay_ms		= 400,
		.backlight_on_delay_ms	= 210,
		.backlight_off_delay_ms	= 210,
		.backlight_pwm_hz	= 200,
	}"

	device domain 0 on

		chip southbridge/intel/lynxpoint

			register "sata_devslp_disable" = "0x1"

			# DTLE DATA / EDGE values
			register "sata_port0_gen3_dtle" = "0x5"
			register "sata_port1_gen3_dtle" = "0x5"

			# Disable PCIe CLKOUT 2-5 and CLKOUT_XDP
			register "icc_clock_disable" = "0x013c0000"

			device pci 1f.3 on # SMBus
				chip drivers/i2c/rtd2132
					# Panel Power Timings (1 ms units)
					# Note: the panel Tx timings are very
					# different from the LVDS bridge
					# Tx timing settings. Below is a mapping
					# for RTD2132 -> Panel timings.
					# T1 = T2
					# T2 = T8 + T10 + T12
					# T3 = T14
					# T4 = T15
					# T5 = T9 + T11 + T13
					# T6 = T3
					# T7 = T4
					register "t1" = "0x14"
					register "t2" = "0xdc"
					register "t3" = "0x0e"
					register "t4" = "0x02"
					register "t5" = "0xdc"
					register "t6" = "0x14"
					register "t7" = "0x208"
					# LVDS Swap settings are normal.
					register "lvds_swap" = "0"
					# Enable Spread Sprectrum at 0.5%
					register "sscg_percent" = "0x05"
					device i2c 35 on end # (8bit address: 0x6A)
				end # rtd2132
			end # SMBus
		end
	end
end