| ||
ov5648: ov5648@36 { status = "okay"; compatible = "ovti,ov5648"; reg = <0x36>; clocks = <&cru CLK_CIF_OUT>; clock-names = "xvclk"; power-domains = <&power RK3568_PD_VI>; pinctrl-names = "default"; pinctrl-0 = <&cif_clk>; reset-gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; pwdn-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; rockchip,camera-module-index = <0>; + rockchip,camera-module-facing = "back";//back:后置 front:前置 rockchip,camera-module-name = "LMM248"; rockchip,camera-module-lens-name = "YXC-M804A2"; };
# make ARCH=arm64 设备树文件.img -j4
</Profiles> <Profiles cameraId="0" name="ov5648" moduleId="m00"> <Supported_hardware> <hwType value="SUPPORTED_HW_RKISP1"/> <Supported_hardware> <Android_metadata> <!-- Android static metadata only --> <!-- Color Correction --> <colorCorrection.availableAberrationModes value="OFF"/> <!-- Control --> <control.availableModes value="AUTO"/> <control.aeAvailableAntibandingModes value="OFF,50HZ,60Hz,AUTO"/> ...... +<lens.facing value="BACK"/> <!-- BACK:后置 FRONT:前置-->
# make -j4