soc: Remove copyright notices
[coreboot.git] / src / soc / nvidia / tegra210 / i2c.c
blob5895a67fc4b782fd8d09cfb52c1bb40e0f813ff1
1 /*
2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <soc/addressmap.h>
16 #include <soc/clock.h>
17 #include <soc/nvidia/tegra/i2c.h>
19 struct tegra_i2c_bus_info tegra_i2c_info[] = {
21 .base = (void *)TEGRA_I2C1_BASE,
22 .reset_bit = CLK_L_I2C1,
23 .reset_func = &clock_reset_l
26 .base = (void *)TEGRA_I2C2_BASE,
27 .reset_bit = CLK_H_I2C2,
28 .reset_func = &clock_reset_h
31 .base = (void *)TEGRA_I2C3_BASE,
32 .reset_bit = CLK_U_I2C3,
33 .reset_func = &clock_reset_u
36 .base = (void *)TEGRA_I2C4_BASE,
37 .reset_bit = CLK_V_I2C4,
38 .reset_func = &clock_reset_v
41 .base = (void *)TEGRA_I2C5_BASE,
42 .reset_bit = CLK_H_I2C5,
43 .reset_func = &clock_reset_h
46 .base = (void *)TEGRA_I2C6_BASE,
47 .reset_bit = CLK_X_I2C6,
48 .reset_func = &clock_reset_x
52 const unsigned int num_i2c_buses = ARRAY_SIZE(tegra_i2c_info);