Compare commits

...

13 Commits

Author SHA1 Message Date
Praveen AC
7af9bf696e overlay:t23x:Fix failed to stream argus on some nodes.
Due to change in new DT arch,proc device tree path
is changes to sysfs device tree for P3762 & P3783.

Bug 4315055

Change-Id: I92fbeff974de152a0e928a45679ece7943f50048
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3020697
Tested-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Praveen AC <pac@nvidia.com>
Reviewed-by: Amit Purwar <apurwar@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-22 11:49:14 -08:00
Yi-Wei Wang
80362f1827 nv-public: add support for thermal trip event
This change binds thermal trip event cooling devices to the following
events:
- sw throttling event
- hot surface event

When the bound trip point temperature gets crossed, the associated
cooling device will become active, and its state can be learnt from the
user space to take the action accordingly.

The thermal trip event cooling device is not needed for safety IGX so
disable it.

Bug 4261645
Bug 1688327

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: Ifa7f2dfb5c95113e9902e3ea4dfc03197065c5e5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015753
(cherry picked from commit 9279090408)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3019214
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-21 12:24:47 -08:00
Vedashree Vidwans
33037b03e4 nv-platform: p3768: enable hwpm, mc-hwpm DT node
HWPM node is removed from host1x and kept inside bus@0.
Fixed name from tegra_soc_hwpm to hwpm@f100000.
Enable mc-hwpm node as well.

Bug 4336579

Change-Id: I68cfa5dd362a5cd34798c14c9400e6a8b9a43c57
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017663
(cherry picked from commit 9bc8cd05e7)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017773
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-17 08:38:12 -08:00
Anubhav Rai
af027cbe55 p3785: update the i2c slave address
update the i2c slave address for supporting
shadow EDID with Lontium HDMI chip

bug 4266018
bug 4301203
bug 4168489

Change-Id: I04bae434656effdf1db8a9d90d14d000436be0a0
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3009478
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Anubhav Rai <arai@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
(cherry picked from commit 02c00c8807)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016370
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-16 21:15:29 -08:00
Yi-Wei Wang
71e0d6ff52 nv-platform: p3701: separate cvm from nv-common
Remove tegra234-p3701-0000.dtsi from
tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi and have cvm-specific
file included in tegra234-p3737-0000+p3701-000*-nv.dts accordingly.

In addition, create tegra234-p3701-0005.dtsi which includes same
definitions as tegra234-p3701-0000.dtsi but with CMA size set to 512MB.
Hence,  no longer to handle the CMA size in the dynamic overlay.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4230f7d7a0a3cc5e189ee5a121981123bbb889c5
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016296
(cherry picked from commit 62c5d9f2f6)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017145
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-11-16 10:21:36 -08:00
Yi-Wei Wang
28fdfa8e11 nv-platform: restructure tegra234-p3701-0008.dtsi
Most of the entries in tegra234-p3701-0000.dtsi and
tegra234-p3701-0008.dtsi are same, thus include tegra234-p3701-0000.dtsi
in tegra234-p3701-0008.dtsi and handle the different blocks in
tegra234-p3701-0008.dtsi.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4dc68d3f25651f9213f8b42f9e66000071c9234c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016679
(cherry picked from commit b3d85c9765)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017144
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-11-16 10:21:26 -08:00
Yi-Wei Wang
08d1422f5a nv-platform: replace INA, hdr40_vdd_3v3, and CMA
The on-board INA sensors and hdr40_vdd_3v3 regulator should be defined
in CVB-specific device tree instead of CVM-specific.
CMA should be defined in CVM-specific instead of CVB-specific.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I31ebb14ffacb6d1fb58ba3848f4ce1ac5322655f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016311
(cherry picked from commit c194f14a21)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017143
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
2023-11-16 10:21:16 -08:00
Gautham Srinivasan
51ed8e0a95 overlay: p3767: enable C4 based on odm data
Handle alternate ODMDATA configurations related to PCIE EP mode on C4

Bug 4076164
Bug 4052872

Change-Id: Idf8a48f9915d928ed91da9382dd5e793a01cfeb9
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013330
(cherry picked from commit 4351270491)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016047
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-14 20:51:52 -08:00
Gautham Srinivasan
60174281e1 nv-soc: Add PCIe C4 EP DTS node
Add PCIe C4 EP controller definition in device tree for T234 devices

Bug 4076164
Bug 4052872

Change-Id: I5fc4755c2105bc7c7cae4c41b7404002b2a60458
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3012402
(cherry picked from commit fb7d1ce43e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016046
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-14 20:51:40 -08:00
Brad Griffis
040ad2d008 arm64: tegra: Fix P3767 QSPI speed
The QSPI device used on Jetson Orin NX and Nano modules (p3767) is
the same as Jetson AGX Orin (p3701) and should have a maximum speed of
102 MHz.

Bug 3854990

Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Change-Id: I150f32186f5102ff3e09873fc1c2784ebb3df87e
(cherry picked from mainline commit 57ea99ba176913c325fc8324a24a1b5e8a6cf520)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015535
(cherry picked from commit 3a08e89b02)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016048
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-14 20:50:55 -08:00
Brad Griffis
420d404ff0 nv-public: SD card fixes for Concord and Nano
The power supply info is missing for the SD card interface:

1. SD card for Concord is implemented at the board level, not in
   the module itself.  Accordingly the updates are in the board
   files (p3737) rather than the module (p3701).

2. SD card for Orin Nano is implemented at the module level.
   Accordingly the updates are in the modules files (p3767)
   rather than the board files (p3768).

Bug 4307643

Change-Id: Id2bc9071387b3a16141db68076d29f0158f82cce
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013069
(cherry picked from commit 71752edda2)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016036
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-14 20:48:34 -08:00
Gautham Srinivasan
73655e8b5a nv-soc: add infrastructure for aon_echo
Add aon_echo node which is disabled by default. This
can be enabled with the feature in the SPE firmware.

Bug 4296173

Change-Id: If29fbcd01b978dec2dcaa3631ee0c14e0c4ab038
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2954310
(cherry picked from commit 9275899572)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015991
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-14 20:48:02 -08:00
Ankur Pawar
8dcbb3224d camera: orin-nx: fixes in IMX477+IMX219 overlay
Fix the following in the overlay
1. Put IMX219 lens node was bus@0 parent node.
2. sysfs-device-tree path of IMX219 v4l2-lens.
3. Node name of second IMX219 sensor.

Bug 4359952

Change-Id: I0dd6973de09f28bcdbef3951eec1cc1d2297c5ca
Signed-off-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3011007
(cherry picked from commit c28baeab52)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016043
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
Tested-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-14 20:44:13 -08:00
25 changed files with 586 additions and 280 deletions

View File

@@ -68,10 +68,10 @@
};
i2c@3180000 {
p3785@56 {
p3785@2b {
compatible = "nvidia,lt6911uxc";
/* I2C device address */
reg = <0x56>;
reg = <0x2b>;
/* V4L2 device node location */
devnode = "video0";
@@ -392,7 +392,7 @@
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Declare the device-tree hierarchy to driver instance */
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/p3785@56";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/p3785@2b";
};
};
};

View File

@@ -59,14 +59,6 @@
};
};
hdr40_vdd_3v3: regulator@3 {
compatible = "regulator-fixed";
reg = <3>;
regulator-name = "vdd-3v3-sys";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
bpmp {
i2c {
vrs@3c {

View File

@@ -0,0 +1,21 @@
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include "tegra234-p3701-0000.dtsi"
/ {
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x20000000>; /* 512MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
};

View File

@@ -1,141 +1,12 @@
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include "tegra234-p3701-0000.dtsi"
#define TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP 112000
#define TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP 117500
/ {
bus@0 {
i2c@c240000 {
ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
label = "VDD_GPU_SOC";
shunt-resistor-micro-ohms = <2000>;
};
channel@1 {
reg = <0x1>;
label = "VDD_CPU_CV";
shunt-resistor-micro-ohms = <2000>;
};
channel@2 {
reg = <0x2>;
label = "VIN_SYS_5V0";
shunt-resistor-micro-ohms = <2000>;
ti,summation-disable;
};
};
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
status = "disabled";
};
channel@1 {
reg = <0x1>;
label = "VDDQ_VDD2_1V8AO";
shunt-resistor-micro-ohms = <2000>;
};
channel@2 {
reg = <0x2>;
status = "disabled";
};
};
};
i2c@c250000 {
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
label = "CVB_ATX_12V";
shunt-resistor-micro-ohms = <2000>;
};
channel@1 {
reg = <0x1>;
label = "CVB_ATX_3V3";
shunt-resistor-micro-ohms = <2000>;
};
channel@2 {
reg = <0x2>;
label = "CVB_ATX_5V";
shunt-resistor-micro-ohms = <2000>;
};
};
ina219@44 {
compatible = "ti,ina219";
reg = <0x44>;
shunt-resistor = <2000>;
label = "CVB_ATX_12V_8P";
};
};
spi@3270000 {
flash@0 {
spi-max-frequency = <51000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
};
};
bpmp {
i2c {
vrs@3c {
compatible = "nvidia,vrs-pseq";
reg = <0x3c>;
interrupt-parent = <&pmc>;
/* VRS Wake ID is 24 */
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
status = "okay";
};
vrs11_1@20 {
compatible = "nvidia,vrs11";
reg = <0x20>;
rail-name-loopA = "GPU";
rail-name-loopB = "CPU";
};
vrs11_2@22 {
compatible = "nvidia,vrs11";
reg = <0x22>;
rail-name-loopA = "SOC";
rail-name-loopB = "CV";
};
tegra_tmp451: thermal-sensor@4c {
compatible = "ti,tmp451";
reg = <0x4c>;
vcc-supply = <&vdd_1v8_ao>;
#thermal-sensor-cells = <1>;
status = "okay";
};
};
};
eeprom-manager {
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@0 {
slave-address = <0x50>;
label = "cvm";
};
};
};
opp-table-cluster0 {
opp-1971200000 {
opp-hz = /bits/ 64 <1971200000>;
@@ -157,15 +28,30 @@
};
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x20000000>; /* 512MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
thermal-zones {
cpu-thermal {
trips {
cpu-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
cpu-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -173,11 +59,11 @@
cv0-thermal {
trips {
cv0-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
cv0-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -185,11 +71,11 @@
cv1-thermal {
trips {
cv1-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
cv1-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -197,11 +83,11 @@
cv2-thermal {
trips {
cv2-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
cv2-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -209,11 +95,11 @@
gpu-thermal {
trips {
gpu-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
gpu-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -221,11 +107,11 @@
soc0-thermal {
trips {
soc0-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
soc0-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -233,11 +119,11 @@
soc1-thermal {
trips {
soc1-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
soc1-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -245,11 +131,11 @@
soc2-thermal {
trips {
soc2-sw-slowdown {
temperature = <112000>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
};
soc2-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
@@ -257,23 +143,9 @@
tj-thermal {
trips {
tj-sw-shutdown {
temperature = <117500>;
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
};
};
};
tboard-thermal {
polling-delay = <1000>;
polling-delay-passive = <1000>;
thermal-sensors = <&tegra_tmp451 0>;
status = "okay";
};
tdiode-thermal {
polling-delay = <1000>;
polling-delay-passive = <1000>;
thermal-sensors = <&tegra_tmp451 1>;
status = "okay";
};
};
};

View File

@@ -5,3 +5,4 @@
#include "tegra234-p3737-0000+p3701-0000.dts"
#include "tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi"
#include "tegra234-p3701-0000.dtsi"

View File

@@ -5,3 +5,4 @@
#include "staging/tegra234-p3737-0000+p3701-0004.dts"
#include "tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi"
#include "tegra234-p3701-0000.dtsi"

View File

@@ -5,3 +5,4 @@
#include "staging/tegra234-p3737-0000+p3701-0005.dts"
#include "tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi"
#include "tegra234-p3701-0005.dtsi"

View File

@@ -5,3 +5,4 @@
#include "staging/tegra234-p3737-0000+p3701-0008.dts"
#include "tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi"
#include "tegra234-p3701-0008.dtsi"

View File

@@ -5,10 +5,10 @@
#include "nv-soc/tegra234-soc-thermal.dtsi"
#include "nv-soc/tegra234-soc-thermal-slowdown-cluster.dtsi"
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
#include "nv-soc/tegra234-soc-camera.dtsi"
#include "tegra234-p3737-0000.dtsi"
#include "tegra234-p3701-0000.dtsi"
#include "tegra234-dcb-p3737-0000-p3701-0000.dtsi"
/ {

View File

@@ -29,6 +29,10 @@
};
};
mmc@3400000 {
vmmc-supply = <&vdd_3v3_sd>;
};
padctl@3520000 {
ports {
usb2-0 {
@@ -80,6 +84,14 @@
};
};
hdr40_vdd_3v3: regulator@3 {
compatible = "regulator-fixed";
reg = <3>;
regulator-name = "vdd-3v3-sys";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
tegra_sound_graph: tegra_sound: sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
@@ -122,4 +134,13 @@
};
};
};
vdd_3v3_sd: regulator-vdd-3v3-sd {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA234_MAIN_GPIO(A, 0) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};

View File

@@ -5,6 +5,7 @@
#include "nv-soc/tegra234-soc-thermal.dtsi"
#include "nv-soc/tegra234-soc-thermal-slowdown-cluster.dtsi"
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
#include "nv-soc/tegra234-soc-camera.dtsi"
#include "tegra234-camera-p3785.dtsi"
#include "tegra234-p3740-0002.dtsi"

View File

@@ -116,6 +116,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&cpu_throttle_alert 0 0>;
};
};
};
@@ -130,6 +138,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&gpu_throttle_alert 0 0>;
};
};
};
@@ -144,6 +160,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&cv0_throttle_alert 0 0>;
};
};
};
@@ -158,6 +182,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&cv1_throttle_alert 0 0>;
};
};
};
@@ -172,6 +204,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&cv2_throttle_alert 0 0>;
};
};
};
@@ -186,6 +226,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&soc0_throttle_alert 0 0>;
};
};
};
@@ -200,6 +248,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&soc1_throttle_alert 0 0>;
};
};
};
@@ -214,6 +270,14 @@
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
map-hot-surface-alert {
cooling-device = <&hot_surface_alert 0 0>;
};
map-throttle-alert {
cooling-device = <&soc2_throttle_alert 0 0>;
};
};
};
};

View File

@@ -31,6 +31,35 @@
};
i2c@c250000 {
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
label = "CVB_ATX_12V";
shunt-resistor-micro-ohms = <2000>;
};
channel@1 {
reg = <0x1>;
label = "CVB_ATX_3V3";
shunt-resistor-micro-ohms = <2000>;
};
channel@2 {
reg = <0x2>;
label = "CVB_ATX_5V";
shunt-resistor-micro-ohms = <2000>;
};
};
ina219@44 {
compatible = "ti,ina219";
reg = <0x44>;
shunt-resistor = <2000>;
label = "CVB_ATX_12V_8P";
};
f75308@4d {
compatible = "fintek,f75308";
reg = <0x4d>;
@@ -141,21 +170,6 @@
};
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x20000000>; /* 512MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
p3740_vdd_0v95_AO: regulator-vdd-0v95-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-0v95-AO";

View File

@@ -13,6 +13,7 @@
nvidia,cd-wakeup-capable;
nvidia,boot-detect-delay = <1000>;
cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
vmmc-supply = <&vdd_3v3_sd>;
};
gpu@17000000 {
@@ -70,4 +71,13 @@
status = "okay";
};
};
vdd_3v3_sd: regulator-vdd-3v3-sd {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA234_MAIN_GPIO(A, 0) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};

View File

@@ -5,6 +5,7 @@
#include "nv-soc/tegra234-soc-thermal.dtsi"
#include "nv-soc/tegra234-soc-thermal-slowdown-corepair.dtsi"
#include "nv-soc/tegra234-soc-thermal-shutdown.dtsi"
#include "nv-soc/tegra234-soc-thermal-trip-event.dtsi"
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
#include "tegra234-p3768-0000.dtsi"
#include "tegra234-p3767-0000.dtsi"
@@ -245,6 +246,18 @@
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
};
pcie-ep@14160000 {/* C4 - End Point */
phys = <&p2u_hsio_4>, <&p2u_hsio_5>, <&p2u_hsio_6>,
<&p2u_hsio_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
reset-gpios = <&gpio
TEGRA234_MAIN_GPIO(L, 1)
GPIO_ACTIVE_LOW>;
nvidia,refclk-select-gpios = <&gpio_aon
TEGRA234_AON_GPIO(AA, 4)
GPIO_ACTIVE_HIGH>;
};
/* C8 - Ethernet */
pcie@140a0000 {
status = "okay";
@@ -315,6 +328,14 @@
status = "okay";
};
hwpm@f100000 {
status = "okay";
};
mc-hwpm@2c10000 {
status = "okay";
};
host1x@13e00000 {
nvdec@15480000 {
status = "okay";
@@ -324,10 +345,6 @@
status = "okay";
};
tegra_soc_hwpm {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};

View File

@@ -102,6 +102,12 @@
};
bus@0 {
aon_echo {
compatible = "nvidia,tegra186-aon-ivc-echo";
mboxes = <&aon TEGRA_HSP_MBOX_TYPE_SM>;
status = "disabled";
};
actmon@d230000 {
compatible = "nvidia,tegra234-cactmon-mc-all";
reg = <0x0 0xd230000 0x0 0x1000>;
@@ -126,6 +132,17 @@
};
pinmux@2430000 {
pex_rst_c4_in_state: pex_rst_c4_in {
pex_rst {
nvidia,pins = "pex_l4_rst_n_pl1";
nvidia,function = "rsvd1";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
};
eqos_mii_rx_input_state_disable: eqos_rx_disable {
eqos {
nvidia,pins = "eqos_rd0_pe6","eqos_rd1_pe7",
@@ -877,6 +894,41 @@
status = "disabled";
};
pcie-ep@14160000 {
compatible = "nvidia,tegra234-pcie-ep";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_PCIEX4BB>;
reg = <0x00 0x14160000 0x0 0x00020000 /* appl registers (128K) */
0x00 0x36040000 0x0 0x00040000 /* iATU_DMA reg space (256K) */
0x00 0x36080000 0x0 0x00040000 /* DBI space (256K) */
0x21 0x40000000 0x3 0x00000000>; /* Address Space (12G) */
reg-names = "appl", "atu_dma", "dbi", "addr_space";
num-lanes = <4>;
clocks = <&bpmp TEGRA234_CLK_PEX0_C4_CORE>;
clock-names = "core";
resets = <&bpmp TEGRA234_RESET_PEX0_CORE_4_APB>,
<&bpmp TEGRA234_RESET_PEX0_CORE_4>;
reset-names = "apb", "core";
pinctrl-names = "default";
pinctrl-0 = <&pex_rst_c4_in_state>;
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
interrupt-names = "intr";
nvidia,bpmp = <&bpmp 4>;
nvidia,enable-ext-refclk;
nvidia,aspm-cmrt-us = <60>;
nvidia,aspm-pwr-on-t-us = <20>;
nvidia,aspm-l0s-entrance-latency-us = <3>;
num-ib-windows = <2>;
num-ob-windows = <8>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_PCIE4R &emc>,
<&mc TEGRA234_MEMORY_CLIENT_PCIE4W &emc>;
interconnect-names = "dma-mem", "write";
iommus = <&smmu_niso0 TEGRA234_SID_PCIE4>;
dma-coherent;
status = "disabled";
};
hsp_top2: hsp@1600000 {
compatible = "nvidia,tegra234-hsp";
reg = <0x0 0x1600000 0x0 0x90000>;

View File

@@ -0,0 +1,239 @@
// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#define TEGRA234_THERMAL_HOT_SURFACE_TEMP 70000
#define TEGRA234_THERMAL_HOT_SURFACE_HYST 8000
/ {
cpu_throttle_alert: cpu-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "cpu-throttle-alert";
#cooling-cells = <2>;
};
gpu_throttle_alert: gpu-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "gpu-throttle-alert";
#cooling-cells = <2>;
};
cv0_throttle_alert: cv0-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "cv0-throttle-alert";
#cooling-cells = <2>;
};
cv1_throttle_alert: cv1-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "cv1-throttle-alert";
#cooling-cells = <2>;
};
cv2_throttle_alert: cv2-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "cv2-throttle-alert";
#cooling-cells = <2>;
};
soc0_throttle_alert: soc0-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "soc0-throttle-alert";
#cooling-cells = <2>;
};
soc1_throttle_alert: soc1-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "soc1-throttle-alert";
#cooling-cells = <2>;
};
soc2_throttle_alert: soc2-throttle-alert {
compatible = "thermal-trip-event";
cdev-type = "soc2-throttle-alert";
#cooling-cells = <2>;
};
hot_surface_alert: hot-surface-alert {
compatible = "thermal-trip-event";
cdev-type = "hot-surface-alert";
#cooling-cells = <2>;
};
thermal-zones {
cpu-thermal {
trips {
cpu_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&cpu_sw_slowdown>;
cooling-device = <&cpu_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&cpu_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
gpu-thermal {
trips {
gpu_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&gpu_sw_slowdown>;
cooling-device = <&gpu_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&gpu_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
cv0-thermal {
trips {
cv0_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&cv0_sw_slowdown>;
cooling-device = <&cv0_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&cv0_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
cv1-thermal {
trips {
cv1_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&cv1_sw_slowdown>;
cooling-device = <&cv1_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&cv1_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
cv2-thermal {
trips {
cv2_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&cv2_sw_slowdown>;
cooling-device = <&cv2_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&cv2_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
soc0-thermal {
trips {
soc0_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&soc0_sw_slowdown>;
cooling-device = <&soc0_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&soc0_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
soc1-thermal {
trips {
soc1_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&soc1_sw_slowdown>;
cooling-device = <&soc1_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&soc1_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
soc2-thermal {
trips {
soc2_trip_hot_surface: hot-surface {
temperature = <TEGRA234_THERMAL_HOT_SURFACE_TEMP>;
hysteresis = <TEGRA234_THERMAL_HOT_SURFACE_HYST>;
type = "passive";
};
};
cooling-maps {
map-throttle-alert {
trip = <&soc2_sw_slowdown>;
cooling-device = <&soc2_throttle_alert 1 1>;
};
map-hot-surface-alert {
trip = <&soc2_trip_hot_surface>;
cooling-device = <&hot_surface_alert 1 1>;
};
};
};
};
};

View File

@@ -1440,10 +1440,8 @@
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "ar0234 2-0030";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_i@30";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_i@30";
status = "okay";
};
};
@@ -1455,10 +1453,8 @@
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "ar0234 2-0032";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_j@32";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_j@32";
status = "okay";
};
};
@@ -1469,8 +1465,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 2-0034";
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_k@34";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_k@34";
status = "okay";
};
};
@@ -1481,8 +1476,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 2-0036";
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_l@36";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_l@36";
status = "okay";
};
};
@@ -1493,8 +1487,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 9-0030";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_a@30";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_a@30";
status = "okay";
};
};
@@ -1505,8 +1498,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 9-0031";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_b@31";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_b@31";
status = "okay";
};
};
@@ -1517,8 +1509,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0032";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_c@32";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_c@32";
status = "okay";
};
};
@@ -1529,8 +1520,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0033";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_d@33";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_d@33";
status = "okay";
};
};
@@ -1541,8 +1531,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0034";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_e@34";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_e@34";
status = "okay";
};
};
@@ -1553,8 +1542,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0035";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_f@35";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_f@35";
status = "okay";
};
};
@@ -1565,8 +1553,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0036";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_g@36";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_g@36";
status = "okay";
};
};
@@ -1577,8 +1564,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0037";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_h@37";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_h@37";
status = "okay";
};
};

View File

@@ -1440,10 +1440,7 @@
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "ar0234 2-0030";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_i@30";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_i@30";
status = "okay";
};
};
@@ -1455,10 +1452,7 @@
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "ar0234 2-0032";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_j@32";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_j@32";
status = "okay";
};
};
@@ -1469,8 +1463,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 2-0034";
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_k@34";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_k@34";
status = "okay";
};
};
@@ -1481,8 +1474,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 2-0036";
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/ar0234_l@36";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/ar0234_l@36";
status = "okay";
};
};
@@ -1493,8 +1485,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 9-0030";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_a@30";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_a@30";
status = "okay";
};
};
@@ -1505,8 +1496,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 9-0031";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_b@31";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@0/ar0234_b@31";
status = "okay";
};
};
@@ -1517,8 +1507,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0032";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_c@32";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_c@32";
status = "okay";
};
};
@@ -1529,8 +1518,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0033";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_d@33";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_d@33";
status = "okay";
};
};
@@ -1541,8 +1529,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0034";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_e@34";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_e@34";
status = "okay";
};
};
@@ -1553,8 +1540,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0035";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_f@35";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_f@35";
status = "okay";
};
};
@@ -1565,8 +1551,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0036";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_g@36";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_g@36";
status = "okay";
};
};
@@ -1577,8 +1562,7 @@
status = "okay";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "ar0234 10-0037";
proc-device-tree = "/proc/device-tree/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_h@37";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@31e0000/virtual_i2c_mux@50/i2c@1/ar0234_h@37";
status = "okay";
};
};

View File

@@ -39,7 +39,7 @@
max-link-speed = <0x3>;
};
/* C4 End Point */
pcie_ep@14160000 {
pcie-ep@14160000 {
max-link-speed = <0x3>;
};
/* C7 */

View File

@@ -39,7 +39,7 @@
max-link-speed = <0x3>;
};
/* C4 End Point */
pcie_ep@14160000 {
pcie-ep@14160000 {
max-link-speed = <0x3>;
};
/* C7 */

View File

@@ -6,27 +6,12 @@
#include <dt-bindings/gpio/tegra234-gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "tegra234-p3737-0000-camera-imx274-dual.dtsi"
#include "tegra234-p3737-camera-modules.dtsi"
/ {
overlay-name = "Tegra234 p3737-0000+p3701-xxxx Dynamic Overlay";
fragment-t234-p3737-0000-p3701-0000@0 {
target-path = "/";
board_config {
ids = "3701-0005-*","3701-0008-*";
};
__overlay__ {
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
size = <0x0 0x20000000>; /* 512MB */
};
};
};
};
fragment-t234-p3737-0000-p3701-0000@1 {
target-path = "/";
board_config {
ids = ">=3737-0000-TS4", ">=3737-0000-RC1", ">=3737-0000-300";
@@ -69,7 +54,7 @@
};
};
fragment-t234-p3737-0000-p3701-0000@2 {
fragment-t234-p3737-0000-p3701-0000@1 {
target-path = "/";
board_config {
ids = "3737-0000-TS1","3737-0000-TS2","3737-0000-TS3","3737-0000-EB1","3737-0000-EB2","3737-0000-EB3","3737-0000-000","3737-0000-100","3737-0000-200";

View File

@@ -21,7 +21,7 @@
jetson-header-name = "Jetson 24pin CSI Connector";
compatible = JETSON_COMPATIBLE_P3768;
/* IMX77 sensor module on CSI PORT A and IMX219 sensor module on CSI PORT B */
/* IMX477 sensor module on CSI PORT A and IMX219 sensor module on CSI PORT B */
fragment@0 {
target-path = "/";
__overlay__ {
@@ -113,7 +113,7 @@
};
cam_module1_drivernode1: drivernode1 {
pcl_id = "v4l2_lens";
sysfs-device-tree = "/sys/firmware/devicetree/base/lens_imx219@RBPCV2/";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/lens_imx219@RBPCV2";
};
};
};
@@ -377,7 +377,7 @@
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
rbpcv3_imx219_c@10 {
rbpcv2_imx219_c@10 {
reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
compatible = "sony,imx219";
/* I2C device address */
@@ -670,13 +670,13 @@
};
};
};
lens_imx219@RBPCV2 {
min_focus_distance = "0.0";
hyper_focal = "0.0";
focal_length = "3.04";
f_number = "2.0";
aperture = "0.0";
};
};
lens_imx219@RBPCV2 {
min_focus_distance = "0.0";
hyper_focal = "0.0";
focal_length = "3.04";
f_number = "2.0";
aperture = "0.0";
};
gpio@2200000 {
camera-control-output-low {

View File

@@ -80,7 +80,7 @@
};
/* C4 End Point */
pcie_ep@14160000 {
pcie-ep@14160000 {
max-link-speed = <0x3>;
};
@@ -129,4 +129,48 @@
};
};
};
/*
* If ODMDATA contains hsio-uphy-config-40, then:
* 1. Disable PCIE C4
* 2. Enable PCIE C4 EP
* 3. Reduce PCIE C1 to Gen2
*/
p3767-sku-handling-fragment@7 {
target-path = "/bus@0";
board_config {
odm-data = "hsio-uphy-config-40";
};
__overlay__ {
pcie@14160000 {
status = "disabled";
};
pcie-ep@14160000 {
status = "okay";
};
pcie@14100000 {
max-link-speed = <2>;
};
};
};
/*
* If ODMDATA contains hsio-uphy-config-41, then:
* 1. Disable PCIE C4
* 2. Enable PCIE C4 EP
*/
p3767-sku-handling-fragment@8 {
target-path = "/bus@0";
board_config {
odm-data = "hsio-uphy-config-41";
};
__overlay__ {
pcie@14160000 {
status = "disabled";
};
pcie-ep@14160000 {
status = "okay";
};
};
};
};

View File

@@ -2072,7 +2072,7 @@
flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <136000000>;
spi-max-frequency = <102000000>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
};