mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / octopus / variants / ampton / overridetree.cb
blobfdfc01296a6ab7b7323dd19afe5ef50585778277
1 chip soc/intel/apollolake
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"
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" = "0x0a0c"
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" = "0x1c292929"
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" = "0x001a1c1c"
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" = "0x10026"
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"
44 register "common_soc_config" = "{
45 .gspi[0] = {
46 .speed_mhz = 1,
47 .early_init = 1,
49 .i2c[0] = {
50 .speed = I2C_SPEED_FAST,
51 .rise_time_ns = 152,
52 .fall_time_ns = 30,
54 .i2c[5] = {
55 .speed = I2C_SPEED_FAST,
56 .rise_time_ns = 60,
57 .fall_time_ns = 20,
58 .data_hold_time_ns = 350,
60 .i2c[6] = {
61 .speed = I2C_SPEED_FAST,
62 .rise_time_ns = 70,
63 .fall_time_ns = 127,
64 .data_hold_time_ns = 350,
66 .i2c[7] = {
67 .speed = I2C_SPEED_FAST,
68 .rise_time_ns = 30,
69 .fall_time_ns = 127,
70 .data_hold_time_ns = 350,
73 device domain 0 on
74 device pci 16.0 on
75 chip drivers/i2c/hid
76 register "generic.hid" = ""WCOM50C1""
77 register "generic.desc" = ""WCOM Digitizer""
78 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)"
79 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)"
80 register "generic.reset_delay_ms" = "20"
81 register "generic.has_power_resource" = "1"
82 register "generic.detect" = "1"
83 register "hid_desc_reg_offset" = "0x1"
84 device i2c 0x9 on end
85 end
86 end # - I2C 0
87 device pci 17.1 on
88 chip drivers/i2c/generic
89 register "hid" = ""10EC5682""
90 register "name" = ""RT58""
91 register "desc" = ""Realtek RT5682""
92 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
93 register "probed" = "1"
94 register "property_count" = "1"
95 # Set the jd_src to RT5668_JD1 for jack detection
96 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
97 register "property_list[0].name" = ""realtek,jd-src""
98 register "property_list[0].integer" = "1"
99 device i2c 1a on end
101 end # - I2C 5
102 device pci 17.2 on
103 chip drivers/i2c/generic
104 register "hid" = ""ELAN0000""
105 register "desc" = ""ELAN Touchpad""
106 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPIO_135_IRQ)"
107 register "wake" = "GPE0_DW3_27"
108 register "detect" = "1"
109 device i2c 15 on end
111 end # - I2C 6
112 device pci 17.3 on
113 chip drivers/i2c/generic
114 register "hid" = ""ELAN0001""
115 register "desc" = ""ELAN Touchscreen""
116 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
117 register "detect" = "1"
118 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
119 register "reset_delay_ms" = "20"
120 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
121 register "enable_delay_ms" = "1"
122 register "has_power_resource" = "1"
123 device i2c 10 on end
125 chip drivers/i2c/hid
126 register "generic.hid" = ""GTCH7502""
127 register "generic.desc" = ""G2TOUCH Touchscreen""
128 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
129 register "generic.detect" = "1"
130 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
131 register "generic.reset_delay_ms" = "70"
132 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
133 register "generic.enable_delay_ms" = "1"
134 register "generic.has_power_resource" = "1"
135 register "hid_desc_reg_offset" = "0x01"
136 device i2c 40 on end
138 end # - I2C 7