From 1ae60ce7a633b7384361ce3421d6f3b448e47fda Mon Sep 17 00:00:00 2001 From: Swift Tian Date: Mon, 22 Apr 2024 19:07:40 +0800 Subject: [PATCH] boards: dts: Add MSPI controller to native_sim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the MSPI emulator controller node in the board dts. (cherry picked from commit 99175e14433a067abb091e0219037830f384bad4) Original-Signed-off-by: Swift Tian GitOrigin-RevId: 99175e14433a067abb091e0219037830f384bad4 Change-Id: I41acd85d9d367a0b233f10ac00935a384039d36c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5635392 Reviewed-by: Dawid Niedźwiecki Commit-Queue: Dawid Niedźwiecki Tested-by: ChromeOS Prod (Robot) Tested-by: Dawid Niedźwiecki --- boards/native/native_sim/native_sim.dts | 9 +++++++++ boards/native/native_sim/native_sim.yaml | 1 + 2 files changed, 10 insertions(+) diff --git a/boards/native/native_sim/native_sim.dts b/boards/native/native_sim/native_sim.dts index 95b5ee5c065..073d5fe21f1 100644 --- a/boards/native/native_sim/native_sim.dts +++ b/boards/native/native_sim/native_sim.dts @@ -134,6 +134,15 @@ #size-cells = <0>; }; + mspi0: mspi@400 { + status = "okay"; + compatible = "zephyr,mspi-emul-controller"; + clock-frequency = <250000000>; + reg = <0x400 4>; + #address-cells = <1>; + #size-cells = <0>; + }; + uart0: uart { status = "okay"; compatible = "zephyr,native-posix-uart"; diff --git a/boards/native/native_sim/native_sim.yaml b/boards/native/native_sim/native_sim.yaml index bed88ab7f3a..0a563c86881 100644 --- a/boards/native/native_sim/native_sim.yaml +++ b/boards/native/native_sim/native_sim.yaml @@ -14,6 +14,7 @@ supported: - dma - eeprom - netif:eth + - mspi - usb_device - adc - i2c