1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd 4 */ 5 6/dts-v1/; 7#include "rk3399-tve1030g.dtsi" 8 9/ { 10 compatible = "rockchip,rk3399-tve1030g-avb", "rockchip,rk3399"; 11}; 12 13&i2c1 { 14 status = "okay"; 15 16 vm149c: vm149c@0c { 17 compatible = "silicon touch,vm149c"; 18 status = "okay"; 19 reg = <0x0c>; 20 rockchip,camera-module-index = <0>; 21 rockchip,camera-module-facing = "back"; 22 }; 23 24 ov13850: ov13850@10 { 25 compatible = "ovti,ov13850"; 26 status = "disabled"; 27 reg = <0x10>; 28 clocks = <&cru SCLK_CIF_OUT>; 29 clock-names = "xvclk"; 30 /* avdd-supply = <>; */ 31 /* dvdd-supply = <>; */ 32 /* dovdd-supply = <>; */ 33 /* reset-gpios = <>; */ 34 reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; 35 pwdn-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; 36 pinctrl-names = "rockchip,camera_default"; 37 pinctrl-0 = <&cif_clkout>; 38 rockchip,camera-module-index = <0>; 39 rockchip,camera-module-facing = "back"; 40 rockchip,camera-module-name = "CMK-CT0116"; 41 rockchip,camera-module-lens-name = "Largan-50013A1"; 42 lens-focus = <&vm149c>; 43 port { 44 ucam_out0: endpoint { 45 remote-endpoint = <&mipi_in_ucam0>; 46 //remote-endpoint = <&mipi_in_ucam1>; 47 data-lanes = <1 2>; 48 }; 49 }; 50 }; 51 52 gc2355: gc2355@3c { 53 status = "okay"; 54 compatible = "galaxycore,gc2355"; 55 reg = <0x3c>; 56 clocks = <&cru SCLK_CIF_OUT>; 57 clock-names = "xvclk"; 58 /* avdd-supply = <>; */ 59 /* dvdd-supply = <>; */ 60 /* dovdd-supply = <>; */ 61 /* reset-gpios = <>; */ 62 pwdn-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; 63 pinctrl-names = "rockchip,camera_default"; 64 pinctrl-0 = <&cif_clkout>; 65 rockchip,camera-module-index = <1>; 66 rockchip,camera-module-facing = "front"; 67 rockchip,camera-module-name = "CMK-CW2392"; 68 rockchip,camera-module-lens-name = "M206A-201"; 69 port { 70 ucam_out1: endpoint { 71 //remote-endpoint = <&mipi_in_ucam0>; 72 remote-endpoint = <&mipi_in_ucam1>; 73 data-lanes = <1>; 74 }; 75 }; 76 }; 77}; 78 79&mipi_dphy_rx0 { 80 status = "disabled"; 81 82 ports { 83 #address-cells = <1>; 84 #size-cells = <0>; 85 86 port@0 { 87 reg = <0>; 88 #address-cells = <1>; 89 #size-cells = <0>; 90 91 mipi_in_ucam0: endpoint@1 { 92 reg = <1>; 93 remote-endpoint = <&ucam_out0>; 94 data-lanes = <1 2>; 95 }; 96 }; 97 98 port@1 { 99 reg = <1>; 100 #address-cells = <1>; 101 #size-cells = <0>; 102 103 dphy_rx0_out: endpoint@0 { 104 reg = <0>; 105 remote-endpoint = <&isp0_mipi_in>; 106 }; 107 }; 108 }; 109}; 110 111&mipi_dphy_tx1rx1 { 112 status = "okay"; 113 114 ports { 115 #address-cells = <1>; 116 #size-cells = <0>; 117 118 port@0 { 119 reg = <0>; 120 #address-cells = <1>; 121 #size-cells = <0>; 122 123 mipi_in_ucam1: endpoint@1 { 124 reg = <1>; 125 remote-endpoint = <&ucam_out1>; 126 data-lanes = <1>; 127 }; 128 }; 129 130 port@1 { 131 reg = <1>; 132 #address-cells = <1>; 133 #size-cells = <0>; 134 135 dphy_tx1rx1_out: endpoint@0 { 136 reg = <0>; 137 remote-endpoint = <&isp1_mipi_in>; 138 }; 139 }; 140 }; 141}; 142 143&rkisp1_0 { 144 status = "disabled"; 145 146 port { 147 #address-cells = <1>; 148 #size-cells = <0>; 149 150 isp0_mipi_in: endpoint@0 { 151 reg = <0>; 152 remote-endpoint = <&dphy_rx0_out>; 153 }; 154 }; 155}; 156 157&rkisp1_1 { 158 status = "okay"; 159 160 port { 161 #address-cells = <1>; 162 #size-cells = <0>; 163 164 isp1_mipi_in: endpoint@0 { 165 reg = <0>; 166 remote-endpoint = <&dphy_tx1rx1_out>; 167 }; 168 }; 169}; 170 171