arm64: dts: rockchip: add module information

Change-Id: I733735839208f27eefe3f6340b407ad6e8798acb
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
This commit is contained in:
Hu Kejun
2019-02-20 11:45:05 +08:00
committed by Tao Huang
parent 93d46b0c1c
commit f36baf55ad
17 changed files with 105 additions and 6 deletions

View File

@@ -656,6 +656,10 @@
pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -385,6 +385,10 @@
pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -385,6 +385,10 @@
pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -655,6 +655,10 @@
pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -716,6 +716,10 @@
pwdn-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -152,6 +152,10 @@
pwdn-gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "TongJu";
rockchip,camera-module-lens-name = "CHT842-MD";
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -33,7 +33,7 @@
&i2c2 {
status = "okay";
gc0312@21 {
gc0312: gc0312@21 {
status = "okay";
compatible = "galaxycore,gc0312";
reg = <0x21>;
@@ -48,6 +48,10 @@
dvdd-supply = <&vcc1v8_dvp>;
pwdn-gpios = <&gpio2 14 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 {
gc0312_out: endpoint {
@@ -56,7 +60,7 @@
};
};
gc2145@3c {
gc2145: gc2145@3c {
status = "okay";
compatible = "galaxycore,gc2145";
reg = <0x3c>;
@@ -71,6 +75,10 @@
dvdd-supply = <&vcc1v8_dvp>;
pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "CameraKing";
rockchip,camera-module-lens-name = "Largan";
port {
gc2145_out: endpoint {

View File

@@ -713,6 +713,10 @@
/* hw changed the pwdn to gpio2_b5 */
pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "CMK-CW2392";
rockchip,camera-module-lens-name = "CMK-CW2392";
port {
gc2155_out: endpoint {
@@ -735,6 +739,11 @@
/*reset-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;*/
pwdn-gpios = <&gpio2 14 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 {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -439,6 +439,11 @@
/* hw changed the pwdn to gpio2_b5 */
pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "CMK-CW2392";
rockchip,camera-module-lens-name = "CMK-CW2392";
port {
gc2155_out: endpoint {
remote-endpoint = <&cif_in>;
@@ -460,6 +465,11 @@
/*reset-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;*/
pwdn-gpios = <&gpio2 14 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 {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -434,6 +434,11 @@
/* hw changed the pwdn to gpio2_b5 */
pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "CMK-CW2392";
rockchip,camera-module-lens-name = "CMK-CW2392";
port {
gc2155_out: endpoint {
remote-endpoint = <&cif_in>;
@@ -455,6 +460,11 @@
/*reset-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;*/
pwdn-gpios = <&gpio2 14 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 {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;

View File

@@ -41,7 +41,7 @@
&i2c3 {
status = "okay";
gc2145@3c {
gc2145: gc2145@3c {
compatible = "galaxycore,gc2145";
reg = <0x3c>;
clocks = <&cru SCLK_VIP_OUT>;
@@ -51,6 +51,10 @@
pinctrl-0 = <&isp_dvp_d2d9 &isp_dvp_d10d11 &cif_clkout>;
power-gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio1 RK_PB4 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 = <&isp_dvp_in>;
@@ -58,7 +62,7 @@
};
};
ov8858@36 {
ov8858: ov8858@36 {
compatible = "ovti,ov8858";
reg = <0x36>;
clocks = <&cru SCLK_VIP_OUT>;
@@ -67,8 +71,10 @@
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&cif_clkout>;
rockchip,camera-module-name = "NC";
rockchip,camera-module-lens-name = "LG-9569A2";
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "back";
rockchip,camera-module-name = "CameraKing";
rockchip,camera-module-lens-name = "Largan-9569A2";
power-gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
port {

View File

@@ -205,6 +205,10 @@
pwdn-gpios = <&gpio1 4 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";
port {
ucam_out0: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
@@ -227,6 +231,10 @@
pwdn-gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; // conflict with backlight
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>;

View File

@@ -400,6 +400,10 @@
pwdn-gpios = <&gpio1 4 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";
port {
ucam_out0: endpoint {

View File

@@ -384,6 +384,10 @@
pwdn-gpios = <&gpio1 4 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";
port {
ucam_out0: endpoint {

View File

@@ -50,6 +50,10 @@
pwdn-gpios = <&gpio1 4 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";
port {
ucam_out0: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
@@ -72,6 +76,10 @@
pwdn-gpios = <&gpio2 12 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 = "CMK-CW2392";
rockchip,camera-module-lens-name = "M206A-201";
port {
ucam_out1: endpoint {
//remote-endpoint = <&mipi_in_ucam0>;

View File

@@ -714,6 +714,10 @@
pwdn-gpios = <&gpio4 25 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";
port {
ucam_out0: endpoint {

View File

@@ -719,6 +719,10 @@
pwdn-gpios = <&gpio4 25 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";
port {
ucam_out0: endpoint {