OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [lasat/] [ds1603.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
#include <asm/addrspace.h>
2
 
3
/* Lasat 100    */
4
#define DS1603_REG_100          (KSEG1ADDR(0x1c810000))
5
#define DS1603_RST_100          (1 << 2)
6
#define DS1603_CLK_100          (1 << 0)
7
#define DS1603_DATA_SHIFT_100   1
8
#define DS1603_DATA_100         (1 << DS1603_DATA_SHIFT_100)
9
 
10
/* Lasat 200    */
11
#define DS1603_REG_200          (KSEG1ADDR(0x11000000))
12
#define DS1603_RST_200          (1 << 3)
13
#define DS1603_CLK_200          (1 << 4)
14
#define DS1603_DATA_200         (1 << 5)
15
 
16
#define DS1603_DATA_REG_200             (DS1603_REG_200 + 0x10000)
17
#define DS1603_DATA_READ_SHIFT_200      9
18
#define DS1603_DATA_READ_200    (1 << DS1603_DATA_READ_SHIFT_200)

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.