xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/rv1109-38x38-v10-emmc.dts (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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 DDR3 Board";
12	compatible = "rockchip,rv1109-38x38-v10-emmc", "rockchip,rv1109";
13
14	chosen {
15		bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=squashfs 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 = <1 2 3 4>;
35			};
36		};
37		port@1 {
38			reg = <1>;
39			#address-cells = <1>;
40			#size-cells = <0>;
41
42			csidphy0_out: endpoint@0 {
43				reg = <0>;
44				remote-endpoint = <&mipi_csi2_input>;
45			};
46		};
47	};
48};
49
50&i2c1 {
51	status = "okay";
52	clock-frequency = <400000>;
53
54	/delete-node/ imx415@1a ;
55
56	imx335: imx335@1a {
57		compatible = "sony,imx335";
58		reg = <0x1a>;
59		clocks = <&cru CLK_MIPICSI_OUT>;
60		clock-names = "xvclk";
61		power-domains = <&power RV1126_PD_VI>;
62		pinctrl-names = "rockchip,camera_default";
63		pinctrl-0 = <&mipicsi_clk0>;
64		avdd-supply = <&vcc3v3_sys>;
65		dovdd-supply = <&vcc_1v8>;
66		dvdd-supply = <&vcc_dvdd>;
67		reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>;
68		rockchip,camera-module-index = <1>;
69		rockchip,camera-module-facing = "front";
70		rockchip,camera-module-name = "MTV4-IR-E-P";
71		rockchip,camera-module-lens-name = "40IRC-4MP-F16";
72		ir-cut = <&cam_ircut0>;
73		flash-leds = <&flash_ir>;
74		port {
75			ucam_out2: endpoint {
76				remote-endpoint = <&mipi_in_ucam2>;
77				data-lanes = <1 2 3 4>;
78			};
79		};
80	};
81};
82