Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions boards/arm/sam_v71_xult/Kconfig.board
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
config BOARD_SAM_V71_XULT
bool "Atmel SMART SAM V71 Xplained Ultra Board"
depends on SOC_PART_NUMBER_SAMV71Q21 || SOC_PART_NUMBER_SAMV71Q21B

config BOARD_SAM_V70_XULT
bool "Atmel SMART SAM V70 Xplained Ultra Board"
depends on SOC_PART_NUMBER_SAMV70Q20 || SOC_PART_NUMBER_SAMV70Q20B
Comment on lines +10 to +13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try keep less specialized always first.

9 changes: 8 additions & 1 deletion boards/arm/sam_v71_xult/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Atmel SMART SAM V71 Xplained Board configuration
# Atmel SMART SAM V70/V71 Xplained Board configuration

# Copyright (c) 2019 Gerson Fernando Budke
# Copyright (c) 2016 Piotr Mienkowski
Expand Down Expand Up @@ -44,3 +44,10 @@ config ETH_SAM_GMAC
endif # NETWORKING

endif # BOARD_SAM_V71_XULT

if BOARD_SAM_V70_XULT

config BOARD
default "sam_v70_xult"

endif # BOARD_SAM_V70_XULT
Comment on lines +47 to +53
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try keep less specialized always first.

10 changes: 8 additions & 2 deletions boards/arm/sam_v71_xult/doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _sam_v71_xplained_ultra:

SAM V71(B) Xplained Ultra
#########################
SAM V70/V71 (B) Xplained Ultra
##############################
Comment on lines +3 to +4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

V70/V71(B)


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

There are two additional variations of this board, sam_v70_xult and
sam_v70b_xult. 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.

.. image:: img/sam_v71_xult.jpg
:width: 500px
:align: center
Expand Down
19 changes: 19 additions & 0 deletions boards/arm/sam_v71_xult/sam_v70_xult.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (c) 2017 Piotr Mienkowski
* Copyright (c) 2017 Justin Watson
* Copyright (c) 2019-2020 Gerson Fernando Budke <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <atmel/samv70x20.dtsi>
#include <dt-bindings/pinctrl/samv70q-pinctrl.h>
#include "sam_v7x_xult-pinctrl-common.dtsi"
#include "sam_v7x_xult-common.dtsi"

/ {
model = "Atmel SAM V70 Xplained Ultra board";
compatible = "atmel,sam_v70_xult", "atmel,samv70x19", "atmel,samv70";
};
25 changes: 25 additions & 0 deletions boards/arm/sam_v71_xult/sam_v70_xult.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
identifier: sam_v70_xult
name: SAM V70 Xplained Ultra
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- arduino_gpio
- arduino_i2c
- arduino_spi
- gpio
- spi
- watchdog
- usb_device
- pwm
- xpro_gpio
- xpro_i2c
- xpro_serial
- xpro_spi
- can
- canfd
- hwinfo
19 changes: 19 additions & 0 deletions boards/arm/sam_v71_xult/sam_v70_xult_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_SAMV70=y
CONFIG_SOC_PART_NUMBER_SAMV70Q20=y
CONFIG_SOC_ATMEL_SAMV70_EXT_MAINCK=y
CONFIG_SOC_ATMEL_SAMV70_PLLA_MULA=24
CONFIG_SOC_ATMEL_SAMV70_PLLA_DIVA=1
CONFIG_ARM_MPU=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_USART_SAM=y
CONFIG_BOARD_SAM_V70_XULT=y
CONFIG_WDT_DISABLE_AT_BOOT=y
CONFIG_BUILD_OUTPUT_HEX=y

# Enable HW stack protection
CONFIG_HW_STACK_PROTECTION=y
18 changes: 18 additions & 0 deletions boards/arm/sam_v71_xult/sam_v70b_xult.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright (c) 2020 Stephanos Ioannidis <[email protected]>
* Copyright (c) 2020 Gerson Fernando Budke <[email protected]>
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <atmel/samv70x20b.dtsi>
#include <dt-bindings/pinctrl/samv70q-pinctrl.h>
#include "sam_v7x_xult-pinctrl-common.dtsi"
#include "sam_v7x_xult-common.dtsi"

/ {
model = "Atmel SAM V70B Xplained Ultra board";
compatible = "atmel,sam_v70b_xult", "atmel,samv70q20b", "atmel,samv70b";
};
25 changes: 25 additions & 0 deletions boards/arm/sam_v71_xult/sam_v70b_xult.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
identifier: sam_v70b_xult
name: SAM V70 Xplained Ultra (Revision B)
type: mcu
arch: arm
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- arduino_gpio
- arduino_i2c
- arduino_spi
- gpio
- spi
- watchdog
- usb_device
- pwm
- xpro_gpio
- xpro_i2c
- xpro_serial
- xpro_spi
- can
- canfd
- hwinfo
16 changes: 16 additions & 0 deletions boards/arm/sam_v71_xult/sam_v70b_xult_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_SAMV70=y
CONFIG_SOC_PART_NUMBER_SAMV70Q20B=y
CONFIG_SOC_ATMEL_SAMV70_EXT_MAINCK=y
CONFIG_SOC_ATMEL_SAMV70_PLLA_MULA=24
CONFIG_SOC_ATMEL_SAMV70_PLLA_DIVA=1
CONFIG_ARM_MPU=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_USART_SAM=y
CONFIG_BOARD_SAM_V70_XULT=y
CONFIG_WDT_DISABLE_AT_BOOT=y
CONFIG_BUILD_OUTPUT_HEX=y
Loading