arm: rmobile: rcar: Move module control register to header file of SoC
Module control registers of R-Car ARM SoC (r8a7790, r8a7791, r8a7793 and r8a7794) are same address. This moves these to header file of SoC. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
committed by
Nobuhiro Iwamatsu
parent
97cdf64026
commit
aaa717ebde
@@ -37,20 +37,9 @@ void s_init(void)
|
||||
qos_init();
|
||||
}
|
||||
|
||||
#define MSTPSR1 0xE6150038
|
||||
#define SMSTPCR1 0xE6150134
|
||||
#define TMU0_MSTP125 (1 << 25)
|
||||
|
||||
#define MSTPSR7 0xE61501C4
|
||||
#define SMSTPCR7 0xE615014C
|
||||
#define SCIF2_MSTP719 (1 << 19)
|
||||
|
||||
#define MSTPSR8 0xE61509A0
|
||||
#define SMSTPCR8 0xE6150990
|
||||
#define ETHER_MSTP813 (1 << 13)
|
||||
|
||||
#define MSTPSR3 0xE6150048
|
||||
#define SMSTPCR3 0xE615013C
|
||||
#define IIC1_MSTP323 (1 << 23)
|
||||
|
||||
#define mstp_setbits(type, addr, saddr, set) \
|
||||
|
||||
@@ -41,16 +41,8 @@ void s_init(void)
|
||||
qos_init();
|
||||
}
|
||||
|
||||
#define MSTPSR1 0xE6150038
|
||||
#define SMSTPCR1 0xE6150134
|
||||
#define TMU0_MSTP125 (1 << 25)
|
||||
|
||||
#define MSTPSR7 0xE61501C4
|
||||
#define SMSTPCR7 0xE615014C
|
||||
#define SCIF0_MSTP721 (1 << 21)
|
||||
|
||||
#define MSTPSR8 0xE61509A0
|
||||
#define SMSTPCR8 0xE6150990
|
||||
#define ETHER_MSTP813 (1 << 13)
|
||||
|
||||
#define mstp_setbits(type, addr, saddr, set) \
|
||||
|
||||
@@ -43,16 +43,8 @@ void s_init(void)
|
||||
qos_init();
|
||||
}
|
||||
|
||||
#define MSTPSR1 0xE6150038
|
||||
#define SMSTPCR1 0xE6150134
|
||||
#define TMU0_MSTP125 (1 << 25)
|
||||
|
||||
#define MSTPSR7 0xE61501C4
|
||||
#define SMSTPCR7 0xE615014C
|
||||
#define SCIF0_MSTP721 (1 << 21)
|
||||
|
||||
#define MSTPSR8 0xE61509A0
|
||||
#define SMSTPCR8 0xE6150990
|
||||
#define ETHER_MSTP813 (1 << 13)
|
||||
|
||||
#define mstp_setbits(type, addr, saddr, set) \
|
||||
|
||||
@@ -50,16 +50,8 @@ void s_init(void)
|
||||
qos_init();
|
||||
}
|
||||
|
||||
#define MSTPSR1 0xE6150038
|
||||
#define SMSTPCR1 0xE6150134
|
||||
#define TMU0_MSTP125 (1 << 25)
|
||||
|
||||
#define MSTPSR7 0xE61501C4
|
||||
#define SMSTPCR7 0xE615014C
|
||||
#define SCIF0_MSTP721 (1 << 21)
|
||||
|
||||
#define MSTPSR8 0xE61509A0
|
||||
#define SMSTPCR8 0xE6150990
|
||||
#define ETHER_MSTP813 (1 << 13)
|
||||
|
||||
#define mstp_setbits(type, addr, saddr, set) \
|
||||
|
||||
Reference in New Issue
Block a user