mb/google/kahlee/variants/*/devicetree.cb: Reset I2C slaves
Use the new I2C slave reset function and reset all slaves connected to all 4 I2C. Do this in all boards. BUG=b:114479395 TEST=Added debug code. Build and boot grunt. Examined output, confirmed GPIO pins changing as required. Removed debug code. Change-Id: Ia78ee5d5319d3c1a7daa9c56c81d435999b3a359 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/28575 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
5401aa207c
commit
d74df17eb4
|
@ -50,6 +50,9 @@ chip soc/amd/stoneyridge
|
|||
.fall_time_ns = 67,
|
||||
}"
|
||||
|
||||
register "i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL | \
|
||||
GPIO_I2C2_SCL | GPIO_I2C3_SCL"
|
||||
|
||||
device cpu_cluster 0 on
|
||||
device lapic 10 on end
|
||||
end
|
||||
|
|
|
@ -55,6 +55,9 @@ chip soc/amd/stoneyridge
|
|||
.fall_time_ns = 19,
|
||||
}"
|
||||
|
||||
register "i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL | \
|
||||
GPIO_I2C2_SCL | GPIO_I2C3_SCL"
|
||||
|
||||
device cpu_cluster 0 on
|
||||
device lapic 10 on end
|
||||
end
|
||||
|
|
|
@ -55,6 +55,9 @@ chip soc/amd/stoneyridge
|
|||
.fall_time_ns = 50,
|
||||
}"
|
||||
|
||||
register "i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL | \
|
||||
GPIO_I2C2_SCL | GPIO_I2C3_SCL"
|
||||
|
||||
device cpu_cluster 0 on
|
||||
device lapic 10 on end
|
||||
end
|
||||
|
|
|
@ -50,6 +50,9 @@ chip soc/amd/stoneyridge
|
|||
.fall_time_ns = 8,
|
||||
}"
|
||||
|
||||
register "i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL | \
|
||||
GPIO_I2C2_SCL | GPIO_I2C3_SCL"
|
||||
|
||||
device cpu_cluster 0 on
|
||||
device lapic 10 on end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue