]> git.sur5r.net Git - u-boot/blob - drivers/i2c/s3c24x0_i2c.h
exynos: i2c: Change FDT bus setup code to enumerate ports correctly
[u-boot] / drivers / i2c / s3c24x0_i2c.h
1 /*
2  * Copyright (C) 2012 Samsung Electronics
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef _S3C24X0_I2C_H
8 #define _S3C24X0_I2C_H
9
10 struct s3c24x0_i2c {
11         u32     iiccon;
12         u32     iicstat;
13         u32     iicadd;
14         u32     iicds;
15         u32     iiclc;
16 };
17
18 struct s3c24x0_i2c_bus {
19         bool active;    /* port is active and available */
20         int node;       /* device tree node */
21         int bus_num;    /* i2c bus number */
22         struct s3c24x0_i2c *regs;
23         int id;
24 };
25 #endif /* _S3C24X0_I2C_H */