From 106b2013bb5b657deb4360a50aea0c0292b1304e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Sp=C3=A4tling?= Date: Mon, 16 Sep 2024 14:10:03 +0200 Subject: [PATCH] dts: adding flexible memory controller (fmc) to H56x, H533 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As requested in https://github.com/zephyrproject-rtos/zephyr/issues/77888 I'm adding the DT basics for the flexible memory controller. Signed-off-by: Thorsten Spätling --- dts/arm/st/h5/stm32h533.dtsi | 7 +++++++ dts/arm/st/h5/stm32h562.dtsi | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/dts/arm/st/h5/stm32h533.dtsi b/dts/arm/st/h5/stm32h533.dtsi index bd781b87cd9cde..fff14197c46ebc 100644 --- a/dts/arm/st/h5/stm32h533.dtsi +++ b/dts/arm/st/h5/stm32h533.dtsi @@ -16,5 +16,12 @@ reg = <0x42021400 0x400>; clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000080>; }; + + fmc: memory-controller@47000400 { + compatible = "st,stm32-fmc"; + reg = <0x47000400 0x400>; + clocks = <&rcc STM32_CLOCK_BUS_AHB4 0x00010000>; + status = "disabled"; + }; }; }; diff --git a/dts/arm/st/h5/stm32h562.dtsi b/dts/arm/st/h5/stm32h562.dtsi index 08e830fbeb5214..130ec20437fb71 100644 --- a/dts/arm/st/h5/stm32h562.dtsi +++ b/dts/arm/st/h5/stm32h562.dtsi @@ -465,6 +465,13 @@ interrupts = <79 0>; status = "disabled"; }; + + fmc: memory-controller@47000400 { + compatible = "st,stm32-fmc"; + reg = <0x47000400 0x400>; + clocks = <&rcc STM32_CLOCK_BUS_AHB4 0x00010000>; + status = "disabled"; + }; }; smbus3: smbus3 {