TNETV107X: Initial Commit
Subsystems (2)
PATCH 1/1 TNETV107X: Initial Commit
TNETV107X is a Texas Instruments SoC based on an ARM1176 core, and with a bunch on on-chip integrated peripherals. This is an initial commit with basic functionality, more commits with drivers, etc. to follow.
ARM1176 modifications are as per a separate patch mailed out earlier.
--- MAKEALL | 1 + Makefile | 3 + board/ti/tnetv107xevm/Makefile | 49 +++ board/ti/tnetv107xevm/config.mk | 20 + board/ti/tnetv107xevm/sdb_board.c | 66 ++++ board/ti/tnetv107xevm/u-boot.lds | 48 +++ cpu/arm1176/cpu.c | 1 - cpu/arm1176/start.S | 60 +++- cpu/arm1176/tnetv107x/Makefile | 44 +++ cpu/arm1176/tnetv107x/aemif.c | 173 +++++++++ cpu/arm1176/tnetv107x/clock.c | 562 ++++++++++++++++++++++++++++ cpu/arm1176/tnetv107x/init.c | 41 ++ cpu/arm1176/tnetv107x/lowlevel_init.S | 25 ++ cpu/arm1176/tnetv107x/mux.c | 463 +++++++++++++++++++++++ cpu/arm1176/tnetv107x/timer.c | 125 ++++++ cpu/arm1176/tnetv107x/wdt.c | 172 +++++++++ include/asm-arm/arch-tnetv107x/clock.h | 43 +++ include/asm-arm/arch-tnetv107x/emif_defs.h | 1 + include/asm-arm/arch-tnetv107x/hardware.h | 184 +++++++++ include/asm-arm/arch-tnetv107x/mux.h | 307 +++++++++++++++ include/asm-arm/arch-tnetv107x/nand_defs.h | 38 ++ include/configs/smdk6400.h | 6 + include/configs/tnetv107x_evm.h | 225 +++++++++++ 23 files changed, 2648 insertions(+), 9 deletions(-) create mode 100644 board/ti/tnetv107xevm/Makefile create mode 100644 board/ti/tnetv107xevm/config.mk create mode 100644 board/ti/tnetv107xevm/sdb_board.c create mode 100644 board/ti/tnetv107xevm/u-boot.lds create mode 100644 cpu/arm1176/tnetv107x/Makefile create mode 100644 cpu/arm1176/tnetv107x/aemif.c create mode 100644 cpu/arm1176/tnetv107x/clock.c create mode 100644 cpu/arm1176/tnetv107x/init.c create mode 100644 cpu/arm1176/tnetv107x/lowlevel_init.S create mode 100644 cpu/arm1176/tnetv107x/mux.c create mode 100644 cpu/arm1176/tnetv107x/timer.c create mode 100644 cpu/arm1176/tnetv107x/wdt.c create mode 100644 include/asm-arm/arch-tnetv107x/clock.h create mode 100644 include/asm-arm/arch-tnetv107x/emif_defs.h create mode 100644 include/asm-arm/arch-tnetv107x/hardware.h create mode 100644 include/asm-arm/arch-tnetv107x/mux.h create mode 100644 include/asm-arm/arch-tnetv107x/nand_defs.h create mode 100644 include/configs/tnetv107x_evm.h
MAKEALL +1 -0
@@ -624,6 +624,7 @@ LIST_ARM11=" \ mx31pdk_nand \ qong \ smdk6400 \ + tnetv107x_evm \ " #########################################################################
Makefile +3 -0
@@ -2932,6 +2932,9 @@ davinci_dm365evm_config : unconfig davinci_dm6467evm_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm926ejs dm6467evm davinci davinci +tnetv107x_evm_config: unconfig + @$(MKCONFIG) $(@:_config=) arm arm1176 tnetv107xevm ti tnetv107x + imx27lite_config: unconfig @$(MKCONFIG) $(@:_config=) arm arm926ejs imx27lite logicpd mx27
board/ti/tnetv107xevm/Makefile new file +49 -0
49 lines not on this page · raw message
board/ti/tnetv107xevm/config.mk new file +20 -0
@@ -0,0 +1,20 @@ +# +# 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., 675 Mass Ave, Cambridge, MA 02139, USA. +# + +TEXT_BASE = 0x83FC0000
board/ti/tnetv107xevm/sdb_board.c new file +66 -0
66 lines not on this page · raw message
board/ti/tnetv107xevm/u-boot.lds new file +48 -0
48 lines not on this page · raw message
cpu/arm1176/cpu.c +0 -1
@@ -33,7 +33,6 @@#include <common.h> #include <command.h> -#include <asm/arch/s3c6400.h> #include <asm/system.h> static void cache_flush (void );
cpu/arm1176/start.S +52 -8
118 lines not on this page · raw message
cpu/arm1176/tnetv107x/Makefile new file +44 -0
44 lines not on this page · raw message
cpu/arm1176/tnetv107x/aemif.c new file +173 -0
173 lines not on this page · raw message
cpu/arm1176/tnetv107x/clock.c new file +562 -0
562 lines not on this page · raw message
cpu/arm1176/tnetv107x/init.c new file +41 -0
41 lines not on this page · raw message
cpu/arm1176/tnetv107x/lowlevel_init.S new file +25 -0
@@ -0,0 +1,25 @@ +/* + * TNETV107X: Low-level pre-relocation initialization + * + * 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., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +.globl lowlevel_init +lowlevel_init: + /* nothing for now, maybe needed for more exotic boot modes */ + mov pc, lr
cpu/arm1176/tnetv107x/mux.c new file +463 -0
463 lines not on this page · raw message
cpu/arm1176/tnetv107x/timer.c new file +125 -0
125 lines not on this page · raw message
cpu/arm1176/tnetv107x/wdt.c new file +172 -0
172 lines not on this page · raw message
include/asm-arm/arch-tnetv107x/clock.h new file +43 -0
43 lines not on this page · raw message
include/asm-arm/arch-tnetv107x/emif_defs.h new file +1 -0
@@ -0,0 +1 @@ +#include <asm/arch-davinci/emif_defs.h>
include/asm-arm/arch-tnetv107x/hardware.h new file +184 -0
184 lines not on this page · raw message
include/asm-arm/arch-tnetv107x/mux.h new file +307 -0
307 lines not on this page · raw message
include/asm-arm/arch-tnetv107x/nand_defs.h new file +38 -0
@@ -0,0 +1,38 @@ +/* +* TNETV107X: NAND definitions +* +* 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., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ +#ifndef _NAND_DEFS_H_ +#define _NAND_DEFS_H_ + +#include <asm/arch/hardware.h> +#include <asm/arch/emif_defs.h> + +#define DAVINCI_ASYNC_EMIF_CNTRL_BASE TNETV107X_ASYNC_EMIF_CNTRL_BASE + +#define MASK_CLE 0x4000 +#define MASK_ALE 0x2000 + +#define NAND_READ_START 0x00 +#define NAND_READ_END 0x30 +#define NAND_STATUS 0x70 + +extern void davinci_nand_init (struct nand_chip *nand); + +#endif
include/configs/smdk6400.h +6 -0
@@ -40,6 +40,12 @@#define CONFIG_S3C64XX 1/* in a SAMSUNG S3C64XX Family */ #define CONFIG_SMDK6400 1/* on a SAMSUNG SMDK6400 Board */ +#define CONFIG_SKIP_RELOCATE_UBOOT + +#define CONFIG_PERIPORT_REMAP +#define CONFIG_PERIPORT_BASE 0x70000000 +#define CONFIG_PERIPORT_SIZE 0x13 +#define CONFIG_SYS_SDRAM_BASE 0x50000000/* input clock of PLL: SMDK6400 has 12MHz input clock */
include/configs/tnetv107x_evm.h new file +225 -0
225 lines not on this page · raw message
Signature · 1 line
1.6.3.3