From mboxrd@z Thu Jan 1 00:00:00 1970 From: DrEagle Date: Mon, 08 Jul 2013 01:45:31 +0200 Subject: [U-Boot] [PATCH 3/8] arm kirkwood add kw88f6282 support In-Reply-To: <20130705230848.457e1e24@lilith> References: <51D3437F.9040000@doukki.net> <20130705230848.457e1e24@lilith> Message-ID: <51D9FD9B.8000907@doukki.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de - add kw88f6282 device support Signed-off-by: drEagle arch/arm/include/asm/arch-kirkwood/config.h | arch/arm/include/asm/arch-kirkwood/kirkwood.h | arch/arm/include/asm/arch-kirkwood/kw88f6282.h | diff --git a/arch/arm/include/asm/arch-kirkwood/config.h b/arch/arm/include/asm/arch-kirkwood/config.h index a9499b7..210cc3f 100644 --- a/arch/arm/include/asm/arch-kirkwood/config.h +++ b/arch/arm/include/asm/arch-kirkwood/config.h @@ -35,6 +35,8 @@ #include #elif defined (CONFIG_KW88F6192) #include +#elif defined (CONFIG_KW88F6182) +#include #else #error "SOC Name not defined" #endif /* CONFIG_KW88F6281 */ diff --git a/arch/arm/include/asm/arch-kirkwood/kirkwood.h b/arch/arm/include/asm/arch-kirkwood/kirkwood.h index 47771d5..c696dc4 100644 --- a/arch/arm/include/asm/arch-kirkwood/kirkwood.h +++ b/arch/arm/include/asm/arch-kirkwood/kirkwood.h @@ -77,10 +78,33 @@ #if defined (CONFIG_KW88F6281) #include #elif defined (CONFIG_KW88F6192) #include +#elif defined (CONFIG_KW88F6182) +#include #else #error "SOC Name not defined" #endif /* CONFIG_KW88F6281 */ diff --git a/arch/arm/include/asm/arch-kirkwood/kw88f6282.h b/arch/arm/include/asm/arch-kirkwood/kw88f6282.h new file mode 100644 index 0000000..22d10f1 --- /dev/null +++ b/arch/arm/include/asm/arch-kirkwood/kw88f6282.h @@ -0,0 +1,39 @@ +/* + * (C) Copyright 2009 + * Marvell Semiconductor + * Written-by: Prafulla Wadaskar + * + * Header file for Feroceon CPU core 88FR131 Based KW88F6281 SOC. + * + * See file CREDITS for list of people who contributed to this + * project. + * + * 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 program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + */ + +#ifndef _ASM_ARCH_KW88F6281_H +#define _ASM_ARCH_KW88F6281_H + +/* SOC specific definitions */ +#define KW88F6281_REGS_PHYS_BASE 0xf1000000 +#define KW_REGS_PHY_BASE KW88F6281_REGS_PHYS_BASE + +/* TCLK Core Clock definition */ +#ifndef CONFIG_SYS_TCLK +#define CONFIG_SYS_TCLK 200000000 /* 200MHz */ +#endif + +#endif /* _ASM_ARCH_KW88F6281_H */