summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/nvidia/tegra132/funitcfg.c3
-rw-r--r--src/soc/nvidia/tegra132/include/soc/funitcfg.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/funitcfg.c b/src/soc/nvidia/tegra132/funitcfg.c
index 66fe634b6d..7c3a9d9b3b 100644
--- a/src/soc/nvidia/tegra132/funitcfg.c
+++ b/src/soc/nvidia/tegra132/funitcfg.c
@@ -69,6 +69,9 @@ static const struct funit_cfg_data funit_data[] = {
[FUNIT_SBC4] = {"sbc4", offsetof(struct clk_rst_ctlr, clk_src_sbc4),
CLK_U_SET,
CLK_U_SBC4},
+ [FUNIT_I2C2] = {"i2c2", offsetof(struct clk_rst_ctlr, clk_src_i2c2),
+ CLK_H_SET,
+ CLK_H_I2C2},
[FUNIT_I2C3] = {"i2c3", offsetof(struct clk_rst_ctlr, clk_src_i2c3),
CLK_U_SET,
CLK_U_I2C3},
diff --git a/src/soc/nvidia/tegra132/include/soc/funitcfg.h b/src/soc/nvidia/tegra132/include/soc/funitcfg.h
index 7612d76af3..ac7f7f95d7 100644
--- a/src/soc/nvidia/tegra132/include/soc/funitcfg.h
+++ b/src/soc/nvidia/tegra132/include/soc/funitcfg.h
@@ -31,6 +31,7 @@ enum {
FUNIT_NONE = 0,
FUNIT_INDEX(SBC1),
FUNIT_INDEX(SBC4),
+ FUNIT_INDEX(I2C2),
FUNIT_INDEX(I2C3),
FUNIT_INDEX(I2C5),
FUNIT_INDEX(SDMMC3),