From: Chen Wang <unicorn_wang@outlook.com>
To: Inochi Amaoto <inochiama@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Longbin Li <looong.bin@gmail.com>
Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
sophgo@lists.linux.dev, linux-kernel@vger.kernel.org,
Yixun Lan <dlan@gentoo.org>
Subject: Re: [PATCH 1/2] riscv: dts: sophgo: sg2044: add MSI device support for SG2044
Date: Thu, 19 Jun 2025 15:13:46 +0800 [thread overview]
Message-ID: <MA0P287MB2262FA77FD547D60257FCC1CFE7DA@MA0P287MB2262.INDP287.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20250618015851.272188-2-inochiama@gmail.com>
On 2025/6/18 9:58, Inochi Amaoto wrote:
> Add MSI device tree node for SG2044.
>
> Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
> ---
> arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 4 ++++
> arch/riscv/boot/dts/sophgo/sg2044.dtsi | 11 +++++++++++
> 2 files changed, 15 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> index b50c3a872d8b..c97bd62e5f06 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> +++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts
> @@ -63,6 +63,10 @@ mcu: syscon@17 {
> };
> };
>
> +&msi {
> + status = "okay";
> +};
> +
> &pwm {
> status = "okay";
> };
> diff --git a/arch/riscv/boot/dts/sophgo/sg2044.dtsi b/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> index f88cabe75790..aae4539dea98 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/sg2044.dtsi
> @@ -32,6 +32,17 @@ soc {
> #size-cells = <2>;
> ranges;
>
> + msi: msi-controller@6d50000000 {
> + compatible = "sophgo,sg2044-msi";
> + reg = <0x6d 0x50000000 0x0 0x800>,
> + <0x0 0x7ee00000 0x0 0x40>;
> + reg-names = "clr", "doorbell";
> + #msi-cells = <0>;
> + msi-controller;
> + msi-ranges = <&intc 352 IRQ_TYPE_LEVEL_HIGH 512>;
> + status = "disabled";
> + };
> +
> spifmc0: spi@7001000000 {
> compatible = "sophgo,sg2044-spifmc-nor";
> reg = <0x70 0x01000000 0x0 0x4000000>;
Reviewed-by: Chen Wang <unicorn_wang@outlook.com>
next prev parent reply other threads:[~2025-06-19 7:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-18 1:58 [PATCH 0/2] riscv: dts: sophgo: sg2044: add PCIe device node Inochi Amaoto
2025-06-18 1:58 ` [PATCH 1/2] riscv: dts: sophgo: sg2044: add MSI device support for SG2044 Inochi Amaoto
2025-06-19 7:13 ` Chen Wang [this message]
2025-06-18 1:58 ` [PATCH 2/2] riscv: dts: sophgo: sg2044: add PCIe " Inochi Amaoto
2025-07-07 0:31 ` [PATCH 0/2] riscv: dts: sophgo: sg2044: add PCIe device node Inochi Amaoto
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=MA0P287MB2262FA77FD547D60257FCC1CFE7DA@MA0P287MB2262.INDP287.PROD.OUTLOOK.COM \
--to=unicorn_wang@outlook.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@gentoo.org \
--cc=inochiama@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=looong.bin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=sophgo@lists.linux.dev \
/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
all inboxes | Powered by JetHome®