dts: atmel_sam: Refactor SoC dts.fixup into arch/arm/soc/atmel_sam
Move common SoC dts.fixup defines into arch/arm/soc/atmel_sam/<BAR>/dts.fixup so we remove duplication in the boards and only have board specific defines in boards/arm/<FOO>/dts.fixup. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a73e8fa083
commit
87a8d199d8
3 changed files with 11 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
* generated data matches the driver definitions.
|
||||
*/
|
||||
|
||||
/* SoC level DTS fixup file */
|
||||
|
||||
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
|
||||
#define CONFIG_I2C_0_BASE_ADDRESS ATMEL_SAM_I2C_TWI_4008C000_BASE_ADDRESS
|
||||
|
@ -32,3 +34,5 @@
|
|||
#define CONFIG_USART_SAM_PORT_2_BAUD_RATE ATMEL_SAM_USART_400A0000_CURRENT_SPEED
|
||||
#define CONFIG_USART_SAM_PORT_3_NAME ATMEL_SAM_USART_400A4000_LABEL
|
||||
#define CONFIG_USART_SAM_PORT_3_BAUD_RATE ATMEL_SAM_USART_400A4000_CURRENT_SPEED
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
|
@ -4,6 +4,7 @@
|
|||
* generated data matches the driver definitions.
|
||||
*/
|
||||
|
||||
/* SoC level DTS fixup file */
|
||||
|
||||
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
|
||||
|
@ -32,3 +33,5 @@
|
|||
#define CONFIG_USART_SAM_PORT_0_BAUD_RATE ATMEL_SAM_USART_40024000_CURRENT_SPEED
|
||||
#define CONFIG_USART_SAM_PORT_1_NAME ATMEL_SAM_USART_40028000_LABEL
|
||||
#define CONFIG_USART_SAM_PORT_1_BAUD_RATE ATMEL_SAM_USART_40028000_CURRENT_SPEED
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
|
@ -4,6 +4,8 @@
|
|||
* generated data matches the driver definitions.
|
||||
*/
|
||||
|
||||
/* SoC level DTS fixup file */
|
||||
|
||||
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
|
||||
#define CONFIG_I2C_0_BASE_ADDRESS ATMEL_SAM_I2C_TWIHS_40018000_BASE_ADDRESS
|
||||
|
@ -63,3 +65,5 @@
|
|||
#define CONFIG_ADC_1_IRQ ATMEL_SAM_AFEC_40064000_IRQ_0
|
||||
#define CONFIG_ADC_1_IRQ_PRI ATMEL_SAM_AFEC_40064000_IRQ_0_PRIORITY
|
||||
#define CONFIG_ADC_1_NAME ATMEL_SAM_AFEC_40064000_LABEL
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
Loading…
Add table
Add a link
Reference in a new issue