aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/r8a7778-bockw.dts32
-rw-r--r--arch/arm/configs/bockw_defconfig66
-rw-r--r--arch/arm/mach-shmobile/Kconfig6
-rw-r--r--arch/arm/mach-shmobile/Makefile1
-rw-r--r--arch/arm/mach-shmobile/board-bockw.c43
6 files changed, 149 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index ee9fbe4d9912..363fa5070310 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -136,6 +136,7 @@ dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \
136 ccu9540.dtb 136 ccu9540.dtb
137dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ 137dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \
138 r8a7740-armadillo800eva.dtb \ 138 r8a7740-armadillo800eva.dtb \
139 r8a7778-bockw.dtb \
139 r8a7779-marzen-reference.dtb \ 140 r8a7779-marzen-reference.dtb \
140 sh73a0-kzm9g.dtb \ 141 sh73a0-kzm9g.dtb \
141 sh73a0-kzm9g-reference.dtb \ 142 sh73a0-kzm9g-reference.dtb \
diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
new file mode 100644
index 000000000000..735c964920f9
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -0,0 +1,32 @@
1/*
2 * Reference Device Tree Source for the Bock-W board
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
7 * based on r8a7779
8 *
9 * Copyright (C) 2013 Renesas Solutions Corp.
10 * Copyright (C) 2013 Simon Horman
11 *
12 * This file is licensed under the terms of the GNU General Public License
13 * version 2. This program is licensed "as is" without any warranty of any
14 * kind, whether express or implied.
15 */
16
17/dts-v1/;
18/include/ "r8a7778.dtsi"
19
20/ {
21 model = "bockw";
22 compatible = "renesas,bockw", "renesas,r8a7778";
23
24 chosen {
25 bootargs = "console=ttySC0,115200 ignore_loglevel";
26 };
27
28 memory {
29 device_type = "memory";
30 reg = <0x60000000 0x10000000>;
31 };
32};
diff --git a/arch/arm/configs/bockw_defconfig b/arch/arm/configs/bockw_defconfig
new file mode 100644
index 000000000000..6037705b7b67
--- /dev/null
+++ b/arch/arm/configs/bockw_defconfig
@@ -0,0 +1,66 @@
1# CONFIG_ARM_PATCH_PHYS_VIRT is not set
2CONFIG_KERNEL_LZMA=y
3CONFIG_NO_HZ=y
4CONFIG_IKCONFIG=y
5CONFIG_IKCONFIG_PROC=y
6CONFIG_LOG_BUF_SHIFT=16
7CONFIG_SYSCTL_SYSCALL=y
8CONFIG_EMBEDDED=y
9CONFIG_SLAB=y
10# CONFIG_IOSCHED_CFQ is not set
11CONFIG_ARCH_SHMOBILE=y
12CONFIG_ARCH_R8A7778=y
13CONFIG_MACH_BOCKW=y
14CONFIG_MEMORY_START=0x60000000
15CONFIG_MEMORY_SIZE=0x10000000
16CONFIG_SHMOBILE_TIMER_HZ=1024
17# CONFIG_SH_TIMER_CMT is not set
18# CONFIG_EM_TIMER_STI is not set
19CONFIG_ARM_ERRATA_430973=y
20CONFIG_ARM_ERRATA_458693=y
21CONFIG_ARM_ERRATA_460075=y
22CONFIG_ARM_ERRATA_743622=y
23CONFIG_ARM_ERRATA_754322=y
24CONFIG_AEABI=y
25# CONFIG_OABI_COMPAT is not set
26CONFIG_HIGHMEM=y
27CONFIG_ZBOOT_ROM_TEXT=0x0
28CONFIG_ZBOOT_ROM_BSS=0x0
29CONFIG_ARM_APPENDED_DTB=y
30CONFIG_CMDLINE="console=ttySC0,115200 ignore_loglevel"
31CONFIG_CMDLINE_FORCE=y
32# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
33# CONFIG_SUSPEND is not set
34CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
35CONFIG_DEVTMPFS=y
36CONFIG_DEVTMPFS_MOUNT=y
37# CONFIG_STANDALONE is not set
38# CONFIG_PREVENT_FIRMWARE_BUILD is not set
39# CONFIG_FW_LOADER is not set
40# CONFIG_INPUT is not set
41# CONFIG_SERIO is not set
42# CONFIG_VT is not set
43# CONFIG_LEGACY_PTYS is not set
44# CONFIG_DEVKMEM is not set
45CONFIG_SERIAL_SH_SCI=y
46CONFIG_SERIAL_SH_SCI_NR_UARTS=6
47CONFIG_SERIAL_SH_SCI_CONSOLE=y
48# CONFIG_HW_RANDOM is not set
49# CONFIG_HWMON is not set
50# CONFIG_USB_SUPPORT is not set
51CONFIG_UIO=y
52CONFIG_UIO_PDRV_GENIRQ=y
53# CONFIG_IOMMU_SUPPORT is not set
54# CONFIG_DNOTIFY is not set
55# CONFIG_INOTIFY_USER is not set
56CONFIG_TMPFS=y
57# CONFIG_MISC_FILESYSTEMS is not set
58# CONFIG_ENABLE_WARN_DEPRECATED is not set
59# CONFIG_ENABLE_MUST_CHECK is not set
60# CONFIG_SCHED_DEBUG is not set
61# CONFIG_DEBUG_BUGVERBOSE is not set
62# CONFIG_FTRACE is not set
63# CONFIG_ARM_UNWIND is not set
64CONFIG_KEYS=y
65CONFIG_CRYPTO=y
66CONFIG_AVERAGE=y
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index 3933a315adf2..18712ad7ccc4 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -124,6 +124,12 @@ config MACH_ARMADILLO800EVA
124 select SND_SOC_WM8978 if SND_SIMPLE_CARD 124 select SND_SOC_WM8978 if SND_SIMPLE_CARD
125 select USE_OF 125 select USE_OF
126 126
127config MACH_BOCKW
128 bool "BOCK-W platform"
129 depends on ARCH_R8A7778
130 select ARCH_REQUIRE_GPIOLIB
131 select USE_OF
132
127config MACH_MARZEN 133config MACH_MARZEN
128 bool "MARZEN board" 134 bool "MARZEN board"
129 depends on ARCH_R8A7779 135 depends on ARCH_R8A7779
diff --git a/arch/arm/mach-shmobile/Makefile b/arch/arm/mach-shmobile/Makefile
index 0c9a2901370e..5eada967ec6b 100644
--- a/arch/arm/mach-shmobile/Makefile
+++ b/arch/arm/mach-shmobile/Makefile
@@ -40,6 +40,7 @@ obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
40obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o 40obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
41obj-$(CONFIG_MACH_KOTA2) += board-kota2.o 41obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
42obj-$(CONFIG_MACH_BONITO) += board-bonito.o 42obj-$(CONFIG_MACH_BONITO) += board-bonito.o
43obj-$(CONFIG_MACH_BOCKW) += board-bockw.o
43obj-$(CONFIG_MACH_MARZEN) += board-marzen.o 44obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
44obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o 45obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o
45obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o 46obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
diff --git a/arch/arm/mach-shmobile/board-bockw.c b/arch/arm/mach-shmobile/board-bockw.c
new file mode 100644
index 000000000000..56ab56ed5f59
--- /dev/null
+++ b/arch/arm/mach-shmobile/board-bockw.c
@@ -0,0 +1,43 @@
1/*
2 * Bock-W board support
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#include <linux/platform_device.h>
22#include <mach/common.h>
23#include <mach/r8a7778.h>
24#include <asm/mach/arch.h>
25
26static void __init bockw_init(void)
27{
28 r8a7778_clock_init();
29 r8a7778_add_standard_devices();
30}
31
32static const char *bockw_boards_compat_dt[] __initdata = {
33 "renesas,bockw",
34 NULL,
35};
36
37DT_MACHINE_START(BOCKW_DT, "bockw")
38 .init_early = r8a7778_init_delay,
39 .init_irq = r8a7778_init_irq_dt,
40 .init_machine = bockw_init,
41 .init_time = shmobile_timer_init,
42 .dt_compat = bockw_boards_compat_dt,
43MACHINE_END