From: Sascha Hauer <s.hauer@pengutronix.de>
To: "open list:BAREBOX" <barebox@lists.infradead.org>
Subject: [PATCH v3 23/23] ARM: k3: am625-sk board support
Date: Mon, 13 Jan 2025 12:27:10 +0100 [thread overview]
Message-ID: <20250113-k3-r5-v3-23-065fcdcc28d3@pengutronix.de> (raw)
In-Reply-To: <20250113-k3-r5-v3-0-065fcdcc28d3@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/am625-sk/Makefile | 3 +
arch/arm/boards/am625-sk/am625-sk-ddr.c | 2223 +++++++++++++++++++++++++++
arch/arm/boards/am625-sk/am625sip-sk-ddr.c | 2229 ++++++++++++++++++++++++++++
arch/arm/boards/am625-sk/ddr.h | 7 +
arch/arm/boards/am625-sk/entry-r5.S | 29 +
arch/arm/boards/am625-sk/entry.S | 29 +
arch/arm/boards/am625-sk/lowlevel.c | 119 ++
arch/arm/dts/Makefile | 1 +
arch/arm/dts/k3-am625-r5-sk.dts | 4 +
arch/arm/dts/k3-am625-sk.dts | 9 +
arch/arm/dts/k3-am625sip-r5-sk.dts | 4 +
arch/arm/mach-k3/Kconfig | 6 +
images/Makefile.k3 | 26 +
14 files changed, 4690 insertions(+)
diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
index d8ca3fa1b5..c6104d0432 100644
--- a/arch/arm/boards/Makefile
+++ b/arch/arm/boards/Makefile
@@ -4,6 +4,7 @@
obj-$(CONFIG_MACH_ADVANTECH_ROM_742X) += advantech-mx6/
obj-$(CONFIG_MACH_AFI_GF) += afi-gf/
obj-$(CONFIG_MACH_ANIMEO_IP) += animeo_ip/
+obj-$(CONFIG_MACH_AM625_SK) += am625-sk/
obj-$(CONFIG_MACH_AT91RM9200EK) += at91rm9200ek/
obj-$(CONFIG_MACH_AT91SAM9260EK) += at91sam9260ek/
obj-$(CONFIG_MACH_AT91SAM9261EK) += at91sam9261ek/
diff --git a/arch/arm/boards/am625-sk/Makefile b/arch/arm/boards/am625-sk/Makefile
new file mode 100644
index 0000000000..1ff9e75a00
--- /dev/null
+++ b/arch/arm/boards/am625-sk/Makefile
@@ -0,0 +1,3 @@
+pbl-y += lowlevel.o
+pbl-$(CONFIG_MACH_K3_CORTEX_A) += entry.o
+pbl-$(CONFIG_MACH_K3_CORTEX_R5) += entry-r5.o am625-sk-ddr.o am625sip-sk-ddr.o
diff --git a/arch/arm/boards/am625-sk/am625-sk-ddr.c b/arch/arm/boards/am625-sk/am625-sk-ddr.c
new file mode 100644
index 0000000000..13a43b296d
--- /dev/null
+++ b/arch/arm/boards/am625-sk/am625-sk-ddr.c
@@ -0,0 +1,2223 @@
+#include <linux/kernel.h>
+#include <soc/k3/ddr.h>
+
+#include "ddr.h"
+
+#define DDRSS_PLL_FHS_CNT 3
+#define DDRSS_PLL_FREQUENCY_1 400000000
+#define DDRSS_PLL_FREQUENCY_2 400000000
+#define DDRSS_SDRAM_IDX 13
+#define DDRSS_REGION_IDX 16
+
+static uint32_t DDRSS_ctlReg[] = {
+ 0x00000A00,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x000890B8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x000890B8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x000890B8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01010100,
+ 0x01000100,
+ 0x01000110,
+ 0x02010002,
+ 0x00027100,
+ 0x00061A80,
+ 0x02550255,
+ 0x00000255,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0400091C,
+ 0x1C1C1C1C,
+ 0x0400091C,
+ 0x1C1C1C1C,
+ 0x0400091C,
+ 0x1C1C1C1C,
+ 0x05050404,
+ 0x00002706,
+ 0x0602001D,
+ 0x05001D0B,
+ 0x00270605,
+ 0x0602001D,
+ 0x05001D0B,
+ 0x00270605,
+ 0x0602001D,
+ 0x07001D0B,
+ 0x00180807,
+ 0x0400DB60,
+ 0x07070009,
+ 0x00001808,
+ 0x0400DB60,
+ 0x07070009,
+ 0x00001808,
+ 0x0400DB60,
+ 0x03000009,
+ 0x0D0C0002,
+ 0x0D0C0D0C,
+ 0x01010000,
+ 0x03191919,
+ 0x0B0B0B0B,
+ 0x00000B0B,
+ 0x00000101,
+ 0x00000000,
+ 0x01000000,
+ 0x01180803,
+ 0x00001860,
+ 0x00000118,
+ 0x00001860,
+ 0x00000118,
+ 0x00001860,
+ 0x00000005,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00090009,
+ 0x00000009,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010001,
+ 0x00025501,
+ 0x02550120,
+ 0x02550120,
+ 0x01200120,
+ 0x01200120,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x03010000,
+ 0x00010000,
+ 0x00000000,
+ 0x01000000,
+ 0x80104002,
+ 0x00040003,
+ 0x00040005,
+ 0x00030000,
+ 0x00050004,
+ 0x00000004,
+ 0x00040003,
+ 0x00040005,
+ 0x00000000,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00000000,
+ 0x0000AAA0,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00000000,
+ 0x0000AAA0,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00061800,
+ 0x00000000,
+ 0x0000AAA0,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x080C0000,
+ 0x080C080C,
+ 0x08000000,
+ 0x00000808,
+ 0x000E0000,
+ 0x00080808,
+ 0x0E000000,
+ 0x08080800,
+ 0x00000000,
+ 0x0000080E,
+ 0x00040003,
+ 0x00000007,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00000000,
+ 0x00001500,
+ 0x0000100E,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x00000002,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00042400,
+ 0x00000301,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00001401,
+ 0x00001401,
+ 0x00001401,
+ 0x00001401,
+ 0x00001401,
+ 0x00000493,
+ 0x00000493,
+ 0x00000493,
+ 0x00000493,
+ 0x00000493,
+ 0x00000493,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000101,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0C181511,
+ 0x00000304,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00040000,
+ 0x00800200,
+ 0x00000000,
+ 0x02000400,
+ 0x00000080,
+ 0x00040000,
+ 0x00800200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x01010000,
+ 0x00000000,
+ 0x3FFF0000,
+ 0x000FFF00,
+ 0xFFFFFFFF,
+ 0x00FFFF00,
+ 0x0A000000,
+ 0x0001FFFF,
+ 0x01010101,
+ 0x01010101,
+ 0x00000118,
+ 0x00000C01,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00000100,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0C000000,
+ 0x060C0606,
+ 0x06060C06,
+ 0x00010101,
+ 0x02000000,
+ 0x05020101,
+ 0x00000505,
+ 0x02020200,
+ 0x02020202,
+ 0x02020202,
+ 0x02020202,
+ 0x00000000,
+ 0x00000000,
+ 0x04000100,
+ 0x1E000004,
+ 0x000030C0,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x0000DB60,
+ 0x0001E780,
+ 0x0C0D0302,
+ 0x001E090A,
+ 0x000030C0,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x0000DB60,
+ 0x0001E780,
+ 0x0C0D0302,
+ 0x001E090A,
+ 0x000030C0,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x0000DB60,
+ 0x0001E780,
+ 0x0C0D0302,
+ 0x0000090A,
+ 0x00000000,
+ 0x0302000A,
+ 0x01000500,
+ 0x01010001,
+ 0x00010001,
+ 0x01010001,
+ 0x02010000,
+ 0x00000200,
+ 0x02000201,
+ 0x00000000,
+ 0x00202020,
+};
+
+static uint32_t DDRSS_phyIndepReg[] = {
+ 0x00000A00,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00000001,
+ 0x00010064,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010001,
+ 0x00000000,
+ 0x00010001,
+ 0x00000005,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x280D0001,
+ 0x00000000,
+ 0x00010000,
+ 0x00003200,
+ 0x00000000,
+ 0x00000000,
+ 0x00060602,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x00000055,
+ 0x000000AA,
+ 0x000000AD,
+ 0x00000052,
+ 0x0000006A,
+ 0x00000095,
+ 0x00000095,
+ 0x000000AD,
+ 0x00000000,
+ 0x00000000,
+ 0x00010100,
+ 0x00000014,
+ 0x000007D0,
+ 0x00000300,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00010101,
+ 0x01000000,
+ 0x00000000,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001400,
+ 0x00000000,
+ 0x01000000,
+ 0x00000404,
+ 0x00000001,
+ 0x0001010E,
+ 0x02040100,
+ 0x00010000,
+ 0x00000034,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000005,
+ 0x01000000,
+ 0x04000100,
+ 0x00020000,
+ 0x00010002,
+ 0x00000001,
+ 0x00020001,
+ 0x00020002,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000300,
+ 0x0A090B0C,
+ 0x04060708,
+ 0x01000005,
+ 0x00000800,
+ 0x00000000,
+ 0x00010008,
+ 0x00000000,
+ 0x0000AA00,
+ 0x00000000,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000008,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010100,
+ 0x00000000,
+ 0x00000000,
+ 0x00027100,
+ 0x00061A80,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00010003,
+ 0x02000101,
+ 0x01030001,
+ 0x00010400,
+ 0x06000105,
+ 0x01070001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00007800,
+ 0x00780078,
+ 0x00141414,
+ 0x0000003A,
+ 0x0000003A,
+ 0x0004003A,
+ 0x04000400,
+ 0xC8040009,
+ 0x0400091C,
+ 0x00091CC8,
+ 0x001CC804,
+ 0x00000118,
+ 0x00001860,
+ 0x00000118,
+ 0x00001860,
+ 0x00000118,
+ 0x04001860,
+ 0x01010404,
+ 0x00001901,
+ 0x00190019,
+ 0x010C010C,
+ 0x0000010C,
+ 0x00000000,
+ 0x05000000,
+ 0x01010505,
+ 0x01010101,
+ 0x00181818,
+ 0x00000000,
+ 0x00000000,
+ 0x0D000000,
+ 0x0A0A0D0D,
+ 0x0303030A,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0D090000,
+ 0x0D09000D,
+ 0x0D09000D,
+ 0x0000000D,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x16000000,
+ 0x001600C8,
+ 0x001600C8,
+ 0x010100C8,
+ 0x00001B01,
+ 0x1F0F0053,
+ 0x05000001,
+ 0x001B0A0D,
+ 0x1F0F0053,
+ 0x05000001,
+ 0x001B0A0D,
+ 0x1F0F0053,
+ 0x05000001,
+ 0x00010A0D,
+ 0x0C0B0700,
+ 0x000D0605,
+ 0x0000C570,
+ 0x0000001D,
+ 0x180A0800,
+ 0x0B071C1C,
+ 0x0D06050C,
+ 0x0000C570,
+ 0x0000001D,
+ 0x180A0800,
+ 0x0B071C1C,
+ 0x0D06050C,
+ 0x0000C570,
+ 0x0000001D,
+ 0x180A0800,
+ 0x00001C1C,
+ 0x000030C0,
+ 0x0001E780,
+ 0x000030C0,
+ 0x0001E780,
+ 0x000030C0,
+ 0x0001E780,
+ 0x02550255,
+ 0x03030255,
+ 0x00025503,
+ 0x02550255,
+ 0x0C080C08,
+ 0x00000C08,
+ 0x000890B8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000120,
+ 0x000890B8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000120,
+ 0x000890B8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x02000120,
+ 0x00000080,
+ 0x00020000,
+ 0x00000080,
+ 0x00020000,
+ 0x00000080,
+ 0x00000000,
+ 0x00000000,
+ 0x00040404,
+ 0x00000000,
+ 0x02010102,
+ 0x67676767,
+ 0x00000202,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0D100F00,
+ 0x0003020E,
+ 0x00000001,
+ 0x01000000,
+ 0x00020201,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00000493,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00000493,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00000493,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00000493,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00000493,
+ 0x00000000,
+ 0x00000424,
+ 0x00000301,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00001401,
+ 0x00000493,
+ 0x00000000,
+};
+
+static uint32_t DDRSS_phyReg[] = {
+ 0x04C00000,
+ 0x00000000,
+ 0x00000200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x010101FF,
+ 0x00010000,
+ 0x00C00004,
+ 0x00CC0008,
+ 0x00660201,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0000AAAA,
+ 0x00005555,
+ 0x0000B5B5,
+ 0x00004A4A,
+ 0x00005656,
+ 0x0000A9A9,
+ 0x0000B7B7,
+ 0x00004848,
+ 0x00000000,
+ 0x00000000,
+ 0x08000000,
+ 0x0F000008,
+ 0x00000F0F,
+ 0x00E4E400,
+ 0x00070820,
+ 0x000C0020,
+ 0x00062000,
+ 0x00000000,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x00005555,
+ 0x01000100,
+ 0x00800180,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x041F07FF,
+ 0x00000000,
+ 0x01CCB001,
+ 0x2000CCB0,
+ 0x20000140,
+ 0x07FF0200,
+ 0x0000DD01,
+ 0x10100303,
+ 0x10101010,
+ 0x10101010,
+ 0x00021010,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x02020010,
+ 0x51515041,
+ 0x31804000,
+ 0x04BF0340,
+ 0x01008080,
+ 0x04050001,
+ 0x00000504,
+ 0x42100010,
+ 0x010C053E,
+ 0x000F0C14,
+ 0x01000140,
+ 0x007A0120,
+ 0x00000C00,
+ 0x000001CC,
+ 0x20100200,
+ 0x00000005,
+ 0x76543210,
+ 0x00000008,
+ 0x02800280,
+ 0x02800280,
+ 0x02800280,
+ 0x02800280,
+ 0x00000280,
+ 0x00008000,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x01000080,
+ 0x01000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00080200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x04C00000,
+ 0x00000000,
+ 0x00000200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x010101FF,
+ 0x00010000,
+ 0x00C00004,
+ 0x00CC0008,
+ 0x00660201,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0000AAAA,
+ 0x00005555,
+ 0x0000B5B5,
+ 0x00004A4A,
+ 0x00005656,
+ 0x0000A9A9,
+ 0x0000B7B7,
+ 0x00004848,
+ 0x00000000,
+ 0x00000000,
+ 0x08000000,
+ 0x0F000008,
+ 0x00000F0F,
+ 0x00E4E400,
+ 0x00070820,
+ 0x000C0020,
+ 0x00062000,
+ 0x00000000,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x00005555,
+ 0x01000100,
+ 0x00800180,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x041F07FF,
+ 0x00000000,
+ 0x01CCB001,
+ 0x2000CCB0,
+ 0x20000140,
+ 0x07FF0200,
+ 0x0000DD01,
+ 0x10100303,
+ 0x10101010,
+ 0x10101010,
+ 0x00021010,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x02020010,
+ 0x51515041,
+ 0x31804000,
+ 0x04BF0340,
+ 0x01008080,
+ 0x04050001,
+ 0x00000504,
+ 0x42100010,
+ 0x010C053E,
+ 0x000F0C14,
+ 0x01000140,
+ 0x007A0120,
+ 0x00000C00,
+ 0x000001CC,
+ 0x20100200,
+ 0x00000005,
+ 0x76543210,
+ 0x00000008,
+ 0x02800280,
+ 0x02800280,
+ 0x02800280,
+ 0x02800280,
+ 0x00000280,
+ 0x00008000,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x01000080,
+ 0x01000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00080200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00DCBA98,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0A418820,
+ 0x103F0000,
+ 0x000F0100,
+ 0x0000000F,
+ 0x020002CC,
+ 0x00030000,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x42080010,
+ 0x0000003E,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00DCBA98,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x16A4A0E6,
+ 0x103F0000,
+ 0x000F0000,
+ 0x0000000F,
+ 0x020002CC,
+ 0x00030000,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x42080010,
+ 0x0000003E,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00DCBA98,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x2307B9AC,
+ 0x10030000,
+ 0x000F0000,
+ 0x0000000F,
+ 0x020002CC,
+ 0x00030000,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x42080010,
+ 0x0000003E,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00050000,
+ 0x04000100,
+ 0x00000055,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01002000,
+ 0x00004001,
+ 0x00020028,
+ 0x00010100,
+ 0x00000001,
+ 0x00000000,
+ 0x0F0F0E06,
+ 0x00010101,
+ 0x010F0004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000064,
+ 0x00000000,
+ 0x00000000,
+ 0x01020103,
+ 0x0F020102,
+ 0x03030303,
+ 0x03030303,
+ 0x00040000,
+ 0x00005201,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x07070001,
+ 0x00005400,
+ 0x000040A2,
+ 0x00024410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00000000,
+ 0x00000046,
+ 0x00000400,
+ 0x00000008,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x03000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x04102006,
+ 0x00041020,
+ 0x01C98C98,
+ 0x3F400000,
+ 0x3F3F1F3F,
+ 0x0000001F,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x76543210,
+ 0x00000098,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00040700,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000002,
+ 0x00000100,
+ 0x00000000,
+ 0x0001F7C2,
+ 0x00020002,
+ 0x00000000,
+ 0x00001142,
+ 0x03020400,
+ 0x00000080,
+ 0x03900390,
+ 0x03900390,
+ 0x03900390,
+ 0x03900390,
+ 0x03900390,
+ 0x03900390,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x31823FC7,
+ 0x00000000,
+ 0x0C000D3F,
+ 0x30000D3F,
+ 0x300D3F11,
+ 0x01990000,
+ 0x000D3FCC,
+ 0x00000C11,
+ 0x300D3F11,
+ 0x01990000,
+ 0x300C3F11,
+ 0x01990000,
+ 0x300C3F11,
+ 0x01990000,
+ 0x300D3F11,
+ 0x01990000,
+ 0x300D3F11,
+ 0x01990000,
+ 0x20040004,
+};
+
+static struct reginitdata ctl_regs = {
+ .regs = DDRSS_ctlReg,
+ .num = ARRAY_SIZE(DDRSS_ctlReg),
+};
+
+static struct reginitdata pi_regs = {
+ .regs = DDRSS_phyIndepReg,
+ .num = ARRAY_SIZE(DDRSS_phyIndepReg),
+};
+
+static struct reginitdata phy_regs = {
+ .regs = DDRSS_phyReg,
+ .num = ARRAY_SIZE(DDRSS_phyReg),
+};
+
+static struct k3_ddr_initdata initdata = {
+ .ctl_regs = &ctl_regs,
+ .pi_regs = &pi_regs,
+ .phy_regs = &phy_regs,
+ .freq0 = 25000000,
+ .freq1 = DDRSS_PLL_FREQUENCY_1,
+ .freq2 = DDRSS_PLL_FREQUENCY_2,
+ .fhs_cnt = DDRSS_PLL_FHS_CNT,
+};
+
+void am625_sk_ddr_init(void)
+{
+ k3_ddrss_init(&initdata);
+}
diff --git a/arch/arm/boards/am625-sk/am625sip-sk-ddr.c b/arch/arm/boards/am625-sk/am625sip-sk-ddr.c
new file mode 100644
index 0000000000..cf7d260c63
--- /dev/null
+++ b/arch/arm/boards/am625-sk/am625sip-sk-ddr.c
@@ -0,0 +1,2229 @@
+#include <linux/kernel.h>
+#include <soc/k3/ddr.h>
+
+#include "ddr.h"
+
+/*
+ * The data in this file was taken from
+ * https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/dts/k3-am62x-sip-ddr-lp4-50-800.dtsi?h=ti-u-boot-2024.04
+ *
+ */
+
+#define DDRSS_PLL_FHS_CNT 3
+#define DDRSS_PLL_FREQUENCY_1 400000000
+#define DDRSS_PLL_FREQUENCY_2 400000000
+#define DDRSS_SDRAM_IDX 13
+#define DDRSS_REGION_IDX 16
+
+static uint32_t DDRSS_ctlReg[] = {
+ 0x00000B00,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00002710,
+ 0x000186A0,
+ 0x00000005,
+ 0x00000064,
+ 0x00027100,
+ 0x00186A00,
+ 0x00000005,
+ 0x00000640,
+ 0x00027100,
+ 0x00186A00,
+ 0x00000005,
+ 0x00000640,
+ 0x01010100,
+ 0x01010100,
+ 0x01000110,
+ 0x02010002,
+ 0x0000000A,
+ 0x000186A0,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00020200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x08000010,
+ 0x00002020,
+ 0x00000000,
+ 0x00000000,
+ 0x0000040C,
+ 0x00000000,
+ 0x0000081C,
+ 0x00000000,
+ 0x0000081C,
+ 0x00000000,
+ 0x05000804,
+ 0x00000700,
+ 0x09090004,
+ 0x00000303,
+ 0x00320007,
+ 0x09090023,
+ 0x0000210F,
+ 0x00320007,
+ 0x09090023,
+ 0x0900210F,
+ 0x000A0A09,
+ 0x040006DB,
+ 0x09092004,
+ 0x00000C0A,
+ 0x06006DB0,
+ 0x09092006,
+ 0x00000C0A,
+ 0x06006DB0,
+ 0x03042006,
+ 0x04050002,
+ 0x100F100F,
+ 0x01010008,
+ 0x041F1F07,
+ 0x03111103,
+ 0x00001111,
+ 0x00000101,
+ 0x00000000,
+ 0x01000000,
+ 0x00090803,
+ 0x000000BB,
+ 0x00000090,
+ 0x00000C2B,
+ 0x00000090,
+ 0x00000C2B,
+ 0x00000005,
+ 0x00000005,
+ 0x00000010,
+ 0x00000048,
+ 0x0000017E,
+ 0x00000048,
+ 0x0000017E,
+ 0x03004000,
+ 0x00001201,
+ 0x00060005,
+ 0x00000006,
+ 0x00000000,
+ 0x05121208,
+ 0x05030A05,
+ 0x05030C06,
+ 0x01030C06,
+ 0x02010201,
+ 0x00000A01,
+ 0x0096000A,
+ 0x00960096,
+ 0x00000096,
+ 0x00000000,
+ 0x05010303,
+ 0x0C040505,
+ 0x06050203,
+ 0x030C0605,
+ 0x05060502,
+ 0x03030306,
+ 0x03010000,
+ 0x00010000,
+ 0x00000000,
+ 0x01000000,
+ 0x80104002,
+ 0x00040003,
+ 0x00040005,
+ 0x00030000,
+ 0x00050004,
+ 0x00000004,
+ 0x00040003,
+ 0x00040005,
+ 0x00000000,
+ 0x00002EC0,
+ 0x00002EC0,
+ 0x00002EC0,
+ 0x00002EC0,
+ 0x00002EC0,
+ 0x00000000,
+ 0x0000051D,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00000000,
+ 0x0000552D,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00030AC0,
+ 0x00000000,
+ 0x0000552D,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x03050000,
+ 0x03050305,
+ 0x00000000,
+ 0x08010000,
+ 0x000E0808,
+ 0x01000000,
+ 0x0E080808,
+ 0x00000000,
+ 0x08080801,
+ 0x0000080E,
+ 0x00040003,
+ 0x00000007,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00000000,
+ 0x00001500,
+ 0x0000100E,
+ 0x00000002,
+ 0x00000000,
+ 0x00000001,
+ 0x00000002,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0005000A,
+ 0x0404000D,
+ 0x0000000D,
+ 0x005000A0,
+ 0x060600C8,
+ 0x000000C8,
+ 0x005000A0,
+ 0x060600C8,
+ 0x000000C8,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x00000000,
+ 0x00000000,
+ 0x00000031,
+ 0x000000B1,
+ 0x000000B1,
+ 0x00000031,
+ 0x000000B1,
+ 0x000000B1,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x65006565,
+ 0x00002765,
+ 0x00000027,
+ 0x00000027,
+ 0x00000027,
+ 0x00000027,
+ 0x00000027,
+ 0x00000000,
+ 0x00000000,
+ 0x0000000F,
+ 0x0000000F,
+ 0x0000000F,
+ 0x0000000F,
+ 0x0000000F,
+ 0x0000000F,
+ 0x00000000,
+ 0x00001000,
+ 0x00000015,
+ 0x00000015,
+ 0x00000010,
+ 0x00000015,
+ 0x00000015,
+ 0x00000020,
+ 0x00010000,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000101,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0C181511,
+ 0x00000304,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00020000,
+ 0x00400100,
+ 0x00080032,
+ 0x01000200,
+ 0x03200040,
+ 0x00020018,
+ 0x00400100,
+ 0x00180320,
+ 0x00030000,
+ 0x00280028,
+ 0x00000100,
+ 0x01010000,
+ 0x00000202,
+ 0x0FFF0000,
+ 0x000FFF00,
+ 0xFFFFFFFF,
+ 0x00FFFF00,
+ 0x0B000000,
+ 0x0001FFFF,
+ 0x01010101,
+ 0x01010101,
+ 0x00000118,
+ 0x00000C01,
+ 0x01000100,
+ 0x00000000,
+ 0x00000000,
+ 0x01030303,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000101,
+ 0x01010001,
+ 0x00010101,
+ 0x01050503,
+ 0x05020201,
+ 0x08080C0C,
+ 0x00080308,
+ 0x000B030E,
+ 0x000B0310,
+ 0x0B0B0810,
+ 0x01000000,
+ 0x03020301,
+ 0x04000102,
+ 0x1B000004,
+ 0x00000176,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000693,
+ 0x00000E9C,
+ 0x03050202,
+ 0x00250201,
+ 0x00001856,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00006D83,
+ 0x0000F35C,
+ 0x070D0402,
+ 0x00250405,
+ 0x00001856,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00000200,
+ 0x00006D83,
+ 0x0000F35C,
+ 0x070D0402,
+ 0x00000405,
+ 0x00000000,
+ 0x0302000A,
+ 0x01000500,
+ 0x01010001,
+ 0x00010001,
+ 0x01010001,
+ 0x02010000,
+ 0x00000200,
+ 0x02000201,
+ 0x10100600,
+ 0x00202020,
+};
+
+static uint32_t DDRSS_phyIndepReg[] = {
+ 0x00000B00,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00000001,
+ 0x00010064,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000002,
+ 0x00000005,
+ 0x00010001,
+ 0x08000000,
+ 0x00010300,
+ 0x00000005,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010000,
+ 0x280A0001,
+ 0x00000000,
+ 0x00010000,
+ 0x00003200,
+ 0x00000000,
+ 0x00000000,
+ 0x01010102,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x000000AA,
+ 0x00000055,
+ 0x000000B5,
+ 0x0000004A,
+ 0x00000056,
+ 0x000000A9,
+ 0x000000A9,
+ 0x000000B5,
+ 0x00000000,
+ 0x00000000,
+ 0x00010100,
+ 0x00000015,
+ 0x000007D0,
+ 0x00000300,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00010101,
+ 0x01000000,
+ 0x03000000,
+ 0x00000000,
+ 0x00001701,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0A0A140A,
+ 0x10020101,
+ 0x01000210,
+ 0x05000404,
+ 0x00010001,
+ 0x0001000E,
+ 0x01010100,
+ 0x00010000,
+ 0x00000034,
+ 0x00000000,
+ 0x00000000,
+ 0x0000FFFF,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x08020100,
+ 0x00020000,
+ 0x00010002,
+ 0x00000001,
+ 0x00020001,
+ 0x00020002,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000400,
+ 0x0A090B0C,
+ 0x04060708,
+ 0x01000005,
+ 0x00000800,
+ 0x00000000,
+ 0x00010008,
+ 0x00000000,
+ 0x0000AA00,
+ 0x00000000,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000008,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010000,
+ 0x00000000,
+ 0x00000000,
+ 0x0000000A,
+ 0x000186A0,
+ 0x00000100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x00010003,
+ 0x02000101,
+ 0x01030001,
+ 0x00010400,
+ 0x06000105,
+ 0x01070001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000800,
+ 0x00780078,
+ 0x00101001,
+ 0x00000034,
+ 0x00000042,
+ 0x00020042,
+ 0x02000200,
+ 0x00000004,
+ 0x0000080C,
+ 0x00081C00,
+ 0x001C0000,
+ 0x00000009,
+ 0x000000BB,
+ 0x00000090,
+ 0x00000C2B,
+ 0x00000090,
+ 0x04000C2B,
+ 0x01010404,
+ 0x00001501,
+ 0x001D001D,
+ 0x01000100,
+ 0x00000100,
+ 0x00000000,
+ 0x05050503,
+ 0x01010C0C,
+ 0x01010101,
+ 0x000C0C0A,
+ 0x00000000,
+ 0x00000000,
+ 0x04000000,
+ 0x04020808,
+ 0x04040204,
+ 0x00090031,
+ 0x00110039,
+ 0x00110039,
+ 0x01010101,
+ 0x0002000D,
+ 0x000200C8,
+ 0x010000C8,
+ 0x000E000E,
+ 0x00C90100,
+ 0x010000C9,
+ 0x00C900C9,
+ 0x32103200,
+ 0x01013210,
+ 0x0A070601,
+ 0x0D09070D,
+ 0x0D09070D,
+ 0x000C000D,
+ 0x00001000,
+ 0x00000C00,
+ 0x00001000,
+ 0x00000C00,
+ 0x02001000,
+ 0x0016000D,
+ 0x001600C8,
+ 0x000000C8,
+ 0x00001900,
+ 0x32000056,
+ 0x06000101,
+ 0x001D0204,
+ 0x32120058,
+ 0x05000101,
+ 0x001D0408,
+ 0x32120058,
+ 0x05000101,
+ 0x00000408,
+ 0x05030900,
+ 0x00040900,
+ 0x0000062B,
+ 0x20010004,
+ 0x0A0A0A03,
+ 0x11090000,
+ 0x1009000F,
+ 0x000062B8,
+ 0x20030023,
+ 0x0C0A0C0C,
+ 0x11090000,
+ 0x1009000F,
+ 0x000062B8,
+ 0x20030023,
+ 0x0C0A0C0C,
+ 0x00000000,
+ 0x00000176,
+ 0x00000E9C,
+ 0x00001856,
+ 0x0000F35C,
+ 0x00001856,
+ 0x0000F35C,
+ 0x0096000A,
+ 0x03030096,
+ 0x00000003,
+ 0x00000000,
+ 0x05030503,
+ 0x00000503,
+ 0x00002710,
+ 0x000186A0,
+ 0x00000005,
+ 0x00000064,
+ 0x0000000A,
+ 0x00027100,
+ 0x000186A0,
+ 0x00000005,
+ 0x00000640,
+ 0x00000096,
+ 0x00027100,
+ 0x000186A0,
+ 0x00000005,
+ 0x00000640,
+ 0x01000096,
+ 0x00320040,
+ 0x00010008,
+ 0x03200040,
+ 0x00010018,
+ 0x03200040,
+ 0x00000318,
+ 0x00280028,
+ 0x03040404,
+ 0x00000303,
+ 0x02020101,
+ 0x67676767,
+ 0x00000000,
+ 0x55000000,
+ 0x00000000,
+ 0x3C00005A,
+ 0x00005500,
+ 0x00005A00,
+ 0x0D100F3C,
+ 0x0003020E,
+ 0x00000001,
+ 0x01000000,
+ 0x00020201,
+ 0x00000000,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000031,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00100F27,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x000000B1,
+ 0x00000000,
+ 0x00000000,
+ 0x65000000,
+ 0x00150F27,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x000000B1,
+ 0x00000000,
+ 0x00000000,
+ 0x65000000,
+ 0x00150F27,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000031,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00100F27,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x000000B1,
+ 0x00000000,
+ 0x00000000,
+ 0x65000000,
+ 0x00150F27,
+ 0x00000000,
+ 0x00000024,
+ 0x00000012,
+ 0x000000B1,
+ 0x00000000,
+ 0x00000000,
+ 0x65000000,
+ 0x00150F27,
+};
+
+static uint32_t DDRSS_phyReg[] = {
+ 0x04F00000,
+ 0x00000000,
+ 0x00030200,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x03000400,
+ 0x00000001,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x01010000,
+ 0x00010000,
+ 0x00C00001,
+ 0x00CC0008,
+ 0x00660601,
+ 0x00000003,
+ 0x00000000,
+ 0x00000000,
+ 0x0000AAAA,
+ 0x00005555,
+ 0x0000B5B5,
+ 0x00004A4A,
+ 0x00005656,
+ 0x0000A9A9,
+ 0x0000B7B7,
+ 0x00004848,
+ 0x00000000,
+ 0x00000000,
+ 0x08000000,
+ 0x0F000008,
+ 0x00000F0F,
+ 0x00E4E400,
+ 0x00071020,
+ 0x000C0020,
+ 0x00062000,
+ 0x00000000,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x00005555,
+ 0x01000100,
+ 0x00800180,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x041F07FF,
+ 0x00000000,
+ 0x01CC0B01,
+ 0x1003CC0B,
+ 0x20000140,
+ 0x07FF0200,
+ 0x0000DD01,
+ 0x00100303,
+ 0x00000000,
+ 0x00000000,
+ 0x00021000,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x02020010,
+ 0x51516041,
+ 0x31C06000,
+ 0x07AB0340,
+ 0x0000C0C0,
+ 0x04050000,
+ 0x00000504,
+ 0x42100010,
+ 0x010C053E,
+ 0x000F0C1D,
+ 0x01000140,
+ 0x007A0120,
+ 0x00000C00,
+ 0x000001CC,
+ 0x20100200,
+ 0x00000005,
+ 0x56743210,
+ 0x00000008,
+ 0x034C034C,
+ 0x034C034C,
+ 0x034C034C,
+ 0x034C034C,
+ 0x0000034C,
+ 0x00008000,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x01800080,
+ 0x01000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00080200,
+ 0x00000000,
+ 0x0000F0F0,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x04F00000,
+ 0x00000000,
+ 0x00030200,
+ 0x00000000,
+ 0x00000000,
+ 0x01000000,
+ 0x03000400,
+ 0x00000001,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x01010000,
+ 0x00010000,
+ 0x00C00001,
+ 0x00CC0008,
+ 0x00660601,
+ 0x00000003,
+ 0x00000000,
+ 0x00000000,
+ 0x0000AAAA,
+ 0x00005555,
+ 0x0000B5B5,
+ 0x00004A4A,
+ 0x00005656,
+ 0x0000A9A9,
+ 0x0000B7B7,
+ 0x00004848,
+ 0x00000000,
+ 0x00000000,
+ 0x08000000,
+ 0x0F000008,
+ 0x00000F0F,
+ 0x00E4E400,
+ 0x00071020,
+ 0x000C0020,
+ 0x00062000,
+ 0x00000000,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x55555555,
+ 0xAAAAAAAA,
+ 0x00005555,
+ 0x01000100,
+ 0x00800180,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x041F07FF,
+ 0x00000000,
+ 0x01CC0B01,
+ 0x1003CC0B,
+ 0x20000140,
+ 0x07FF0200,
+ 0x0000DD01,
+ 0x00100303,
+ 0x00000000,
+ 0x00000000,
+ 0x00021000,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x00100010,
+ 0x02020010,
+ 0x51516041,
+ 0x31C06000,
+ 0x07AB0340,
+ 0x0000C0C0,
+ 0x04050000,
+ 0x00000504,
+ 0x42100010,
+ 0x010C053E,
+ 0x000F0C1D,
+ 0x01000140,
+ 0x007A0120,
+ 0x00000C00,
+ 0x000001CC,
+ 0x20100200,
+ 0x00000005,
+ 0x01324567,
+ 0x00000008,
+ 0x034C034C,
+ 0x034C034C,
+ 0x034C034C,
+ 0x034C034C,
+ 0x0000034C,
+ 0x00008000,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x00800080,
+ 0x01800080,
+ 0x01000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00080200,
+ 0x00000000,
+ 0x0000F0F0,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00400000,
+ 0x00000080,
+ 0x00DCBA98,
+ 0x03000000,
+ 0x00200000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0000002A,
+ 0x00000015,
+ 0x00000015,
+ 0x0000002A,
+ 0x00000033,
+ 0x0000000C,
+ 0x0000000C,
+ 0x00000033,
+ 0x0A418820,
+ 0x003F0000,
+ 0x000F013F,
+ 0x0000000F,
+ 0x020002CC,
+ 0x00030000,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x42080010,
+ 0x0000803E,
+ 0x00000003,
+ 0x00000002,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00400000,
+ 0x00000080,
+ 0x00DCBA98,
+ 0x03000000,
+ 0x00200000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0000002A,
+ 0x00000015,
+ 0x00000015,
+ 0x0000002A,
+ 0x00000033,
+ 0x0000000C,
+ 0x0000000C,
+ 0x00000033,
+ 0x00000000,
+ 0x00000000,
+ 0x000F0000,
+ 0x0000000F,
+ 0x020002CC,
+ 0x00030000,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x42080010,
+ 0x0000803E,
+ 0x00000003,
+ 0x00000002,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000100,
+ 0x00000200,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00400000,
+ 0x00000080,
+ 0x00DCBA98,
+ 0x03000000,
+ 0x00200000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x0000002A,
+ 0x00000015,
+ 0x00000015,
+ 0x0000002A,
+ 0x00000033,
+ 0x0000000C,
+ 0x0000000C,
+ 0x00000033,
+ 0x2307B9AC,
+ 0x10000000,
+ 0x000F0000,
+ 0x0000000F,
+ 0x020002CC,
+ 0x00030000,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x42080010,
+ 0x0000803E,
+ 0x00000003,
+ 0x00000002,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00010100,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00050000,
+ 0x04000000,
+ 0x00000055,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00002001,
+ 0x00004001,
+ 0x00020028,
+ 0x01010100,
+ 0x00000000,
+ 0x00000000,
+ 0x0F0F0E06,
+ 0x00010101,
+ 0x010F0004,
+ 0x00000000,
+ 0x00000000,
+ 0x00000064,
+ 0x00000000,
+ 0x00000000,
+ 0x01020103,
+ 0x0F020102,
+ 0x03030303,
+ 0x03030303,
+ 0x00041B42,
+ 0x00005201,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x07030101,
+ 0x00005400,
+ 0x000040A2,
+ 0x00024410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00004410,
+ 0x00000000,
+ 0x00000076,
+ 0x00000400,
+ 0x00000008,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x03000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x04102006,
+ 0x00041020,
+ 0x01C98C98,
+ 0x3F400000,
+ 0x3F3F1F3F,
+ 0x0000001F,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000001,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x76543201,
+ 0x00040198,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00040700,
+ 0x00000000,
+ 0x00000000,
+ 0x00000000,
+ 0x00000002,
+ 0x00000000,
+ 0x00000000,
+ 0x0001F7C2,
+ 0x00020002,
+ 0x00000000,
+ 0x00001142,
+ 0x03020000,
+ 0x00000080,
+ 0x03900390,
+ 0x03900390,
+ 0x03900390,
+ 0x03900390,
+ 0x03000300,
+ 0x03000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x00000300,
+ 0x3183BF77,
+ 0x00000000,
+ 0x0C000DFF,
+ 0x30000DFF,
+ 0x3F0DFF11,
+ 0x01990000,
+ 0x780DFFCC,
+ 0x00000C11,
+ 0x00018011,
+ 0x0089FF00,
+ 0x000C3F11,
+ 0x01990000,
+ 0x000C3F91,
+ 0x01990000,
+ 0x3F0DFF11,
+ 0x01990000,
+ 0x00018011,
+ 0x0089FF00,
+ 0x20040004,
+};
+
+static struct reginitdata ctl_regs = {
+ .regs = DDRSS_ctlReg,
+ .num = ARRAY_SIZE(DDRSS_ctlReg),
+};
+
+static struct reginitdata pi_regs = {
+ .regs = DDRSS_phyIndepReg,
+ .num = ARRAY_SIZE(DDRSS_phyIndepReg),
+};
+
+static struct reginitdata phy_regs = {
+ .regs = DDRSS_phyReg,
+ .num = ARRAY_SIZE(DDRSS_phyReg),
+};
+
+static struct k3_ddr_initdata initdata = {
+ .ctl_regs = &ctl_regs,
+ .pi_regs = &pi_regs,
+ .phy_regs = &phy_regs,
+ .freq0 = 25000000,
+ .freq1 = DDRSS_PLL_FREQUENCY_1,
+ .freq2 = DDRSS_PLL_FREQUENCY_2,
+ .fhs_cnt = DDRSS_PLL_FHS_CNT,
+};
+
+void am625sip_sk_ddr_init(void)
+{
+ k3_ddrss_init(&initdata);
+}
diff --git a/arch/arm/boards/am625-sk/ddr.h b/arch/arm/boards/am625-sk/ddr.h
new file mode 100644
index 0000000000..22d2f5b718
--- /dev/null
+++ b/arch/arm/boards/am625-sk/ddr.h
@@ -0,0 +1,7 @@
+#ifndef __AM625_SK_DDR_H
+#define __AM625_SK_DDR_H
+
+void am625_sk_ddr_init(void);
+void am625sip_sk_ddr_init(void);
+
+#endif /* __AM625_SK_DDR_H */
diff --git a/arch/arm/boards/am625-sk/entry-r5.S b/arch/arm/boards/am625-sk/entry-r5.S
new file mode 100644
index 0000000000..e724e5550c
--- /dev/null
+++ b/arch/arm/boards/am625-sk/entry-r5.S
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#include <linux/linkage.h>
+
+#define SRAM_BASE 0x43c00000
+
+#define STACK_TOP SRAM_BASE + 0x3d000
+
+.arm
+.section .text_head_entry_start_am625_sk_r5;
+
+ENTRY(start_am625_sk_r5)
+ ldr r3, =STACK_TOP
+ mov sp, r3
+ ldr pc, _reset_am625_sk
+
+_reset_am625_sk: .word SRAM_BASE + am625_sk_r5_entry
+
+ENDPROC(start_am625_sk_r5)
+
+.section .text_head_entry_start_am625sip_sk_r5;
+
+ENTRY(start_am625sip_sk_r5)
+ ldr r3, =STACK_TOP
+ mov sp, r3
+ ldr pc, _reset_am625sip_sk
+
+_reset_am625sip_sk: .word SRAM_BASE + am625sip_sk_r5_entry
+
+ENDPROC(start_am625sip_sk_r5)
diff --git a/arch/arm/boards/am625-sk/entry.S b/arch/arm/boards/am625-sk/entry.S
new file mode 100644
index 0000000000..5fc9297d50
--- /dev/null
+++ b/arch/arm/boards/am625-sk/entry.S
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#include <linux/linkage.h>
+#include <asm/barebox-arm64.h>
+#include <asm/image.h>
+
+#define IMAGE_FLAGS \
+ (ARM64_IMAGE_FLAG_PAGE_SIZE_4K << ARM64_IMAGE_FLAG_PAGE_SIZE_SHIFT) | \
+ (ARM64_IMAGE_FLAG_PHYS_BASE << ARM64_IMAGE_FLAG_PHYS_BASE_SHIFT)
+
+.section .text_head_entry_start_vivavis_cu33d
+ENTRY("start_am625_sk")
+ adr x1, 0 /* code0 */
+ b 2f /* code1 */
+ .xword 0x80000 /* Image load offset */
+ .xword _barebox_image_size /* Effective Image size */
+ .xword IMAGE_FLAGS /* Kernel flags */
+ .xword 0 /* reserved */
+ .xword 0 /* reserved */
+ .xword 0 /* reserved */
+ .ascii ARM64_IMAGE_MAGIC /* magic number */
+ .int 0 /* reserved (PE-COFF offset) */
+ .asciz "barebox" /* unused for now */
+2:
+ mov sp, x1
+ /* Stack now grows into the 0x80000 image load offset specified
+ * above. This is more than enough until FDT /memory is decoded.
+ */
+ b am625_sk
+ENTRY_PROC_END(start_am625_sk)
diff --git a/arch/arm/boards/am625-sk/lowlevel.c b/arch/arm/boards/am625-sk/lowlevel.c
new file mode 100644
index 0000000000..5c1c38e325
--- /dev/null
+++ b/arch/arm/boards/am625-sk/lowlevel.c
@@ -0,0 +1,119 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
+#include <common.h>
+#include <asm/barebox-arm-head.h>
+#include <asm/barebox-arm.h>
+#include <mach/k3/debug_ll.h>
+#include <debug_ll.h>
+#include <pbl.h>
+#include <cache.h>
+#include <mach/k3/r5.h>
+#include <pbl/handoff-data.h>
+#include <compressed-dtb.h>
+#include <mach/k3/common.h>
+
+#include "ddr.h"
+
+/* Called from assembly */
+void am625_sk(void *dtb);
+
+static noinline void am625_sk_continue(void *dtb)
+{
+ unsigned long membase = 0x80000000, memsize;
+ extern char __dtb_z_k3_am625_sk_start[];
+ unsigned int size;
+
+ memsize = am625_sdram_size();
+
+ pr_info("Detected DRAM size: %ldMiB\n", memsize >> 20);
+
+ if (memsize > SZ_2G)
+ memsize = SZ_2G; /* only need initial memory here */
+
+ if (memsize == SZ_512M)
+ memsize = SZ_512M - 0x04000000; /* substract space needed for TF-A, OP-TEE, ... */
+
+ if (blob_is_valid_fdt_ptr(dtb, membase, memsize, &size))
+ handoff_data_add(HANDOFF_DATA_EXTERNAL_DT, dtb, size);
+
+ barebox_arm_entry(membase, memsize, __dtb_z_k3_am625_sk_start);
+}
+
+void am625_sk(void *dtb)
+{
+ putc_ll('>');
+
+ arm_cpu_lowlevel_init();
+
+ relocate_to_current_adr();
+
+ setup_c();
+
+ am625_sk_continue(dtb);
+}
+
+static noinline void am625_sk_r5_continue(void)
+{
+ extern char __dtb_z_k3_am625_r5_sk_start[];
+
+ pbl_set_putc((void *)debug_ll_ns16550_putc, IOMEM(AM62X_UART_UART0_BASE));
+
+ putc_ll('>');
+
+ k3_mpu_setup_regions();
+
+ am625_early_init();
+ am625_sk_ddr_init();
+
+ barebox_arm_entry(0x80000000, SZ_2G, __dtb_z_k3_am625_r5_sk_start);
+}
+
+void am625_sk_r5_entry(void);
+
+void am625_sk_r5_entry(void)
+{
+ k3_ctrl_mmr_unlock();
+
+ writel(0x00050000, 0xf41c8);
+ writel(0x00010000, 0xf41cc);
+
+ k3_debug_ll_init(IOMEM(AM62X_UART_UART0_BASE));
+
+ relocate_to_current_adr();
+ setup_c();
+
+ am625_sk_r5_continue();
+}
+
+static noinline void am625sip_sk_r5_continue(void)
+{
+ extern char __dtb_z_k3_am625sip_r5_sk_start[];
+
+ pbl_set_putc((void *)debug_ll_ns16550_putc, IOMEM(AM62X_UART_UART0_BASE));
+
+ putc_ll('>');
+
+ k3_mpu_setup_regions();
+
+ am625_early_init();
+ am625sip_sk_ddr_init();
+
+ barebox_arm_entry(0x80000000, SZ_512M - 0x04000000, __dtb_z_k3_am625sip_r5_sk_start);
+}
+
+void am625sip_sk_r5_entry(void);
+
+void am625sip_sk_r5_entry(void)
+{
+ k3_ctrl_mmr_unlock();
+
+ writel(0x00050000, 0xf41c8);
+ writel(0x00010000, 0xf41cc);
+
+ k3_debug_ll_init(IOMEM(AM62X_UART_UART0_BASE));
+
+ relocate_to_current_adr();
+ setup_c();
+
+ am625sip_sk_r5_continue();
+}
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 2352b6ef09..48b2824fc1 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -6,6 +6,7 @@ obj- += dummy.o
lwl-$(CONFIG_MACH_ADVANTECH_ROM_742X) += imx6dl-advantech-rom-7421.dtb.o
lwl-$(CONFIG_MACH_AFI_GF) += am335x-afi-gf.dtb.o
+lwl-$(CONFIG_MACH_AM625_SK) += k3-am625-sk.dtb.o k3-am625-r5-sk.dtb.o k3-am625sip-r5-sk.dtb.o
lwl-$(CONFIG_MACH_BEAGLEBONE) += am335x-bone.dtb.o am335x-boneblack.dtb.o am335x-bone-common.dtb.o
lwl-$(CONFIG_MACH_BEAGLEPLAY) += k3-am625-beagleplay.dtb.o k3-am625-r5-beagleplay.dtb.o
lwl-$(CONFIG_MACH_CLEP7212) += ep7212-clep7212.dtb.o
diff --git a/arch/arm/dts/k3-am625-r5-sk.dts b/arch/arm/dts/k3-am625-r5-sk.dts
new file mode 100644
index 0000000000..97b281729b
--- /dev/null
+++ b/arch/arm/dts/k3-am625-r5-sk.dts
@@ -0,0 +1,4 @@
+/dts-v1/;
+
+#include "k3-am625-sk.dts"
+#include "k3-am625-r5.dtsi"
diff --git a/arch/arm/dts/k3-am625-sk.dts b/arch/arm/dts/k3-am625-sk.dts
new file mode 100644
index 0000000000..1982c34388
--- /dev/null
+++ b/arch/arm/dts/k3-am625-sk.dts
@@ -0,0 +1,9 @@
+/dts-v1/;
+
+#include <arm64/ti/k3-am625-sk.dts>
+#include "k3-am625.dtsi"
+
+/*
+ * DRAM size differs between board variants. Real size is read from DDRSS
+ */
+/delete-node/ &{/memory@80000000};
diff --git a/arch/arm/dts/k3-am625sip-r5-sk.dts b/arch/arm/dts/k3-am625sip-r5-sk.dts
new file mode 100644
index 0000000000..97b281729b
--- /dev/null
+++ b/arch/arm/dts/k3-am625sip-r5-sk.dts
@@ -0,0 +1,4 @@
+/dts-v1/;
+
+#include "k3-am625-sk.dts"
+#include "k3-am625-r5.dtsi"
diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
index 2ea9f32696..51b02b697c 100644
--- a/arch/arm/mach-k3/Kconfig
+++ b/arch/arm/mach-k3/Kconfig
@@ -16,6 +16,7 @@ config MACH_K3_CORTEX_R5
select ELF
select K3_DDRSS
depends on 32BIT
+ select ARM_USE_COMPRESSED_DTB
default y
config MACH_K3_CORTEX_A
@@ -24,6 +25,11 @@ config MACH_K3_CORTEX_A
depends on 64BIT
default y
+config MACH_AM625_SK
+ bool "TI AM625 SK"
+ help
+ Say Y here if you are using a TI AM625 SK board
+
config MACH_BEAGLEPLAY
bool "BeagleBoard BeaglePlay"
help
diff --git a/images/Makefile.k3 b/images/Makefile.k3
index 6ca0851e1a..b182b06701 100644
--- a/images/Makefile.k3
+++ b/images/Makefile.k3
@@ -5,6 +5,11 @@
ifdef CONFIG_MACH_K3_CORTEX_A
+## TI am625(sip)-SK ##
+pblb-$(CONFIG_MACH_AM625_SK) += start_am625_sk
+FILE_barebox-am625-sk.img = start_am625_sk.pblb
+image-$(CONFIG_MACH_AM625_SK) += barebox-am625-sk.img
+
## BeaglePlay ##
pblb-$(CONFIG_MACH_BEAGLEPLAY) += start_beagleplay
FILE_barebox-beagleplay.img = start_beagleplay.pblb
@@ -26,6 +31,27 @@ INNERDATA_am625=$(srctree)/firmware/ti-fs-firmware-am62x-hs-fs-cert.bin
KEY_custmpk=$(srctree)/arch/arm/mach-k3/custMpk.pem
KEY_degenerate=$(srctree)/arch/arm/mach-k3/ti-degenerate-key.pem
+## TI am625(sip)-SK ##
+SYSFW_start_am625_sk_r5.pblb.k3img=$(SYSFW_am625_hs_fs)
+SYSFWDATA_start_am625_sk_r5.pblb.k3img=$(SYSFWDATA_am625)
+DMDATA_start_am625_sk_r5.pblb.k3img=$(DMDATA_am625)
+INNERDATA_start_am625_sk_r5.pblb.k3img=$(INNERDATA_am625)
+KEY_start_am625_sk_r5.pblb.k3img=$(KEY_custmpk)
+
+pblb-$(CONFIG_MACH_AM625_SK) += start_am625_sk_r5
+FILE_barebox-am625-sk-r5.img = start_am625_sk_r5.pblb.k3img
+image-$(CONFIG_MACH_AM625_SK) += barebox-am625-sk-r5.img
+
+SYSFW_start_am625sip_sk_r5.pblb.k3img=$(SYSFW_am625_hs_fs)
+SYSFWDATA_start_am625sip_sk_r5.pblb.k3img=$(SYSFWDATA_am625)
+DMDATA_start_am625sip_sk_r5.pblb.k3img=$(DMDATA_am625)
+INNERDATA_start_am625sip_sk_r5.pblb.k3img=$(INNERDATA_am625)
+KEY_start_am625sip_sk_r5.pblb.k3img=$(KEY_custmpk)
+
+pblb-$(CONFIG_MACH_AM625_SK) += start_am625sip_sk_r5
+FILE_barebox-am625sip-sk-r5.img = start_am625sip_sk_r5.pblb.k3img
+image-$(CONFIG_MACH_AM625_SK) += barebox-am625sip-sk-r5.img
+
## BeaglePlay ##
SYSFW_start_beagleplay_r5.pblb.k3img=$(SYSFW_am625_gp)
SYSFWDATA_start_beagleplay_r5.pblb.k3img=$(SYSFWDATA_am625)
--
2.39.5
next prev parent reply other threads:[~2025-01-13 11:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-13 11:26 [PATCH v3 00/23] ARM: K3: Add R5 boot support Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 01/23] ARM: add ARMv7R MPU support Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 02/23] lib/rationale: compile for pbl Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 04/23] ARM: move ARM_CPU_PART_* defines to header Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 05/23] nommu_v7_vectors_init: disable for r5 Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 06/23] clocksource: timer-ti-dm: add support for K3 SoCs Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 07/23] ARM: K3: mount /boot even with env handling disabled Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 08/23] clk: add K3 clk driver Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 09/23] pmdomain: add K3 driver Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 10/23] rproc: add K3 arm64 rproc driver Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 11/23] ARM: k3: add k3_debug_ll_init() Sascha Hauer
2025-01-13 11:26 ` [PATCH v3 12/23] ARM: K3: use debug_ll code for regular PBL console Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 13/23] elf: use iomem regions as fallback when loading to non-sdram memory Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 14/23] rproc: add K3 system_controller Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 15/23] firmware: ti_sci: add function to get global handle Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 16/23] ARM: k3: Add initial r5 support Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 17/23] scripts: k3: add script to generate cfg files from yaml Sascha Hauer
2025-01-14 9:29 ` Ahmad Fatoum
2025-01-14 9:38 ` Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 18/23] ARM: k3: Add k3img tool Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 19/23] ARM: beagleplay: add Cortex-R5 boot support Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 20/23] Documentation: add build documentation for TI K3 SoCs Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 21/23] ARM: am625: disable secondary watchdogs Sascha Hauer
2025-01-13 11:27 ` [PATCH v3 22/23] ARM: k3: Add DRAM size detection Sascha Hauer
2025-01-13 11:27 ` Sascha Hauer [this message]
2025-01-14 8:32 ` [PATCH v3 00/23] ARM: K3: Add R5 boot support Sascha Hauer
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=20250113-k3-r5-v3-23-065fcdcc28d3@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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