mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
1 Enable dual IMX219 by default for autodetection. 2 Rename the overlay configs. 3 Fix the IMX477 4 lane overlay. Bug 4547993 Change-Id: Iaeb1b1d2be6bbda589d5fd6fedb410ce310f09cb Signed-off-by: Ankur Pawar <ankurp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3092357 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Shubham Chandra <shubhamc@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
55 lines
1.3 KiB
Devicetree
55 lines
1.3 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
#define CAM0_RST TEGRA234_MAIN_GPIO(H, 3)
|
|
#define CAM0_PWDN TEGRA234_MAIN_GPIO(H, 6)
|
|
#define CAM1_PWDN TEGRA234_MAIN_GPIO(AC, 0)
|
|
#define CAM_I2C_MUX TEGRA234_AON_GPIO(CC, 3)
|
|
|
|
#include <dt-bindings/tegra234-p3767-0000-common.h>
|
|
#include "tegra234-camera-rbpcv2-imx219.dtsi"
|
|
|
|
/ {
|
|
fragment-camera-imx219@0 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
bus@0 {
|
|
cam_i2cmux{
|
|
status = "okay";
|
|
compatible = "i2c-mux-gpio";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
i2c-parent = <&cam_i2c>;
|
|
mux-gpios = <&gpio_aon CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
|
|
i2c@0 {
|
|
status = "okay";
|
|
reg = <0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
rbpcv2_imx219_a@10 {
|
|
reset-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
i2c@1 {
|
|
status = "okay";
|
|
reg = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
rbpcv2_imx219_c@10 {
|
|
reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
gpio@2200000 {
|
|
camera-control-output-low {
|
|
gpio-hog;
|
|
output-low;
|
|
gpios = <CAM0_RST 0>;
|
|
label = "cam0-rst";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|