2 * SATA Wrapper Register map
5 * Texas Instruments, <www.ti.com>
7 * SPDX-License-Identifier: GPL-2.0+
13 /* SATA Wrapper module */
14 #define TI_SATA_WRAPPER_BASE (OMAP54XX_L4_CORE_BASE + 0x141100)
16 #define TI_SATA_PLLCTRL_BASE (OMAP54XX_L4_CORE_BASE + 0x96800)
18 /* SATA Wrapper register offsets */
19 #define TI_SATA_SYSCONFIG 0x00
20 #define TI_SATA_CDRLOCK 0x04
23 #define TI_SATA_SYSCONFIG_OVERRIDE0 (1 << 16)
24 #define TI_SATA_SYSCONFIG_STANDBY_MASK (0x3 << 4)
25 #define TI_SATA_SYSCONFIG_IDLE_MASK (0x3 << 2)
28 #define TI_SATA_STANDBY_FORCE 0x0
29 #define TI_SATA_STANDBY_NO (0x1 << 4)
30 #define TI_SATA_STANDBY_SMART_WAKE (0x3 << 4)
31 #define TI_SATA_STANDBY_SMART (0x2 << 4)
34 #define TI_SATA_IDLE_FORCE 0x0
35 #define TI_SATA_IDLE_NO (0x1 << 2)
36 #define TI_SATA_IDLE_SMART_WAKE (0x3 << 2)
37 #define TI_SATA_IDLE_SMART (0x2 << 2)
39 #endif /* _TI_SATA_H */