]>
git.proxmox.com Git - mirror_edk2.git/blob - Omap35xxPkg/Include/Omap3530/Omap3530I2c.h
3 Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __OMAP3530I2C_H__
16 #define __OMAP3530I2C_H__
18 //I2C register definitions.
19 #define I2C1BASE 0x48070000
21 #define I2C_IE (I2C1BASE + 0x4)
27 #define I2C_STAT (I2C1BASE + 0x8)
34 #define I2C_WE (I2C1BASE + 0xC)
35 #define I2C_SYSS (I2C1BASE + 0x10)
36 #define I2C_BUF (I2C1BASE + 0x14)
37 #define I2C_CNT (I2C1BASE + 0x18)
38 #define I2C_DATA (I2C1BASE + 0x1C)
39 #define I2C_SYSC (I2C1BASE + 0x20)
41 #define I2C_CON (I2C1BASE + 0x24)
49 #define I2C_OA0 (I2C1BASE + 0x28)
50 #define I2C_SA (I2C1BASE + 0x2C)
51 #define I2C_PSC (I2C1BASE + 0x30)
52 #define I2C_SCLL (I2C1BASE + 0x34)
53 #define I2C_SCLH (I2C1BASE + 0x38)
54 #define I2C_SYSTEST (I2C1BASE + 0x3C)
55 #define I2C_BUFSTAT (I2C1BASE + 0x40)
56 #define I2C_OA1 (I2C1BASE + 0x44)
57 #define I2C_OA2 (I2C1BASE + 0x48)
58 #define I2C_OA3 (I2C1BASE + 0x4C)
59 #define I2C_ACTOA (I2C1BASE + 0x50)
60 #define I2C_SBLOCK (I2C1BASE + 0x54)
62 #endif //__OMAP3530I2C_H__