diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e5941911205f..8bc4c40a92e9 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -855,6 +855,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rv1126-ai-cam-ddr3-v1-spi-nand.dtb \ rv1126-ai-cam-plus.dtb \ rv1126-bat-ipc-v10.dtb \ + rv1126-bat-ipc-4k-v10.dtb \ rv1126-evb-ddr3-v10.dtb \ rv1126-evb-ddr3-v10-robot.dtb \ rv1126-evb-ddr3-v12.dtb \ diff --git a/arch/arm/boot/dts/rv1126-bat-ipc-4k-v10.dts b/arch/arm/boot/dts/rv1126-bat-ipc-4k-v10.dts new file mode 100644 index 000000000000..13443566f10d --- /dev/null +++ b/arch/arm/boot/dts/rv1126-bat-ipc-4k-v10.dts @@ -0,0 +1,145 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; +#include "rv1126-bat-ipc-v10.dts" + +/ { + model = "Rockchip RV1126 BAT IPC 4K V10 Board"; + compatible = "rockchip,rv1126-bat-ipc-4k-v10", "rockchip,rv1126"; +}; + +&csi_dphy0 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + mipi_in_ucam0: endpoint@1 { + reg = <1>; + remote-endpoint = <&ucam_out0>; + data-lanes = <1 2 3 4>; + }; + }; + port@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + csidphy0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&mipi_csi2_input>; + }; + }; + }; +}; + +&i2c1 { + status = "okay"; + + /delete-node/ sc210iot@32; + + imx415: imx415@1a { + compatible = "sony,imx415"; + reg = <0x1a>; + clocks = <&cru CLK_MIPICSI_OUT>; + clock-names = "xvclk"; + power-domains = <&power RV1126_PD_VI>; + avdd-supply = <&vcc2v8_avdd>; + dovdd-supply = <&vcc1v8_dovdd>; + dvdd-supply = <&vcc1v2_dvdd>; + pwd-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; + rockchip,camera-module-index = <1>; + rockchip,camera-module-facing = "front"; + rockchip,camera-module-name = "YT10092"; + rockchip,camera-module-lens-name = "IR0147-36IRC-8M-F20"; + ir-cut = <&cam_ircut0>; + port { + ucam_out0: endpoint { + remote-endpoint = <&mipi_in_ucam0>; + data-lanes = <1 2 3 4>; + }; + }; + }; +}; + +&isp_reserved { + size = <0x0AC00000>; +}; + +&mipi_csi2 { + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + mipi_csi2_input: endpoint@1 { + reg = <1>; + remote-endpoint = <&csidphy0_out>; + data-lanes = <1 2 3 4>; + }; + }; + + port@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + mipi_csi2_output: endpoint@0 { + reg = <0>; + remote-endpoint = <&cif_mipi_in>; + data-lanes = <1 2 3 4>; + }; + }; + }; +}; + +&rkcif { + status = "okay"; +}; + +&rkcif_mipi_lvds { + status = "okay"; + + port { + /* MIPI CSI-2 endpoint */ + cif_mipi_in: endpoint { + remote-endpoint = <&mipi_csi2_output>; + data-lanes = <1 2 3 4>; + }; + }; +}; + +&rkcif_mipi_lvds_sditf { + status = "okay"; + + port { + /* MIPI CSI-2 endpoint */ + mipi_lvds_sditf: endpoint { + remote-endpoint = <&isp_in>; + data-lanes = <1 2 3 4>; + }; + }; +}; + +&rkisp_thunderboot { + reg = <0x8000000 (128 * 0x00100000)>; +}; + +&isp_in { + remote-endpoint = <&mipi_lvds_sditf>; +};