mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] riscv: dts: sifive: Add the missing FU740 CLINT
@ 2026-11-01 13:35 Han Gao via B4 Relay
  2026-11-01 13:35 ` [PATCH 1/2] dt-bindings: timer: add the " Han Gao via B4 Relay
  2026-11-01 13:35 ` [PATCH 2/2] riscv: dts: sifive: describe " Han Gao via B4 Relay
  0 siblings, 2 replies; 4+ messages in thread
From: Han Gao via B4 Relay @ 2026-11-01 13:35 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Paul Walmsley, Samuel Holland,
	Palmer Dabbelt, Anup Patel, Conor Dooley, Albert Ou,
	Alexandre Ghiti
  Cc: Yao Zi, Jiaxun Yang, Han Gao, linux-kernel, devicetree,
	linux-riscv, Han Gao

coreboot and U-Boot already describe the FU740 CLINT for OpenSBI.
Add the missing node to the Linux device tree and document its
compatible.

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
---
Han Gao (2):
      dt-bindings: timer: add the FU740 CLINT
      riscv: dts: sifive: describe the FU740 CLINT

 Documentation/devicetree/bindings/timer/sifive,clint.yaml |  1 +
 arch/riscv/boot/dts/sifive/fu740-c000.dtsi                | 11 +++++++++++
 2 files changed, 12 insertions(+)
---
base-commit: cbbddb6b08cc9900a87cccaa9b22bbe06aa4f50a
change-id: 20261101-b4-sifive-fu740-clint-c972e84f3171

Best regards,
-- 
Han Gao <gaohan@iscas.ac.cn>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] dt-bindings: timer: add the FU740 CLINT
  2026-11-01 13:35 [PATCH 0/2] riscv: dts: sifive: Add the missing FU740 CLINT Han Gao via B4 Relay
@ 2026-11-01 13:35 ` Han Gao via B4 Relay
  2026-11-02 19:43   ` Conor Dooley
  2026-11-01 13:35 ` [PATCH 2/2] riscv: dts: sifive: describe " Han Gao via B4 Relay
  1 sibling, 1 reply; 4+ messages in thread
From: Han Gao via B4 Relay @ 2026-11-01 13:35 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Paul Walmsley, Samuel Holland,
	Palmer Dabbelt, Anup Patel, Conor Dooley, Albert Ou,
	Alexandre Ghiti
  Cc: Yao Zi, Jiaxun Yang, Han Gao, linux-kernel, devicetree,
	linux-riscv, Han Gao

From: Han Gao <gaohan@iscas.ac.cn>

Document the FU740 CLINT compatible.

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
---
 Documentation/devicetree/bindings/timer/sifive,clint.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml
index d53f52e80d887b40c0d20049d86867c8a5b6fae2..13a8638f6b08e87bff3e37f947b0fe5458ebb38d 100644
--- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml
+++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml
@@ -33,6 +33,7 @@ properties:
               - eswin,eic7700-clint     # ESWIN EIC7700
               - microchip,pic64gx-clint # Microchip PIC64GX
               - sifive,fu540-c000-clint # SiFive FU540
+              - sifive,fu740-c000-clint # SiFive FU740
               - spacemit,k1-clint       # SpacemiT K1
               - starfive,jh7100-clint   # StarFive JH7100
               - starfive,jh7110-clint   # StarFive JH7110

-- 
2.47.3



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] riscv: dts: sifive: describe the FU740 CLINT
  2026-11-01 13:35 [PATCH 0/2] riscv: dts: sifive: Add the missing FU740 CLINT Han Gao via B4 Relay
  2026-11-01 13:35 ` [PATCH 1/2] dt-bindings: timer: add the " Han Gao via B4 Relay
@ 2026-11-01 13:35 ` Han Gao via B4 Relay
  1 sibling, 0 replies; 4+ messages in thread
From: Han Gao via B4 Relay @ 2026-11-01 13:35 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Paul Walmsley, Samuel Holland,
	Palmer Dabbelt, Anup Patel, Conor Dooley, Albert Ou,
	Alexandre Ghiti
  Cc: Yao Zi, Jiaxun Yang, Han Gao, linux-kernel, devicetree,
	linux-riscv, Han Gao

From: Han Gao <gaohan@iscas.ac.cn>

coreboot and U-Boot already describe the FU740 CLINT for OpenSBI,
but Linux's device tree is missing it. Add the node for all five harts.

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
---
 arch/riscv/boot/dts/sifive/fu740-c000.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
index 6150f3397bff9269767b190d961024a98b367ddc..4dd74c9a033e3ec6b1ff2706a9c0c11824ea4a07 100644
--- a/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
+++ b/arch/riscv/boot/dts/sifive/fu740-c000.dtsi
@@ -179,6 +179,17 @@ soc {
 		#size-cells = <2>;
 		compatible = "simple-bus";
 		ranges;
+
+		clint: timer@2000000 {
+			compatible = "sifive,fu740-c000-clint", "sifive,clint0";
+			reg = <0x0 0x2000000 0x0 0x10000>;
+			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
+					      <&cpu1_intc 3>, <&cpu1_intc 7>,
+					      <&cpu2_intc 3>, <&cpu2_intc 7>,
+					      <&cpu3_intc 3>, <&cpu3_intc 7>,
+					      <&cpu4_intc 3>, <&cpu4_intc 7>;
+		};
+
 		plic0: interrupt-controller@c000000 {
 			#interrupt-cells = <1>;
 			#address-cells = <0>;

-- 
2.47.3



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] dt-bindings: timer: add the FU740 CLINT
  2026-11-01 13:35 ` [PATCH 1/2] dt-bindings: timer: add the " Han Gao via B4 Relay
@ 2026-11-02 19:43   ` Conor Dooley
  0 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2026-11-02 19:43 UTC (permalink / raw)
  To: gaohan
  Cc: Daniel Lezcano, Thomas Gleixner, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Paul Walmsley, Samuel Holland,
	Palmer Dabbelt, Anup Patel, Albert Ou, Alexandre Ghiti, Yao Zi,
	Jiaxun Yang, Han Gao, linux-kernel, devicetree, linux-riscv

[-- Attachment #1: Type: text/plain, Size: 75 bytes --]

Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-02 19:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 13:35 [PATCH 0/2] riscv: dts: sifive: Add the missing FU740 CLINT Han Gao via B4 Relay
2026-11-01 13:35 ` [PATCH 1/2] dt-bindings: timer: add the " Han Gao via B4 Relay
2026-11-02 19:43   ` Conor Dooley
2026-11-01 13:35 ` [PATCH 2/2] riscv: dts: sifive: describe " Han Gao via B4 Relay

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®