Re: [PATCH 3/3] riscv: dts: sophgo: add Sophgo SPI NOR controller driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, Longbin,

sg2044.dtsi  seems also does not exist on the master yet, please double check.

Regards,

Chen

On 2025/2/25 8:23, Chen Wang wrote:

On 2025/2/24 18:12, Longbin Li wrote:
Add SPI NOR device node for Sophgo.

Signed-off-by: Longbin Li <looong.bin@xxxxxxxxx>
---
  .../boot/dts/sophgo/sg2044-sophgo-sd3-10.dts  | 18 ++++++++++++++
  arch/riscv/boot/dts/sophgo/sg2044.dtsi        | 24 +++++++++++++++++++
  2 files changed, 42 insertions(+)

diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-sd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-sd3-10.dts
index c50e61a50013..9c634920f37e 100644
--- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-sd3-10.dts
+++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-sd3-10.dts
@@ -80,6 +80,24 @@ &sd {
      status = "okay";
  };

+&spifmc0 {
+    status = "okay";
+
+    flash@0 {
+        compatible = "jedec,spi-nor";
+        reg = <0>;
+    };
+};
+
+&spifmc1 {
+    status = "okay";
+
+    flash@0 {
+        compatible = "jedec,spi-nor";
+        reg = <0>;
+    };
+};
+
  &uart1 {
      status = "okay";
  };

What is your baseline? I can't see "sg2044-sophgo-sd3-10.dts " on the latest mainline yet.

BTW,  the name "sg2044-sophgo-sd3-10" seems a bit redundant. Wouldn't "sg2044-sd3-10" be better?

[......]






[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux