Skip to content

Commit 56e38ee

Browse files
Alain Volmatkartben
authored andcommitted
dts: arm: st: n6: add dcmipp node
Add node describing the dcmipp in stm32n6.dtsi Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent fea5c42 commit 56e38ee

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

dts/arm/st/n6/stm32n6.dtsi

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
1616
#include <zephyr/dt-bindings/memory-controller/stm32-fmc-nor-psram.h>
1717
#include <zephyr/dt-bindings/gpio/gpio.h>
18+
#include <zephyr/dt-bindings/video/video-interfaces.h>
1819
#include <freq.h>
1920

2021
/ {
@@ -643,6 +644,55 @@
643644
status = "disabled";
644645
};
645646

647+
dcmipp: dcmipp@58002000 {
648+
compatible = "st,stm32n6-dcmipp", "st,stm32-dcmipp";
649+
reg = <0x58002000 0x1000>;
650+
clock-names = "dcmipp", "dcmipp-ker", "csi";
651+
clocks = <&rcc STM32_CLOCK(APB5, 2)>,
652+
<&rcc STM32_SRC_IC17 DCMIPP_SEL(2)>,
653+
<&rcc STM32_CLOCK(APB5, 6)>;
654+
interrupts = <48 0>;
655+
resets = <&rctl STM32_RESET(APB5, 2)>,
656+
<&rctl STM32_RESET(APB5, 6)>;
657+
status = "disabled";
658+
659+
ports {
660+
#address-cells = <1>;
661+
#size-cells = <0>;
662+
663+
port@0 {
664+
reg = <0>;
665+
666+
endpoint {
667+
remote-endpoint-label = "";
668+
bus-type = <VIDEO_BUS_TYPE_CSI2_DPHY>;
669+
};
670+
};
671+
672+
port@1 {
673+
#address-cells = <1>;
674+
#size-cells = <0>;
675+
676+
reg = <1>;
677+
678+
dcmipp_pipe_dump: endpoint@0 {
679+
compatible = "st,stm32-dcmipp-pipe";
680+
reg = <0>;
681+
};
682+
683+
dcmipp_pipe_main: endpoint@1 {
684+
compatible = "st,stm32-dcmipp-pipe";
685+
reg = <1>;
686+
};
687+
688+
dcmipp_pipe_aux: endpoint@2 {
689+
compatible = "st,stm32-dcmipp-pipe";
690+
reg = <2>;
691+
};
692+
};
693+
};
694+
};
695+
646696
ethernet@58036000 {
647697
reg = <0x58036000 0x8000>;
648698
compatible = "st,stm32-ethernet-controller";

0 commit comments

Comments
 (0)