public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eugen.Hristev at microchip.com <Eugen.Hristev@microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/7] ARM: at91: Add the chip ID for SAMA5D2 LPDDR2 SiP
Date: Thu, 8 Aug 2019 07:48:23 +0000	[thread overview]
Message-ID: <1565250163-21502-1-git-send-email-eugen.hristev@microchip.com> (raw)

From: Nicolas Ferre <nicolas.ferre@microchip.com>

The SAMA5D2 LPDDR2 SiP (System in Package) is added for SoC
identification.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
 arch/arm/mach-at91/armv7/sama5d2_devices.c | 8 ++++++++
 arch/arm/mach-at91/include/mach/sama5d2.h  | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/arch/arm/mach-at91/armv7/sama5d2_devices.c b/arch/arm/mach-at91/armv7/sama5d2_devices.c
index 59a0c44..9e9d026 100644
--- a/arch/arm/mach-at91/armv7/sama5d2_devices.c
+++ b/arch/arm/mach-at91/armv7/sama5d2_devices.c
@@ -57,8 +57,16 @@ char *get_cpu_name(void)
 			return "SAMA5D27 512M bits DDR2 SDRAM";
 		case ARCH_EXID_SAMA5D27C_D1G:
 			return "SAMA5D27 1G bits DDR2 SDRAM";
+		case ARCH_EXID_SAMA5D27C_LD1G:
+			return "SAMA5D27 1G bits LPDDR2 SDRAM";
+		case ARCH_EXID_SAMA5D27C_LD2G:
+			return "SAMA5D27 2G bits LPDDR2 SDRAM";
 		case ARCH_EXID_SAMA5D28C_D1G:
 			return "SAMA5D28 1G bits DDR2 SDRAM";
+		case ARCH_EXID_SAMA5D28C_LD1G:
+			return "SAMA5D28 1G bits LPDDR2 SDRAM";
+		case ARCH_EXID_SAMA5D28C_LD2G:
+			return "SAMA5D28 2G bits LPDDR2 SDRAM";
 		}
 	}
 
diff --git a/arch/arm/mach-at91/include/mach/sama5d2.h b/arch/arm/mach-at91/include/mach/sama5d2.h
index c7d9bb5..d1b2e01 100644
--- a/arch/arm/mach-at91/include/mach/sama5d2.h
+++ b/arch/arm/mach-at91/include/mach/sama5d2.h
@@ -220,7 +220,11 @@
 #define ARCH_EXID_SAMA5D225C_D1M	0x00000053
 #define ARCH_EXID_SAMA5D27C_D5M		0x00000032
 #define ARCH_EXID_SAMA5D27C_D1G		0x00000033
+#define ARCH_EXID_SAMA5D27C_LD1G	0x00000061
+#define ARCH_EXID_SAMA5D27C_LD2G	0x00000062
 #define ARCH_EXID_SAMA5D28C_D1G		0x00000013
+#define ARCH_EXID_SAMA5D28C_LD1G	0x00000071
+#define ARCH_EXID_SAMA5D28C_LD2G	0x00000072
 
 /* Checked if defined in ethernet driver macb */
 #define cpu_is_sama5d2	_cpu_is_sama5d2
-- 
2.7.4

             reply	other threads:[~2019-08-08  7:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08  7:48 Eugen.Hristev at microchip.com [this message]
2019-08-08  7:48 ` [U-Boot] [PATCH 2/7] board: atmel: add sama5d27_wlsom1_ek board Eugen.Hristev at microchip.com
2019-08-08  7:48 ` [U-Boot] [PATCH 3/7] ARM: at91: sfr: convert to Kconfig Eugen.Hristev at microchip.com
2019-08-08  7:48 ` [U-Boot] [PATCH 4/7] ARM: at91: sfr: implement DDR input buffers open function Eugen.Hristev at microchip.com
2019-08-08  7:48 ` [U-Boot] [PATCH 5/7] board: laird: wb50n: use configure_ddrcfg_input_buffers Eugen.Hristev at microchip.com
2019-08-08  7:48 ` [U-Boot] [PATCH 6/7] ARM: at91: mpddrc: add lpddr2 initialization procedure Eugen.Hristev at microchip.com
2019-08-08  7:48 ` [U-Boot] [PATCH 7/7] board: atmel: sama5d2_wlsom1_ek: add SPL support Eugen.Hristev at microchip.com
2019-08-26 11:43 ` [U-Boot] [PATCH 1/7] ARM: at91: Add the chip ID for SAMA5D2 LPDDR2 SiP Eugen.Hristev at microchip.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565250163-21502-1-git-send-email-eugen.hristev@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox