-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: shmobile: add R-Car M1A Bock-W platform support
Add basic Bock-W board support More devices will be added on top of this patch after PICNTRL and clock framework are in better shape. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
- Loading branch information
Kuninori Morimoto
authored and
Simon Horman
committed
Apr 3, 2013
1 parent
eb0ae72
commit 53e42c2
Showing
6 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Reference Device Tree Source for the Bock-W board | ||
* | ||
* Copyright (C) 2013 Renesas Solutions Corp. | ||
* Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | ||
* | ||
* based on r8a7779 | ||
* | ||
* Copyright (C) 2013 Renesas Solutions Corp. | ||
* Copyright (C) 2013 Simon Horman | ||
* | ||
* This file is licensed under the terms of the GNU General Public License | ||
* version 2. This program is licensed "as is" without any warranty of any | ||
* kind, whether express or implied. | ||
*/ | ||
|
||
/dts-v1/; | ||
/include/ "r8a7778.dtsi" | ||
|
||
/ { | ||
model = "bockw"; | ||
compatible = "renesas,bockw", "renesas,r8a7778"; | ||
|
||
chosen { | ||
bootargs = "console=ttySC0,115200 ignore_loglevel"; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x60000000 0x10000000>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# CONFIG_ARM_PATCH_PHYS_VIRT is not set | ||
CONFIG_KERNEL_LZMA=y | ||
CONFIG_NO_HZ=y | ||
CONFIG_IKCONFIG=y | ||
CONFIG_IKCONFIG_PROC=y | ||
CONFIG_LOG_BUF_SHIFT=16 | ||
CONFIG_SYSCTL_SYSCALL=y | ||
CONFIG_EMBEDDED=y | ||
CONFIG_SLAB=y | ||
# CONFIG_IOSCHED_CFQ is not set | ||
CONFIG_ARCH_SHMOBILE=y | ||
CONFIG_ARCH_R8A7778=y | ||
CONFIG_MACH_BOCKW=y | ||
CONFIG_MEMORY_START=0x60000000 | ||
CONFIG_MEMORY_SIZE=0x10000000 | ||
CONFIG_SHMOBILE_TIMER_HZ=1024 | ||
# CONFIG_SH_TIMER_CMT is not set | ||
# CONFIG_EM_TIMER_STI is not set | ||
CONFIG_ARM_ERRATA_430973=y | ||
CONFIG_ARM_ERRATA_458693=y | ||
CONFIG_ARM_ERRATA_460075=y | ||
CONFIG_ARM_ERRATA_743622=y | ||
CONFIG_ARM_ERRATA_754322=y | ||
CONFIG_AEABI=y | ||
# CONFIG_OABI_COMPAT is not set | ||
CONFIG_HIGHMEM=y | ||
CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
CONFIG_ZBOOT_ROM_BSS=0x0 | ||
CONFIG_ARM_APPENDED_DTB=y | ||
CONFIG_CMDLINE="console=ttySC0,115200 ignore_loglevel" | ||
CONFIG_CMDLINE_FORCE=y | ||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
# CONFIG_SUSPEND is not set | ||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
CONFIG_DEVTMPFS=y | ||
CONFIG_DEVTMPFS_MOUNT=y | ||
# CONFIG_STANDALONE is not set | ||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
# CONFIG_FW_LOADER is not set | ||
# CONFIG_INPUT is not set | ||
# CONFIG_SERIO is not set | ||
# CONFIG_VT is not set | ||
# CONFIG_LEGACY_PTYS is not set | ||
# CONFIG_DEVKMEM is not set | ||
CONFIG_SERIAL_SH_SCI=y | ||
CONFIG_SERIAL_SH_SCI_NR_UARTS=6 | ||
CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
# CONFIG_HW_RANDOM is not set | ||
# CONFIG_HWMON is not set | ||
# CONFIG_USB_SUPPORT is not set | ||
CONFIG_UIO=y | ||
CONFIG_UIO_PDRV_GENIRQ=y | ||
# CONFIG_IOMMU_SUPPORT is not set | ||
# CONFIG_DNOTIFY is not set | ||
# CONFIG_INOTIFY_USER is not set | ||
CONFIG_TMPFS=y | ||
# CONFIG_MISC_FILESYSTEMS is not set | ||
# CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
# CONFIG_ENABLE_MUST_CHECK is not set | ||
# CONFIG_SCHED_DEBUG is not set | ||
# CONFIG_DEBUG_BUGVERBOSE is not set | ||
# CONFIG_FTRACE is not set | ||
# CONFIG_ARM_UNWIND is not set | ||
CONFIG_KEYS=y | ||
CONFIG_CRYPTO=y | ||
CONFIG_AVERAGE=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Bock-W board support | ||
* | ||
* Copyright (C) 2013 Renesas Solutions Corp. | ||
* Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | ||
* | ||
* 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; version 2 of the License. | ||
* | ||
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
#include <linux/platform_device.h> | ||
#include <mach/common.h> | ||
#include <mach/r8a7778.h> | ||
#include <asm/mach/arch.h> | ||
|
||
static void __init bockw_init(void) | ||
{ | ||
r8a7778_clock_init(); | ||
r8a7778_add_standard_devices(); | ||
} | ||
|
||
static const char *bockw_boards_compat_dt[] __initdata = { | ||
"renesas,bockw", | ||
NULL, | ||
}; | ||
|
||
DT_MACHINE_START(BOCKW_DT, "bockw") | ||
.init_early = r8a7778_init_delay, | ||
.init_irq = r8a7778_init_irq_dt, | ||
.init_machine = bockw_init, | ||
.init_time = shmobile_timer_init, | ||
.dt_compat = bockw_boards_compat_dt, | ||
MACHINE_END |