• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1chip soc/intel/jasperlake
2
3	# USB Port Configuration
4	register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)"	# Camera
5
6	# Intel Common SoC Config
7	#+-------------------+---------------------------+
8	#| Field             |  Value                    |
9	#+-------------------+---------------------------+
10	#| GSPI0             | cr50 TPM. Early init is   |
11	#|                   | required to set up a BAR  |
12	#|                   | for TPM communication     |
13	#|                   | before memory is up       |
14	#| I2C0              | Trackpad                  |
15	#| I2C1              | Digitizer                 |
16	#| I2C2              | Touchscreen               |
17	#| I2C3              | Camera                    |
18	#| I2C4              | Audio                     |
19	#+-------------------+---------------------------+
20	register "common_soc_config" = "{
21		.gspi[0] = {
22			.speed_mhz = 1,
23			.early_init = 1,
24		},
25		.i2c[0] = {
26			.speed = I2C_SPEED_FAST,
27			.rise_time_ns = 66,
28			.fall_time_ns = 90,
29			.data_hold_time_ns = 350,
30		},
31		.i2c[1] = {
32			.speed = I2C_SPEED_FAST,
33		},
34		.i2c[2] = {
35			.speed = I2C_SPEED_FAST,
36		},
37		.i2c[3] = {
38			.speed = I2C_SPEED_FAST,
39		},
40		.i2c[4] = {
41			.speed = I2C_SPEED_FAST,
42			.speed_config[0] = {
43				.speed = I2C_SPEED_FAST,
44				.scl_lcnt = 176,
45				.scl_hcnt = 95,
46				.sda_hold = 36,
47			}
48		},
49	}"
50	device domain 0 on
51		device pci 14.0 on end
52		device pci 15.0 on end
53		device pci 15.2 on end
54		device pci 1c.7 on end
55		device pci 19.0 on end
56                device pci 1f.3 on end
57	end
58end
59