Eran Mitrani | 05a50d7 | 2023-10-16 14:47:29 -0700 | [diff] [blame] | 1 | chip soc/intel/meteorlake |
Eran Mitrani | 36991b2 | 2023-10-17 13:41:50 -0700 | [diff] [blame^] | 2 | |
| 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 Mitrani | 05a50d7 | 2023-10-16 14:47:29 -0700 | [diff] [blame] | 30 | device domain 0 on |
Eran Mitrani | 36991b2 | 2023-10-17 13:41:50 -0700 | [diff] [blame^] | 31 | 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 Mitrani | 05a50d7 | 2023-10-16 14:47:29 -0700 | [diff] [blame] | 38 | end |
Eran Mitrani | 36991b2 | 2023-10-17 13:41:50 -0700 | [diff] [blame^] | 39 | |
Eran Mitrani | 05a50d7 | 2023-10-16 14:47:29 -0700 | [diff] [blame] | 40 | end |