summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMathieu Othacehe <[email protected]>2024-01-30 15:50:37 +0100
committerFabio Estevam <[email protected]>2024-02-08 09:05:11 -0300
commit7c1f8ce3956995129a8c36734ba9899ae6d0cb28 (patch)
treed668461cce672425cce4576f16aaf4d032a001b6 /include
parent259e1012713f788dc595c5a6960520d48c1bbf1b (diff)
board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support
Add initial support for the PHYTEC phyBOARD-Segin-i.MX93 board based on the PHYTEC phyCORE-i.MX93 SoM. Supported features: - 1GB LPDDR4 RAM - eMMC - external SD - FEC Ethernet - debug UART - watchdog Signed-off-by: Mathieu Othacehe <[email protected]> Tested-by: Primoz Fiser <[email protected]> Reviewed-by: Yannic Moog <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/phycore_imx93.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/configs/phycore_imx93.h b/include/configs/phycore_imx93.h
new file mode 100644
index 00000000000..07364dff403
--- /dev/null
+++ b/include/configs/phycore_imx93.h
@@ -0,0 +1,28 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2022 NXP
+ * Copyright (C) 2023 PHYTEC Messtechnik GmbH
+ * Christoph Stoidner <[email protected]>
+ * Copyright (C) 2024 Mathieu Othacehe <[email protected]>
+ */
+
+#ifndef __PHYCORE_IMX93_H
+#define __PHYCORE_IMX93_H
+
+#include <linux/sizes.h>
+#include <asm/arch/imx-regs.h>
+
+#define CFG_SYS_UBOOT_BASE \
+ (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
+
+#define CFG_SYS_INIT_RAM_ADDR 0x80000000
+#define CFG_SYS_INIT_RAM_SIZE 0x200000
+
+#define CFG_SYS_SDRAM_BASE 0x80000000
+#define PHYS_SDRAM 0x80000000
+#define PHYS_SDRAM_SIZE 0x80000000
+
+/* Using ULP WDOG for reset */
+#define WDOG_BASE_ADDR WDG3_BASE_ADDR
+
+#endif /* __PHYCORE_IMX93_H */