2 * Copyright 2003 PMC-Sierra
3 * Author: Manish Lachwani (lachwani@pmc-sierra.com)
5 * Board specific definititions for the PMC-Sierra Yosemite
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
16 /* Real Time Clock base */
17 #define YOSEMITE_RTC_BASE
18 #define CONV_BCD_TO_BIN(val) (((val) & 0xf) + (((val) >> 4) * 10))
19 #define CONV_BIN_TO_BCD(val) (((val) % 10) + (((val) / 10) << 4))
22 #define YOSEMITE_NVRAM_BASE_ADDR 0xbb000678 /* XXX Need change */
23 #define YOSEMITE_RTC_BASE 0xbb000679 /* XXX Need change */
26 * Hypertransport Specific
28 #define HYPERTRANSPORT_CONFIG_REG 0xbb000604
29 #define HYPERTRANSPORT_BAR0_REG 0xbb000610
30 #define HYPERTRANSPORT_SIZE0_REG 0xbb000688
31 #define HYPERTRANSPORT_BAR0_ATTR_REG 0xbb000680
33 #define HYPERTRANSPORT_BAR0_ADDR 0x00000006
34 #define HYPERTRANSPORT_SIZE0 0x0fffffff
35 #define HYPERTRANSPORT_BAR0_ATTR 0x00002000
37 #define HYPERTRANSPORT_ENABLE 0x6
42 #define TITAN_ATMEL_24C32_SIZE 32768
43 #define TITAN_ATMEL_24C64_SIZE 65536
46 #endif /* __SETUP_H__ */