From: Daniel Palmer <daniel@0x0f.com>
To: u-boot@lists.denx.de
Subject: [RFC PATCH 1/3] arm: mstar: Initial MStar/SigmaStar Armv7 SoC support
Date: Mon, 14 Sep 2020 21:04:39 +0900 [thread overview]
Message-ID: <20200914120441.3274829-2-daniel@0x0f.com> (raw)
In-Reply-To: <20200914120441.3274829-1-daniel@0x0f.com>
The patch adds a very basic skeleton for the MStar/SigmaStar Armv7
SoC to go into. It doesn't do anything yet.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
MAINTAINERS | 5 +++++
arch/arm/Kconfig | 8 ++++++++
arch/arm/Makefile | 1 +
arch/arm/mach-mstar/Kconfig | 17 +++++++++++++++++
4 files changed, 31 insertions(+)
create mode 100644 arch/arm/mach-mstar/Kconfig
diff --git a/MAINTAINERS b/MAINTAINERS
index 101f4e185d..be621a614f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -293,6 +293,11 @@ F: arch/arm/mach-at91/
F: board/atmel/
F: drivers/misc/microchip_flexcom.c
+ARM MSTAR/SIGMASTAR V7
+M: Daniel Palmer <daniel@thingy.jp>
+S: Maintained
+F: arch/arm/mach-mstar/
+
ARM NEXELL S5P4418
M: Stefan Bosch <stefan_b@posteo.net>
S: Maintained
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 80702c23d3..7a25410ede 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1166,6 +1166,12 @@ config ARCH_ZYNQMP
imply MP
imply DM_USB_GADGET
+config ARCH_MSTARV7
+ bool "MStar/SigmaStar ARM v7 SoCs"
+ select CPU_V7A
+ select SYS_NS16550
+ imply SUPPORT_SPL
+
config ARCH_TEGRA
bool "NVIDIA Tegra"
imply DISTRO_DEFAULTS
@@ -1927,6 +1933,8 @@ source "arch/arm/mach-versal/Kconfig"
source "arch/arm/mach-zynqmp-r5/Kconfig"
+source "arch/arm/mach-mstar/Kconfig"
+
source "arch/arm/cpu/armv7/Kconfig"
source "arch/arm/cpu/armv8/Kconfig"
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 28b523b37c..deeb08b989 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -87,6 +87,7 @@ machine-$(CONFIG_ARCH_VERSAL) += versal
machine-$(CONFIG_ARCH_ZYNQ) += zynq
machine-$(CONFIG_ARCH_ZYNQMP) += zynqmp
machine-$(CONFIG_ARCH_ZYNQMP_R5) += zynqmp-r5
+machine-$(CONFIG_ARCH_MSTARV7) += mstar
machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
diff --git a/arch/arm/mach-mstar/Kconfig b/arch/arm/mach-mstar/Kconfig
new file mode 100644
index 0000000000..ead9e126cc
--- /dev/null
+++ b/arch/arm/mach-mstar/Kconfig
@@ -0,0 +1,17 @@
+menu "MStar/SigmaStar v7 options"
+ depends on ARCH_MSTARV7
+
+endmenu
+
+if ARCH_MSTARV7
+
+config DEBUG_UART_BASE
+ default 0x1f221000
+
+config DEBUG_UART_CLOCK
+ default 172000000
+
+config DEBUG_UART_SHIFT
+ default 3
+
+endif
--
2.27.0
next prev parent reply other threads:[~2020-09-14 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 12:04 [RFC PATCH 0/3] Start of MStar/SigmaStar Arm v7 SoC support Daniel Palmer
2020-09-14 12:04 ` Daniel Palmer [this message]
2020-09-14 12:04 ` [RFC PATCH 2/3] arm: mstar: Add option for loading the SPL from the IPL Daniel Palmer
2020-09-14 12:04 ` [RFC PATCH 3/3] arm: mstar: Add boot0 header Daniel Palmer
2020-09-14 18:56 ` [RFC PATCH 0/3] Start of MStar/SigmaStar Arm v7 SoC support Tom Rini
2020-09-15 10:14 ` Daniel Palmer
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=20200914120441.3274829-2-daniel@0x0f.com \
--to=daniel@0x0f.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