Files
t23x-public-dts/overlay/tegra234-p3737-0000-camera-imx185-a00.dtsi
Addarsh Srivastava f432318bf9 DT: include imx185 device tree
include imx185 dt in camera device tree.
add imx185 sensor device tree for L4T.

Bug 3583587

Change-Id: Ieda934b8d0b1f3f2354683c5b6538916d9c1a763
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2868241
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Addarsh Srivastava <addarshs@nvidia.com>
2023-04-19 18:17:43 +00:00

61 lines
1.4 KiB
Devicetree

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2017-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include "tegra234-camera-imx185-a00.dtsi"
#include <dt-bindings/clock/tegra234-clock-oot.h>
#include <dt-bindings/gpio/tegra234-gpio.h>
#define CAM0_RST_L TEGRA234_MAIN_GPIO(H, 3)
#define CAMERA_I2C_MUX_BUS(x) (0x1E + x)
/* camera control gpio definitions */
/ {
fragment-camera-imx185@0 {
target-path = "/bus@0";
__overlay__ {
gpio@2200000 {
camera-control-output-low {
gpio-hog;
output-low;
gpios = <CAM0_RST_L 0>;
label = "cam0-rst";
};
};
i2c@3180000 {
tca9546@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
skip_mux_detect = "yes";
force_bus_start = <CAMERA_I2C_MUX_BUS(0)>;
i2c@0 {
reg = <0>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
pca9570_a@24 {
compatible = "nxp,pca9570";
reg = <0x24>;
channel = "a";
drive_ic = "DRV8838";
};
imx185_a@1a {
/* Define any required hw resources needed by driver */
/* ie. clocks, io pins, power sources */
clocks = <&bpmp TEGRA234_CLK_EXTPERIPH1>,
<&bpmp TEGRA234_CLK_EXTPERIPH1>;
clock-names = "extperiph1", "pllp_grtba";
mclk = "extperiph1";
reset-gpios = <&gpio CAM0_RST_L GPIO_ACTIVE_HIGH>;
};
};
};
};
};
};
};