diff options
author | James Hogan <james.hogan@imgtec.com> | 2012-12-05 11:32:10 -0500 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-06-13 07:14:07 -0400 |
commit | c24d2976c7834aa948f9d8a48ad4285cfbaf1c3a (patch) | |
tree | 2b2856ade9f09e73e6b7969800a21f544dfee270 /arch/metag | |
parent | 8f74f52bb3d8596636614433faa067d73066a724 (diff) |
metag: minimal TZ1090 (Comet) SoC infrastructure
Add really minimal support for Toumaz Xenif TZ1090 SoC (A.K.A. Comet).
This consists of minimal build infrastructure, device tree files, and a
defconfig based on meta2_defconfig.
This SoC contains a 2-threaded HTP (Meta 2) as the main application
processor, and is found in a number of development boards and digital
radios, such as the Minimorph Development Platform.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-doc@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
Diffstat (limited to 'arch/metag')
-rw-r--r-- | arch/metag/Kconfig.soc | 9 | ||||
-rw-r--r-- | arch/metag/Makefile | 2 | ||||
-rw-r--r-- | arch/metag/boot/dts/Makefile | 2 | ||||
-rw-r--r-- | arch/metag/boot/dts/tz1090.dtsi | 29 | ||||
-rw-r--r-- | arch/metag/boot/dts/tz1090_generic.dts | 10 | ||||
-rw-r--r-- | arch/metag/configs/tz1090_defconfig | 42 |
6 files changed, 93 insertions, 1 deletions
diff --git a/arch/metag/Kconfig.soc b/arch/metag/Kconfig.soc index ec079cfb7c6a..653b47917caf 100644 --- a/arch/metag/Kconfig.soc +++ b/arch/metag/Kconfig.soc | |||
@@ -14,6 +14,15 @@ config META21_FPGA | |||
14 | help | 14 | help |
15 | This is a Meta 2.1 FPGA bitstream, just a bare CPU. | 15 | This is a Meta 2.1 FPGA bitstream, just a bare CPU. |
16 | 16 | ||
17 | config SOC_TZ1090 | ||
18 | bool "Toumaz Xenif TZ1090 SoC (Comet)" | ||
19 | select METAG_LNKGET_AROUND_CACHE | ||
20 | select METAG_META21 | ||
21 | select METAG_SMP_WRITE_REORDERING | ||
22 | help | ||
23 | This is a Toumaz Technology Xenif TZ1090 (A.K.A. Comet) SoC containing | ||
24 | a 2-threaded HTP. | ||
25 | |||
17 | endchoice | 26 | endchoice |
18 | 27 | ||
19 | menu "SoC configuration" | 28 | menu "SoC configuration" |
diff --git a/arch/metag/Makefile b/arch/metag/Makefile index b566116b171b..9739857bdedc 100644 --- a/arch/metag/Makefile +++ b/arch/metag/Makefile | |||
@@ -20,7 +20,7 @@ checkflags-$(CONFIG_METAG_META12) += -DMETAC_1_2 | |||
20 | checkflags-$(CONFIG_METAG_META21) += -DMETAC_2_1 | 20 | checkflags-$(CONFIG_METAG_META21) += -DMETAC_2_1 |
21 | CHECKFLAGS += -D__metag__ $(checkflags-y) | 21 | CHECKFLAGS += -D__metag__ $(checkflags-y) |
22 | 22 | ||
23 | KBUILD_DEFCONFIG := meta2_defconfig | 23 | KBUILD_DEFCONFIG := tz1090_defconfig |
24 | 24 | ||
25 | sflags-$(CONFIG_METAG_META12) += -mmetac=1.2 | 25 | sflags-$(CONFIG_METAG_META12) += -mmetac=1.2 |
26 | ifeq ($(CONFIG_METAG_META12),y) | 26 | ifeq ($(CONFIG_METAG_META12),y) |
diff --git a/arch/metag/boot/dts/Makefile b/arch/metag/boot/dts/Makefile index dbd95217733a..72c121879426 100644 --- a/arch/metag/boot/dts/Makefile +++ b/arch/metag/boot/dts/Makefile | |||
@@ -1,7 +1,9 @@ | |||
1 | dtb-y += skeleton.dtb | 1 | dtb-y += skeleton.dtb |
2 | dtb-y += tz1090_generic.dtb | ||
2 | 3 | ||
3 | # Built-in dtb | 4 | # Built-in dtb |
4 | builtindtb-y := skeleton | 5 | builtindtb-y := skeleton |
6 | builtindtb-$(CONFIG_SOC_TZ1090) := tz1090_generic | ||
5 | 7 | ||
6 | ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"") | 8 | ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"") |
7 | builtindtb-y := $(patsubst "%",%,$(CONFIG_METAG_BUILTIN_DTB_NAME)) | 9 | builtindtb-y := $(patsubst "%",%,$(CONFIG_METAG_BUILTIN_DTB_NAME)) |
diff --git a/arch/metag/boot/dts/tz1090.dtsi b/arch/metag/boot/dts/tz1090.dtsi new file mode 100644 index 000000000000..ca057f07cac1 --- /dev/null +++ b/arch/metag/boot/dts/tz1090.dtsi | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 Imagination Technologies Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | /include/ "skeleton.dtsi" | ||
10 | |||
11 | / { | ||
12 | compatible = "toumaz,tz1090", "img,meta"; | ||
13 | |||
14 | interrupt-parent = <&intc>; | ||
15 | |||
16 | intc: interrupt-controller { | ||
17 | compatible = "img,meta-intc"; | ||
18 | interrupt-controller; | ||
19 | #interrupt-cells = <2>; | ||
20 | num-banks = <2>; | ||
21 | }; | ||
22 | |||
23 | soc { | ||
24 | compatible = "simple-bus"; | ||
25 | #address-cells = <1>; | ||
26 | #size-cells = <1>; | ||
27 | ranges; | ||
28 | }; | ||
29 | }; | ||
diff --git a/arch/metag/boot/dts/tz1090_generic.dts b/arch/metag/boot/dts/tz1090_generic.dts new file mode 100644 index 000000000000..aa826cb842de --- /dev/null +++ b/arch/metag/boot/dts/tz1090_generic.dts | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012 Imagination Technologies Ltd. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | /dts-v1/; | ||
9 | |||
10 | /include/ "tz1090.dtsi" | ||
diff --git a/arch/metag/configs/tz1090_defconfig b/arch/metag/configs/tz1090_defconfig new file mode 100644 index 000000000000..9f9316a6df27 --- /dev/null +++ b/arch/metag/configs/tz1090_defconfig | |||
@@ -0,0 +1,42 @@ | |||
1 | # CONFIG_LOCALVERSION_AUTO is not set | ||
2 | # CONFIG_SWAP is not set | ||
3 | CONFIG_SYSVIPC=y | ||
4 | CONFIG_SYSFS_DEPRECATED=y | ||
5 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
6 | CONFIG_KALLSYMS_ALL=y | ||
7 | # CONFIG_ELF_CORE is not set | ||
8 | CONFIG_SLAB=y | ||
9 | # CONFIG_BLK_DEV_BSG is not set | ||
10 | CONFIG_PARTITION_ADVANCED=y | ||
11 | # CONFIG_MSDOS_PARTITION is not set | ||
12 | # CONFIG_IOSCHED_DEADLINE is not set | ||
13 | # CONFIG_IOSCHED_CFQ is not set | ||
14 | CONFIG_FLATMEM_MANUAL=y | ||
15 | CONFIG_SOC_TZ1090=y | ||
16 | CONFIG_METAG_HALT_ON_PANIC=y | ||
17 | # CONFIG_METAG_FPU is not set | ||
18 | CONFIG_METAG_DA=y | ||
19 | CONFIG_HZ_100=y | ||
20 | CONFIG_DEVTMPFS=y | ||
21 | # CONFIG_STANDALONE is not set | ||
22 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
23 | # CONFIG_FW_LOADER is not set | ||
24 | CONFIG_BLK_DEV_RAM=y | ||
25 | CONFIG_BLK_DEV_RAM_COUNT=1 | ||
26 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
27 | # CONFIG_INPUT is not set | ||
28 | # CONFIG_SERIO is not set | ||
29 | # CONFIG_VT is not set | ||
30 | # CONFIG_LEGACY_PTYS is not set | ||
31 | CONFIG_DA_TTY=y | ||
32 | CONFIG_DA_CONSOLE=y | ||
33 | # CONFIG_DEVKMEM is not set | ||
34 | # CONFIG_HW_RANDOM is not set | ||
35 | CONFIG_GPIOLIB=y | ||
36 | # CONFIG_HWMON is not set | ||
37 | # CONFIG_USB_SUPPORT is not set | ||
38 | # CONFIG_DNOTIFY is not set | ||
39 | CONFIG_TMPFS=y | ||
40 | # CONFIG_MISC_FILESYSTEMS is not set | ||
41 | # CONFIG_SCHED_DEBUG is not set | ||
42 | CONFIG_DEBUG_INFO=y | ||