Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 1 | chip soc/intel/apollolake |
| 2 | |
Bora Guvendik | d652a92 | 2018-12-05 15:10:30 -0800 | [diff] [blame] | 3 | # EMMC Tx CMD Delay |
| 4 | # Refer to EDS-Vol2-16.32. |
| 5 | # [14:8] steps of delay for DDR mode, each 125ps. |
| 6 | # [6:0] steps of delay for SDR mode, each 125ps. |
| 7 | register "emmc_tx_cmd_cntl" = "0x505" |
| 8 | |
| 9 | # EMMC TX DATA Delay 1 |
| 10 | # Refer to EDS-Vol2-16.33. |
| 11 | # [14:8] steps of delay for HS400, each 125ps. |
| 12 | # [6:0] steps of delay for SDR104/HS200, each 125ps. |
| 13 | register "emmc_tx_data_cntl1" = "0x0A12" |
| 14 | |
| 15 | # EMMC TX DATA Delay 2 |
| 16 | # Refer to EDS-Vol2-16.34. |
| 17 | # [30:24] steps of delay for SDR50, each 125ps. |
| 18 | # [22:16] steps of delay for DDR50, each 125ps. |
| 19 | # [14:8] steps of delay for SDR25/HS50, each 125ps. |
| 20 | # [6:0] steps of delay for SDR12, each 125ps. |
| 21 | register "emmc_tx_data_cntl2" = "0x1c282828" |
| 22 | |
| 23 | # EMMC RX CMD/DATA Delay 1 |
| 24 | # Refer to EDS-Vol2-16.35. |
| 25 | # [30:24] steps of delay for SDR50, each 125ps. |
| 26 | # [22:16] steps of delay for DDR50, each 125ps. |
| 27 | # [14:8] steps of delay for SDR25/HS50, each 125ps. |
| 28 | # [6:0] steps of delay for SDR12, each 125ps. |
| 29 | register "emmc_rx_cmd_data_cntl1" = "0x00195959" |
| 30 | |
| 31 | # EMMC RX CMD/DATA Delay 2 |
| 32 | # Refer to EDS-Vol2-16.37. |
| 33 | # [17:16] stands for Rx Clock before Output Buffer |
| 34 | # [14:8] steps of delay for Auto Tuning Mode, each 125ps. |
| 35 | # [6:0] steps of delay for HS200, each 125ps. |
| 36 | register "emmc_rx_cmd_data_cntl2" = "0x10025" |
| 37 | |
| 38 | # EMMC Rx Strobe Delay |
| 39 | # Refer to EDS-Vol2-16.36. |
| 40 | # [14:8] Rx Strobe Delay DLL 1(HS400 Mode), each 125ps. |
| 41 | # [6:0] Rx Strobe Delay DLL 2(HS400 Mode), each 125ps. |
| 42 | register "emmc_rx_strobe_cntl" = "0x0a0a" |
| 43 | |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 44 | device domain 0 on |
| 45 | device pci 16.0 on |
| 46 | chip drivers/i2c/hid |
| 47 | register "generic.hid" = ""WCOM50C1"" |
| 48 | register "generic.desc" = ""WCOM Digitizer"" |
| 49 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)" |
| 50 | register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)" |
Marco Chen | 637bef2 | 2018-12-25 11:20:58 +0800 | [diff] [blame] | 51 | register "generic.reset_delay_ms" = "20" |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 52 | register "generic.has_power_resource" = "1" |
| 53 | register "hid_desc_reg_offset" = "0x1" |
| 54 | device i2c 0x9 on end |
| 55 | end |
| 56 | end # - I2C 0 |
| 57 | device pci 17.1 on |
| 58 | chip drivers/i2c/da7219 |
| 59 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)" |
| 60 | register "btn_cfg" = "50" |
Terry Cheong | 053c901 | 2023-12-12 11:04:33 +0800 | [diff] [blame^] | 61 | register "mic_det_thr" = "200" |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 62 | register "jack_ins_deb" = "20" |
| 63 | register "jack_det_rate" = ""32ms_64ms"" |
| 64 | register "jack_rem_deb" = "1" |
| 65 | register "a_d_btn_thr" = "0xa" |
| 66 | register "d_b_btn_thr" = "0x16" |
| 67 | register "b_c_btn_thr" = "0x21" |
| 68 | register "c_mic_btn_thr" = "0x3e" |
| 69 | register "btn_avg" = "4" |
| 70 | register "adc_1bit_rpt" = "1" |
| 71 | register "micbias_lvl" = "2600" |
| 72 | register "mic_amp_in_sel" = ""diff"" |
| 73 | device i2c 1a on end |
| 74 | end |
| 75 | end # - I2C 5 |
| 76 | device pci 17.2 on |
| 77 | chip drivers/i2c/generic |
| 78 | register "hid" = ""ELAN0000"" |
| 79 | register "desc" = ""ELAN Touchpad"" |
Matt DeVillier | dc80745 | 2022-03-30 12:30:21 -0500 | [diff] [blame] | 80 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPIO_135_IRQ)" |
Furquan Shaikh | 2c2650a | 2018-10-18 16:25:58 -0700 | [diff] [blame] | 81 | register "wake" = "GPE0_DW3_27" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 82 | register "detect" = "1" |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 83 | device i2c 15 on end |
| 84 | end |
| 85 | end # - I2C 6 |
| 86 | device pci 17.3 on |
| 87 | chip drivers/i2c/generic |
| 88 | register "hid" = ""ELAN0001"" |
| 89 | register "desc" = ""ELAN Touchscreen"" |
Matt DeVillier | dc80745 | 2022-03-30 12:30:21 -0500 | [diff] [blame] | 90 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)" |
Matt DeVillier | 0c3806d | 2022-03-28 22:44:32 -0500 | [diff] [blame] | 91 | register "detect" = "1" |
Furquan Shaikh | 0be087d | 2018-06-24 23:00:13 -0700 | [diff] [blame] | 92 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)" |
| 93 | register "reset_delay_ms" = "20" |
| 94 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_213)" |
| 95 | register "enable_delay_ms" = "1" |
| 96 | register "has_power_resource" = "1" |
| 97 | device i2c 10 on end |
| 98 | end |
| 99 | end # - I2C 7 |
| 100 | end |
| 101 | end |