Skip to content

Commit

Permalink
dts: arm: atmel: sam3x: Fix SoC compatible
Browse files Browse the repository at this point in the history
Atmel SAM3X is a Cortex-M3 SoC.

Signed-off-by: Gerson Fernando Budke <[email protected]>
  • Loading branch information
nandojve authored and galak committed Apr 13, 2020
1 parent 5886846 commit d4867ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dts/arm/atmel/sam3x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

cpu0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-m4";
compatible = "arm,cortex-m3";
reg = <0>;
};
};
Expand Down
6 changes: 3 additions & 3 deletions soc/arm/atmel_sam/sam3x/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
#include "../common/soc_pmc.h"
#include "../common/soc_gpio.h"

#endif /* _ASMLANGUAGE */

/** Processor Clock (HCLK) Frequency */
#define SOC_ATMEL_SAM_HCLK_FREQ_HZ DT_ARM_CORTEX_M4_0_CLOCK_FREQUENCY
#define SOC_ATMEL_SAM_HCLK_FREQ_HZ DT_ARM_CORTEX_M3_0_CLOCK_FREQUENCY
/** Master Clock (MCK) Frequency */
#define SOC_ATMEL_SAM_MCK_FREQ_HZ SOC_ATMEL_SAM_HCLK_FREQ_HZ

#endif /* _ASMLANGUAGE */

#endif /* _ATMEL_SAM3X_SOC_H_ */

0 comments on commit d4867ff

Please sign in to comment.