flash/nor/at91samd: add SAM R30 family
Microchip SAM R30 consist of a MCU SAM L21 and a radio. Similarly SAM R21 = SAM D21 + radio. Therefore SAM R devices was incorporated into SAM D21 and L21 device groups. Change-Id: I3448d784cae888070b57c2f504583760ddffc97f Suggested-by: Martin Deicke <martin.deicke@an-solutions.de> Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/4282 Tested-by: jenkins
This commit is contained in:
parent
78a4b6607e
commit
5830bf09a7
|
@ -159,23 +159,22 @@ static const struct samd_part samd21_parts[] = {
|
||||||
{ 0xC, "SAMD21E16A", 64, 8 },
|
{ 0xC, "SAMD21E16A", 64, 8 },
|
||||||
{ 0xD, "SAMD21E15A", 32, 4 },
|
{ 0xD, "SAMD21E15A", 32, 4 },
|
||||||
{ 0xE, "SAMD21E14A", 16, 2 },
|
{ 0xE, "SAMD21E14A", 16, 2 },
|
||||||
/* Below are B Variants (Table 3-7 from rev I of datasheet) */
|
|
||||||
{ 0x20, "SAMD21J16B", 64, 8 },
|
|
||||||
{ 0x21, "SAMD21J15B", 32, 4 },
|
|
||||||
{ 0x23, "SAMD21G16B", 64, 8 },
|
|
||||||
{ 0x24, "SAMD21G15B", 32, 4 },
|
|
||||||
{ 0x26, "SAMD21E16B", 64, 8 },
|
|
||||||
{ 0x27, "SAMD21E15B", 32, 4 },
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Known SAMR21 parts. */
|
/* SAMR21 parts have integrated SAMD21 with a radio */
|
||||||
static const struct samd_part samr21_parts[] = {
|
|
||||||
{ 0x19, "SAMR21G18A", 256, 32 },
|
{ 0x19, "SAMR21G18A", 256, 32 },
|
||||||
{ 0x1A, "SAMR21G17A", 128, 32 },
|
{ 0x1A, "SAMR21G17A", 128, 32 },
|
||||||
{ 0x1B, "SAMR21G16A", 64, 32 },
|
{ 0x1B, "SAMR21G16A", 64, 32 },
|
||||||
{ 0x1C, "SAMR21E18A", 256, 32 },
|
{ 0x1C, "SAMR21E18A", 256, 32 },
|
||||||
{ 0x1D, "SAMR21E17A", 128, 32 },
|
{ 0x1D, "SAMR21E17A", 128, 32 },
|
||||||
{ 0x1E, "SAMR21E16A", 64, 32 },
|
{ 0x1E, "SAMR21E16A", 64, 32 },
|
||||||
|
|
||||||
|
/* SAMD21 B Variants (Table 3-7 from rev I of datasheet) */
|
||||||
|
{ 0x20, "SAMD21J16B", 64, 8 },
|
||||||
|
{ 0x21, "SAMD21J15B", 32, 4 },
|
||||||
|
{ 0x23, "SAMD21G16B", 64, 8 },
|
||||||
|
{ 0x24, "SAMD21G15B", 32, 4 },
|
||||||
|
{ 0x26, "SAMD21E16B", 64, 8 },
|
||||||
|
{ 0x27, "SAMD21E15B", 32, 4 },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Known SAML21 parts. */
|
/* Known SAML21 parts. */
|
||||||
|
@ -200,6 +199,10 @@ static const struct samd_part saml21_parts[] = {
|
||||||
{ 0x1A, "SAML21E17B", 128, 16 },
|
{ 0x1A, "SAML21E17B", 128, 16 },
|
||||||
{ 0x1B, "SAML21E16B", 64, 8 },
|
{ 0x1B, "SAML21E16B", 64, 8 },
|
||||||
{ 0x1C, "SAML21E15B", 32, 4 },
|
{ 0x1C, "SAML21E15B", 32, 4 },
|
||||||
|
|
||||||
|
/* SAMR30 parts have integrated SAML21 with a radio */
|
||||||
|
{ 0x1E, "SAMR30G18A", 256, 32 },
|
||||||
|
{ 0x1F, "SAMR30E18A", 256, 32 },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Known SAML22 parts. */
|
/* Known SAML22 parts. */
|
||||||
|
@ -264,8 +267,6 @@ static const struct samd_family samd_families[] = {
|
||||||
samd20_parts, ARRAY_SIZE(samd20_parts) },
|
samd20_parts, ARRAY_SIZE(samd20_parts) },
|
||||||
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_21,
|
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_21,
|
||||||
samd21_parts, ARRAY_SIZE(samd21_parts) },
|
samd21_parts, ARRAY_SIZE(samd21_parts) },
|
||||||
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_21,
|
|
||||||
samr21_parts, ARRAY_SIZE(samr21_parts) },
|
|
||||||
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_09,
|
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_09,
|
||||||
samd09_parts, ARRAY_SIZE(samd09_parts) },
|
samd09_parts, ARRAY_SIZE(samd09_parts) },
|
||||||
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_10,
|
{ SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_10,
|
||||||
|
|
Loading…
Reference in New Issue