Hi, everyone,
I have an CSI OV5647 Camera for Raspberry Pi. I try to add device node to rk3568-rock-3-a.dts
Reference from Firefly ROC-RK3568-PC example
&i2c5 {
status = "okay";
ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
clocks = <&cru CLK_CIF_OUT>;
clock-names = "xvclk";
pinctrl-names = "default";
pinctrl-0 = <&cif_clk>;
port {
ov5647_out: endpoint {
remote-endpoint = <&ucam_out>;
data-lanes = <1 2>;
};
};
};
};
&rkisp {
status = "okay";
};
&rkisp_vir0 {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
isp0_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&csidphy_out>;
};
};
};
&csi2_dphy0 {
status = "okay";
/*
* dphy0 only used for full mode,
* full mode and split mode are mutually exclusive
*/
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
ucam_out: endpoint@5 {
reg = <5>;
remote-endpoint = <&ov5647_out>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
csidphy_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&isp0_in>;
};
};
};
};
&csi2_dphy_hw {
status = "okay";
};
&csi2_dphy1 {
status = "disabled";
};
&csi2_dphy2 {
status = "disabled";
};
&rkisp_mmu {
status = "okay";
};
But It don’t work
dmesg log
[ 0.946199] rkisp_hw fdff0000.rkisp: Linked as a consumer to fdff1a00.iommu
[ 0.946495] rkisp_hw fdff0000.rkisp: is_thunderboot: 0
[ 0.946541] rkisp_hw fdff0000.rkisp: max input:0x0@0fps
[ 0.946600] rkisp_hw fdff0000.rkisp: can't request region for resource [mem 0xfdff0000-0xfdffffff]
[ 0.947773] rkisp rkisp-vir0: rkisp driver version: v01.06.01
[ 0.947971] rkisp rkisp-vir0: No memory-region-thunderboot specified
[ 0.948264] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[ 0.948323] rkisp rkisp-vir0: Entity type for entity rkisp-csi-subdev was not initialized!
[ 1.183749] rkisp rkisp-vir0: clear unready subdev num: 1
[ 1.183774] rockchip-csi2-dphy0: No link between dphy and sensor
[ 1.184387] rockchip-csi2-dphy0: No link between dphy and sensor
[ 1.184406] rkisp-vir0: update sensor failed
Any idea?
Thanks.