Part Number: AM5728
I have a AM5728 custom board.
I use ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin
I use am57xx-beagle-x15-common.dtsi
This is the configuration I added in the device tree
..................................................................
&i2c5 {
status = "okay";
clock-frequency = <400000>;
ov5640: ov5640@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
clocks = <&vip3_gclk_mux>;
clock-names = "csi_mclk";
DOVDD-supply = <&ldo3_reg>;
AVDD-supply = <&ldousb_reg>;
DVDD-supply = <&ldo3_reg>;
powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
oscen-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
bufen-gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
mclk = <24000000>;
mclk_source = <0>;
csi_id = <0>;
status = "okay";
port {
ov5640_ep: endpoint {
remote-endpoint = <&vin3a>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
};
};
};
};
&vip2 {
status = "okay";
};
&vin3a {
status = "okay";
endpoint {
slave-mode;
remote-endpoint = <&ov5640_ep>;
};
};
...............................................................................................................
This is my camera schematic
root@am57xx-evm:/# dmesg |grep ov56
[ 3.147247] ov5640 4-003c: failed to get xclk
[ 3.151642] ov5640: probe of 4-003c failed with error -2
root@am57xx-evm:/#
How do I configure the dts file? Is there any related documentation?