1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2020 Rockchip Electronics Co., Ltd. 4 */ 5 6/dts-v1/; 7 8#include "rv1126-38x38-v10-emmc.dts" 9 10/ { 11 model = "Rockchip RV1109 38x38 V10 EMMC IMX307 DDR3 Board"; 12 compatible = "rockchip,rv1109-38x38-v10-emmc-imx307", "rockchip,rv1109"; 13 14 chosen { 15 bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_aloop.index=7"; 16 }; 17 18}; 19 20&csi_dphy0 { 21 status = "okay"; 22 23 ports { 24 #address-cells = <1>; 25 #size-cells = <0>; 26 port@0 { 27 reg = <0>; 28 #address-cells = <1>; 29 #size-cells = <0>; 30 31 mipi_in_ucam2: endpoint@1 { 32 reg = <1>; 33 remote-endpoint = <&ucam_out2>; 34 data-lanes = <4>; 35 bus-type = <3>; 36 }; 37 }; 38 port@1 { 39 reg = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 42 43 csidphy0_out: endpoint@0 { 44 reg = <0>; 45 remote-endpoint = <&cif_mipi_in>; 46 data-lanes = <4>; 47 bus-type = <3>; 48 }; 49 }; 50 }; 51}; 52 53&mipi_csi2 { 54 status = "disabled"; 55}; 56 57&i2c1 { 58 status = "okay"; 59 clock-frequency = <400000>; 60 61 /delete-node/ imx415@1a ; 62 63 imx307: imx307@1a { 64 compatible = "sony,imx307"; 65 reg = <0x1a>; 66 clocks = <&cru CLK_MIPICSI_OUT>; 67 clock-names = "xvclk"; 68 power-domains = <&power RV1126_PD_VI>; 69 pinctrl-names = "rockchip,camera_default"; 70 pinctrl-0 = <&mipicsi_clk0>; 71 avdd-supply = <&vcc3v3_sys>; 72 dovdd-supply = <&vcc_1v8>; 73 dvdd-supply = <&vcc_dvdd>; 74 reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 75 rockchip,camera-module-index = <1>; 76 rockchip,camera-module-facing = "front"; 77 rockchip,camera-module-name = "MTV4-IR-E-P"; 78 rockchip,camera-module-lens-name = "40IRC-4MP-F16"; 79 ir-cut = <&cam_ircut0>; 80 flash-leds = <&flash_ir>; 81 port { 82 ucam_out2: endpoint { 83 remote-endpoint = <&mipi_in_ucam2>; 84 data-lanes = <4>; 85 bus-type = <3>; 86 }; 87 }; 88 }; 89}; 90 91&isp_reserved { 92 size = <0x8000000>; 93}; 94 95&rkcif_mipi_lvds { 96 status = "okay"; 97 98 port { 99 /* MIPI CSI-2 endpoint */ 100 cif_mipi_in: endpoint { 101 remote-endpoint = <&csidphy0_out>; 102 data-lanes = <4>; 103 bus-type = <3>; 104 }; 105 }; 106}; 107