Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / mips / include / asm / lasat / ds1603.h
blobab833be9637d60409a03cf849f3e2c4eb48a398b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm/addrspace.h>
4 /* Lasat 100 */
5 #define DS1603_REG_100 (KSEG1ADDR(0x1c810000))
6 #define DS1603_RST_100 (1 << 2)
7 #define DS1603_CLK_100 (1 << 0)
8 #define DS1603_DATA_SHIFT_100 1
9 #define DS1603_DATA_100 (1 << DS1603_DATA_SHIFT_100)
11 /* Lasat 200 */
12 #define DS1603_REG_200 (KSEG1ADDR(0x11000000))
13 #define DS1603_RST_200 (1 << 3)
14 #define DS1603_CLK_200 (1 << 4)
15 #define DS1603_DATA_200 (1 << 5)
17 #define DS1603_DATA_REG_200 (DS1603_REG_200 + 0x10000)
18 #define DS1603_DATA_READ_SHIFT_200 9
19 #define DS1603_DATA_READ_200 (1 << DS1603_DATA_READ_SHIFT_200)