From: Inochi Amaoto <inochiama@gmail.com>
To: Junhui Liu <junhui.liu@pigmoral.tech>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Thomas Gleixner <tglx@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>, Yixun Lan <dlan@kernel.org>,
Inochi Amaoto <inochiama@outlook.com>,
Samuel Holland <samuel.holland@sifive.com>,
Anup Patel <anup@brainfault.org>,
Guodong Xu <guodong@riscstar.com>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,
Conor Dooley <conor.dooley@microchip.com>,
Inochi Amaoto <inochiama@gmail.com>
Subject: Re: [PATCH RFC 7/7] riscv: dts: spacemit: k3: Add ACLINT MSWI and MTIMER nodes
Date: Wed, 29 Jul 2026 06:15:43 +0800 [thread overview]
Message-ID: <amkp9dLCVKTilhO-@inochi.infowork> (raw)
In-Reply-To: <20260729-k3-aclint-v1-7-aef88614d3a5@pigmoral.tech>
On Wed, Jul 29, 2026 at 12:36:33AM +0800, Junhui Liu wrote:
> The SpacemiT K3 SoC provides ACLINT MSWI and MTIMER controllers. Add
> these nodes to complete the ACLINT description in the Device Tree for
> M-mode firmware such as OpenSBI.
>
> Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
> ---
> arch/riscv/boot/dts/spacemit/k3.dtsi | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
> index 5fb719f79467..ecb5f4fcd8fd 100644
> --- a/arch/riscv/boot/dts/spacemit/k3.dtsi
> +++ b/arch/riscv/boot/dts/spacemit/k3.dtsi
> @@ -1303,5 +1303,24 @@ maplic: interrupt-controller@f1800000 {
> riscv,num-sources = <512>;
> status = "reserved";
> };
> +
> + aclint_mswi: interrupt-controller@f1810000 {
> + compatible = "spacemit,k3-aclint-mswi", "riscv,aclint-mswi";
> + reg = <0x0 0xf1810000 0x0 0x4000>;
> + interrupts-extended = <&cpu0_intc 3>, <&cpu1_intc 3>,
> + <&cpu2_intc 3>, <&cpu3_intc 3>,
> + <&cpu4_intc 3>, <&cpu5_intc 3>,
> + <&cpu6_intc 3>, <&cpu7_intc 3>;
> + };
> +
> + aclint_mtimer: timer@f1814000 {
> + compatible = "spacemit,k3-aclint-mtimer", "riscv,aclint-mtimer";
> + reg = <0x0 0xf1814000 0x0 0x8000>;
> + reg-names = "mtimecmp";
> + interrupts-extended = <&cpu0_intc 7>, <&cpu1_intc 7>,
> + <&cpu2_intc 7>, <&cpu3_intc 7>,
> + <&cpu4_intc 7>, <&cpu5_intc 7>,
> + <&cpu6_intc 7>, <&cpu7_intc 7>;
> + };
> };
> };
>
> --
> 2.55.0
>
Squash this patch into the previous one, it is the same device.
Regards,
Inochi
prev parent reply other threads:[~2026-07-28 22:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 16:36 [PATCH RFC 0/7] spacemit: k3: Replace bad CLINT node with ACLINT nodes Junhui Liu
2026-07-28 16:36 ` [PATCH RFC 1/7] dt-bindings: timer: thead,c900-aclint-mtimer: Add SpacemiT K3 Junhui Liu
2026-07-28 22:13 ` Inochi Amaoto
2026-07-28 16:36 ` [PATCH RFC 2/7] dt-bindings: interrupt-controller: thead,c900-aclint-mswi: " Junhui Liu
2026-07-28 16:36 ` [PATCH RFC 3/7] dt-bindings: interrupt-controller: thead,c900-aclint-sswi: " Junhui Liu
2026-07-28 16:36 ` [PATCH RFC 4/7] dt-bindings: timer: sifive,clint: Mark spacemit,k3-clint as deprecated Junhui Liu
2026-07-28 16:36 ` [PATCH RFC 5/7] irqchip/aclint-sswi: Add generic riscv,aclint-sswi match Junhui Liu
2026-07-28 22:14 ` Inochi Amaoto
2026-07-28 16:36 ` [PATCH RFC 6/7] riscv: dts: spacemit: k3: Fix SSWI node misidentified as CLINT Junhui Liu
2026-07-28 16:36 ` [PATCH RFC 7/7] riscv: dts: spacemit: k3: Add ACLINT MSWI and MTIMER nodes Junhui Liu
2026-07-28 22:15 ` Inochi Amaoto [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=amkp9dLCVKTilhO-@inochi.infowork \
--to=inochiama@gmail.com \
--cc=alex@ghiti.fr \
--cc=anup@brainfault.org \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=daniel.lezcano@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=guodong@riscstar.com \
--cc=inochiama@outlook.com \
--cc=junhui.liu@pigmoral.tech \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=samuel.holland@sifive.com \
--cc=spacemit@lists.linux.dev \
--cc=tglx@kernel.org \
/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