75 lines
1.6 KiB
Plaintext
75 lines
1.6 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rv1109.dtsi"
|
|
#include "rv1126-ai-cam.dtsi"
|
|
|
|
/ {
|
|
model = "Rockchip RV1109 AI CAMERA DDR3L Board";
|
|
compatible = "rockchip,rv1109-ai-cam-ddr3L-v1", "rockchip,rv1109";
|
|
|
|
chosen {
|
|
bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_aloop.index=7";
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
work-led {
|
|
gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "timer";
|
|
};
|
|
};
|
|
};
|
|
|
|
&csi_dphy0 {
|
|
status = "okay";
|
|
|
|
ports {
|
|
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>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
|
|
gc4c33: gc4c33@29 {
|
|
compatible = "galaxycore,gc4c33";
|
|
reg = <0x29>;
|
|
clocks = <&cru CLK_MIPICSI_OUT>;
|
|
clock-names = "xvclk";
|
|
power-domains = <&power RV1126_PD_VI>;
|
|
pinctrl-names = "rockchip,camera_default";
|
|
pinctrl-0 = <&mipicsi_clk0>;
|
|
pwren-gpios= <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
|
|
pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
|
|
reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
|
|
rockchip,camera-module-index = <1>;
|
|
rockchip,camera-module-facing = "front";
|
|
rockchip,camera-module-name = "PCORW0009A";
|
|
rockchip,camera-module-lens-name = "4mm-4M";
|
|
// NO_HDR:0 HDR_X2:5 HDR_X3:6
|
|
rockchip,camera-hdr-mode = <0>;
|
|
port {
|
|
ucam_out0: endpoint {
|
|
remote-endpoint = <&mipi_in_ucam0>;
|
|
data-lanes = <1 2>;
|
|
};
|
|
};
|
|
};
|
|
};
|