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"
5455 label = "User LD2";
5556 };
5657 };
58+
59+ csi_22pins_connector: connector_csi_22pins {
60+ compatible = "raspberrypi,csi-22pins-connector";
61+ #gpio-cells = <2>;
62+ gpio-map-mask = <0xffffffff 0xffffffc0>;
63+ gpio-map-pass-thru = <0 0x3f>;
64+ gpio-map = <CSI_22PINS_IO0 0 &gpioc 8 0>,
65+ <CSI_22PINS_IO1 0 &gpiod 2 0>;
66+ };
5767};
5868
5969&i2c2 {
208218 status = "okay";
209219};
210220
211- &i2c1 {
221+ csi_22pins_i2c: &i2c1 {
212222 clocks = <&rcc STM32_CLOCK(APB1, 21)>,
213223 <&rcc STM32_SRC_CKPER I2C1_SEL(1)>;
214224 pinctrl-0 = <&i2c1_scl_ph9 &i2c1_sda_pc1>;
@@ -405,3 +415,15 @@ zephyr_udc0: &usbotg_hs1 {
405415 def-back-color-green = <0xFF>;
406416 def-back-color-blue = <0xFF>;
407417};
418+
419+ csi_22pins_interface: &dcmipp {
420+ ports {
421+ port@0 {
422+ csi_22pins_ep_in: endpoint { };
423+ };
424+
425+ port@1 {
426+ csi_22pins_capture_port: endpoint@1 { };
427+ };
428+ };
429+ };
You can’t perform that action at this time.
0 commit comments