Skip to content

Commit 2e7146b

Browse files
nzmichaelhgalak
authored andcommitted
arch: refactor the SAM0 SoC fixups into a SoC-level file.
This prepares the way for the Trinket M0. Signed-off-by: Michael Hope <[email protected]>
1 parent 87a8d19 commit 2e7146b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

arch/arm/soc/atmel_sam0/samd/dts.fixup

Lines changed: 0 additions & 6 deletions
This file was deleted.

boards/arm/arduino_zero/dts.fixup renamed to arch/arm/soc/atmel_sam0/samd21/dts.fixup

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* SoC level DTS fixup file */
2+
3+
#define FLASH_DEV_BASE_ADDRESS ATMEL_SAM0_NVMCTRL_41004000_BASE_ADDRESS_0
4+
#define FLASH_DEV_NAME ATMEL_SAM0_NVMCTRL_41004000_LABEL
5+
16
#define CONFIG_GPIO_SAM0_PORTA_LABEL ATMEL_SAM0_GPIO_41004400_LABEL
27
#define CONFIG_GPIO_SAM0_PORTA_BASE_ADDRESS ATMEL_SAM0_GPIO_41004400_BASE_ADDRESS
38

@@ -52,3 +57,5 @@
5257
#define CONFIG_PINMUX_SAM0_B_LABEL ATMEL_SAM0_PINMUX_41004480_LABEL
5358

5459
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
60+
61+
/* End of SoC Level DTS fixup file */

0 commit comments

Comments
 (0)