From 58bd376922ae8b9140eea8def2ddca7f905610ec Mon Sep 17 00:00:00 2001 From: Swift Tian Date: Mon, 22 Apr 2024 19:03:39 +0800 Subject: [PATCH] dts: mspi: Add MSPI emulator bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the controller and device emulator bindings for MSPI. (cherry picked from commit 11c1722fefd99f20ad5a67f473216c13cbe14bb2) Original-Signed-off-by: Swift Tian GitOrigin-RevId: 11c1722fefd99f20ad5a67f473216c13cbe14bb2 Change-Id: Ifa7b1cd912bfa6a7b3d0abe8c07482a622f1d920 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5635391 Commit-Queue: Dawid Niedźwiecki Tested-by: Dawid Niedźwiecki Tested-by: ChromeOS Prod (Robot) Reviewed-by: Dawid Niedźwiecki --- .../mspi/zephyr,mspi-emul-controller.yaml | 12 +++++++++++ .../mspi/zephyr,mspi-emul-device.yaml | 21 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dts/bindings/mspi/zephyr,mspi-emul-controller.yaml create mode 100644 dts/bindings/mspi/zephyr,mspi-emul-device.yaml diff --git a/dts/bindings/mspi/zephyr,mspi-emul-controller.yaml b/dts/bindings/mspi/zephyr,mspi-emul-controller.yaml new file mode 100644 index 00000000000..917b4cc85e5 --- /dev/null +++ b/dts/bindings/mspi/zephyr,mspi-emul-controller.yaml @@ -0,0 +1,12 @@ +# Copyright (c) 2024, Ambiq Micro Inc. +# SPDX-License-Identifier: Apache-2.0 + +description: Zephyr MSPI Emulation controller + +compatible: "zephyr,mspi-emul-controller" + +include: mspi-controller.yaml + +properties: + reg: + required: true diff --git a/dts/bindings/mspi/zephyr,mspi-emul-device.yaml b/dts/bindings/mspi/zephyr,mspi-emul-device.yaml new file mode 100644 index 00000000000..5975bcdc26e --- /dev/null +++ b/dts/bindings/mspi/zephyr,mspi-emul-device.yaml @@ -0,0 +1,21 @@ +# Copyright (c) 2024, Ambiq Micro Inc. +# SPDX-License-Identifier: Apache-2.0 + +description: Zephyr MSPI Emulation Device + +compatible: "zephyr,mspi-emul-device" + +include: mspi-device.yaml + +properties: + reg: + required: true + + xip-config: + default: [0, 0, 0, 0] + + scramble-config: + default: [0, 0, 0] + + ce-break-config: + default: [0, 0]