arm64: dts: rockchip: rk3568-evb6: add lt8619c configuration

Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I9bff56d2cddd1d8d16bac0ffd09bd48167dd58ed
This commit is contained in:
Dingxian Wen
2021-09-06 21:12:04 +08:00
committed by Tao Huang
parent 32d6a552bb
commit cd0c2a18da

View File

@@ -41,6 +41,13 @@
regulator-always-on;
regulator-boot-on;
};
ext_cam_clk: external-camera-clock {
compatible = "fixed-clock";
clock-frequency = <25000000>;
clock-output-names = "CLK_CAMERA_25MHZ";
#clock-cells = <0>;
};
};
&combphy0_us {
@@ -122,6 +129,31 @@
power-off-in-suspend = <1>;
layout = <4>;
};
lt8619c: lt8619c@32 {
compatible = "lontium,lt8619c";
reg = <0x32>;
clocks = <&ext_cam_clk>;
clock-names = "xvclk";
pinctrl-names = "default";
pinctrl-0 = <&cif_dvp_clk &cif_dvp_bus16 &cif_dvp_bus8>;
power-gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_LOW>;
plugin-det-gpios = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
hpd-output-inverted;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "LT8619C";
rockchip,camera-module-lens-name = "NC";
port {
lt8619c_out: endpoint {
remote-endpoint = <&cif_para_in>;
bus-width = <16>;
pclk-sample = <1>;
};
};
};
};
&i2c4 {
@@ -456,3 +488,26 @@
reg = <0x0>;
};
};
&rkcif_dvp {
status = "okay";
port {
/* Parallel bus endpoint */
cif_para_in: endpoint {
remote-endpoint = <&lt8619c_out>;
};
};
};
&rkcif {
status = "okay";
};
&rkcif_mmu {
status = "okay";
};
&rkcif_dvp_sditf {
status = "okay";
};