diff --git a/arch/arm/boot/dts/rk3126-bnd-d708.dts b/arch/arm/boot/dts/rk3126-bnd-d708.dts index 29d7a35e6417..2be1afade31a 100644 --- a/arch/arm/boot/dts/rk3126-bnd-d708.dts +++ b/arch/arm/boot/dts/rk3126-bnd-d708.dts @@ -46,6 +46,7 @@ #include #include "rk3126.dtsi" #include "rk312x-android.dtsi" +#include "rk3126-m708-cif-sensor.dtsi" / { model = "Rockchip RK3126 bnd-d708 board"; @@ -160,6 +161,14 @@ }; }; +&cif { + status = "okay"; +}; + +&cif_sensor { + status = "okay"; +}; + &cpu0 { cpu-supply = <&vdd_arm>; }; diff --git a/arch/arm/boot/dts/rk3126-m708-cif-sensor.dtsi b/arch/arm/boot/dts/rk3126-m708-cif-sensor.dtsi new file mode 100644 index 000000000000..d38a0a315ead --- /dev/null +++ b/arch/arm/boot/dts/rk3126-m708-cif-sensor.dtsi @@ -0,0 +1,38 @@ +#include "../../../../drivers/soc/rockchip/rk_camera_sensor_info.h" +/{ + cif_sensor: cif_sensor { + compatible = "rockchip,sensor"; + status = "disabled"; + + gc2145_b { + is_front = <0>; + powerdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; + pwdn_active = ; + mir = <0>; + flash_attach = <0>; + resolution = ; + powerup_sequence = ; + orientation = <180>; + i2c_add = ; + i2c_chl = <0>; + cif_chl = <0>; + mclk_rate = <24>; + }; + + gc0329_f { + is_front = <1>; + powerdown-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>; + pwdn_active = ; + mir = <0>; + flash_attach = <0>; + resolution = ; + powerup_sequence = ; + orientation = <0>; + i2c_add = ; + i2c_chl = <0>; + cif_chl = <0>; + mclk_rate = <24>; + }; + }; +}; +