diff options
author | Szemző András <sza@esh.hu> | 2017-05-31 03:06:21 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-06-02 10:11:38 +0200 |
commit | 2d4c44e979eaa846dfa63717c4f4818e11161c66 (patch) | |
tree | 4a469eca5c35fd92824a305d8e3470cfea78abbb /arch/arm/mach-at91/samv7.c | |
parent | 8a9d600a8e119373fe17555219948d8d235a62d5 (diff) | |
download | linux-2d4c44e979eaa846dfa63717c4f4818e11161c66.tar.bz2 |
ARM: at91: Add armv7m support
Add Atmel SAME70/SAMS70/SAMV71 SoC support.
Signed-off-by: Szemző András <sza@esh.hu>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-at91/samv7.c')
-rw-r--r-- | arch/arm/mach-at91/samv7.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/samv7.c b/arch/arm/mach-at91/samv7.c new file mode 100644 index 000000000000..11386f190c83 --- /dev/null +++ b/arch/arm/mach-at91/samv7.c @@ -0,0 +1,25 @@ +/* + * Setup code for SAMv7x + * + * Copyright (C) 2013 Atmel, + * 2016 Andras Szemzo <szemzo.andras@gmail.com> + * + * Licensed under GPLv2 or later. + */ +#include <linux/of.h> +#include <linux/of_platform.h> +#include <linux/of_address.h> +#include <linux/slab.h> +#include <asm/mach/arch.h> +#include <asm/mach/map.h> +#include <asm/system_misc.h> +#include "generic.h" + +static const char *const samv7_dt_board_compat[] __initconst = { + "atmel,samv7", + NULL +}; + +DT_MACHINE_START(samv7_dt, "Atmel SAMV7") + .dt_compat = samv7_dt_board_compat, +MACHINE_END |