arm64: dts: rockchip: Update camera node for opi3b/opicm4
This commit is contained in:
parent
5d241654fa
commit
41b50f1388
|
|
@ -124,8 +124,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
|
|||
rk356x-pwm11-m1.dtbo \
|
||||
rk356x-pwm15-m1.dtbo \
|
||||
rk356x-pwm7.dtbo \
|
||||
rk356x-ov5647-c1.dtbo \
|
||||
rk356x-ov5647-c2.dtbo \
|
||||
rk356x-cam1.dtbo \
|
||||
rk356x-cam2.dtbo \
|
||||
rk3399-lcd1.dtbo \
|
||||
rk3399-lcd2.dtbo \
|
||||
rk3399-camera1.dtbo \
|
||||
|
|
|
|||
|
|
@ -66,4 +66,12 @@
|
|||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
fragment@8 {
|
||||
target = <&imx219>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -107,4 +107,12 @@
|
|||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
fragment@13 {
|
||||
target = <&imx219_1>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -191,10 +191,10 @@
|
|||
regulator-boot-on;
|
||||
};
|
||||
|
||||
ext_cam_ov5647_clk: external-camera-ov5647-clock {
|
||||
ext_cam_clk_25m: external-camera-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <25000000>;
|
||||
clock-output-names = "ext_cam_ov5647_clk";
|
||||
clock-output-names = "ext_cam_clk_25m";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
|
|
@ -1089,16 +1089,35 @@
|
|||
status = "disabled";
|
||||
compatible = "ovti,ov5647";
|
||||
reg = <0x36>;
|
||||
clocks = <&ext_cam_ov5647_clk>;
|
||||
clock-names = "ext_cam_ov5647_clk";
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "LMM248";
|
||||
rockchip,camera-module-lens-name = "YXC-M804A2";
|
||||
rockchip,camera-module-name = "rpi-camera-v1";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
ov5647_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in>;
|
||||
remote-endpoint = <&dphy1_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imx219: imx219@10 {
|
||||
status = "disabled";
|
||||
compatible = "sony,imx219";
|
||||
reg = <0x10>;
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v2";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
imx219_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
|
@ -1147,11 +1166,17 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy1_in: endpoint@1 {
|
||||
reg = <1>;
|
||||
dphy1_in_ucam0: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&ov5647_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
dphy1_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&imx219_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
|
|
|
|||
|
|
@ -191,10 +191,10 @@
|
|||
regulator-boot-on;
|
||||
};
|
||||
|
||||
ext_cam_ov5647_clk: external-camera-ov5647-clock {
|
||||
ext_cam_clk_25m: external-camera-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <25000000>;
|
||||
clock-output-names = "ext_cam_ov5647_clk";
|
||||
clock-output-names = "ext_cam_clk_25m";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
|
|
@ -1081,16 +1081,35 @@
|
|||
status = "disabled";
|
||||
compatible = "ovti,ov5647";
|
||||
reg = <0x36>;
|
||||
clocks = <&ext_cam_ov5647_clk>;
|
||||
clock-names = "ext_cam_ov5647_clk";
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "LMM248";
|
||||
rockchip,camera-module-lens-name = "YXC-M804A2";
|
||||
rockchip,camera-module-name = "rpi-camera-v1";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
ov5647_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in>;
|
||||
remote-endpoint = <&dphy1_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imx219: imx219@10 {
|
||||
status = "disabled";
|
||||
compatible = "sony,imx219";
|
||||
reg = <0x10>;
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v2";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
imx219_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
|
@ -1139,11 +1158,17 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy1_in: endpoint@1 {
|
||||
reg = <1>;
|
||||
dphy1_in_ucam0: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&ov5647_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
dphy1_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&imx219_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
|
|
@ -1155,6 +1180,7 @@
|
|||
reg = <1>;
|
||||
remote-endpoint = <&isp0_in>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -187,10 +187,10 @@
|
|||
regulator-boot-on;
|
||||
};
|
||||
|
||||
ext_cam_ov5647_clk: external-camera-ov5647-clock {
|
||||
ext_cam_clk_25m: external-camera-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <25000000>;
|
||||
clock-output-names = "ext_cam_ov5647_clk";
|
||||
clock-output-names = "ext_cam_clk_25m";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
|
|
@ -1068,18 +1068,35 @@
|
|||
status = "disabled";
|
||||
compatible = "ovti,ov5647";
|
||||
reg = <0x36>;
|
||||
clocks = <&ext_cam_ov5647_clk>;
|
||||
clock-names = "ext_cam_ov5647_clk";
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "TongJu";
|
||||
rockchip,camera-module-lens-name = "CHT842-MD";
|
||||
//rockchip,camera-module-name = "THDS11073";
|
||||
//rockchip,camera-module-lens-name = "Largan-40122a1";
|
||||
rockchip,camera-module-name = "rpi-camera-v1";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
ov5647_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in>;
|
||||
remote-endpoint = <&dphy1_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imx219: imx219@10 {
|
||||
status = "disabled";
|
||||
compatible = "sony,imx219";
|
||||
reg = <0x10>;
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v2";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
imx219_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
|
@ -1116,19 +1133,37 @@
|
|||
compatible = "ovti,ov5647";
|
||||
reg = <0x36>;
|
||||
|
||||
clocks = <&ext_cam_ov5647_clk>;
|
||||
clock-names = "ext_cam_ov5647_clk";
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "front";
|
||||
rockchip,camera-module-name = "TongJu";
|
||||
rockchip,camera-module-lens-name = "CHT842-MD";
|
||||
//rockchip,camera-module-name = "THDS11073";
|
||||
//rockchip,camera-module-lens-name = "Largan-40122a1";
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v1";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
|
||||
port {
|
||||
ov5647_out1: endpoint {
|
||||
remote-endpoint = <&dphy2_in>;
|
||||
remote-endpoint = <&dphy2_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imx219_1: imx219@10 {
|
||||
status = "disabled";
|
||||
compatible = "sony,imx219";
|
||||
reg = <0x10>;
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v2";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
|
||||
port {
|
||||
imx219_out1: endpoint {
|
||||
remote-endpoint = <&dphy2_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
|
@ -1173,11 +1208,17 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy1_in: endpoint@1 {
|
||||
reg = <1>;
|
||||
dphy1_in_ucam0: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&ov5647_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
dphy1_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&imx219_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
|
|
@ -1209,11 +1250,17 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy2_in: endpoint@1 {
|
||||
reg = <1>;
|
||||
dphy2_in_ucam0: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&ov5647_out1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
dphy2_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&imx219_out1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
|
|
|
|||
|
|
@ -187,10 +187,10 @@
|
|||
regulator-boot-on;
|
||||
};
|
||||
|
||||
ext_cam_ov5647_clk: external-camera-ov5647-clock {
|
||||
ext_cam_clk_25m: external-camera-clock {
|
||||
compatible = "fixed-clock";
|
||||
clock-frequency = <25000000>;
|
||||
clock-output-names = "ext_cam_ov5647_clk";
|
||||
clock-output-names = "ext_cam_clk_25m";
|
||||
#clock-cells = <0>;
|
||||
};
|
||||
|
||||
|
|
@ -1059,18 +1059,35 @@
|
|||
status = "disabled";
|
||||
compatible = "ovti,ov5647";
|
||||
reg = <0x36>;
|
||||
clocks = <&ext_cam_ov5647_clk>;
|
||||
clock-names = "ext_cam_ov5647_clk";
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "TongJu";
|
||||
rockchip,camera-module-lens-name = "CHT842-MD";
|
||||
//rockchip,camera-module-name = "THDS11073";
|
||||
//rockchip,camera-module-lens-name = "Largan-40122a1";
|
||||
rockchip,camera-module-name = "rpi-camera-v1";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
ov5647_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in>;
|
||||
remote-endpoint = <&dphy1_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imx219: imx219@10 {
|
||||
status = "disabled";
|
||||
compatible = "sony,imx219";
|
||||
reg = <0x10>;
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <0>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v2";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
port {
|
||||
imx219_out: endpoint {
|
||||
remote-endpoint = <&dphy1_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
|
@ -1107,19 +1124,37 @@
|
|||
compatible = "ovti,ov5647";
|
||||
reg = <0x36>;
|
||||
|
||||
clocks = <&ext_cam_ov5647_clk>;
|
||||
clock-names = "ext_cam_ov5647_clk";
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "front";
|
||||
rockchip,camera-module-name = "TongJu";
|
||||
rockchip,camera-module-lens-name = "CHT842-MD";
|
||||
//rockchip,camera-module-name = "THDS11073";
|
||||
//rockchip,camera-module-lens-name = "Largan-40122a1";
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v1";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
|
||||
port {
|
||||
ov5647_out1: endpoint {
|
||||
remote-endpoint = <&dphy2_in>;
|
||||
remote-endpoint = <&dphy2_in_ucam0>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imx219_1: imx219@10 {
|
||||
status = "disabled";
|
||||
compatible = "sony,imx219";
|
||||
reg = <0x10>;
|
||||
clocks = <&ext_cam_clk_25m>;
|
||||
clock-names = "ext_cam_clk_25m";
|
||||
pwdn-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
rockchip,camera-module-index = <1>;
|
||||
rockchip,camera-module-facing = "back";
|
||||
rockchip,camera-module-name = "rpi-camera-v2";
|
||||
rockchip,camera-module-lens-name = "default";
|
||||
|
||||
port {
|
||||
imx219_out1: endpoint {
|
||||
remote-endpoint = <&dphy2_in_ucam1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
|
@ -1164,11 +1199,17 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy1_in: endpoint@1 {
|
||||
reg = <1>;
|
||||
dphy1_in_ucam0: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&ov5647_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
dphy1_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&imx219_out>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
|
|
@ -1200,11 +1241,17 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dphy2_in: endpoint@1 {
|
||||
reg = <1>;
|
||||
dphy2_in_ucam0: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&ov5647_out1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
|
||||
dphy2_in_ucam1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&imx219_out1>;
|
||||
data-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue