49 lines
658 B
Plaintext
49 lines
658 B
Plaintext
/*
|
|
* Copyright 2024 NXP
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/{
|
|
chosen {
|
|
zephyr,camera = &nxp_csi;
|
|
};
|
|
};
|
|
|
|
&nxp_cam_i2c {
|
|
status = "okay";
|
|
|
|
ov5640: ov5640@3c {
|
|
compatible = "ovti,ov5640";
|
|
reg = <0x3c>;
|
|
reset-gpios = <&nxp_cam_connector 9 GPIO_ACTIVE_LOW>;
|
|
powerdown-gpios = <&nxp_cam_connector 17 GPIO_ACTIVE_HIGH>;
|
|
|
|
port {
|
|
ov5640_ep_out: endpoint {
|
|
remote-endpoint = <&mipi_csi2rx_ep_in>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&nxp_mipi_csi {
|
|
status = "okay";
|
|
|
|
sensor = <&ov5640>;
|
|
|
|
ports {
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
mipi_csi2rx_ep_in: endpoint {
|
|
remote-endpoint = <&ov5640_ep_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&nxp_csi {
|
|
status = "okay";
|
|
};
|