-
Notifications
You must be signed in to change notification settings - Fork 8.2k
soc: arm: atmel: implement SAM V70 support #46362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+1,412
−468
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -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 | ||
|
|
@@ -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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's try keep less specialized always first. |
||
This file contains hidden or 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 |
|---|---|---|
| @@ -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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. V70/V71(B) |
||
|
|
||
| Overview | ||
| ******** | ||
|
|
@@ -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 | ||
|
|
||
This file contains hidden or 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,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"; | ||
| }; |
This file contains hidden or 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,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 |
This file contains hidden or 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,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 |
This file contains hidden or 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,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"; | ||
| }; |
This file contains hidden or 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,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 |
This file contains hidden or 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,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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.