Skip to content

Commit d851986

Browse files
djiatsaf-stfabiobaltieri
authored andcommitted
dts: arm: st: add stm32u5g9 dtsi files
provide support for the STM32U5G9 serie. Signed-off-by: Fabrice DJIATSA <[email protected]>
1 parent 088c8f4 commit d851986

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

dts/arm/st/u5/stm32u5g9.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,22 @@
55
*/
66

77
#include <st/u5/stm32u595.dtsi>
8+
#include <zephyr/dt-bindings/display/panel.h>
9+
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
10+
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
811

912
/ {
1013
soc {
1114
compatible = "st,stm32u5g9", "st,stm32u5", "simple-bus";
15+
16+
ltdc: display-controller@40016800 {
17+
compatible = "st,stm32-ltdc";
18+
reg = <0x40016800 0x400>;
19+
interrupts = <135 0>, <136 0>;
20+
interrupt-names = "ltdc", "ltdc_er";
21+
clocks = <&rcc STM32_CLOCK(APB2, 26)>;
22+
resets = <&rctl STM32_RESET(APB2, 26)>;
23+
status = "disabled";
24+
};
1225
};
1326
};

dts/arm/st/u5/stm32u5g9Xj.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/ {
1111
sram0: memory@20000000 {
1212
/* SRAM1 + SRAM2 + SRAM3 + SRAM5 + SRAM6 */
13-
/* 768K + 64K + 832K + 832K + 512 */
13+
/* 768K + 64K + 832K + 832K + 512K */
1414
reg = <0x20000000 DT_SIZE_K(3008)>;
1515
};
1616

0 commit comments

Comments
 (0)