ARM: dts: rv1109: add 38x38 v10 emmc support imx307

This board is the same as rv1126-38x38-v10-emmc.dts,
except camera sensor.

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: Ib5e368b354b1cd04387db51e038cbc4f539ebf3e
This commit is contained in:
Weiwen Chen
2020-09-21 22:44:23 +08:00
committed by Tao Huang
parent 92e8d9a625
commit bd5f5c8282
2 changed files with 107 additions and 0 deletions

View File

@@ -843,6 +843,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
rv1108-evb.dtb \
rv1109-38x38-v10-emmc.dtb \
rv1109-38x38-v10-emmc-imx307.dtb \
rv1109-38-v10-spi-nand.dtb \
rv1109-ai-cam-ddr3-v1.dtb \
rv1109-evb-ddr3-v12-facial-gate.dtb \

View File

@@ -0,0 +1,106 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2020 Rockchip Electronics Co., Ltd.
*/
/dts-v1/;
#include "rv1126-38x38-v10-emmc.dts"
/ {
model = "Rockchip RV1109 38x38 V10 EMMC IMX307 DDR3 Board";
compatible = "rockchip,rv1109-38x38-v10-emmc-imx307", "rockchip,rv1109";
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_aloop.index=7";
};
};
&csi_dphy0 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_in_ucam2: endpoint@1 {
reg = <1>;
remote-endpoint = <&ucam_out2>;
data-lanes = <4>;
bus-type = <3>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
csidphy0_out: endpoint@0 {
reg = <0>;
remote-endpoint = <&cif_mipi_in>;
data-lanes = <4>;
bus-type = <3>;
};
};
};
};
&mipi_csi2 {
status = "disabled";
};
&i2c1 {
status = "okay";
clock-frequency = <400000>;
/delete-node/ imx415@1a ;
imx307: imx307@1a {
compatible = "sony,imx307";
reg = <0x1a>;
clocks = <&cru CLK_MIPICSI_OUT>;
clock-names = "xvclk";
power-domains = <&power RV1126_PD_VI>;
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&mipicsi_clk0>;
avdd-supply = <&vcc3v3_sys>;
dovdd-supply = <&vcc_1v8>;
dvdd-supply = <&vcc_dvdd>;
reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "MTV4-IR-E-P";
rockchip,camera-module-lens-name = "40IRC-4MP-F16";
ir-cut = <&cam_ircut0>;
flash-leds = <&flash_ir>;
port {
ucam_out2: endpoint {
remote-endpoint = <&mipi_in_ucam2>;
data-lanes = <4>;
bus-type = <3>;
};
};
};
};
&isp_reserved {
size = <0x8000000>;
};
&rkcif_mipi_lvds {
status = "okay";
port {
/* MIPI CSI-2 endpoint */
cif_mipi_in: endpoint {
remote-endpoint = <&csidphy0_out>;
data-lanes = <4>;
bus-type = <3>;
};
};
};