-/** @file
-
- Copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
-
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef __OMAP3530I2C_H__
-#define __OMAP3530I2C_H__
-
-//I2C register definitions.
-#define I2C1BASE 0x48070000
-
-#define I2C_IE (I2C1BASE + 0x4)
-#define XRDY_IE (0x1UL << 4)
-#define RRDY_IE (0x1UL << 3)
-#define ARDY_IE (0x1UL << 2)
-#define NACK_IE (0x1UL << 1)
-
-#define I2C_STAT (I2C1BASE + 0x8)
-#define BB (0x1UL << 12)
-#define XRDY (0x1UL << 4)
-#define RRDY (0x1UL << 3)
-#define ARDY (0x1UL << 2)
-#define NACK (0x1UL << 1)
-
-#define I2C_WE (I2C1BASE + 0xC)
-#define I2C_SYSS (I2C1BASE + 0x10)
-#define I2C_BUF (I2C1BASE + 0x14)
-#define I2C_CNT (I2C1BASE + 0x18)
-#define I2C_DATA (I2C1BASE + 0x1C)
-#define I2C_SYSC (I2C1BASE + 0x20)
-
-#define I2C_CON (I2C1BASE + 0x24)
-#define STT (0x1UL << 0)
-#define STP (0x1UL << 1)
-#define XSA (0x1UL << 8)
-#define TRX (0x1UL << 9)
-#define MST (0x1UL << 10)
-#define I2C_EN (0x1UL << 15)
-
-#define I2C_OA0 (I2C1BASE + 0x28)
-#define I2C_SA (I2C1BASE + 0x2C)
-#define I2C_PSC (I2C1BASE + 0x30)
-#define I2C_SCLL (I2C1BASE + 0x34)
-#define I2C_SCLH (I2C1BASE + 0x38)
-#define I2C_SYSTEST (I2C1BASE + 0x3C)
-#define I2C_BUFSTAT (I2C1BASE + 0x40)
-#define I2C_OA1 (I2C1BASE + 0x44)
-#define I2C_OA2 (I2C1BASE + 0x48)
-#define I2C_OA3 (I2C1BASE + 0x4C)
-#define I2C_ACTOA (I2C1BASE + 0x50)
-#define I2C_SBLOCK (I2C1BASE + 0x54)
-
-#endif //__OMAP3530I2C_H__
+/** @file\r
+\r
+ Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+\r
+ This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __OMAP3530I2C_H__\r
+#define __OMAP3530I2C_H__\r
+\r
+//I2C register definitions.\r
+#define I2C1BASE 0x48070000\r
+\r
+#define I2C_IE (I2C1BASE + 0x4)\r
+#define XRDY_IE BIT4\r
+#define RRDY_IE BIT3\r
+#define ARDY_IE BIT2\r
+#define NACK_IE BIT1\r
+\r
+#define I2C_STAT (I2C1BASE + 0x8)\r
+#define BB BIT12\r
+#define XRDY BIT4\r
+#define RRDY BIT3\r
+#define ARDY BIT2\r
+#define NACK BIT1\r
+\r
+#define I2C_WE (I2C1BASE + 0xC)\r
+#define I2C_SYSS (I2C1BASE + 0x10)\r
+#define I2C_BUF (I2C1BASE + 0x14)\r
+#define I2C_CNT (I2C1BASE + 0x18)\r
+#define I2C_DATA (I2C1BASE + 0x1C)\r
+#define I2C_SYSC (I2C1BASE + 0x20)\r
+\r
+#define I2C_CON (I2C1BASE + 0x24)\r
+#define STT BIT0\r
+#define STP BIT1\r
+#define XSA BIT8\r
+#define TRX BIT9\r
+#define MST BIT10\r
+#define I2C_EN BIT15\r
+\r
+#define I2C_OA0 (I2C1BASE + 0x28)\r
+#define I2C_SA (I2C1BASE + 0x2C)\r
+#define I2C_PSC (I2C1BASE + 0x30)\r
+#define I2C_SCLL (I2C1BASE + 0x34)\r
+#define I2C_SCLH (I2C1BASE + 0x38)\r
+#define I2C_SYSTEST (I2C1BASE + 0x3C)\r
+#define I2C_BUFSTAT (I2C1BASE + 0x40)\r
+#define I2C_OA1 (I2C1BASE + 0x44)\r
+#define I2C_OA2 (I2C1BASE + 0x48)\r
+#define I2C_OA3 (I2C1BASE + 0x4C)\r
+#define I2C_ACTOA (I2C1BASE + 0x50)\r
+#define I2C_SBLOCK (I2C1BASE + 0x54)\r
+\r
+#endif //__OMAP3530I2C_H__\r