|
RK3399Pro-toybrick-prod, 1.8 linux固件,最新kernel
imx258摄像头 mipi0
按照:http://t.rock-chips.com/wiki.php?mod=view&id=49说明配置
按照:http://t.rock-chips.com/wiki.php?mod=view&id=26编译然后刷boot_linux.img
dtsi配置:
&cif_isp0 {
rockchip,camera-modules-attached = <&camera0>;
status = "okay";
};
&isp0 {
status = "okay";
};
&isp0_mmu {
status = "okay";
};
&pinctrl {
cam_mclk {
cam_default_pins: cam-default-pins {
rockchip,pins = <2 11 RK_FUNC_3 &pcfg_pull_none>;
};
};
};
&i2c1 {
status = "okay";
i2c-scl-rising-time-ns = <300>;
i2c-scl-falling-time-ns = <15>;
clock-frequency=<400000>;
afc0: af-controller@0 {
status = "okay";
compatible = "dongwoon,dw9714-v4l2-i2c-subdev";
reg = <0x0C>;
rockchip,vcm-start-current = <20>;
rockchip,vcm-rated-current = <76>;
rockchip,vcm-step-mode = <0>;
};
camera0: camera-module@1a {
status = "okay";
compatible = "sony,imx258-v4l2-i2c-subdev";
reg = <0x1a>;
device_type = "v4l2-i2c-subdev";
clocks = <&cru SCLK_CIF_OUT>;
clock-names = "clk_cif_out";
pinctrl-names = "default";
pinctrl-0 = <&cam_default_pins>;
rockchip,pd-gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_LOW>;
rockchip,rst-gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_LOW>;
rockchip,camera-module-mclk-name = "clk_cif_out";
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "MDG001";
rockchip,camera-module-len-name = "NONE";
rockchip,camera-module-fov-h = "80";
rockchip,camera-module-fov-v = "65";
rockchip,camera-module-orientation = <0>;
rockchip,camera-module-iq-flip = <0>;
rockchip,camera-module-iq-mirror = <0>;
rockchip,camera-module-flip = <1>;
rockchip,camera-module-mirror = <1>;
rockchip,af-ctrl = <&afc0>;
rockchip,camera-module-defrect0 = <2096 1560 0 0 2096 1560>;
rockchip,camera-module-defrect1 = <4208 3120 0 0 4208 3120>;
rockchip,camera-module-flash-support = <0>;
rockchip,camera-module-mipi-dphy-index = <0>;
as-master = <0>;
};
};
};
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|