t23x: Add Hawk & Owl overlays for P3762

Add following overlays for Hawk+Owl
1xHAWK: tegra234-p3737-camera-p3762-a00-1Hawk-overlay.dtbo
2xHAWK: tegra234-p3737-camera-p3762-a00-2Hawk-overlay.dtbo
3xHAWK+3xOWL: tegra234-p3737-camera-p3762-a00-3Hawk-3Owl-overlay.dtbo
4xHAWK: tegra234-p3737-camera-p3762-a00-4Hawk-overlay.dtbo
4xOWL: tegra234-p3737-camera-p3762-a00-4Owl-overlay.dtbo

Bug 4583168

Change-Id: I7d03978628ead5b761668b58e05d6c35553ac52f
Signed-off-by: Ankur Pawar<ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3109502
(cherry picked from commit e979b90a55)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3203952
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Ankur Pawar
2024-04-04 13:22:57 +00:00
committed by mobile promotions
parent a80675405f
commit 63f16420ec
9 changed files with 1299 additions and 319 deletions

View File

@@ -0,0 +1,175 @@
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/dts-v1/;
/plugin/;
#include "tegra234-p3737-camera-p3762-a00.dtsi"
#include "dt-bindings/gpio/tegra234-gpio.h"
#include "dt-bindings/clock/tegra234-clock.h"
#include <dt-bindings/tegra234-p3737-0000+p3701-0000.h>
/* camera control gpio definitions */
#define CAM0_RST_L TEGRA234_MAIN_GPIO(H, 3)
#define CAM0_PWDN TEGRA234_MAIN_GPIO(H, 6)
#define CAM1_RST_L TEGRA234_MAIN_GPIO(AC, 1)
#define CAM1_PWDN TEGRA234_MAIN_GPIO(AC, 0)
#define PWR_EN TEGRA234_MAIN_GPIO(AC, 7)
#define GYRO1_IRQ_GPIO TEGRA234_AON_GPIO(CC, 1)
#define ACCE1_IRQ_GPIO TEGRA234_AON_GPIO(CC, 0)
/ {
overlay-name = "Jetson Camera 2-Hawk p3762 module";
jetson-header-name = "Jetson AGX CSI Connector";
compatible = JETSON_COMPATIBLE;
fragment-camera-hawk-owl@0 {
target-path = "/";
__overlay__ {
tegra-capture-vi {
num-channels = <4>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
status = "okay";
};
port@1 {
status = "okay";
};
port@2 {
status = "okay";
};
port@3 {
status = "okay";
};
port@4 {
status = "disabled";
};
port@5 {
status = "disabled";
};
port@6 {
status = "disabled";
};
port@7 {
status = "disabled";
};
port@8 {
status = "disabled";
};
port@9 {
status = "disabled";
};
port@10 {
status = "disabled";
};
port@11 {
status = "disabled";
};
};
};
bus@0 {
host1x@13e00000 {
nvcsi@15a00000 {
num-channels = <4>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
status = "okay";
};
channel@1 {
status = "okay";
};
channel@2 {
status = "okay";
};
channel@3 {
status = "okay";
};
channel@4 {
status = "disabled";
};
channel@5 {
status = "disabled";
};
channel@6 {
status = "disabled";
};
channel@7 {
status = "disabled";
};
channel@8 {
status = "disabled";
};
channel@9 {
status = "disabled";
};
channel@10 {
status = "disabled";
};
channel@11 {
status = "disabled";
};
};
};
i2c@3180000 {
max96712_b@62 {
status = "disabled";
};
ar0234_i@30 {
status = "disabled";
};
ar0234_j@32 {
status = "disabled";
};
ar0234_k@34 {
status = "disabled";
};
ar0234_l@36 {
status = "disabled";
};
};
i2c@31e0000 {
max96712_a@62 {
status = "okay";
};
virtual_i2c_mux@50 {
status = "okay";
i2c@0 {
bmi088_a@69 {
status = "okay";
};
ar0234_a@30 {
status = "okay";
};
ar0234_b@31 {
status = "okay";
};
};
i2c@1 {
ar0234_c@32 {
status = "okay";
};
ar0234_d@33 {
status = "okay";
};
ar0234_e@34 {
status = "disabled";
};
ar0234_f@35 {
status = "disabled";
};
ar0234_g@36 {
status = "disabled";
};
ar0234_h@37 {
status = "disabled";
};
};
};
};
};
};
};
};