mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
Compare commits
13 Commits
l4t-l4t-r3
...
jetson_36.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7af9bf696e | ||
|
|
80362f1827 | ||
|
|
33037b03e4 | ||
|
|
af027cbe55 | ||
|
|
71e0d6ff52 | ||
|
|
28fdfa8e11 | ||
|
|
08d1422f5a | ||
|
|
51ed8e0a95 | ||
|
|
60174281e1 | ||
|
|
040ad2d008 | ||
|
|
420d404ff0 | ||
|
|
73655e8b5a | ||
|
|
8dcbb3224d |
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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 {
|
||||
|
||||
21
nv-platform/tegra234-p3701-0005.dtsi
Normal file
21
nv-platform/tegra234-p3701-0005.dtsi
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
/ {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
@@ -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>;
|
||||
|
||||
239
nv-soc/tegra234-soc-thermal-trip-event.dtsi
Normal file
239
nv-soc/tegra234-soc-thermal-trip-event.dtsi
Normal 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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
max-link-speed = <0x3>;
|
||||
};
|
||||
/* C4 End Point */
|
||||
pcie_ep@14160000 {
|
||||
pcie-ep@14160000 {
|
||||
max-link-speed = <0x3>;
|
||||
};
|
||||
/* C7 */
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
max-link-speed = <0x3>;
|
||||
};
|
||||
/* C4 End Point */
|
||||
pcie_ep@14160000 {
|
||||
pcie-ep@14160000 {
|
||||
max-link-speed = <0x3>;
|
||||
};
|
||||
/* C7 */
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user