]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: sophgo: Add Duo Module 01
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Thu, 12 Jun 2025 13:28:11 +0000 (15:28 +0200)
committerInochi Amaoto <inochiama@gmail.com>
Wed, 23 Jul 2025 01:56:27 +0000 (09:56 +0800)
The Duo Module 01 is a compact module with integrated SG2000,
WI-FI6/BTDM5.4, and eMMC.
Add only support for UART and SDHCI.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: Inochi Amaoto <inochiama@gmail.com>
Link: https://lore.kernel.org/r/20250612132844.767216-4-alexander.sverdlin@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-module-01.dtsi [new file with mode: 0644]

diff --git a/arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-module-01.dtsi b/arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-module-01.dtsi
new file mode 100644 (file)
index 0000000..32c988f
--- /dev/null
@@ -0,0 +1,40 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+
+#include <dt-bindings/pinctrl/pinctrl-sg2000.h>
+#include "sg2000.dtsi"
+
+/ {
+       model = "Milk-V Duo Module 01";
+       compatible = "milkv,duo-module-01", "sophgo,sg2000";
+
+       aliases {
+               serial0 = &uart0;
+               serial1 = &uart1;
+               serial2 = &uart2;
+               serial3 = &uart3;
+               serial4 = &uart4;
+       };
+};
+
+&osc {
+       clock-frequency = <25000000>;
+};
+
+&emmc {
+       bus-width = <4>;
+       no-1-8-v;
+       cap-mmc-hw-reset;
+       no-sd;
+       no-sdio;
+       non-removable;
+       status = "okay";
+};
+
+/* Wi-Fi */
+&sdhci1 {
+       bus-width = <4>;
+       cap-sdio-irq;
+       no-mmc;
+       no-sd;
+       non-removable;
+};