arm: dts: rk3126-bnd-d708.dts: add cif and sensor
Add new file for rk3126-m708-cif-sensor.dtsi Change-Id: I882084dc84afbc43398fb6eb41eb09a712b645bf Signed-off-by: Peng Zhou <benjo.zhou@rock-chips.com>
This commit is contained in:
parent
d67947186e
commit
465219ff46
2 changed files with 47 additions and 0 deletions
|
|
@ -46,6 +46,7 @@
|
|||
#include <dt-bindings/sensor-dev.h>
|
||||
#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>;
|
||||
};
|
||||
|
|
|
|||
38
arch/arm/boot/dts/rk3126-m708-cif-sensor.dtsi
Normal file
38
arch/arm/boot/dts/rk3126-m708-cif-sensor.dtsi
Normal file
|
|
@ -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 = <gc2145_PWRDN_ACTIVE>;
|
||||
mir = <0>;
|
||||
flash_attach = <0>;
|
||||
resolution = <gc2145_FULL_RESOLUTION>;
|
||||
powerup_sequence = <gc2145_PWRSEQ>;
|
||||
orientation = <180>;
|
||||
i2c_add = <gc2145_I2C_ADDR>;
|
||||
i2c_chl = <0>;
|
||||
cif_chl = <0>;
|
||||
mclk_rate = <24>;
|
||||
};
|
||||
|
||||
gc0329_f {
|
||||
is_front = <1>;
|
||||
powerdown-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
pwdn_active = <gc0329_PWRDN_ACTIVE>;
|
||||
mir = <0>;
|
||||
flash_attach = <0>;
|
||||
resolution = <gc0329_FULL_RESOLUTION>;
|
||||
powerup_sequence = <gc0329_PWRSEQ>;
|
||||
orientation = <0>;
|
||||
i2c_add = <gc0329_I2C_ADDR>;
|
||||
i2c_chl = <0>;
|
||||
cif_chl = <0>;
|
||||
mclk_rate = <24>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue