mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
arm64: dts: rk3399-evb-ind-lpddr4-android: add camera configs
Change-Id: Ie0d008eb3ef839ff526c242e2412fbf879268659 Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
This commit is contained in:
committed by
Tao Huang
parent
1bbea0db47
commit
1e178b2030
@@ -159,11 +159,202 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
sgm3784: sgm3784@30 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "sgmicro,gsm3784";
|
||||
reg = <0x30>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
//enable-gpio = <&gpio2 RK_PB4 GPIO_ACTIVE_HIGH>;
|
||||
//strobe-gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
sgm3784_led0: led@0 {
|
||||
reg = <0x0>;
|
||||
led-max-microamp = <299200>;
|
||||
flash-max-microamp = <1122000>;
|
||||
flash-max-timeout-us = <1600000>;
|
||||
};
|
||||
|
||||
sgm3784_led1: led@1 {
|
||||
reg = <0x1>;
|
||||
led-max-microamp = <299200>;
|
||||
flash-max-microamp = <1122000>;
|
||||
flash-max-timeout-us = <1600000>;
|
||||
};
|
||||
};
|
||||
|
||||
vm149c: vm149c@0c {
|
||||
compatible = "silicon touch,vm149c";
|
||||
status = "okay";
|
||||
reg = <0x0c>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
};
|
||||
|
||||
gc2145: gc2145@3c{
|
||||
status = "okay";
|
||||
compatible = "galaxycore,gc2145";
|
||||
reg = <0x3c>;
|
||||
pinctrl-names = "rockchip,camera_default";
|
||||
pinctrl-0 = <&cif_clkout>;
|
||||
|
||||
clocks = <&cru SCLK_CIF_OUT>;
|
||||
clock-names = "xvclk";
|
||||
|
||||
/* avdd-supply = <>; */
|
||||
/* dvdd-supply = <>; */
|
||||
/* dovdd-supply = <>; */
|
||||
power-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>;
|
||||
pwdn-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "front";
|
||||
rockchip,camera-module-name = "CameraKing";
|
||||
rockchip,camera-module-lens-name = "Largan";
|
||||
port {
|
||||
gc2145_out: endpoint {
|
||||
remote-endpoint = <&dvp_in_fcam>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ov13850: ov13850@10 {
|
||||
compatible = "ovti,ov13850";
|
||||
status = "okay";
|
||||
reg = <0x10>;
|
||||
clocks = <&cru SCLK_CIF_OUT>;
|
||||
clock-names = "xvclk";
|
||||
/* avdd-supply = <>; */
|
||||
/* dvdd-supply = <>; */
|
||||
/* dovdd-supply = <>; */
|
||||
/* reset-gpios = <>; */
|
||||
reset-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
|
||||
pwdn-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "rockchip,camera_default";
|
||||
pinctrl-0 = <&cif_clkout>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "CMK-CT0116";
|
||||
rockchip,camera-module-lens-name = "Largan-50013A1";
|
||||
lens-focus = <&vm149c>;
|
||||
flash-leds = <&sgm3784_led0 &sgm3784_led1>;
|
||||
port {
|
||||
ucam_out0: endpoint {
|
||||
remote-endpoint = <&mipi_in_ucam0>;
|
||||
//remote-endpoint = <&mipi_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ov4689: ov4689@36 {
|
||||
compatible = "ovti,ov4689";
|
||||
status = "disabled";
|
||||
reg = <0x36>;
|
||||
clocks = <&cru SCLK_CIF_OUT>;
|
||||
clock-names = "xvclk";
|
||||
/* avdd-supply = <>; */
|
||||
/* dvdd-supply = <>; */
|
||||
/* dovdd-supply = <>; */
|
||||
/* reset-gpios = <>; */
|
||||
reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
|
||||
pwdn-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "rockchip,camera_default";
|
||||
pinctrl-0 = <&cif_clkout>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "front";
|
||||
rockchip,camera-module-name = "JSD3425-C1";
|
||||
rockchip,camera-module-lens-name = "JSD3425-C1";
|
||||
port {
|
||||
ucam_out1: endpoint {
|
||||
//remote-endpoint = <&mipi_in_ucam0>;
|
||||
remote-endpoint = <&mipi_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&i2s2 {
|
||||
#sound-dai-cells = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&isp0_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&isp1_mmu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mipi_dphy_rx0 {
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy_rx0_out: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&isp0_mipi_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&mipi_dphy_tx1rx1 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mipi_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&ucam_out1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy_tx1rx1_out: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&isp1_mipi_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&hdmi_sound {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -181,6 +372,39 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rkisp1_0 {
|
||||
status = "okay";
|
||||
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
isp0_mipi_in: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&dphy_rx0_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rkisp1_1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&cif_clkout &isp_dvp_d0d7>;
|
||||
port {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
isp1_mipi_in: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&dphy_tx1rx1_out>;
|
||||
};
|
||||
dvp_in_fcam: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&gc2145_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* if enable dp_sound, should disable spdif_sound and spdif_out
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user