SyterKit
0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
include
drivers
chips
sun300iw1
reg-dram.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0+ */
2
3
#ifndef __SUN300IW1_REG_DRAM_H__
4
#define __SUN300IW1_REG_DRAM_H__
5
6
#define SDRAM_BASE (0x80000000)
7
8
#define MCTL_COM_BASE (0x43102000)
9
#define MCTL_COM_WORK_MODE0 (0x00)
10
#define MCTL_COM_WORK_MODE1 (0x04)
11
#define MCTL_COM_DBGCR (0x08)
12
#define MCTL_COM_TMR (0x0c)
13
#define MCTL_COM_CCCR (0x14)
14
#define MCTL_COM_MAER0 (0x20)
15
#define MCTL_COM_MAER1 (0x24)
16
#define MCTL_COM_MAER2 (0x28)
17
#define MCTL_COM_REMAP0 (0x500)
18
#define MCTL_COM_REMAP1 (0x504)
19
#define MCTL_COM_REMAP2 (0x508)
20
#define MCTL_COM_REMAP3 (0x50c)
21
22
#define MCTL_PHY_BASE (0x43103000)
23
#define MCTL_PHY_PIR (0x00)
24
#define MCTL_PHY_PWRCTL (0x04)
25
#define MCTL_PHY_MRCTRL0 (0x08)
26
#define MCTL_PHY_CLKEN (0x0c)
27
#define MCTL_PHY_PGSR0 (0x10)
28
#define MCTL_PHY_PGSR1 (0x14)
29
#define MCTL_PHY_STATR (0x18)
30
#define MCTL_PHY_LP3MR11 (0x2c)
31
#define MCTL_PHY_DRAM_MR0 (0x30)
32
#define MCTL_PHY_DRAM_MR1 (0x34)
33
#define MCTL_PHY_DRAM_MR2 (0x38)
34
#define MCTL_PHY_DRAM_MR3 (0x3c)
35
#define MCTL_PHY_PTR0 (0x44)
36
#define MCTL_PHY_PTR2 (0x4c)
37
#define MCTL_PHY_PTR3 (0x50)
38
#define MCTL_PHY_PTR4 (0x54)
39
#define MCTL_PHY_DRAMTMG0 (0x58)
40
#define MCTL_PHY_DRAMTMG1 (0x5c)
41
#define MCTL_PHY_DRAMTMG2 (0x60)
42
#define MCTL_PHY_DRAMTMG3 (0x64)
43
#define MCTL_PHY_DRAMTMG4 (0x68)
44
#define MCTL_PHY_DRAMTMG5 (0x6c)
45
#define MCTL_PHY_DRAMTMG6 (0x70)
46
#define MCTL_PHY_DRAMTMG7 (0x74)
47
#define MCTL_PHY_DRAMTMG8 (0x78)
48
#define MCTL_PHY_ODTCFG (0x7c)
49
#define MCTL_PHY_PITMG0 (0x80)
50
#define MCTL_PHY_PITMG1 (0x84)
51
#define MCTL_PHY_LPTPR (0x88)
52
#define MCTL_PHY_RFSHCTL0 (0x8c)
53
#define MCTL_PHY_RFSHTMG (0x90)
54
#define MCTL_PHY_RFSHCTL1 (0x94)
55
#define MCTL_PHY_PWRTMG (0x98)
56
#define MCTL_PHY_ASRC (0x9c)
57
#define MCTL_PHY_ASRTC (0xa0)
58
#define MCTL_PHY_VTFCR (0xb8)
59
#define MCTL_PHY_DQSGMR (0xbc)
60
#define MCTL_PHY_DTCR (0xc0)
61
#define MCTL_PHY_DTAR0 (0xc4)
62
#define MCTL_PHY_PGCR0 (0x100)
63
#define MCTL_PHY_PGCR1 (0x104)
64
#define MCTL_PHY_PGCR2 (0x108)
65
#define MCTL_PHY_PGCR3 (0x10c)
66
#define MCTL_PHY_IOVCR0 (0x110)
67
#define MCTL_PHY_IOVCR1 (0x114)
68
#define MCTL_PHY_DXCCR (0x11c)
69
#define MCTL_PHY_ODTMAP (0x120)
70
#define MCTL_PHY_ZQCTL0 (0x124)
71
#define MCTL_PHY_ZQCTL1 (0x128)
72
#define MCTL_PHY_ZQCR (0x140)
73
#define MCTL_PHY_ZQSR (0x144)
74
#define MCTL_PHY_ZQDR0 (0x148)
75
#define MCTL_PHY_ZQDR1 (0x14c)
76
#define MCTL_PHY_ZQDR2 (0x150)
77
#define MCTL_PHY_SCHED (0x1c0)
78
#define MCTL_PHY_PERFHPR0 (0x1c4)
79
#define MCTL_PHY_PERFHPR1 (0x1c8)
80
#define MCTL_PHY_PERFLPR0 (0x1cc)
81
#define MCTL_PHY_PERFLPR1 (0x1d0)
82
#define MCTL_PHY_PERFWR0 (0x1d4)
83
#define MCTL_PHY_PERFWR1 (0x1d8)
84
#define MCTL_PHY_ACMDLR (0x200)
85
#define MCTL_PHY_ACLDLR (0x204)
86
#define MCTL_PHY_ACIOCR0 (0x208)
87
#define MCTL_PHY_ACIOCR1(x) (0x210 + 0x4 * x)
88
#define MCTL_PHY_DXnMDLR(x) (0x300 + 0x80 * x)
89
#define MCTL_PHY_DXnLDLR0(x) (0x304 + 0x80 * x)
90
#define MCTL_PHY_DXnLDLR1(x) (0x308 + 0x80 * x)
91
#define MCTL_PHY_DXnLDLR2(x) (0x30c + 0x80 * x)
92
#define MCTL_PHY_DXIOCR (0x310)
93
#define MCTL_PHY_DATX0IOCR(x) (0x310 + 0x4 * x)
94
#define MCTL_PHY_DATX1IOCR(x) (0x390 + 0x4 * x)
95
#define MCTL_PHY_DATX2IOCR(x) (0x410 + 0x4 * x)
96
#define MCTL_PHY_DATX3IOCR(x) (0x490 + 0x4 * x)
97
#define MCTL_PHY_DXnSDLR6(x) (0x33c + 0x80 * x)
98
#define MCTL_PHY_DXnGTR(x) (0x340 + 0x80 * x)
99
#define MCTL_PHY_DXnGCR0(x) (0x344 + 0x80 * x)
100
#define MCTL_PHY_DXnGSR0(x) (0x348 + 0x80 * x)
101
102
#define SUNXI_R_CPUCFG_SUP_STAN_FLAG (SUNXI_PRCM_BASE + 0x01C0)
103
#define VDD_SYS_PWROFF_GATING_REG (SUNXI_PMU_RTC_BASE + 0x38)
104
#define ANALOG_PWROFF_GATING_REG (SUNXI_PMU_RTC_BASE + 0x3c)
105
#define ZQ_CAL_CTRL_REG (SUNXI_SYSCTRL_BASE + 0x160)
106
#define ZQ_RES_CTRL_REG (SUNXI_SYSCTRL_BASE + 0x168)
107
#define ZQ_RES_STATUS_REG (SUNXI_SYSCTRL_BASE + 0x16C)
108
109
#endif
/* __SUN300IW1_REG_DRAM_H__ */
Generated by
1.9.8