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 {undefined
rockchip,camera-modules-attached = ;
status = "okay";
};
&isp0 {undefined
status = "okay";
};
&isp0_mmu {undefined
status = "okay";
};
&pinctrl {undefined
cam_mclk {undefined
cam_default_pins: cam-default-pins {undefined
rockchip,pins = <2 11 RK_FUNC_3 &pcfg_pull_none>;
};
};
};
&i2c1 {undefined
status = "okay";
i2c-scl-rising-time-ns = <300>;
i2c-scl-falling-time-ns = <15>;
clock-frequency=<400000>;
afc0: af-controller@0 {undefined
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 {undefined
status = "okay";
compatible = "sony,imx258-v4l2-i2c-subdev";
reg = <0x1a>;
device_type = "v4l2-i2c-subdev";
clocks = ;
clock-names = "clk_cif_out";
pinctrl-names = "default";
pinctrl-0 = ;
rockchip,pd-gpio = ;
rockchip,rst-gpio = ;
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 = ;
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>;
};
};
};
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 {undefined
rockchip,camera-modules-attached = ;
status = "okay";
};
&isp0 {undefined
status = "okay";
};
&isp0_mmu {undefined
status = "okay";
};
&pinctrl {undefined
cam_mclk {undefined
cam_default_pins: cam-default-pins {undefined
rockchip,pins = <2 11 RK_FUNC_3 &pcfg_pull_none>;
};
};
};
&i2c1 {undefined
status = "okay";
i2c-scl-rising-time-ns = <300>;
i2c-scl-falling-time-ns = <15>;
clock-frequency=<400000>;
afc0: af-controller@0 {undefined
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 {undefined
status = "okay";
compatible = "sony,imx258-v4l2-i2c-subdev";
reg = <0x1a>;
device_type = "v4l2-i2c-subdev";
clocks = ;
clock-names = "clk_cif_out";
pinctrl-names = "default";
pinctrl-0 = ;
rockchip,pd-gpio = ;
rockchip,rst-gpio = ;
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 = ;
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>;
};
};
};
举报