blob: 293e6d67a898c876d0afcea5359a24b5b7262706 [file] [log] [blame]
Eran Mitrani05a50d72023-10-16 14:47:29 -07001chip soc/intel/meteorlake
Eran Mitrani36991b22023-10-17 13:41:50 -07002
3 register "serial_io_i2c_mode" = "{
4 [PchSerialIoIndexI2C0] = PchSerialIoDisabled,
5 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
6 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
7 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
8 [PchSerialIoIndexI2C4] = PchSerialIoPci,
9 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
10 }"
11
12 # Intel Common SoC Config
13 #+-------------------+---------------------------+
14 #| Field | Value |
15 #+-------------------+---------------------------+
16 #| I2C4 | cr50 TPM. Early init is |
17 #| | required to set up a BAR |
18 #| | for TPM communication |
19 #+-------------------+---------------------------+
20 register "common_soc_config" = "{
21 .i2c[4] = {
22 .early_init = 1,
23 .speed = I2C_SPEED_FAST,
24 .rise_time_ns = 600,
25 .fall_time_ns = 400,
26 .data_hold_time_ns = 50,
27 },
28 }"
29
Eran Mitrani05a50d72023-10-16 14:47:29 -070030 device domain 0 on
Eran Mitrani36991b22023-10-17 13:41:50 -070031 device ref i2c4 on
32 chip drivers/i2c/tpm
33 register "hid" = ""GOOG0005""
34 register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E03_IRQ)"
35 device i2c 50 on end
36 end
37 end
Eran Mitrani05a50d72023-10-16 14:47:29 -070038 end
Eran Mitrani36991b22023-10-17 13:41:50 -070039
Eran Mitrani05a50d72023-10-16 14:47:29 -070040end