Skip to content

Commit 5b39156

Browse files
FRASTMJarmouniA
authored andcommitted
dts: arm: add stm32h7rs xspi device nodes
Defines the the xspi peripheral of the stm32h7rs serie Signed-off-by: Francois Ramu <[email protected]> Signed-off-by: Abderrahmane JARMOUNI <[email protected]>
1 parent 4eedc27 commit 5b39156

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

dts/arm/st/h7rs/stm32h7rs.dtsi

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <zephyr/dt-bindings/adc/adc.h>
1616
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
1717
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
18+
#include <zephyr/dt-bindings/flash_controller/xspi.h>
1819
#include <freq.h>
1920

2021
/*
@@ -81,7 +82,8 @@
8182
compatible = "zephyr,memory-region";
8283
reg = <0x70000000 DT_SIZE_M(256)>;
8384
zephyr,memory-region = "EXTMEM";
84-
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_EXTMEM) )>;
85+
/* The ATTR_MPU_EXTMEM attribut causes an MPU FAULT */
86+
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
8587
};
8688

8789
clocks {
@@ -776,6 +778,28 @@
776778
interrupts = <37 0>;
777779
status = "disabled";
778780
};
781+
782+
xspi1: xspi@52005000 {
783+
compatible = "st,stm32-xspi";
784+
reg = <0x52005000 0x400>;
785+
interrupts = <105 0>;
786+
clock-names = "ospix";
787+
clocks = <&rcc STM32_CLOCK_BUS_AHB5 0x00000020>;
788+
#address-cells = <1>;
789+
#size-cells = <0>;
790+
status = "disabled";
791+
};
792+
793+
xspi2: xspi@5200a000 {
794+
compatible = "st,stm32-xspi";
795+
reg = <0x5200a000 0x400>;
796+
interrupts = <106 0>;
797+
clock-names = "ospix";
798+
clocks = <&rcc STM32_CLOCK_BUS_AHB5 0x000001000>;
799+
#address-cells = <1>;
800+
#size-cells = <0>;
801+
status = "disabled";
802+
};
779803
};
780804

781805
die_temp: dietemp {

0 commit comments

Comments
 (0)