mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
159 lines
3.0 KiB
Diff
159 lines
3.0 KiB
Diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3ab-cameras.dtsi b/arch/arm64/boot/dts/rockchip/rk3568-rock-3ab-cameras.dtsi
|
|
new file mode 100644
|
|
index 0000000..5ceac78
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3ab-cameras.dtsi
|
|
@@ -0,0 +1,152 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+/*
|
|
+ * Copyright (c) 2022 Radxa Limited.
|
|
+ *
|
|
+ */
|
|
+
|
|
+/ {
|
|
+ ext_cam_clk: ext-cam-clk {
|
|
+ status = "disabled";
|
|
+ compatible = "fixed-clock";
|
|
+ clock-frequency = <25000000>;
|
|
+ clock-output-names = "ext_cam_clk";
|
|
+ #clock-cells = <0>;
|
|
+ };
|
|
+
|
|
+ ext_cam_clk_imx219: ext-cam-clk-imx219 {
|
|
+ status = "disabled";
|
|
+ compatible = "fixed-clock";
|
|
+ clock-frequency = <24000000>;
|
|
+ clock-output-names = "ext_cam_clk_imx219";
|
|
+ #clock-cells = <0>;
|
|
+ };
|
|
+
|
|
+ vcc_camera: vcc-camera {
|
|
+ status = "disabled";
|
|
+ compatible = "regulator-fixed";
|
|
+ regulator-name = "vcc_camera";
|
|
+ gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>;
|
|
+ enable-active-high;
|
|
+ regulator-min-microvolt = <3300000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ regulator-always-on;
|
|
+ regulator-boot-on;
|
|
+ };
|
|
+};
|
|
+
|
|
+&i2c5 {
|
|
+ status = "disabled";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&i2c5m0_xfer>;
|
|
+
|
|
+ ov5647: ov5647@36 {
|
|
+ status = "disabled";
|
|
+ compatible = "ovti,ov5647";
|
|
+ reg = <0x36>;
|
|
+
|
|
+ clocks = <&ext_cam_clk>;
|
|
+ clock-names = "ext_cam_clk";
|
|
+ pwdn-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_LOW>;
|
|
+
|
|
+ port {
|
|
+ ov5647_out: endpoint {
|
|
+ remote-endpoint = <&mipi_in_ucam0>;
|
|
+ data-lanes = <1 2>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
+ imx219: imx219@10 {
|
|
+ status = "disabled";
|
|
+ compatible = "sony,imx219";
|
|
+ reg = <0x10>;
|
|
+
|
|
+ clocks = <&ext_cam_clk_imx219>;
|
|
+ clock-names = "ext_cam_clk_imx219";
|
|
+ pwdn-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
|
|
+
|
|
+ rockchip,camera-module-index = <1>;
|
|
+ rockchip,camera-module-facing = "front";
|
|
+ rockchip,camera-module-name = "rpi-camera-v2";
|
|
+ rockchip,camera-module-lens-name = "default";
|
|
+
|
|
+ port {
|
|
+ imx219_out: endpoint {
|
|
+ remote-endpoint = <&mipi_in_ucam1>;
|
|
+ data-lanes = <1 2>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&csi2_dphy_hw {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&csi2_dphy0 {
|
|
+ status = "disabled";
|
|
+
|
|
+ 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 = <&ov5647_out>;
|
|
+ data-lanes = <1 2>;
|
|
+ };
|
|
+
|
|
+ mipi_in_ucam1: endpoint@2 {
|
|
+ reg = <2>;
|
|
+ remote-endpoint = <&imx219_out>;
|
|
+ data-lanes = <1 2>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ port@1 {
|
|
+ reg = <1>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ dphy0_out: endpoint@1 {
|
|
+ reg = <1>;
|
|
+ remote-endpoint = <&isp0_in>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&rkisp_vir0 {
|
|
+ status = "disabled";
|
|
+
|
|
+ port {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ isp0_in: endpoint@0 {
|
|
+ reg = <0>;
|
|
+ remote-endpoint = <&dphy0_out>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&rkisp {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&rkisp_mmu {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&rkcif_mmu {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&rkcif {
|
|
+ status = "disabled";
|
|
+};
|