kernel/0135-feat-add-lpcpu-eic7700-defconfig-and-dts.patch

44 lines
1.3 KiB
Diff

From 216789d120ebbb18a39799c7f27725b4af8c98cb Mon Sep 17 00:00:00 2001
From: hujiamiao <hujiamiao@eswincomputing.com>
Date: Thu, 1 Aug 2024 13:42:23 +0800
Subject: [PATCH 135/222] feat:add lpcpu eic7700 defconfig and dts
Changelogs:
1. add lpcpu driver config
2. support eic7700_evb.dts
Signed-off-by: hujiamiao <hujiamiao@eswincomputing.com>
---
arch/riscv/boot/dts/eswin/eic7700-evb.dts | 2 +-
arch/riscv/configs/eic7700_defconfig | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/boot/dts/eswin/eic7700-evb.dts b/arch/riscv/boot/dts/eswin/eic7700-evb.dts
index 854bd4a80e1d..0e10a72e31ec 100644
--- a/arch/riscv/boot/dts/eswin/eic7700-evb.dts
+++ b/arch/riscv/boot/dts/eswin/eic7700-evb.dts
@@ -219,7 +219,7 @@ &d0_ipc_scpu {
};
&d0_lpcpu {
- status = "disabled";
+ status = "okay";
};
&pcie {
diff --git a/arch/riscv/configs/eic7700_defconfig b/arch/riscv/configs/eic7700_defconfig
index 0911327327a8..24819c7dd1e7 100644
--- a/arch/riscv/configs/eic7700_defconfig
+++ b/arch/riscv/configs/eic7700_defconfig
@@ -732,6 +732,7 @@ CONFIG_COMMON_CLK_WIN2030=y
CONFIG_TIMER_ESWIN=y
CONFIG_MAILBOX=y
CONFIG_ESWIN_MBOX=y
+CONFIG_ESWIN_LPCPU=m
CONFIG_ARM_SMMU_V3=y
CONFIG_RPMSG_VIRTIO=y
CONFIG_ARCH_ESWIN_EIC770X_SOC_FAMILY=y
--
2.47.0