File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 88#include <st/n6/stm32n657x0hxq-pinctrl.dtsi>
99#include "zephyr/dt-bindings/display/panel.h"
1010#include <zephyr/dt-bindings/flash_controller/xspi.h>
11+ #include <zephyr/dt-bindings/gpio/raspberrypi-csi-22pins-connector.h>
1112#include <zephyr/dt-bindings/input/input-event-codes.h>
1213#include <zephyr/dt-bindings/video/video-interfaces.h>
1314#include "arduino_r3_connector.dtsi"
4647 label = "User LD2";
4748 };
4849 };
50+
51+ csi_22pins_connector: connector_csi_22pins {
52+ compatible = "raspberrypi,csi-22pins-connector";
53+ #gpio-cells = <2>;
54+ gpio-map-mask = <0xffffffff 0xffffffc0>;
55+ gpio-map-pass-thru = <0 0x3f>;
56+ gpio-map = <CSI_22PINS_IO0 0 &gpioc 8 0>,
57+ <CSI_22PINS_IO1 0 &gpiod 2 0>;
58+ };
4959};
5060
5161&clk_hse {
185195 status = "okay";
186196};
187197
188- &i2c1 {
198+ csi_22pins_i2c: &i2c1 {
189199 clocks = <&rcc STM32_CLOCK(APB1, 21)>,
190200 <&rcc STM32_SRC_CKPER I2C1_SEL(1)>;
191201 pinctrl-0 = <&i2c1_scl_ph9 &i2c1_sda_pc1>;
@@ -379,3 +389,15 @@ zephyr_udc0: &usbotg_hs1 {
379389 def-back-color-green = <0xFF>;
380390 def-back-color-blue = <0xFF>;
381391};
392+
393+ csi_22pins_interface: &dcmipp {
394+ ports {
395+ port@0 {
396+ csi_22pins_ep_in: endpoint { };
397+ };
398+
399+ port@1 {
400+ csi_22pins_capture_port: endpoint@1 { };
401+ };
402+ };
403+ };
You can’t perform that action at this time.
0 commit comments