blob: 5ed4584641c1ddde96d7b7c25d480d6fda5053a2 [file] [log] [blame]
Simon Glassc404aa62015-04-20 12:37:24 -06001/*
2 * Simulate an I2C real time clock
3 *
4 * Copyright (c) 2015 Google, Inc
5 * Written by Simon Glass <sjg@chromium.org>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#ifndef __asm_rtc_h
11#define __asm_rtc_h
12
13/* Register numbers in the sandbox RTC */
14enum {
15 REG_SEC = 5,
16 REG_MIN,
17 REG_HOUR,
18 REG_MDAY,
19 REG_MON,
20 REG_YEAR,
21 REG_WDAY,
22
23 REG_RESET = 0x20,
24
25 REG_COUNT = 0x80,
26};
27
28#endif