From: dalong.zhang Date: Sun, 9 Oct 2016 08:58:20 +0000 (+0800) Subject: ARM64: dts: rk3399-evb-rev3-android: enable isp0&isp1 X-Git-Tag: firefly_0821_release~1201 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7bfa33445481a2b4de97d22cf1a10dbb19aae229;p=firefly-linux-kernel-4.4.55.git ARM64: dts: rk3399-evb-rev3-android: enable isp0&isp1 Change-Id: Ib2d4f304e2fc4589d55e60d452571ed46e5dae4d Signed-off-by: dalong.zhang --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3-android.dts index 8a09650ba372..3b3ff7cd52b6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3-android.dts @@ -114,3 +114,55 @@ &spdif_sound { status = "okay"; }; + +&i2c0 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; + camera0: camera-module@10 { + status = "okay"; + compatible = "omnivision,ov8858-v4l2-i2c-subdev"; + reg = < 0x10 >; + device_type = "v4l2-i2c-subdev"; + + clocks = <&cru SCLK_CIF_OUT>; + clock-names = "clk_cif_out"; + + pinctrl-names = "rockchip,camera_default", "rockchip,camera_sleep"; + pinctrl-0 = <&cam0_default_pins>; + pinctrl-1 = <&cam0_sleep_pins>; + + rockchip,pd-gpio = <&gpio2 12 GPIO_ACTIVE_LOW>; + rockchip,camera-module-mclk-name = "clk_cif_out"; + rockchip,camera-module-facing = "back"; + rockchip,camera-module-name = "cmk-cb0695-fv1"; + rockchip,camera-module-len-name = "lg9569a2"; + rockchip,camera-module-fov-h = "66.0"; + rockchip,camera-module-fov-v = "50.1"; + rockchip,camera-module-orientation = <0>; + rockchip,camera-module-iq-flip = <0>; + rockchip,camera-module-iq-mirror = <0>; + rockchip,camera-module-flip = <0>; + rockchip,camera-module-mirror = <0>; + + /* resolution.w, resolution.h, defrect.left, defrect.top, defrect.w, defrect.h */ + rockchip,camera-module-defrect0 = <3264 2448 0 0 3264 2448>; + rockchip,camera-module-flash-support = <0>; + rockchip,camera-module-mipi-dphy-index = <0>; + }; +}; + +&isp0 { + status = "okay"; +}; + +&isp1 { + status = "okay"; +}; + +&cif_isp0 { + status = "okay"; + rockchip,camera-modules-attached = <&camera0>; +};