* [PATCH v2 0/2] riscv: dts: spacemit: Add K3 CoM260 TQ support
@ 2026-11-17 8:48 Troy Mitchell
2026-11-17 8:48 ` [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 CoM260 TQ Troy Mitchell
2026-11-17 8:48 ` [PATCH v2 2/2] riscv: dts: spacemit: Add K3 CoM260 TQ support Troy Mitchell
0 siblings, 2 replies; 4+ messages in thread
From: Troy Mitchell @ 2026-11-17 8:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Yixun Lan,
Troy Mitchell, Guodong Xu, Yangyu Chen
Cc: devicetree, linux-riscv, spacemit, linux-kernel
This series adds device tree support for the K3 CoM260 TQ board, a
K3 CoM260 module on the TQ carrier board.
The board uses the CoM260 module description for the UART console,
Ethernet, module EEPROM and PMIC, and describes the carrier's Ethernet
PHY LEDs.
The TQ carrier board comes with one of two power schemes for the CPU
clusters. Both are the same hardware otherwise, and the system currently
relies on the bootloader to set up the power scheme, so a single
compatible and device tree cover both variants. Once the regulators are
supported, the power schemes can be described as overlays applied to
this device tree at build time.
---
Changes in v2:
- Rename the board to K3 CoM260 TQ, which covers both the TQ and the
IFX TQ power schemes.
- Use a single compatible for both power schemes of the TQ carrier.
- Link to v1: https://patch.msgid.link/20261105-k3-tq-dts-based-on-com260-v1-0-aa0b7714aed0@linux.spacemit.com
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Paul Walmsley <pjw@kernel.org>
To: Palmer Dabbelt <palmer@dabbelt.com>
To: Albert Ou <aou@eecs.berkeley.edu>
To: Alexandre Ghiti <alex@ghiti.fr>
To: Yixun Lan <dlan@kernel.org>
To: Troy Mitchell <troy.mitchell@linux.spacemit.com>
To: Guodong Xu <docular.xu@gmail.com>
To: Yangyu Chen <cyy@cyyself.name>
Cc: devicetree@vger.kernel.org
Cc: linux-riscv@lists.infradead.org
Cc: spacemit@lists.linux.dev
Cc: linux-kernel@vger.kernel.org
---
Troy Mitchell (2):
dt-bindings: riscv: spacemit: Add K3 CoM260 TQ
riscv: dts: spacemit: Add K3 CoM260 TQ support
.../devicetree/bindings/riscv/spacemit.yaml | 1 +
arch/riscv/boot/dts/spacemit/Makefile | 1 +
arch/riscv/boot/dts/spacemit/k3-com260-tq.dts | 44 ++++++++++++++++++++++
3 files changed, 46 insertions(+)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261015-k3-tq-dts-based-on-com260-37d5d99a2b9b
Best regards,
--
Troy Mitchell <troy.mitchell@linux.spacemit.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 CoM260 TQ
2026-11-17 8:48 [PATCH v2 0/2] riscv: dts: spacemit: Add K3 CoM260 TQ support Troy Mitchell
@ 2026-11-17 8:48 ` Troy Mitchell
2026-11-23 12:22 ` Krzysztof Kozlowski
2026-11-17 8:48 ` [PATCH v2 2/2] riscv: dts: spacemit: Add K3 CoM260 TQ support Troy Mitchell
1 sibling, 1 reply; 4+ messages in thread
From: Troy Mitchell @ 2026-11-17 8:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Yixun Lan,
Troy Mitchell, Guodong Xu, Yangyu Chen
Cc: devicetree, linux-riscv, spacemit, linux-kernel
The K3 CoM260 TQ board combines a CoM260 module with the TQ carrier
board. Add its board compatible with the CoM260 module and K3 SoC
fallbacks.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
---
Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/riscv/spacemit.yaml b/Documentation/devicetree/bindings/riscv/spacemit.yaml
index 4ee9c88984b4..9d1e1ff189ad 100644
--- a/Documentation/devicetree/bindings/riscv/spacemit.yaml
+++ b/Documentation/devicetree/bindings/riscv/spacemit.yaml
@@ -40,6 +40,7 @@ properties:
- items:
- enum:
- spacemit,k3-com260-ifx
+ - spacemit,k3-com260-tq
- const: spacemit,k3-com260
- const: spacemit,k3
--
2.56.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] riscv: dts: spacemit: Add K3 CoM260 TQ support
2026-11-17 8:48 [PATCH v2 0/2] riscv: dts: spacemit: Add K3 CoM260 TQ support Troy Mitchell
2026-11-17 8:48 ` [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 CoM260 TQ Troy Mitchell
@ 2026-11-17 8:48 ` Troy Mitchell
1 sibling, 0 replies; 4+ messages in thread
From: Troy Mitchell @ 2026-11-17 8:48 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Yixun Lan,
Troy Mitchell, Guodong Xu, Yangyu Chen
Cc: devicetree, linux-riscv, spacemit, linux-kernel
Add a device tree for the K3 CoM260 TQ board, a K3 CoM260 module on the
TQ carrier board. It reuses the CoM260 module description for the UART
console, Ethernet, module EEPROM and PMIC.
Describe the carrier's green and yellow Ethernet PHY LEDs while keeping
their existing hardware state, and enable ALDPS power saving on the
RTL8211F PHY with its unused CLKOUT output disabled.
The TQ carrier board is built with one of two power schemes for the CPU
clusters. The bootloader programs those regulators and Linux keeps the
voltages it leaves, so this description covers both variants. Once the
regulators are supported, the power schemes can be described as
overlays and applied to this device tree at build time.
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
---
arch/riscv/boot/dts/spacemit/Makefile | 1 +
arch/riscv/boot/dts/spacemit/k3-com260-tq.dts | 44 +++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/arch/riscv/boot/dts/spacemit/Makefile b/arch/riscv/boot/dts/spacemit/Makefile
index 851b701e5da4..bac9dcb5efe5 100644
--- a/arch/riscv/boot/dts/spacemit/Makefile
+++ b/arch/riscv/boot/dts/spacemit/Makefile
@@ -6,5 +6,6 @@ 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-com260-ifx.dtb
+dtb-$(CONFIG_ARCH_SPACEMIT) += k3-com260-tq.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k3-deepcomputing-fml13v05.dtb
dtb-$(CONFIG_ARCH_SPACEMIT) += k3-pico-itx.dtb
diff --git a/arch/riscv/boot/dts/spacemit/k3-com260-tq.dts b/arch/riscv/boot/dts/spacemit/k3-com260-tq.dts
new file mode 100644
index 000000000000..758347f30b3c
--- /dev/null
+++ b/arch/riscv/boot/dts/spacemit/k3-com260-tq.dts
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/* Copyright (c) 2026 SpacemiT (Hangzhou) Technology Co. Ltd */
+
+#include <dt-bindings/leds/common.h>
+
+#include "k3-com260.dtsi"
+
+/ {
+ model = "SpacemiT K3 CoM260 TQ";
+ compatible = "spacemit,k3-com260-tq", "spacemit,k3-com260", "spacemit,k3";
+
+ aliases {
+ serial0 = &uart0;
+ ethernet0 = ð1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&phy1 {
+ realtek,aldps-enable;
+ realtek,clkout-disable;
+
+ leds {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@1 {
+ reg = <1>;
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_GREEN>;
+ default-state = "keep";
+ };
+
+ led@2 {
+ reg = <2>;
+ function = LED_FUNCTION_LAN;
+ color = <LED_COLOR_ID_YELLOW>;
+ default-state = "keep";
+ };
+ };
+};
--
2.56.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 CoM260 TQ
2026-11-17 8:48 ` [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 CoM260 TQ Troy Mitchell
@ 2026-11-23 12:22 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-23 12:22 UTC (permalink / raw)
To: Troy Mitchell
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, Yixun Lan,
Guodong Xu, Yangyu Chen, devicetree, linux-riscv, spacemit,
linux-kernel
On Tue, Nov 17, 2026 at 08:48:51AM +0000, Troy Mitchell wrote:
> The K3 CoM260 TQ board combines a CoM260 module with the TQ carrier
> board. Add its board compatible with the CoM260 module and K3 SoC
> fallbacks.
>
> Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
> ---
> Documentation/devicetree/bindings/riscv/spacemit.yaml | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-23 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-17 8:48 [PATCH v2 0/2] riscv: dts: spacemit: Add K3 CoM260 TQ support Troy Mitchell
2026-11-17 8:48 ` [PATCH v2 1/2] dt-bindings: riscv: spacemit: Add K3 CoM260 TQ Troy Mitchell
2026-11-23 12:22 ` Krzysztof Kozlowski
2026-11-17 8:48 ` [PATCH v2 2/2] riscv: dts: spacemit: Add K3 CoM260 TQ support Troy Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®