summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
diff options
context:
space:
mode:
authorJon Murphy <jpmurphy@google.com>2022-02-17 20:21:37 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-02-28 13:30:13 +0000
commit410b7cb97ebf3c0ad3ea972d556c72a8883e8317 (patch)
tree0b8904531de2044f5d1d9025cc25e4c0cf612729 /src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
parentf79cc51b3f8e490788598b51523897a68152abc6 (diff)
mb/google/skyrim: Add initial I2C configuration
Add I2C peripheral reset configuration required during early init. Enabled I2C generic and HID drivers. BUG=b:214414677 TEST=Build Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: I06e564cf6eca844101d70ff865f3074b45a55d55 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62160 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/skyrim/variants/baseboard/devicetree.cb')
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/devicetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
index eaf998a73a..242f0fac72 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-or-later
chip soc/amd/sabrina
+ register "i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL |
+ GPIO_I2C2_SCL | GPIO_I2C3_SCL"
+
device domain 0 on
device ref lpc_bridge on
chip ec/google/chromeec
@@ -84,4 +87,8 @@ chip soc/amd/sabrina
end
end # domain
device ref uart_0 on end # UART0
+ device ref i2c_0 on end
+ device ref i2c_1 on end
+ device ref i2c_2 on end
+ device ref i2c_3 on end
end # chip soc/amd/sabrina