ARM: shmobile: r8a7792: basic SoC support
Add minimal support for the R-Car V2H (R8A7792) SoC. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
f0aa411de8
commit
a57ac4c16b
|
@ -86,6 +86,10 @@ config ARCH_R8A7791
|
||||||
select ARCH_RCAR_GEN2
|
select ARCH_RCAR_GEN2
|
||||||
select I2C
|
select I2C
|
||||||
|
|
||||||
|
config ARCH_R8A7792
|
||||||
|
bool "R-Car V2H (R8A77920)"
|
||||||
|
select ARCH_RCAR_GEN2
|
||||||
|
|
||||||
config ARCH_R8A7793
|
config ARCH_R8A7793
|
||||||
bool "R-Car M2-N (R8A7793)"
|
bool "R-Car M2-N (R8A7793)"
|
||||||
select ARCH_RCAR_GEN2
|
select ARCH_RCAR_GEN2
|
||||||
|
|
|
@ -13,6 +13,7 @@ obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o
|
||||||
obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o pm-r8a7779.o
|
obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o pm-r8a7779.o
|
||||||
obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o
|
obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o
|
||||||
obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o
|
obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o
|
||||||
|
obj-$(CONFIG_ARCH_R8A7792) += setup-r8a7792.o
|
||||||
obj-$(CONFIG_ARCH_R8A7793) += setup-r8a7793.o
|
obj-$(CONFIG_ARCH_R8A7793) += setup-r8a7793.o
|
||||||
obj-$(CONFIG_ARCH_R8A7794) += setup-r8a7794.o
|
obj-$(CONFIG_ARCH_R8A7794) += setup-r8a7794.o
|
||||||
obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o
|
obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
/*
|
||||||
|
* r8a7792 processor support
|
||||||
|
*
|
||||||
|
* Copyright (C) 2014 Renesas Electronics Corporation
|
||||||
|
* Copyright (C) 2016 Cogent Embedded, Inc.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <linux/of_platform.h>
|
||||||
|
|
||||||
|
#include <asm/mach/arch.h>
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
#include "rcar-gen2.h"
|
||||||
|
|
||||||
|
static const char * const r8a7792_boards_compat_dt[] __initconst = {
|
||||||
|
"renesas,r8a7792",
|
||||||
|
NULL,
|
||||||
|
};
|
||||||
|
|
||||||
|
DT_MACHINE_START(R8A7792_DT, "Generic R8A7792 (Flattened Device Tree)")
|
||||||
|
.init_early = shmobile_init_delay,
|
||||||
|
.init_late = shmobile_init_late,
|
||||||
|
.init_time = rcar_gen2_timer_init,
|
||||||
|
.reserve = rcar_gen2_reserve,
|
||||||
|
.dt_compat = r8a7792_boards_compat_dt,
|
||||||
|
MACHINE_END
|
Loading…
Reference in New Issue