From: E Shattow <e@freeshell.de>
To: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de, E Shattow <e@freeshell.de>,
Conor Dooley <conor.dooley@microchip.com>
Subject: [PATCH v2 10/10] riscv: dts: starfive: add Milk-V Mars CM Lite system-on-module
Date: Wed, 15 Oct 2025 03:22:53 -0700 [thread overview]
Message-ID: <20251015102253.48276-11-e@freeshell.de> (raw)
In-Reply-To: <20251015102253.48276-1-e@freeshell.de>
Milk-V Mars CM Lite is a System-on-Module based on the Milk-V Mars CM
without the onboard eMMC storage component populated and configured
instead for SD3.0 Card Slot on that interface via 100-pin connector.
Link to Milk-V Mars CM Lite schematics: https://github.com/milkv-mars/mars-files/tree/main/Mars-CM_Hardware_Schematices
Link to StarFive JH7110 Technical Reference Manual: https://doc-en.rvspace.org/JH7110/TRM/index.html
Link to Raspberry Pi CM4IO datasheet: https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf
Add the devicetree file to make use of StarFive JH7110 common supported
features PMIC, EEPROM, UART, I2C, GPIO, PCIe, QSPI Flash, PWM, and
Ethernet. Also configure the eMMC interface mmc0 for SD Card use and
configure the common SD Card interface mmc1 for onboard SDIO BT+WiFi.
Signed-off-by: E Shattow <e@freeshell.de>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
[ upstream commit: 4cce8b2503ab50f75a2dbc3eef2e55722836588e ]
(cherry picked from commit c7821d537e5a61e5d543588674b71fb43ec0665b)
---
.../starfive/jh7110-milkv-marscm-lite.dts | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 dts/upstream/src/riscv/starfive/jh7110-milkv-marscm-lite.dts
diff --git a/dts/upstream/src/riscv/starfive/jh7110-milkv-marscm-lite.dts b/dts/upstream/src/riscv/starfive/jh7110-milkv-marscm-lite.dts
new file mode 100644
index 00000000000..6c40d0ec401
--- /dev/null
+++ b/dts/upstream/src/riscv/starfive/jh7110-milkv-marscm-lite.dts
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0 OR MIT
+/*
+ * Copyright (C) 2025 E Shattow <e@freeshell.de>
+ */
+
+/dts-v1/;
+#include "jh7110-milkv-marscm.dtsi"
+
+/ {
+ model = "Milk-V Mars CM Lite";
+ compatible = "milkv,marscm-lite", "starfive,jh7110";
+};
+
+&mmc0 {
+ bus-width = <4>;
+ cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
+};
+
+&mmc0_pins {
+ pwren-pins {
+ pinmux = <GPIOMUX(22, GPOUT_HIGH,
+ GPOEN_ENABLE,
+ GPI_NONE)>;
+ };
+};
--
2.50.0
prev parent reply other threads:[~2025-10-15 10:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-15 10:22 [PATCH v2 00/10] dts: starfive: cherry-pick jh7110 updates from v6.18-rc1-dts E Shattow
2025-10-15 10:22 ` [PATCH v2 01/10] riscv: dts: starfive: jh7110-common: drop no-sdio property from mmc1 E Shattow
2025-10-15 10:22 ` [PATCH v2 02/10] riscv: dts: starfive: jh7110: add DMC memory controller E Shattow
2025-10-15 10:22 ` [PATCH v2 03/10] riscv: dts: starfive: jh7110: bootph-pre-ram hinting needed by boot loader E Shattow
2025-10-15 10:22 ` [PATCH v2 04/10] riscv: dts: starfive: jh7110-common: drop no-mmc property from mmc1 E Shattow
2025-10-15 10:22 ` [PATCH v2 05/10] riscv: dts: starfive: jh7110-common: drop mmc post-power-on-delay-ms E Shattow
2025-10-15 10:22 ` [PATCH v2 06/10] riscv: dts: starfive: add common board dtsi for Milk-V Mars CM variants E Shattow
2025-10-15 10:22 ` [PATCH v2 07/10] dt-bindings: riscv: starfive: add milkv,marscm-emmc E Shattow
2025-10-15 10:22 ` [PATCH v2 08/10] riscv: dts: starfive: add Milk-V Mars CM system-on-module E Shattow
2025-10-15 10:22 ` [PATCH v2 09/10] dt-bindings: riscv: starfive: add milkv,marscm-lite E Shattow
2025-10-15 10:22 ` E Shattow [this message]
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=20251015102253.48276-11-e@freeshell.de \
--to=e@freeshell.de \
--cc=conor.dooley@microchip.com \
--cc=trini@konsulko.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