Skip to contentSkip to conversation

Add DeepComputing FML13V05 board dts

PATCH Superseded Sandie Cao 2 participants 5 messages Mar 31

Subsystems (3)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Sandie Cao

author
#0 lore raw

v2 cover Add DeepComputing FML13V05 board dts

This series updates Device Tree related files to introduce the FML13V05 board from DeepComputing, which incorporates a Spacemit K3 SoC. This board is designed for use on the Framework Laptop 13 Chassis, which has (Framework) SKU FRANHQ0001.

The series is based on riscv-dt-for-next.

v2:
- Patch 1:
Use formal format user name.
- Patch 2:
Use formal format user name.
Add Reviewed-by from Troy Mitchell.

Link to v1: https://lore.kernel.org/all/[email protected]/

Sandie Cao (2):
dt-bindings: riscv: spacemit: add deepcomputing,fml13v05
riscv: dts: spacemit: add DeepComputing FML13V05 board device tree

 .../devicetree/bindings/riscv/spacemit.yaml   |  1 +
 arch/riscv/boot/dts/spacemit/Makefile         |  1 +
 .../spacemit/k3-deepcomputing-fml13v05.dts    | 28 +++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts

base-commit: 4a1739c30fc66a59450c1f78923f94607e786882

Signature · 1 line
2.43.0
author
#1 lore raw

PATCH v2 1/2 dt-bindings: riscv: spacemit: add deepcomputing,fml13v05

Document the compatible string for the Deepcomputing fml13v05. It's based on the SpacemiT K3 RISC-V SoC and is designed for the Framework Laptop 13 Chassis, which has (Framework) SKU FRANHQ0001.

---
v2:
Use formal format user name.

---
 Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/spacemit.yaml +1 -0
index b958b94a924d..af8030242bdc 100644
@@ -29,6 +29,7 @@ properties:
           - const: spacemit,k1
       - items:
           - enum:
+              - deepcomputing,fml13v05
               - spacemit,k3-pico-itx
           - const: spacemit,k3
 
Signature · 6 lines
2.43.0

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
reviewer
#2 lore raw
In reply to Sandie Cao

Hi Sandie,

Quoted 7 lines · Sandie Cao

This series updates Device Tree related files to introduce the FML13V05 board from DeepComputing, which incorporates a Spacemit K3 SoC. This board is designed for use on the Framework Laptop 13 Chassis, which has (Framework) SKU FRANHQ0001.

The series is based on riscv-dt-for-next.

Quoted 8 lines

v2:
- Patch 1:
Use formal format user name.
- Patch 2:
Use formal format user name.
Add Reviewed-by from Troy Mitchell.

Link to v1: https://lore.kernel.org/all/[email protected]/

Please slow down a bit. Sending a v2 immediately after a single review doesn't give others (especially those in different time zones) a chance to look at v1. It's better to wait a day or two to collect more feedback before sending a new iteration

- Troy

author
#3 lore raw
Quoted 18 lines

Hi Sandie,

Quoted 14 lines · Sandie Cao

This series updates Device Tree related files to introduce the FML13V05 board from DeepComputing, which incorporates a Spacemit K3 SoC.  This board is designed for use on the Framework Laptop 13 Chassis, which has (Framework) SKU FRANHQ0001.

The series is based on riscv-dt-for-next.

v2:
- Patch 1:
   Use formal format user name.
- Patch 2:
   Use formal format user name.
   Add Reviewed-by from Troy Mitchell.

Quoted 7 lines
Quoted 1 line

Link to v1: https://lore.kernel.org/all/[email protected]/

Please slow down a bit. Sending a v2 immediately after a single review doesn't give others (especially those in different time zones) a chance to look at v1. It's better to wait a day or two to collect more feedback before sending a new iteration
                        - Troy

Got it.
Thanks a lot.
Sandie

author
#4 lore raw

PATCH v2 2/2 riscv: dts: spacemit: add DeepComputing FML13V05 board device tree

In reply to Sandie Cao

The FML13V05 board from DeepComputing incorporates a SpacemiT K3 RISC-V SoC.It is a mainboard designed for the Framework Laptop 13 Chassis, which has (Framework) SKU FRANHQ0001.

The FML13V05 board features:
- SpacemiT K3 RISC-V SoC
- LPDDR5 16GB or 32GB
- eMMC 32GB ~128GB (Optional)
- UFS 3.1 256G (Optional)
- QSPI Flash
- MicroSD Slot
- PCIe-based Wi-Fi
- 4 USB-C Ports
- Port 1: PD 3.0 (65W Max), USB 3.2 Gen 1
- Port 2: PD 3.0 (65W Max), USB 3.2 Gen 1, DP 1.4 (4K@60Hz)
- Port 3 & 4: USB 3.2 Gen 1

This minimal device tree enables booting into a serial console with UART output.

---
v2:
Use formal format user name.
Add Reviewed-by from Troy Mitchell.

---
 arch/riscv/boot/dts/spacemit/Makefile         |  1 +
 .../spacemit/k3-deepcomputing-fml13v05.dts    | 28 +++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts
arch/riscv/boot/dts/spacemit/Makefile +1 -0
index 7e2b87702571..acb993c452ba 100644
@@ -4,4 +4,5 @@ dtb-$(CONFIG_ARCH_SPACEMIT) += k1-milkv-jupiter.dtb
 dtb-$(CONFIG_ARCH_SPACEMIT) += k1-musepi-pro.dtb
 dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-r2s.dtb
 dtb-$(CONFIG_ARCH_SPACEMIT) += k1-orangepi-rv2.dtb
+dtb-$(CONFIG_ARCH_SPACEMIT) += k3-deepcomputing-fml13v05.dtb
 dtb-$(CONFIG_ARCH_SPACEMIT) += k3-pico-itx.dtb
arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dts new file +28 -0
new file mode 100644
index 000000000000..2343ae3acc2d
@@ -0,0 +1,28 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (C) 2024 DeepComputing (HK) Limited
+ */
+
+#include "k3.dtsi"
+
+/ {
+	model = "DeepComputing FML13V05";
+	compatible = "deepcomputing,fml13v05", "spacemit,k3";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		stdout-path = "serial0";
+	};
+
+	memory@100000000 {
+		device_type = "memory";
+		reg = <0x1 0x00000000 0x4 0x00000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
Signature · 1 line
2.43.0