1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. 4 */ 5 6/dts-v1/; 7#include "rv1109.dtsi" 8#include "rv1126-ai-cam.dtsi" 9 10/ { 11 model = "Rockchip RV1109 AI CAMERA DDR3L Board"; 12 compatible = "rockchip,rv1109-ai-cam-ddr3L-v1", "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 gpio-leds { 19 compatible = "gpio-leds"; 20 21 work-led { 22 gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>; 23 linux,default-trigger = "timer"; 24 }; 25 }; 26}; 27 28&csi_dphy0 { 29 status = "okay"; 30 31 ports { 32 port@0 { 33 reg = <0>; 34 #address-cells = <1>; 35 #size-cells = <0>; 36 37 mipi_in_ucam0: endpoint@1 { 38 reg = <1>; 39 remote-endpoint = <&ucam_out0>; 40 data-lanes = <1 2>; 41 }; 42 }; 43 }; 44}; 45 46&i2c1 { 47 status = "okay"; 48 clock-frequency = <400000>; 49 50 gc4c33: gc4c33@29 { 51 compatible = "galaxycore,gc4c33"; 52 reg = <0x29>; 53 clocks = <&cru CLK_MIPICSI_OUT>; 54 clock-names = "xvclk"; 55 power-domains = <&power RV1126_PD_VI>; 56 pinctrl-names = "rockchip,camera_default"; 57 pinctrl-0 = <&mipicsi_clk0>; 58 pwren-gpios= <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>; 59 pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>; 60 reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 61 rockchip,camera-module-index = <1>; 62 rockchip,camera-module-facing = "front"; 63 rockchip,camera-module-name = "PCORW0009A"; 64 rockchip,camera-module-lens-name = "4mm-4M"; 65 // NO_HDR:0 HDR_X2:5 HDR_X3:6 66 rockchip,camera-hdr-mode = <0>; 67 port { 68 ucam_out0: endpoint { 69 remote-endpoint = <&mipi_in_ucam0>; 70 data-lanes = <1 2>; 71 }; 72 }; 73 }; 74}; 75