mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
arm64: dts: rockchip: rk3568-evb6-ddr3-v10: support os04a10 ov5695 gc8034
Change-Id: I4904b1179293b90952ae6634903943e00ec1c400 Signed-off-by: ZiHan Huang <zack.huang@rock-chips.com>
This commit is contained in:
@@ -61,6 +61,17 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hp_det>;
|
||||
};
|
||||
|
||||
vcc_camera: vcc-camera-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&camera_pwr>;
|
||||
regulator-name = "vcc_camera";
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
};
|
||||
|
||||
&combphy0_us {
|
||||
@@ -165,12 +176,145 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
status = "okay";
|
||||
os04a10: os04a10@36 {
|
||||
compatible = "ovti,os04a10";
|
||||
reg = <0x36>;
|
||||
clocks = <&cru CLK_CAM0_OUT>;
|
||||
clock-names = "xvclk";
|
||||
power-domains = <&power RK3568_PD_VI>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cam_clkout0>;
|
||||
reset-gpios = <&gpio2 RK_PD5 GPIO_ACTIVE_LOW>;
|
||||
pwdn-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
/* power-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; */
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "CMK-OT1607-FV1";
|
||||
/* rockchip,camera-module-lens-name = "M12-4IR-4MP-F16"; */
|
||||
rockchip,camera-module-lens-name = "M12-40IRC-4MP-F16";
|
||||
port {
|
||||
ucam_out0: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam0>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
gc8034: gc8034@37 {
|
||||
compatible = "galaxycore,gc8034";
|
||||
reg = <0x37>;
|
||||
clocks = <&cru CLK_CAM0_OUT>;
|
||||
clock-names = "xvclk";
|
||||
power-domains = <&power RK3568_PD_VI>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cam_clkout0>;
|
||||
reset-gpios = <&gpio2 RK_PD5 GPIO_ACTIVE_LOW>;
|
||||
pwdn-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,grf = <&grf>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "RK-CMK-8M-2-v1";
|
||||
rockchip,camera-module-lens-name = "CK8401";
|
||||
port {
|
||||
gc8034_out: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam1>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
ov5695: ov5695@36 {
|
||||
status = "okay";
|
||||
compatible = "ovti,ov5695";
|
||||
reg = <0x36>;
|
||||
clocks = <&cru CLK_CAM0_OUT>;
|
||||
clock-names = "xvclk";
|
||||
power-domains = <&power RK3568_PD_VI>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cam_clkout0>;
|
||||
reset-gpios = <&gpio2 RK_PD5 GPIO_ACTIVE_LOW>;
|
||||
pwdn-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "TongJu";
|
||||
rockchip,camera-module-lens-name = "CHT842-MD";
|
||||
port {
|
||||
ov5695_out: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam2>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "disabled";
|
||||
|
||||
/delete-node/ mxc6655xa@15;
|
||||
};
|
||||
|
||||
&csi_dphy {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_in_ucam0: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&ucam_out0>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
mipi_in_ucam1: endpoint@2 {
|
||||
reg = <2>;
|
||||
remote-endpoint = <&gc8034_out>;
|
||||
data-lanes = <1 2 3 4>;
|
||||
};
|
||||
mipi_in_ucam2: endpoint@3 {
|
||||
reg = <3>;
|
||||
remote-endpoint = <&ov5695_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
csidphy_out: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&isp0_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkisp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkisp_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkisp_vir0 {
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
isp0_in: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&csidphy_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi_dphy0 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -204,6 +348,14 @@
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
cam {
|
||||
camera_pwr: camera-pwr {
|
||||
rockchip,pins =
|
||||
/* camera power en */
|
||||
<0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
headphone {
|
||||
hp_det: hp-det {
|
||||
rockchip,pins = <3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
|
||||
Reference in New Issue
Block a user