From 3ec66893e377b088c1284d2d23adb2aeea6d7965 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 27 Feb 2021 22:08:58 +0000 Subject: New port: FiiO M3K on bare metal Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe --- .../target/mips/ingenic_x1000/x1000/ddrc_apb.h | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 firmware/target/mips/ingenic_x1000/x1000/ddrc_apb.h (limited to 'firmware/target/mips/ingenic_x1000/x1000/ddrc_apb.h') diff --git a/firmware/target/mips/ingenic_x1000/x1000/ddrc_apb.h b/firmware/target/mips/ingenic_x1000/x1000/ddrc_apb.h new file mode 100644 index 0000000000..bcb880624f --- /dev/null +++ b/firmware/target/mips/ingenic_x1000/x1000/ddrc_apb.h @@ -0,0 +1,41 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * This file was automatically generated by headergen, DO NOT EDIT it. + * headergen version: 3.0.0 + * x1000 version: 1.0 + * x1000 authors: Aidan MacDonald + * + * Copyright (C) 2015 by the authors + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#ifndef __HEADERGEN_DDRC_APB_H__ +#define __HEADERGEN_DDRC_APB_H__ + +#include "macro.h" + +#define REG_DDRC_APB_CLKSTP_CFG jz_reg(DDRC_APB_CLKSTP_CFG) +#define JA_DDRC_APB_CLKSTP_CFG (0xb3012000 + 0x68) +#define JT_DDRC_APB_CLKSTP_CFG JIO_32_RW +#define JN_DDRC_APB_CLKSTP_CFG DDRC_APB_CLKSTP_CFG +#define JI_DDRC_APB_CLKSTP_CFG + +#define REG_DDRC_APB_PHYRST_CFG jz_reg(DDRC_APB_PHYRST_CFG) +#define JA_DDRC_APB_PHYRST_CFG (0xb3012000 + 0x80) +#define JT_DDRC_APB_PHYRST_CFG JIO_32_RW +#define JN_DDRC_APB_PHYRST_CFG DDRC_APB_PHYRST_CFG +#define JI_DDRC_APB_PHYRST_CFG + +#endif /* __HEADERGEN_DDRC_APB_H__*/ -- cgit v1.2.3