Skip to content

Commit 3e60660

Browse files
committed
boards: sam_v70(b)_xult: add SAM V70 Xplained test target
Introduce two new variations (sam_v70_xult and sam_v70b_xult) of the SAM V71 Xplained Ultra development board. While these are not actually manufactured variations, they exist to test the SAM V70 support. These boards are configured with an ATSAMV70Q20(b) processor and are functionally identical to the SAM V71 versions, minus Ethernet. Signed-off-by: Perry Hung <[email protected]>
1 parent 4c864d7 commit 3e60660

15 files changed

+613
-464
lines changed

boards/arm/sam_v71_xult/Kconfig.board

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77
config BOARD_SAM_V71_XULT
88
bool "Atmel SMART SAM V71 Xplained Ultra Board"
99
depends on SOC_PART_NUMBER_SAMV71Q21 || SOC_PART_NUMBER_SAMV71Q21B
10+
11+
config BOARD_SAM_V70_XULT
12+
bool "Atmel SMART SAM V70 Xplained Ultra Board"
13+
depends on SOC_PART_NUMBER_SAMV70Q20 || SOC_PART_NUMBER_SAMV70Q20B

boards/arm/sam_v71_xult/Kconfig.defconfig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Atmel SMART SAM V71 Xplained Board configuration
1+
# Atmel SMART SAM V70/V71 Xplained Board configuration
22

33
# Copyright (c) 2019 Gerson Fernando Budke
44
# Copyright (c) 2016 Piotr Mienkowski
@@ -44,3 +44,10 @@ config ETH_SAM_GMAC
4444
endif # NETWORKING
4545

4646
endif # BOARD_SAM_V71_XULT
47+
48+
if BOARD_SAM_V70_XULT
49+
50+
config BOARD
51+
default "sam_v70_xult"
52+
53+
endif # BOARD_SAM_V70_XULT

boards/arm/sam_v71_xult/doc/index.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _sam_v71_xplained_ultra:
22

3-
SAM V71(B) Xplained Ultra
3+
SAM V70/V71 (B) Xplained Ultra
44
#########################
55

66
Overview
@@ -10,6 +10,12 @@ The SAM V71 Xplained Ultra evaluation kit is a development platform to
1010
evaluate the Atmel SAM V71 series microcontrollers. The current version
1111
allows to use both IC variations ATSAMV71Q21A(B).
1212

13+
There are two additional variations of this board, sam_v70_xult and
14+
sam_v70b_xult. While these are not actually manufactured variations, they exist
15+
to test the SAM V70 support. These boards are configured with an ATSAMV70Q20(b)
16+
processor and are functionally identical to the SAM V71 versions, minus
17+
Ethernet.
18+
1319
.. image:: img/sam_v71_xult.jpg
1420
:width: 500px
1521
:align: center
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright (c) 2017 Piotr Mienkowski
3+
* Copyright (c) 2017 Justin Watson
4+
* Copyright (c) 2019-2020 Gerson Fernando Budke <[email protected]>
5+
*
6+
* SPDX-License-Identifier: Apache-2.0
7+
*/
8+
9+
/dts-v1/;
10+
11+
#include <atmel/samv70x20.dtsi>
12+
#include <dt-bindings/pinctrl/samv70q-pinctrl.h>
13+
#include "sam_v7x_xult-pinctrl-common.dtsi"
14+
#include "sam_v7x_xult-common.dtsi"
15+
16+
/ {
17+
model = "Atmel SAM V70 Xplained Ultra board";
18+
compatible = "atmel,sam_v70_xult", "atmel,samv70x19", "atmel,samv70";
19+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
identifier: sam_v70_xult
2+
name: SAM V70 Xplained Ultra
3+
type: mcu
4+
arch: arm
5+
toolchain:
6+
- zephyr
7+
- gnuarmemb
8+
- xtools
9+
supported:
10+
- adc
11+
- arduino_gpio
12+
- arduino_i2c
13+
- arduino_spi
14+
- gpio
15+
- spi
16+
- watchdog
17+
- usb_device
18+
- pwm
19+
- xpro_gpio
20+
- xpro_i2c
21+
- xpro_serial
22+
- xpro_spi
23+
- can
24+
- canfd
25+
- hwinfo
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
CONFIG_SOC_SERIES_SAMV70=y
4+
CONFIG_SOC_PART_NUMBER_SAMV70Q20=y
5+
CONFIG_SOC_ATMEL_SAMV70_EXT_MAINCK=y
6+
CONFIG_SOC_ATMEL_SAMV70_PLLA_MULA=24
7+
CONFIG_SOC_ATMEL_SAMV70_PLLA_DIVA=1
8+
CONFIG_ARM_MPU=y
9+
CONFIG_CORTEX_M_SYSTICK=y
10+
CONFIG_CONSOLE=y
11+
CONFIG_UART_CONSOLE=y
12+
CONFIG_SERIAL=y
13+
CONFIG_USART_SAM=y
14+
CONFIG_BOARD_SAM_V70_XULT=y
15+
CONFIG_WDT_DISABLE_AT_BOOT=y
16+
CONFIG_BUILD_OUTPUT_HEX=y
17+
18+
# Enable HW stack protection
19+
CONFIG_HW_STACK_PROTECTION=y
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2020 Stephanos Ioannidis <[email protected]>
3+
* Copyright (c) 2020 Gerson Fernando Budke <[email protected]>
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
/dts-v1/;
9+
10+
#include <atmel/samv70x20b.dtsi>
11+
#include <dt-bindings/pinctrl/samv70q-pinctrl.h>
12+
#include "sam_v7x_xult-pinctrl-common.dtsi"
13+
#include "sam_v7x_xult-common.dtsi"
14+
15+
/ {
16+
model = "Atmel SAM V70B Xplained Ultra board";
17+
compatible = "atmel,sam_v70b_xult", "atmel,samv70q20b", "atmel,samv70b";
18+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
identifier: sam_v70b_xult
2+
name: SAM V70 Xplained Ultra (Revision B)
3+
type: mcu
4+
arch: arm
5+
toolchain:
6+
- zephyr
7+
- gnuarmemb
8+
- xtools
9+
supported:
10+
- adc
11+
- arduino_gpio
12+
- arduino_i2c
13+
- arduino_spi
14+
- gpio
15+
- spi
16+
- watchdog
17+
- usb_device
18+
- pwm
19+
- xpro_gpio
20+
- xpro_i2c
21+
- xpro_serial
22+
- xpro_spi
23+
- can
24+
- canfd
25+
- hwinfo
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
CONFIG_SOC_SERIES_SAMV70=y
4+
CONFIG_SOC_PART_NUMBER_SAMV70Q20B=y
5+
CONFIG_SOC_ATMEL_SAMV70_EXT_MAINCK=y
6+
CONFIG_SOC_ATMEL_SAMV70_PLLA_MULA=24
7+
CONFIG_SOC_ATMEL_SAMV70_PLLA_DIVA=1
8+
CONFIG_ARM_MPU=y
9+
CONFIG_CORTEX_M_SYSTICK=y
10+
CONFIG_CONSOLE=y
11+
CONFIG_UART_CONSOLE=y
12+
CONFIG_SERIAL=y
13+
CONFIG_USART_SAM=y
14+
CONFIG_BOARD_SAM_V70_XULT=y
15+
CONFIG_WDT_DISABLE_AT_BOOT=y
16+
CONFIG_BUILD_OUTPUT_HEX=y

0 commit comments

Comments
 (0)