cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP135F-DK raspberry pi camera module v2.1

kagan_senkeser
Associate III

Hello,

I have STM32MP135F-DK board and raspberry pi camera module v2.1 but board does not see camera
I guess I have to modify stm32mp135f-dk.dtb file. 

But how should I write settings like OV5640 or GC2145 in dtb file
like that

 
gc2145: gc2145@3c {
compatible = "galaxycore,gc2145";
reg = <0x3c>;
clocks = <&clk_ext_camera>;
IOVDD-supply = <&scmi_v3v3_sw>;
AVDD-supply = <&scmi_v3v3_sw>;
DVDD-supply = <&scmi_v3v3_sw>;
powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
reset-gpios = <&mcp23017 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
status = "okay";
 
port {
gc2145_ep: endpoint {
remote-endpoint = <&mipid02_0>;
clock-lanes = <0>;
data-lanes = <1 2>;
};



And after chaning that file should I do anything to take photo with raspberry pi camera module v2.1

 

0 REPLIES 0