nv-public: fix indentation for nv-dtb includes

As a final step in changing overlay fragments to includes
for nv dtb files, fix the indentation.

Bug 4290389

Change-Id: Ib7be8c925a33b5d30b93a8a8491ea8fe6419f2a4
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005704
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Brad Griffis
2023-10-28 13:29:51 +00:00
committed by mobile promotions
parent ef304f6995
commit 955b31bed3
24 changed files with 8975 additions and 8975 deletions

View File

@@ -6,397 +6,397 @@
#define CAM0_PWDN TEGRA234_AON_GPIO(AA, 4)
/ {
gpio@c2f0000 {
camera-control-output-high {
gpio-hog;
output-high;
gpios = <CAM0_PWDN 0>;
label = "cam0-pwdn";
gpio@c2f0000 {
camera-control-output-high {
gpio-hog;
output-high;
gpios = <CAM0_PWDN 0>;
label = "cam0-pwdn";
};
};
tegra-capture-vi {
nvidia,vi-mapping =
<0 0>,
<1 0>,
<2 0>,
<3 0>,
<4 1>,
<5 1>;
num-channels = <1>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
p3785_vi_in0: endpoint {
port-index = <0>;
bus-width = <8>;
remote-endpoint = <&p3785_csi_out0>;
};
};
tegra-capture-vi {
nvidia,vi-mapping =
<0 0>,
<1 0>,
<2 0>,
<3 0>,
<4 1>,
<5 1>;
};
};
bus@0 {
host1x@13e00000 {
nvcsi@15a00000 {
num-channels = <1>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
p3785_csi_in0: endpoint@0 {
port-index = <0>;
bus-width = <8>;
remote-endpoint = <&p3785_out0>;
};
};
port@1 {
reg = <1>;
p3785_csi_out0: endpoint@1 {
remote-endpoint = <&p3785_vi_in0>;
};
};
};
};
};
};
i2c@3180000 {
p3785@56 {
compatible = "nvidia,lt6911uxc";
/* I2C device address */
reg = <0x56>;
/* V4L2 device node location */
devnode = "video0";
/* Physical dimensions of sensor */
physical_w = "3.674";
physical_h = "2.738";
sensor_model = "p3785";
/* Define any required hw resources needed by driver */
/* ie. clocks, io pins, power sources
avdd-reg = "vana";
iovdd-reg = "vif";
dvdd-reg = "vdig";*/
/* Defines number of frames to be dropped by driver internally after applying */
/* sensor crop settings. Some sensors send corrupt frames after applying */
/* crop co-ordinates */
/*post_crop_frame_drop = "0";*/
/* 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_aon CAM0_PWDN GPIO_ACTIVE_HIGH>;
/**
* ==== Modes ====
* A modeX node is required to support v4l2 driver
* implementation with NVIDIA camera software stack
*
* == Signal properties ==
*
* phy_mode = "";
* PHY mode used by the MIPI lanes for this device
*
* tegra_sinterface = "";
* CSI Serial interface connected to tegra
* Incase of virtual HW devices, use virtual
* For SW emulated devices, use host
*
* pix_clk_hz = "";
* Sensor pixel clock used for calculations like exposure and framerate
*
* readout_orientation = "0";
* Based on camera module orientation.
* Only change readout_orientation if you specifically
* Program a different readout order for this mode
*
* == Image format Properties ==
*
* active_w = "";
* Pixel active region width
*
* active_h = "";
* Pixel active region height
*
* pixel_t = "";
* The sensor readout pixel pattern
*
* line_length = "";
* Pixel line length (width) for sensor mode.
*
* == Source Control Settings ==
*
* Gain factor used to convert fixed point integer to float
* Gain range [min_gain/gain_factor, max_gain/gain_factor]
* Gain step [step_gain/gain_factor is the smallest step that can be configured]
* Default gain [Default gain to be initialized for the control.
* use min_gain_val as default for optimal results]
* Framerate factor used to convert fixed point integer to float
* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
* Default Framerate [Default framerate to be initialized for the control.
* use max_framerate to get required performance]
* Exposure factor used to convert fixed point integer to float
* For convenience use 1 sec = 1000000us as conversion factor
* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
* Default Exposure Time [Default exposure to be initialized for the control.
* Set default exposure based on the default_framerate for optimal exposure settings]
* For convenience use 1 sec = 1000000us as conversion factor
*
* gain_factor = ""; (integer factor used for floating to fixed point conversion)
* min_gain_val = ""; (ceil to integer)
* max_gain_val = ""; (ceil to integer)
* step_gain_val = ""; (ceil to integer)
* default_gain = ""; (ceil to integer)
* Gain limits for mode
*
* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
* min_exp_time = ""; (ceil to integer)
* max_exp_time = ""; (ceil to integer)
* step_exp_time = ""; (ceil to integer)
* default_exp_time = ""; (ceil to integer)
* Exposure Time limits for mode (sec)
*
* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
* min_framerate = ""; (ceil to integer)
* max_framerate = ""; (ceil to integer)
* step_framerate = ""; (ceil to integer)
* default_framerate = ""; (ceil to integer)
* Framerate limits for mode (fps)
*
* embedded_metadata_height = "";
* Sensor embedded metadata height in units of rows.
* If sensor does not support embedded metadata value should be 0.
* num_of_exposure = "";
* Digital overlap(Dol) frames
*
* num_of_ignored_lines = "";
* Used for cropping, eg. OB lines + Ignored area of effective pixel lines
*
* num_of_lines_offset_0 = "";
* Used for cropping, vertical blanking in front of short exposure data
* If more Dol frames are used, it can be extended, eg. num_of_lines_offset_1
*
* num_of_ignored_pixels = "";
* Used for cropping, The length of line info(pixels)
*
* num_of_left_margin_pixels = "";
* Used for cropping, the size of the left edge margin before
* the active pixel area (after ignored pixels)
*
* num_of_right_margin_pixels = "";
* Used for cropping, the size of the right edge margin after
* the active pixel area
*
*/
mode0 { // E2832_1920x1080_60Fps
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "1920";
active_h = "1080";
mode_type = "rgb";
pixel_phase = "rgb888";
csi_pixel_bit_depth = "24";
readout_orientation = "0";
line_length = "1920";
inherent_gain = "1";
mclk_multiplier = "24";
pix_clk_hz = "250000000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.00x */
max_gain_val = "170"; /* 10.66x */
step_gain_val = "1";
default_gain = "16"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "2000000"; /* 2.0 fps */
max_framerate = "60000000"; /* 60.0 fps */
step_framerate = "1";
default_framerate = "60000000"; /* 60.0 fps */
min_exp_time = "13"; /* us */
max_exp_time = "683709"; /* us */
step_exp_time = "1";
default_exp_time = "16667"; /* us */
};
mode1 { // E2832_3840x2160
mclk_khz = "24000";
num_lanes = "8";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "3840";
active_h = "2160";
mode_type = "rgb";
pixel_phase = "rgb888";
csi_pixel_bit_depth = "24";
readout_orientation = "0";
line_length = "3840";
inherent_gain = "1";
mclk_multiplier = "24";
pix_clk_hz = "500000000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.00x */
max_gain_val = "170"; /* 10.66x */
step_gain_val = "1";
default_gain = "16"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "2000000"; /* 2.0 fps */
max_framerate = "60000000"; /* 60.0 fps */
step_framerate = "1";
default_framerate = "60000000"; /* 60.0 fps */
min_exp_time = "13"; /* us */
max_exp_time = "683709"; /* us */
step_exp_time = "1";
default_exp_time = "16667"; /* us */
};
mode2 { // E2832_1280x720_60Fps
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "1280";
active_h = "720";
mode_type = "rgb";
pixel_phase = "rgb888";
csi_pixel_bit_depth = "24";
readout_orientation = "0";
line_length = "1280";
inherent_gain = "1";
mclk_multiplier = "24";
pix_clk_hz = "250000000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.00x */
max_gain_val = "170"; /* 10.66x */
step_gain_val = "1";
default_gain = "16"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "2000000"; /* 2.0 fps */
max_framerate = "60000000"; /* 60.0 fps */
step_framerate = "1";
default_framerate = "60000000"; /* 60.0 fps */
min_exp_time = "13"; /* us */
max_exp_time = "683709"; /* us */
step_exp_time = "1";
default_exp_time = "16667"; /* us */
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
p3785_vi_in0: endpoint {
p3785_out0: endpoint {
port-index = <0>;
bus-width = <8>;
remote-endpoint = <&p3785_csi_out0>;
remote-endpoint = <&p3785_csi_in0>;
};
};
};
};
bus@0 {
host1x@13e00000 {
nvcsi@15a00000 {
num-channels = <1>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
p3785_csi_in0: endpoint@0 {
port-index = <0>;
bus-width = <8>;
remote-endpoint = <&p3785_out0>;
};
};
port@1 {
reg = <1>;
p3785_csi_out0: endpoint@1 {
remote-endpoint = <&p3785_vi_in0>;
};
};
};
};
};
};
};
};
i2c@3180000 {
p3785@56 {
compatible = "nvidia,lt6911uxc";
/* I2C device address */
reg = <0x56>;
tegra-camera-platform {
compatible = "nvidia, tegra-camera-platform";
/**
* Physical settings to calculate max ISO BW
*
* num_csi_lanes = <>;
* Total number of CSI lanes when all cameras are active
*
* max_lane_speed = <>;
* Max lane speed in Kbit/s
*
* min_bits_per_pixel = <>;
* Min bits per pixel
*
* vi_peak_byte_per_pixel = <>;
* Max byte per pixel for the VI ISO case
*
* vi_bw_margin_pct = <>;
* Vi bandwidth margin in percentage
*
* max_pixel_rate = <>;
* Max pixel rate in Kpixel/s for the ISP ISO case
*
* isp_peak_byte_per_pixel = <>;
* Max byte per pixel for the ISP ISO case
*
* isp_bw_margin_pct = <>;
* Isp bandwidth margin in percentage
*/
num_csi_lanes = <4>;
max_lane_speed = <1500000>;
min_bits_per_pixel = <10>;
vi_peak_byte_per_pixel = <2>;
vi_bw_margin_pct = <25>;
max_pixel_rate = <750000>;
isp_peak_byte_per_pixel = <5>;
isp_bw_margin_pct = <25>;
/* V4L2 device node location */
devnode = "video0";
/* Physical dimensions of sensor */
physical_w = "3.674";
physical_h = "2.738";
sensor_model = "p3785";
/* Define any required hw resources needed by driver */
/* ie. clocks, io pins, power sources
avdd-reg = "vana";
iovdd-reg = "vif";
dvdd-reg = "vdig";*/
/* Defines number of frames to be dropped by driver internally after applying */
/* sensor crop settings. Some sensors send corrupt frames after applying */
/* crop co-ordinates */
/*post_crop_frame_drop = "0";*/
/* 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_aon CAM0_PWDN GPIO_ACTIVE_HIGH>;
/**
* ==== Modes ====
* A modeX node is required to support v4l2 driver
* implementation with NVIDIA camera software stack
*
* == Signal properties ==
*
* phy_mode = "";
* PHY mode used by the MIPI lanes for this device
*
* tegra_sinterface = "";
* CSI Serial interface connected to tegra
* Incase of virtual HW devices, use virtual
* For SW emulated devices, use host
*
* pix_clk_hz = "";
* Sensor pixel clock used for calculations like exposure and framerate
*
* readout_orientation = "0";
* Based on camera module orientation.
* Only change readout_orientation if you specifically
* Program a different readout order for this mode
*
* == Image format Properties ==
*
* active_w = "";
* Pixel active region width
*
* active_h = "";
* Pixel active region height
*
* pixel_t = "";
* The sensor readout pixel pattern
*
* line_length = "";
* Pixel line length (width) for sensor mode.
*
* == Source Control Settings ==
*
* Gain factor used to convert fixed point integer to float
* Gain range [min_gain/gain_factor, max_gain/gain_factor]
* Gain step [step_gain/gain_factor is the smallest step that can be configured]
* Default gain [Default gain to be initialized for the control.
* use min_gain_val as default for optimal results]
* Framerate factor used to convert fixed point integer to float
* Framerate range [min_framerate/framerate_factor, max_framerate/framerate_factor]
* Framerate step [step_framerate/framerate_factor is the smallest step that can be configured]
* Default Framerate [Default framerate to be initialized for the control.
* use max_framerate to get required performance]
* Exposure factor used to convert fixed point integer to float
* For convenience use 1 sec = 1000000us as conversion factor
* Exposure range [min_exp_time/exposure_factor, max_exp_time/exposure_factor]
* Exposure step [step_exp_time/exposure_factor is the smallest step that can be configured]
* Default Exposure Time [Default exposure to be initialized for the control.
* Set default exposure based on the default_framerate for optimal exposure settings]
* For convenience use 1 sec = 1000000us as conversion factor
*
* gain_factor = ""; (integer factor used for floating to fixed point conversion)
* min_gain_val = ""; (ceil to integer)
* max_gain_val = ""; (ceil to integer)
* step_gain_val = ""; (ceil to integer)
* default_gain = ""; (ceil to integer)
* Gain limits for mode
*
* exposure_factor = ""; (integer factor used for floating to fixed point conversion)
* min_exp_time = ""; (ceil to integer)
* max_exp_time = ""; (ceil to integer)
* step_exp_time = ""; (ceil to integer)
* default_exp_time = ""; (ceil to integer)
* Exposure Time limits for mode (sec)
*
* framerate_factor = ""; (integer factor used for floating to fixed point conversion)
* min_framerate = ""; (ceil to integer)
* max_framerate = ""; (ceil to integer)
* step_framerate = ""; (ceil to integer)
* default_framerate = ""; (ceil to integer)
* Framerate limits for mode (fps)
*
* embedded_metadata_height = "";
* Sensor embedded metadata height in units of rows.
* If sensor does not support embedded metadata value should be 0.
* num_of_exposure = "";
* Digital overlap(Dol) frames
*
* num_of_ignored_lines = "";
* Used for cropping, eg. OB lines + Ignored area of effective pixel lines
*
* num_of_lines_offset_0 = "";
* Used for cropping, vertical blanking in front of short exposure data
* If more Dol frames are used, it can be extended, eg. num_of_lines_offset_1
*
* num_of_ignored_pixels = "";
* Used for cropping, The length of line info(pixels)
*
* num_of_left_margin_pixels = "";
* Used for cropping, the size of the left edge margin before
* the active pixel area (after ignored pixels)
*
* num_of_right_margin_pixels = "";
* Used for cropping, the size of the right edge margin after
* the active pixel area
*
*/
mode0 { // E2832_1920x1080_60Fps
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "1920";
active_h = "1080";
mode_type = "rgb";
pixel_phase = "rgb888";
csi_pixel_bit_depth = "24";
readout_orientation = "0";
line_length = "1920";
inherent_gain = "1";
mclk_multiplier = "24";
pix_clk_hz = "250000000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.00x */
max_gain_val = "170"; /* 10.66x */
step_gain_val = "1";
default_gain = "16"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "2000000"; /* 2.0 fps */
max_framerate = "60000000"; /* 60.0 fps */
step_framerate = "1";
default_framerate = "60000000"; /* 60.0 fps */
min_exp_time = "13"; /* us */
max_exp_time = "683709"; /* us */
step_exp_time = "1";
default_exp_time = "16667"; /* us */
};
mode1 { // E2832_3840x2160
mclk_khz = "24000";
num_lanes = "8";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "3840";
active_h = "2160";
mode_type = "rgb";
pixel_phase = "rgb888";
csi_pixel_bit_depth = "24";
readout_orientation = "0";
line_length = "3840";
inherent_gain = "1";
mclk_multiplier = "24";
pix_clk_hz = "500000000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.00x */
max_gain_val = "170"; /* 10.66x */
step_gain_val = "1";
default_gain = "16"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "2000000"; /* 2.0 fps */
max_framerate = "60000000"; /* 60.0 fps */
step_framerate = "1";
default_framerate = "60000000"; /* 60.0 fps */
min_exp_time = "13"; /* us */
max_exp_time = "683709"; /* us */
step_exp_time = "1";
default_exp_time = "16667"; /* us */
};
mode2 { // E2832_1280x720_60Fps
mclk_khz = "24000";
num_lanes = "4";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "1280";
active_h = "720";
mode_type = "rgb";
pixel_phase = "rgb888";
csi_pixel_bit_depth = "24";
readout_orientation = "0";
line_length = "1280";
inherent_gain = "1";
mclk_multiplier = "24";
pix_clk_hz = "250000000";
gain_factor = "16";
framerate_factor = "1000000";
exposure_factor = "1000000";
min_gain_val = "16"; /* 1.00x */
max_gain_val = "170"; /* 10.66x */
step_gain_val = "1";
default_gain = "16"; /* 1.00x */
min_hdr_ratio = "1";
max_hdr_ratio = "1";
min_framerate = "2000000"; /* 2.0 fps */
max_framerate = "60000000"; /* 60.0 fps */
step_framerate = "1";
default_framerate = "60000000"; /* 60.0 fps */
min_exp_time = "13"; /* us */
max_exp_time = "683709"; /* us */
step_exp_time = "1";
default_exp_time = "16667"; /* us */
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
p3785_out0: endpoint {
port-index = <0>;
bus-width = <8>;
remote-endpoint = <&p3785_csi_in0>;
};
};
};
};
};
};
tegra-camera-platform {
compatible = "nvidia, tegra-camera-platform";
/**
* Physical settings to calculate max ISO BW
*
* num_csi_lanes = <>;
* Total number of CSI lanes when all cameras are active
*
* max_lane_speed = <>;
* Max lane speed in Kbit/s
*
* min_bits_per_pixel = <>;
* Min bits per pixel
*
* vi_peak_byte_per_pixel = <>;
* Max byte per pixel for the VI ISO case
*
* vi_bw_margin_pct = <>;
* Vi bandwidth margin in percentage
*
* max_pixel_rate = <>;
* Max pixel rate in Kpixel/s for the ISP ISO case
*
* isp_peak_byte_per_pixel = <>;
* Max byte per pixel for the ISP ISO case
*
* isp_bw_margin_pct = <>;
* Isp bandwidth margin in percentage
*/
num_csi_lanes = <4>;
max_lane_speed = <1500000>;
min_bits_per_pixel = <10>;
vi_peak_byte_per_pixel = <2>;
vi_bw_margin_pct = <25>;
max_pixel_rate = <750000>;
isp_peak_byte_per_pixel = <5>;
isp_bw_margin_pct = <25>;
/**
* The general guideline for naming badge_info contains 3 parts, and is as follows,
* The first part is the camera_board_id for the module; if the module is in a FFD
* platform, then use the platform name for this part.
* The second part contains the position of the module, ex. "rear" or "front".
* The third part contains the last 6 characters of a part number which is found
* in the module's specsheet from the vender.
*/
modules {
module0 {
badge = "p3785_ltx6911";
position = "bottom";
orientation = "1";
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "p3785 2-0056";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/p3785@56";
};
};
/**
* The general guideline for naming badge_info contains 3 parts, and is as follows,
* The first part is the camera_board_id for the module; if the module is in a FFD
* platform, then use the platform name for this part.
* The second part contains the position of the module, ex. "rear" or "front".
* The third part contains the last 6 characters of a part number which is found
* in the module's specsheet from the vender.
*/
modules {
module0 {
badge = "p3785_ltx6911";
position = "bottom";
orientation = "1";
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "p3785 2-0056";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/bus@0/i2c@3180000/p3785@56";
};
};
};
};
};

View File

File diff suppressed because it is too large Load Diff

View File

@@ -2,321 +2,321 @@
// SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/ {
bus@0 {
aon@c000000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00260004 0x0000003f 0x00000020>; //SPI_COMMAND2_0
};
};
};
};
i2c@3160000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@3180000 {
prod-settings {
#prod-cells = <4>;
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
prod_c_sm {
nvidia,i2c-clk-divisor-fs-mode = <0x4f>;
nvidia,i2c-sclk-high-period = <0x07>;
nvidia,i2c-sclk-low-period = <0x08>;
nvidia,i2c-bus-free-time = <0x08>;
nvidia,i2c-stop-setup-time = <0x08>;
nvidia,i2c-start-hold-time = <0x08>;
nvidia,i2c-start-setup-time = <0x08>;
board {
prod = <
0 0x0000006c 0xffff0000 0x004f0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000708 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x08080808>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@3190000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@31c0000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@31e0000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@c240000 {
prod-settings {
#prod-cells = <4>;
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@c250000 {
prod-settings {
#prod-cells = <4>;
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
mttcan@c310000 {
prod-settings {
#prod-cells = <4>;
prod_c_can_2m_1m {
board {
prod = <
0 0x00000048 0x00007f00 0x00000000>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_5m {
board {
prod = <
0 0x00000048 0x00007f00 0x00000600>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_8m {
board {
prod = <
0 0x00000048 0x00007f00 0x00000400>; //M_TTCAN_CORE_TDCR_0
};
};
};
};
mttcan@c320000 {
prod-settings {
#prod-cells = <4>;
prod_c_can_2m_1m {
board {
prod = <
1 0x0000f048 0x00007f00 0x00000000>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_5m {
board {
prod = <
1 0x0000f048 0x00007f00 0x00000600>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_8m {
board {
prod = <
1 0x0000f048 0x00007f00 0x00000400>; //M_TTCAN_CORE_TDCR_0
};
};
};
};
spi@3210000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00000004 0x0000003f 0x00000030>; //SPI_COMMAND2_0
};
};
};
};
spi@3230000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00000004 0x0000003f 0x00000020>; //SPI_COMMAND2_0
};
};
};
};
spi@3270000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00000004 0x00007cff 0x00000010 //QSPI_COMMAND2_0
0 0x000001ec 0x01f1f000 0x00a0a000>; //QSPI_QSPI_COMP_CONTROL_0
};
};
};
};
ufshci@2500000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0x02470000 0x00002220 0xffffffff 0x001aadb5 //MPHY_RX_APB_VENDOR3B_0
0x02480000 0x00002220 0xffffffff 0x001aadb5>; //MPHY_RX_APB_VENDOR3B_0
};
};
};
};
padctl@3520000 {
prod-settings {
#prod-cells = <4>;
prod {
nvidia,xusb-pad0-ls-rise-slew = <0x6>;
nvidia,xusb-pad0-ls-fall-slew = <0x6>;
nvidia,xusb-pad0-hs-txeq = <0x2>;
nvidia,xusb-pad1-ls-rise-slew = <0x6>;
nvidia,xusb-pad1-ls-fall-slew = <0x6>;
nvidia,xusb-pad1-hs-txeq = <0x2>;
nvidia,xusb-pad2-ls-rise-slew = <0x6>;
nvidia,xusb-pad2-ls-fall-slew = <0x6>;
nvidia,xusb-pad2-hs-txeq = <0x0>;
nvidia,xusb-pad3-ls-rise-slew = <0x6>;
nvidia,xusb-pad3-ls-fall-slew = <0x6>;
board {
prod = <
0 0x00000088 0x01fe0000 0x00cc0000 //XUSB_PADCTL_USB2_OTG_PAD0_CTL_0_0
0 0x00000094 0x0000000e 0x00000004 //XUSB_PADCTL_USB2_OTG_PAD0_CTL_3_0
0 0x000000c8 0x01fe0000 0x00cc0000 //XUSB_PADCTL_USB2_OTG_PAD1_CTL_0_0
0 0x000000d4 0x0000000e 0x00000004 //XUSB_PADCTL_USB2_OTG_PAD1_CTL_3_0
0 0x00000108 0x01fe0000 0x00cc0000 //XUSB_PADCTL_USB2_OTG_PAD2_CTL_0_0
0 0x00000114 0x0000000e 0x00000000 //XUSB_PADCTL_USB2_OTG_PAD2_CTL_3_0
0 0x00000148 0x01fe0000 0x00cc0000>; //XUSB_PADCTL_USB2_OTG_PAD3_CTL_0_0
};
};
bus@0 {
aon@c000000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00260004 0x0000003f 0x00000020>; //SPI_COMMAND2_0
};
};
};
};
i2c@3160000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@3180000 {
prod-settings {
#prod-cells = <4>;
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
prod_c_sm {
nvidia,i2c-clk-divisor-fs-mode = <0x4f>;
nvidia,i2c-sclk-high-period = <0x07>;
nvidia,i2c-sclk-low-period = <0x08>;
nvidia,i2c-bus-free-time = <0x08>;
nvidia,i2c-stop-setup-time = <0x08>;
nvidia,i2c-start-hold-time = <0x08>;
nvidia,i2c-start-setup-time = <0x08>;
board {
prod = <
0 0x0000006c 0xffff0000 0x004f0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000708 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x08080808>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@3190000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@31c0000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@31e0000 {
prod-settings {
#prod-cells = <4>;
prod_c_fm {
nvidia,i2c-clk-divisor-fs-mode = <0x3c>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x003c0000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@c240000 {
prod-settings {
#prod-cells = <4>;
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
i2c@c250000 {
prod-settings {
#prod-cells = <4>;
prod_c_fmplus {
nvidia,i2c-clk-divisor-fs-mode = <0x16>;
nvidia,i2c-sclk-high-period = <0x02>;
nvidia,i2c-sclk-low-period = <0x02>;
nvidia,i2c-bus-free-time = <0x02>;
nvidia,i2c-stop-setup-time = <0x02>;
nvidia,i2c-start-hold-time = <0x02>;
nvidia,i2c-start-setup-time = <0x02>;
board {
prod = <
0 0x0000006c 0xffff0000 0x00160000 //I2C_I2C_CLK_DIVISOR_REGISTER_0
0 0x00000094 0x0000ffff 0x00000202 //I2C_I2C_INTERFACE_TIMING_0_0
0 0x00000098 0xffffffff 0x02020202>; //I2C_I2C_INTERFACE_TIMING_1_0
};
};
};
};
mttcan@c310000 {
prod-settings {
#prod-cells = <4>;
prod_c_can_2m_1m {
board {
prod = <
0 0x00000048 0x00007f00 0x00000000>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_5m {
board {
prod = <
0 0x00000048 0x00007f00 0x00000600>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_8m {
board {
prod = <
0 0x00000048 0x00007f00 0x00000400>; //M_TTCAN_CORE_TDCR_0
};
};
};
};
mttcan@c320000 {
prod-settings {
#prod-cells = <4>;
prod_c_can_2m_1m {
board {
prod = <
1 0x0000f048 0x00007f00 0x00000000>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_5m {
board {
prod = <
1 0x0000f048 0x00007f00 0x00000600>; //M_TTCAN_CORE_TDCR_0
};
};
prod_c_can_8m {
board {
prod = <
1 0x0000f048 0x00007f00 0x00000400>; //M_TTCAN_CORE_TDCR_0
};
};
};
};
spi@3210000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00000004 0x0000003f 0x00000030>; //SPI_COMMAND2_0
};
};
};
};
spi@3230000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00000004 0x0000003f 0x00000020>; //SPI_COMMAND2_0
};
};
};
};
spi@3270000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0 0x00000004 0x00007cff 0x00000010 //QSPI_COMMAND2_0
0 0x000001ec 0x01f1f000 0x00a0a000>; //QSPI_QSPI_COMP_CONTROL_0
};
};
};
};
ufshci@2500000 {
prod-settings {
#prod-cells = <4>;
prod {
board {
prod = <
0x02470000 0x00002220 0xffffffff 0x001aadb5 //MPHY_RX_APB_VENDOR3B_0
0x02480000 0x00002220 0xffffffff 0x001aadb5>; //MPHY_RX_APB_VENDOR3B_0
};
};
};
};
padctl@3520000 {
prod-settings {
#prod-cells = <4>;
prod {
nvidia,xusb-pad0-ls-rise-slew = <0x6>;
nvidia,xusb-pad0-ls-fall-slew = <0x6>;
nvidia,xusb-pad0-hs-txeq = <0x2>;
nvidia,xusb-pad1-ls-rise-slew = <0x6>;
nvidia,xusb-pad1-ls-fall-slew = <0x6>;
nvidia,xusb-pad1-hs-txeq = <0x2>;
nvidia,xusb-pad2-ls-rise-slew = <0x6>;
nvidia,xusb-pad2-ls-fall-slew = <0x6>;
nvidia,xusb-pad2-hs-txeq = <0x0>;
nvidia,xusb-pad3-ls-rise-slew = <0x6>;
nvidia,xusb-pad3-ls-fall-slew = <0x6>;
board {
prod = <
0 0x00000088 0x01fe0000 0x00cc0000 //XUSB_PADCTL_USB2_OTG_PAD0_CTL_0_0
0 0x00000094 0x0000000e 0x00000004 //XUSB_PADCTL_USB2_OTG_PAD0_CTL_3_0
0 0x000000c8 0x01fe0000 0x00cc0000 //XUSB_PADCTL_USB2_OTG_PAD1_CTL_0_0
0 0x000000d4 0x0000000e 0x00000004 //XUSB_PADCTL_USB2_OTG_PAD1_CTL_3_0
0 0x00000108 0x01fe0000 0x00cc0000 //XUSB_PADCTL_USB2_OTG_PAD2_CTL_0_0
0 0x00000114 0x0000000e 0x00000000 //XUSB_PADCTL_USB2_OTG_PAD2_CTL_3_0
0 0x00000148 0x01fe0000 0x00cc0000>; //XUSB_PADCTL_USB2_OTG_PAD3_CTL_0_0
};
};
};
};
};
};

View File

@@ -4,146 +4,146 @@
#include "tegra234-p3701-0000-prod-overlay.dtsi"
/ {
bus@0 {
i2c@c240000 {
ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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>;
summation-bypass;
};
};
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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";
};
};
bus@0 {
i2c@c240000 {
ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
channel@0 {
reg = <0x0>;
label = "VDD_GPU_SOC";
shunt-resistor-micro-ohms = <2000>;
};
spi@3270000 {
flash@0 {
spi-max-frequency = <51000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
channel@1 {
reg = <0x1>;
label = "VDD_CPU_CV";
shunt-resistor-micro-ohms = <2000>;
};
nvrng@3ae0000 {
status = "okay";
channel@2 {
reg = <0x2>;
label = "VIN_SYS_5V0";
shunt-resistor-micro-ohms = <2000>;
summation-bypass;
};
};
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 {
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";
};
tegra_tmp451: thermal-sensor@4c {
compatible = "ti,tmp451";
reg = <0x4c>;
vcc-supply = <&vdd_1v8_ao>;
#thermal-sensor-cells = <1>;
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";
};
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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";
};
};
};
thermal-zones {
tboard-thermal {
polling-delay = <1000>;
polling-delay-passive = <1000>;
thermal-sensors = <&tegra_tmp451 0>;
status = "okay";
};
spi@3270000 {
flash@0 {
spi-max-frequency = <51000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
};
tdiode-thermal {
polling-delay = <1000>;
polling-delay-passive = <1000>;
thermal-sensors = <&tegra_tmp451 1>;
status = "okay";
};
nvrng@3ae0000 {
status = "okay";
};
};
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 {
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";
};
eeprom-manager {
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@0 {
slave-address = <0x50>;
label = "cvm";
};
};
tegra_tmp451: thermal-sensor@4c {
compatible = "ti,tmp451";
reg = <0x4c>;
vcc-supply = <&vdd_1v8_ao>;
#thermal-sensor-cells = <1>;
status = "okay";
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
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";
};
};
};
thermal-zones {
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";
};
};
eeprom-manager {
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@0 {
slave-address = <0x50>;
label = "cvm";
};
};
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
};

View File

@@ -2,289 +2,289 @@
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/ {
bus@0 {
i2c@c240000 {
ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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>;
summation-bypass;
};
};
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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";
};
};
bus@0 {
i2c@c240000 {
ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
channel@0 {
reg = <0x0>;
label = "VDD_GPU_SOC";
shunt-resistor-micro-ohms = <2000>;
};
i2c@c250000 {
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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";
};
channel@1 {
reg = <0x1>;
label = "VDD_CPU_CV";
shunt-resistor-micro-ohms = <2000>;
};
spi@3270000 {
flash@0 {
spi-max-frequency = <51000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
};
nvrng@3ae0000 {
status = "okay";
};
gpu@17000000 {
status = "okay";
channel@2 {
reg = <0x2>;
label = "VIN_SYS_5V0";
shunt-resistor-micro-ohms = <2000>;
summation-bypass;
};
};
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";
};
ina3221@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
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>;
#io-channel-cells = <1>;
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>;
};
};
eeprom-manager {
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@0 {
slave-address = <0x50>;
label = "cvm";
};
};
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>;
};
};
nvrng@3ae0000 {
status = "okay";
};
gpu@17000000 {
status = "okay";
};
};
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";
};
opp-table-cluster0 {
opp-1971200000 {
opp-hz = /bits/ 64 <1971200000>;
opp-peak-kBps = <3200000>;
};
vrs11_1@20 {
compatible = "nvidia,vrs11";
reg = <0x20>;
rail-name-loopA = "GPU";
rail-name-loopB = "CPU";
};
opp-table-cluster1 {
opp-1971200000 {
opp-hz = /bits/ 64 <1971200000>;
opp-peak-kBps = <3200000>;
};
vrs11_2@22 {
compatible = "nvidia,vrs11";
reg = <0x22>;
rail-name-loopA = "SOC";
rail-name-loopB = "CV";
};
opp-table-cluster2 {
opp-1971200000 {
opp-hz = /bits/ 64 <1971200000>;
opp-peak-kBps = <3200000>;
};
tegra_tmp451: thermal-sensor@4c {
compatible = "ti,tmp451";
reg = <0x4c>;
vcc-supply = <&vdd_1v8_ao>;
#thermal-sensor-cells = <1>;
status = "okay";
};
thermal-zones {
cpu-thermal {
trips {
cpu-sw-slowdown {
temperature = <112000>;
};
};
};
cpu-sw-shutdown {
temperature = <117500>;
};
};
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>;
opp-peak-kBps = <3200000>;
};
};
opp-table-cluster1 {
opp-1971200000 {
opp-hz = /bits/ 64 <1971200000>;
opp-peak-kBps = <3200000>;
};
};
opp-table-cluster2 {
opp-1971200000 {
opp-hz = /bits/ 64 <1971200000>;
opp-peak-kBps = <3200000>;
};
};
thermal-zones {
cpu-thermal {
trips {
cpu-sw-slowdown {
temperature = <112000>;
};
cv0-thermal {
trips {
cv0-sw-slowdown {
temperature = <112000>;
};
cv0-sw-shutdown {
temperature = <117500>;
};
};
};
cv1-thermal {
trips {
cv1-sw-slowdown {
temperature = <112000>;
};
cv1-sw-shutdown {
temperature = <117500>;
};
};
};
cv2-thermal {
trips {
cv2-sw-slowdown {
temperature = <112000>;
};
cv2-sw-shutdown {
temperature = <117500>;
};
};
};
gpu-thermal {
trips {
gpu-sw-slowdown {
temperature = <112000>;
};
gpu-sw-shutdown {
temperature = <117500>;
};
};
};
soc0-thermal {
trips {
soc0-sw-slowdown {
temperature = <112000>;
};
soc0-sw-shutdown {
temperature = <117500>;
};
};
};
soc1-thermal {
trips {
soc1-sw-slowdown {
temperature = <112000>;
};
soc1-sw-shutdown {
temperature = <117500>;
};
};
};
soc2-thermal {
trips {
soc2-sw-slowdown {
temperature = <112000>;
};
soc2-sw-shutdown {
temperature = <117500>;
};
};
};
tj-thermal {
trips {
tj-sw-shutdown {
temperature = <117500>;
};
};
};
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";
cpu-sw-shutdown {
temperature = <117500>;
};
};
};
cv0-thermal {
trips {
cv0-sw-slowdown {
temperature = <112000>;
};
cv0-sw-shutdown {
temperature = <117500>;
};
};
};
cv1-thermal {
trips {
cv1-sw-slowdown {
temperature = <112000>;
};
cv1-sw-shutdown {
temperature = <117500>;
};
};
};
cv2-thermal {
trips {
cv2-sw-slowdown {
temperature = <112000>;
};
cv2-sw-shutdown {
temperature = <117500>;
};
};
};
gpu-thermal {
trips {
gpu-sw-slowdown {
temperature = <112000>;
};
gpu-sw-shutdown {
temperature = <117500>;
};
};
};
soc0-thermal {
trips {
soc0-sw-slowdown {
temperature = <112000>;
};
soc0-sw-shutdown {
temperature = <117500>;
};
};
};
soc1-thermal {
trips {
soc1-sw-slowdown {
temperature = <112000>;
};
soc1-sw-shutdown {
temperature = <117500>;
};
};
};
soc2-thermal {
trips {
soc2-sw-slowdown {
temperature = <112000>;
};
soc2-sw-shutdown {
temperature = <117500>;
};
};
};
tj-thermal {
trips {
tj-sw-shutdown {
temperature = <117500>;
};
};
};
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

@@ -12,319 +12,319 @@
#include "tegra234-dcb-p3737-0000-p3701-0000.dtsi"
/ {
cpus {
idle-states {
c7 {
status = "okay";
};
cpus {
idle-states {
c7 {
status = "okay";
};
};
};
nvpmodel {
status = "okay";
};
scf-pmu {
status = "okay";
};
soctherm-oc-event {
status = "okay";
};
thermal-zones {
cpu-thermal {
status = "okay";
};
cv0-thermal {
status = "okay";
};
cv1-thermal {
status = "okay";
};
cv2-thermal {
status = "okay";
};
gpu-thermal {
status = "okay";
};
soc0-thermal {
status = "okay";
};
soc1-thermal {
status = "okay";
};
soc2-thermal {
status = "okay";
};
};
bus@0 {
smmu_test {
compatible = "nvidia,smmu_test";
iommus = <&smmu_niso0 TEGRA234_SID_SMMU_TEST>;
status = "okay";
};
pinmux@2430000 {
status = "okay";
};
ufshci@2500000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
arad@290e400 {
status = "okay";
};
};
};
nvpmodel {
serial@3110000 {
compatible = "nvidia,tegra194-hsuart";
reset-names = "serial";
status = "okay";
};
i2c@3180000 {
status = "okay";
};
i2c@3190000 {
status = "okay";
};
i2c@31b0000 {
nvidia,hw-instance-id = <0x5>;
status = "okay";
};
i2c@31c0000 {
status = "okay";
};
serial@31d0000 {
current-speed = <115200>;
};
i2c@31e0000 {
status = "okay";
};
tachometer@39c0000 {
status = "okay";
};
hsp@3d00000 {
status = "okay";
};
ethernet@6800000 {
status = "okay";
};
aon@c000000 {
status = "okay";
};
hardware-timestamp@c1e0000 {
status = "okay";
nvidia,num-slices = <3>;
};
i2c@c240000 {
status = "okay";
};
hdr40_i2c1: i2c@c250000 {
status = "okay";
};
rtc@c2a0000 {
status = "okay";
};
mttcan@c310000 {
status = "okay";
};
mttcan@c320000 {
status = "okay";
};
actmon@d230000 {
status = "okay";
};
hwpm@f100000 {
status = "okay";
};
mc-hwpm@2c10000 {
status = "okay";
};
host1x@13e00000 {
nvjpg@15380000 {
status = "okay";
};
scf-pmu {
nvdec@15480000 {
status = "okay";
};
soctherm-oc-event {
nvenc@154c0000 {
status = "okay";
};
thermal-zones {
cpu-thermal {
status = "okay";
};
cv0-thermal {
status = "okay";
};
cv1-thermal {
status = "okay";
};
cv2-thermal {
status = "okay";
};
gpu-thermal {
status = "okay";
};
soc0-thermal {
status = "okay";
};
soc1-thermal {
status = "okay";
};
soc2-thermal {
status = "okay";
};
};
bus@0 {
smmu_test {
compatible = "nvidia,smmu_test";
iommus = <&smmu_niso0 TEGRA234_SID_SMMU_TEST>;
status = "okay";
};
pinmux@2430000 {
status = "okay";
};
ufshci@2500000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
arad@290e400 {
status = "okay";
};
};
};
serial@3110000 {
compatible = "nvidia,tegra194-hsuart";
reset-names = "serial";
status = "okay";
};
i2c@3180000 {
status = "okay";
};
i2c@3190000 {
status = "okay";
};
i2c@31b0000 {
nvidia,hw-instance-id = <0x5>;
status = "okay";
};
i2c@31c0000 {
status = "okay";
};
serial@31d0000 {
current-speed = <115200>;
};
i2c@31e0000 {
status = "okay";
};
tachometer@39c0000 {
status = "okay";
};
hsp@3d00000 {
status = "okay";
};
ethernet@6800000 {
status = "okay";
};
aon@c000000 {
status = "okay";
};
hardware-timestamp@c1e0000 {
status = "okay";
nvidia,num-slices = <3>;
};
i2c@c240000 {
status = "okay";
};
hdr40_i2c1: i2c@c250000 {
status = "okay";
};
rtc@c2a0000 {
status = "okay";
};
mttcan@c310000 {
status = "okay";
};
mttcan@c320000 {
status = "okay";
};
actmon@d230000 {
status = "okay";
};
hwpm@f100000 {
status = "okay";
};
mc-hwpm@2c10000 {
status = "okay";
};
host1x@13e00000 {
nvjpg@15380000 {
status = "okay";
};
nvdec@15480000 {
status = "okay";
};
nvenc@154c0000 {
status = "okay";
};
tsec@15500000 {
status = "okay";
};
nvjpg@15540000 {
status = "okay";
};
se@15810000 {
status = "okay";
};
se@15820000 {
status = "okay";
};
se@15840000 {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};
nvdla1@158c0000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
};
gpu@17000000 {
status = "okay";
};
};
tegra-hsp@b950000 {
tsec@15500000 {
status = "okay";
};
dce@d800000 {
nvjpg@15540000 {
status = "okay";
};
tegra_mce@e100000 {
se@15810000 {
status = "okay";
};
display@13800000 {
se@15820000 {
status = "okay";
};
se@15840000 {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};
nvdla1@158c0000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
};
gpu@17000000 {
status = "okay";
};
};
tegra-hsp@b950000 {
status = "okay";
};
dce@d800000 {
status = "okay";
};
tegra_mce@e100000 {
status = "okay";
};
display@13800000 {
status = "okay";
};
};

View File

@@ -2,124 +2,124 @@
// SPDX-FileCopyrightText: Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/ {
bus@0 {
spi@3210000{ /* SPI1 in 40 pin conn */
spi@0 { /* chip select 0 */
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
};
spi@1 { /* chips select 1 */
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
};
};
bus@0 {
spi@3210000{ /* SPI1 in 40 pin conn */
spi@0 { /* chip select 0 */
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
};
spi@1 { /* chips select 1 */
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
};
};
spi@3230000{ /* SPI3 in 40 pin conn */
spi@0 { /* chip select 0 */
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
};
spi@1 { /* chips select 1 */
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
};
};
spi@3230000{ /* SPI3 in 40 pin conn */
spi@0 { /* chip select 0 */
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
};
spi@1 { /* chips select 1 */
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
};
};
padctl@3520000 {
padctl@3520000 {
ports {
usb2-0 {
mode = "otg";
usb-role-switch;
};
};
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901100 {
ports {
usb2-0 {
mode = "otg";
usb-role-switch;
};
};
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901100 {
ports {
port@1 {
hdr40_snd_i2s_dap_ep: endpoint {
};
};
port@1 {
hdr40_snd_i2s_dap_ep: endpoint {
};
};
};
};
};
};
ethernet@6800000 {
nvidia,mac-addr-idx = <0>;
nvidia,max-platform-mtu = <16383>;
/* 1=enable, 0=disable */
nvidia,pause_frames = <1>;
phy-handle = <&mgbe0_aqr113c_phy>;
phy-mode = "10gbase-r";
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
nvidia,phy-reset-gpio = <&gpio TEGRA234_MAIN_GPIO(Y, 1) 0>;
nvidia,mdio_addr = <0>;
ethernet@6800000 {
nvidia,mac-addr-idx = <0>;
nvidia,max-platform-mtu = <16383>;
/* 1=enable, 0=disable */
nvidia,pause_frames = <1>;
phy-handle = <&mgbe0_aqr113c_phy>;
phy-mode = "10gbase-r";
/* 0:XFI 10G, 1:XFI 5G, 2:USXGMII 10G, 3:USXGMII 5G */
nvidia,phy-iface-mode = <0>;
nvidia,phy-reset-gpio = <&gpio TEGRA234_MAIN_GPIO(Y, 1) 0>;
nvidia,mdio_addr = <0>;
mdio {
compatible = "nvidia,eqos-mdio";
#address-cells = <1>;
#size-cells = <0>;
mdio {
compatible = "nvidia,eqos-mdio";
#address-cells = <1>;
#size-cells = <0>;
mgbe0_aqr113c_phy: phy@0 {
compatible = "ethernet-phy-ieee802.3-c45";
reg = <0x0>;
nvidia,phy-rst-pdelay-msec = <150>; /* msec */
nvidia,phy-rst-duration-usec = <221000>; /* usec */
interrupt-parent = <&gpio>;
interrupts = <TEGRA234_MAIN_GPIO(Y, 3) IRQ_TYPE_LEVEL_LOW>;
};
};
mgbe0_aqr113c_phy: phy@0 {
compatible = "ethernet-phy-ieee802.3-c45";
reg = <0x0>;
nvidia,phy-rst-pdelay-msec = <150>; /* msec */
nvidia,phy-rst-duration-usec = <221000>; /* usec */
interrupt-parent = <&gpio>;
interrupts = <TEGRA234_MAIN_GPIO(Y, 3) IRQ_TYPE_LEVEL_LOW>;
};
};
};
};
tegra_sound_graph: tegra_sound: sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a", "plla_out0", "extern1";
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
tegra_sound_graph: tegra_sound: sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a", "plla_out0", "extern1";
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
nvidia-audio-card,name = "NVIDIA Jetson AGX Orin APE";
nvidia-audio-card,name = "NVIDIA Jetson AGX Orin APE";
nvidia-audio-card,mclk-fs = <256>;
nvidia-audio-card,mclk-fs = <256>;
hdr40_snd_link_i2s: nvidia-audio-card,dai-link@77 { };
hdr40_snd_link_i2s: nvidia-audio-card,dai-link@77 { };
};
eeprom-manager {
data-size = <0x100>;
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@1 {
slave-address = <0x56>;
label = "cvb";
};
eeprom-manager {
data-size = <0x100>;
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@1 {
slave-address = <0x56>;
label = "cvb";
};
};
bus@1 {
i2c-bus = <&cam_i2c>;
eeprom@0 {
slave-address = <0x54>;
label = "sensor0";
};
eeprom@1 {
slave-address = <0x57>;
label = "sensor1";
};
eeprom@2 {
slave-address = <0x52>;
label = "sensor2";
};
};
};
bus@1 {
i2c-bus = <&cam_i2c>;
eeprom@0 {
slave-address = <0x54>;
label = "sensor0";
};
eeprom@1 {
slave-address = <0x57>;
label = "sensor1";
};
eeprom@2 {
slave-address = <0x52>;
label = "sensor2";
};
};
};
};

View File

@@ -12,276 +12,276 @@
#include "tegra234-dcb-p3737-0000-p3701-0000.dtsi"
/ {
chosen {
bootargs = "console=ttyTCU0,115200n8";
};
chosen {
bootargs = "console=ttyTCU0,115200n8";
};
bpmp {
thermal {
bpmp {
thermal {
status = "okay";
};
};
cpus {
idle-states {
c7 {
status = "okay";
};
};
};
nvpmodel {
status = "okay";
};
soctherm-oc-event {
status = "okay";
};
thermal-zones {
cpu-thermal {
status = "okay";
};
cv0-thermal {
status = "okay";
};
cv1-thermal {
status = "okay";
};
cv2-thermal {
status = "okay";
};
gpu-thermal {
status = "okay";
};
soc0-thermal {
status = "okay";
};
soc1-thermal {
status = "okay";
};
soc2-thermal {
status = "okay";
};
tj-thermal {
status = "okay";
};
};
bus@0 {
smmu_test {
compatible = "nvidia,smmu_test";
iommus = <&smmu_niso0 TEGRA234_SID_SMMU_TEST>;
status = "okay";
};
pinmux@2430000 {
status = "okay";
};
serial@3110000 {
compatible = "nvidia,tegra194-hsuart";
reset-names = "serial";
status = "okay";
};
serial@31d0000 {
status = "okay";
};
tachometer@39c0000 {
status = "okay";
};
hsp@3c00000 {
status = "okay";
};
hsp@c150000 {
status = "okay";
};
mttcan@c310000 {
status = "okay";
};
mttcan@c320000 {
status = "okay";
};
actmon@d230000 {
status = "okay";
};
hwpm@f100000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
arad@290e400 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
};
};
cpus {
idle-states {
c7 {
status = "okay";
};
};
};
nvpmodel {
host1x@13e00000 {
nvjpg@15380000 {
status = "okay";
};
soctherm-oc-event {
nvenc@154c0000 {
status = "okay";
};
thermal-zones {
cpu-thermal {
status = "okay";
};
cv0-thermal {
status = "okay";
};
cv1-thermal {
status = "okay";
};
cv2-thermal {
status = "okay";
};
gpu-thermal {
status = "okay";
};
soc0-thermal {
status = "okay";
};
soc1-thermal {
status = "okay";
};
soc2-thermal {
status = "okay";
};
tj-thermal {
status = "okay";
};
};
bus@0 {
smmu_test {
compatible = "nvidia,smmu_test";
iommus = <&smmu_niso0 TEGRA234_SID_SMMU_TEST>;
status = "okay";
};
pinmux@2430000 {
status = "okay";
};
serial@3110000 {
compatible = "nvidia,tegra194-hsuart";
reset-names = "serial";
status = "okay";
};
serial@31d0000 {
status = "okay";
};
tachometer@39c0000 {
status = "okay";
};
hsp@3c00000 {
status = "okay";
};
hsp@c150000 {
status = "okay";
};
mttcan@c310000 {
status = "okay";
};
mttcan@c320000 {
status = "okay";
};
actmon@d230000 {
status = "okay";
};
hwpm@f100000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
arad@290e400 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
};
};
host1x@13e00000 {
nvjpg@15380000 {
status = "okay";
};
nvenc@154c0000 {
status = "okay";
};
tsec@15500000 {
status = "okay";
};
nvjpg@15540000 {
status = "okay";
};
se@15810000 {
status = "okay";
};
se@15820000 {
status = "okay";
};
se@15840000 {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};
nvdla1@158c0000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
};
gpu@17000000 {
status = "okay";
};
};
tegra-hsp@b950000 {
tsec@15500000 {
status = "okay";
};
dce@d800000 {
nvjpg@15540000 {
status = "okay";
};
tegra_mce@e100000 {
se@15810000 {
status = "okay";
};
display@13800000 {
se@15820000 {
status = "okay";
};
se@15840000 {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};
nvdla1@158c0000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
};
gpu@17000000 {
status = "okay";
};
};
tegra-hsp@b950000 {
status = "okay";
};
dce@d800000 {
status = "okay";
};
tegra_mce@e100000 {
status = "okay";
};
display@13800000 {
status = "okay";
};
};

View File

@@ -4,217 +4,217 @@
#include "nv-soc/tegra234-soc-safetyservice-fsicom.dtsi"
/ {
compatible = "nvidia,p3740-0002+p3701-0008", "safety", "nvidia,p3701-0008", "nvidia,tegra234";
compatible = "nvidia,p3740-0002+p3701-0008", "safety", "nvidia,p3701-0008", "nvidia,tegra234";
bus@0 {
i2c@3160000 {
nvidia,epl-reporter-id = <0x8050>;
};
bus@0 {
i2c@3160000 {
nvidia,epl-reporter-id = <0x8050>;
};
i2c@c240000 {
nvidia,epl-reporter-id = <0x8051>;
};
i2c@c240000 {
nvidia,epl-reporter-id = <0x8051>;
};
i2c@3180000 {
nvidia,epl-reporter-id = <0x8052>;
};
i2c@3180000 {
nvidia,epl-reporter-id = <0x8052>;
};
i2c@3190000 {
nvidia,epl-reporter-id = <0x8053>;
};
i2c@3190000 {
nvidia,epl-reporter-id = <0x8053>;
};
i2c@31b0000 {
nvidia,epl-reporter-id = <0x8054>;
};
i2c@31b0000 {
nvidia,epl-reporter-id = <0x8054>;
};
i2c@31c0000 {
nvidia,epl-reporter-id = <0x8056>;
};
i2c@31c0000 {
nvidia,epl-reporter-id = <0x8056>;
};
i2c@c250000 {
nvidia,epl-reporter-id = <0x8057>;
};
i2c@c250000 {
nvidia,epl-reporter-id = <0x8057>;
};
i2c@31e0000 {
nvidia,epl-reporter-id = <0x8058>;
};
i2c@31e0000 {
nvidia,epl-reporter-id = <0x8058>;
};
hsp_top2: hsp@1600000 {
status = "okay";
};
spi@3230000 {
compatible = "nvidia,tegra186-spi-slave";
status = "okay";
spi@0 {
compatible = "nvidia,tegra-spidev";
reg = <0>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,lsbyte-first;
};
};
hsp_top2: hsp@1600000 {
status = "okay";
};
spi@3230000 {
compatible = "nvidia,tegra186-spi-slave";
status = "okay";
spi@0 {
compatible = "nvidia,tegra-spidev";
reg = <0>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,lsbyte-first;
};
};
};
};
chosen {
/*
* The ideal approach for disabling rail-gating
* for GPU should be deleting the power-domains
* property in GPU node. But /delete-property/
* is not a valid syntax in the device tree
* overlay, the nvidia,tegra-joint_xpu_rail is
* specified to achieve the same as an
* alternative.
*/
nvidia,tegra-joint_xpu_rail;
chosen {
/*
* The ideal approach for disabling rail-gating
* for GPU should be deleting the power-domains
* property in GPU node. But /delete-property/
* is not a valid syntax in the device tree
* overlay, the nvidia,tegra-joint_xpu_rail is
* specified to achieve the same as an
* alternative.
*/
nvidia,tegra-joint_xpu_rail;
};
cpus {
idle-states {
c7 {
status = "disabled";
};
};
};
cpus {
idle-states {
c7 {
status = "disabled";
};
fsicom_client {
status = "okay";
};
FsiComIvc {
status = "okay";
};
/* FSI<->CCPLEX Communication through DRAM Carveout demo app */
FsiComAppChConfApp1 {
compatible = "nvidia,tegra-fsicom-sampleApp1";
status = "okay";
channelid_list = <3>;
};
hsierrrptinj {
compatible = "nvidia,tegra23x-hsierrrptinj";
mboxes = <&hsp_top0 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(1)>;
mbox-names = "hsierrrptinj-tx";
status = "okay";
};
safetyservices_epl_client {
/* userspace app uses this driver to send error code */
status = "okay";
};
thermal-zones {
cpu-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
fsicom_client {
status = "okay";
};
FsiComIvc {
status = "okay";
};
/* FSI<->CCPLEX Communication through DRAM Carveout demo app */
FsiComAppChConfApp1 {
compatible = "nvidia,tegra-fsicom-sampleApp1";
status = "okay";
channelid_list = <3>;
};
hsierrrptinj {
compatible = "nvidia,tegra23x-hsierrrptinj";
mboxes = <&hsp_top0 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(1)>;
mbox-names = "hsierrrptinj-tx";
status = "okay";
};
safetyservices_epl_client {
/* userspace app uses this driver to send error code */
status = "okay";
};
thermal-zones {
cpu-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
gpu-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
gpu-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
cv0-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
cv1-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
cv2-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
soc0-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
soc1-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
soc2-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
cv0-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
cv1-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
cv2-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
soc0-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
soc1-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
soc2-thermal {
cooling-maps {
map-cpufreq {
cooling-device = <&cpu0_0 0 0>,
<&cpu1_0 0 0>,
<&cpu2_0 0 0>;
};
map-devfreq {
cooling-device = <&ga10b 0 0>;
};
};
};
};
};

View File

@@ -4,228 +4,228 @@
#include "nv-soc/tegra234-soc-audio-dai-links.dtsi"
/ {
bus@0 {
i2c@31c0000 {
typec: stusb1600@28 {
status = "okay";
compatible = "st,stusb1600";
reg = <0x28>;
vdd-supply = <&p3740_vdd_5v_sys>;
vsys-supply = <&vdd_3v3_sys>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA234_MAIN_GPIO(K, 6) IRQ_TYPE_LEVEL_LOW>;
typec_con: connector {
compatible = "usb-c-connector";
label = "USB-C";
data-role = "dual";
power-role = "dual";
typec-power-opmode = "default";
bus@0 {
i2c@31c0000 {
typec: stusb1600@28 {
status = "okay";
compatible = "st,stusb1600";
reg = <0x28>;
vdd-supply = <&p3740_vdd_5v_sys>;
vsys-supply = <&vdd_3v3_sys>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA234_MAIN_GPIO(K, 6) IRQ_TYPE_LEVEL_LOW>;
typec_con: connector {
compatible = "usb-c-connector";
label = "USB-C";
data-role = "dual";
power-role = "dual";
typec-power-opmode = "default";
port {
typec_con_ep: endpoint {
remote-endpoint = <&usb_role_switch0>;
};
};
};
};
};
i2c@c250000 {
f75308@4d {
compatible = "fintek,f75308";
reg = <0x4d>;
#address-cells = <1>;
#size-cells = <0>;
fan@0 {
reg = <0x0>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
fan@1 {
reg = <0x1>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
fan@2 {
reg = <0x2>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
fan@3 {
reg = <0x3>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
};
};
padctl@3520000 {
ports {
usb2-0 {
port {
usb_role_switch0: endpoint {
remote-endpoint = <&typec_con_ep>;
};
};
port {
typec_con_ep: endpoint {
remote-endpoint = <&usb_role_switch0>;
};
};
};
};
};
i2c@c250000 {
f75308@4d {
compatible = "fintek,f75308";
reg = <0x4d>;
#address-cells = <1>;
#size-cells = <0>;
sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a", "plla_out0", "extern1";
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
nvidia-audio-card,name = "NVIDIA Jetson IGX Orin APE";
nvidia-audio-card,mclk-fs = <256>;
nvidia-audio-card,widgets =
"Headphone", "CVB-RT Headphone Jack",
"Microphone", "CVB-RT Mic Jack",
"Speaker", "CVB-RT Int Spk",
"Microphone", "CVB-RT Int Mic";
nvidia-audio-card,routing =
"CVB-RT Headphone Jack", "CVB-RT HPOL",
"CVB-RT Headphone Jack", "CVB-RT HPOR",
"CVB-RT IN1P", "CVB-RT Mic Jack",
"CVB-RT IN2P", "CVB-RT Mic Jack",
"CVB-RT IN2N", "CVB-RT Mic Jack",
"CVB-RT IN3P", "CVB-RT Mic Jack",
"CVB-RT Int Spk", "CVB-RT SPOLP",
"CVB-RT Int Spk", "CVB-RT SPORP",
"CVB-RT Int Spk", "CVB-RT LOUTL",
"CVB-RT Int Spk", "CVB-RT LOUTR",
"CVB-RT DMIC1", "CVB-RT Int Mic",
"CVB-RT DMIC2", "CVB-RT Int Mic";
/* I2S4 dai node */
nvidia-audio-card,dai-link@79 {
link-name = "rt5640-playback";
codec {
sound-dai = <&rt5640 0>;
prefix = "CVB-RT";
};
fan@0 {
reg = <0x0>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
/* I2S6 dai node */
nvidia-audio-card,dai-link@81 {
bitclock-master;
frame-master;
fan@1 {
reg = <0x1>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
fan@2 {
reg = <0x2>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
fan@3 {
reg = <0x3>;
type = "pwm";
duty = "manual_duty";
5seg = <100 80 60 40 20>;
};
};
};
eeprom-manager {
bus@0 {
i2c-bus = <&dp_aux_ch2_i2c>;
eeprom@1 {
slave-address = <0x55>;
label = "cvb";
padctl@3520000 {
ports {
usb2-0 {
port {
usb_role_switch0: endpoint {
remote-endpoint = <&typec_con_ep>;
};
};
};
};
};
};
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";
};
};
sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a", "plla_out0", "extern1";
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
p3740_vdd_0v95_AO: regulator-vdd-0v95-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-0v95-AO";
regulator-min-microvolt = <950000>;
regulator-max-microvolt = <950000>;
nvidia-audio-card,name = "NVIDIA Jetson IGX Orin APE";
nvidia-audio-card,mclk-fs = <256>;
nvidia-audio-card,widgets =
"Headphone", "CVB-RT Headphone Jack",
"Microphone", "CVB-RT Mic Jack",
"Speaker", "CVB-RT Int Spk",
"Microphone", "CVB-RT Int Mic";
nvidia-audio-card,routing =
"CVB-RT Headphone Jack", "CVB-RT HPOL",
"CVB-RT Headphone Jack", "CVB-RT HPOR",
"CVB-RT IN1P", "CVB-RT Mic Jack",
"CVB-RT IN2P", "CVB-RT Mic Jack",
"CVB-RT IN2N", "CVB-RT Mic Jack",
"CVB-RT IN3P", "CVB-RT Mic Jack",
"CVB-RT Int Spk", "CVB-RT SPOLP",
"CVB-RT Int Spk", "CVB-RT SPORP",
"CVB-RT Int Spk", "CVB-RT LOUTL",
"CVB-RT Int Spk", "CVB-RT LOUTR",
"CVB-RT DMIC1", "CVB-RT Int Mic",
"CVB-RT DMIC2", "CVB-RT Int Mic";
/* I2S4 dai node */
nvidia-audio-card,dai-link@79 {
link-name = "rt5640-playback";
codec {
sound-dai = <&rt5640 0>;
prefix = "CVB-RT";
};
p3740_vdd_12v_sys: regulator-vdd-12v-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-12v-sys";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};
p3740_vdd_1v05_AO: regulator-vdd-1v05-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-1v05-AO";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
};
p3740_vdd_1v0_sys: regulator-vdd-1v0-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-1v0-sys";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
};
p3740_vdd_1v1_sys: regulator-vdd-1v1-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-1v1-sys";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
};
p3740_vdd_1v8_AO: regulator-vdd-1v8-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-1v8-AO";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
p3740_vdd_1v8_sys: regulator-vdd-1v8-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-1v8-sys";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
p3740_vdd_2v5_sys: regulator-vdd-2v5-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-2v5-sys";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
};
p3740_vdd_2v8_sys: regulator-vdd-2v8-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-2v8-sys";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
p3740_vdd_3v3_AO: regulator-vdd-3v3-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-3v3-AO";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
p3740_vdd_3v7_AO: regulator-vdd-3v7-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-3v7-AO";
regulator-min-microvolt = <3700000>;
regulator-max-microvolt = <3700000>;
};
p3740_vdd_5v_sys: regulator-vdd-5v-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-5v-sys";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
/* I2S6 dai node */
nvidia-audio-card,dai-link@81 {
bitclock-master;
frame-master;
};
};
eeprom-manager {
bus@0 {
i2c-bus = <&dp_aux_ch2_i2c>;
eeprom@1 {
slave-address = <0x55>;
label = "cvb";
};
};
};
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";
regulator-min-microvolt = <950000>;
regulator-max-microvolt = <950000>;
};
p3740_vdd_12v_sys: regulator-vdd-12v-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-12v-sys";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};
p3740_vdd_1v05_AO: regulator-vdd-1v05-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-1v05-AO";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
};
p3740_vdd_1v0_sys: regulator-vdd-1v0-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-1v0-sys";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
};
p3740_vdd_1v1_sys: regulator-vdd-1v1-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-1v1-sys";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
};
p3740_vdd_1v8_AO: regulator-vdd-1v8-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-1v8-AO";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
p3740_vdd_1v8_sys: regulator-vdd-1v8-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-1v8-sys";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
p3740_vdd_2v5_sys: regulator-vdd-2v5-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-2v5-sys";
regulator-min-microvolt = <2500000>;
regulator-max-microvolt = <2500000>;
};
p3740_vdd_2v8_sys: regulator-vdd-2v8-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-2v8-sys";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
p3740_vdd_3v3_AO: regulator-vdd-3v3-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-3v3-AO";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
p3740_vdd_3v7_AO: regulator-vdd-3v7-AO {
compatible = "regulator-fixed";
regulator-name = "vdd-3v7-AO";
regulator-min-microvolt = <3700000>;
regulator-max-microvolt = <3700000>;
};
p3740_vdd_5v_sys: regulator-vdd-5v-sys {
compatible = "regulator-fixed";
regulator-name = "vdd-5v-sys";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
};

View File

@@ -6,72 +6,72 @@
#include <dt-bindings/interrupt/tegra234-irq.h>
/ {
bus@0 {
mmc@3400000 {
no-sdio;
no-mmc;
nvidia,cd-wakeup-capable;
nvidia,boot-detect-delay = <1000>;
cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
};
bus@0 {
mmc@3400000 {
no-sdio;
no-mmc;
nvidia,cd-wakeup-capable;
nvidia,boot-detect-delay = <1000>;
cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
};
nvrng@3ae0000 {
status = "okay";
};
nvrng@3ae0000 {
status = "okay";
};
gpu@17000000 {
status = "okay";
};
};
gpu@17000000 {
status = "okay";
};
};
chosen {
nvidia,tegra-joint_xpu_rail;
};
chosen {
nvidia,tegra-joint_xpu_rail;
};
opp-table-cluster0 {
opp-1510400000 { /* Max CPU freq for Orin Nano */
opp-hz = /bits/ 64 <1510400000>;
opp-peak-kBps = <3200000>;
};
opp-table-cluster0 {
opp-1510400000 { /* Max CPU freq for Orin Nano */
opp-hz = /bits/ 64 <1510400000>;
opp-peak-kBps = <3200000>;
};
opp-1984000000 { /* Max CPU freq for ONX */
opp-hz = /bits/ 64 <1984000000>;
opp-peak-kBps = <3200000>;
};
};
opp-1984000000 { /* Max CPU freq for ONX */
opp-hz = /bits/ 64 <1984000000>;
opp-peak-kBps = <3200000>;
};
};
opp-table-cluster1 {
opp-1510400000 { /* Max CPU freq for Orin Nano */
opp-hz = /bits/ 64 <1510400000>;
opp-peak-kBps = <3200000>;
};
opp-table-cluster1 {
opp-1510400000 { /* Max CPU freq for Orin Nano */
opp-hz = /bits/ 64 <1510400000>;
opp-peak-kBps = <3200000>;
};
opp-1984000000 { /* Max CPU freq for ONX */
opp-hz = /bits/ 64 <1984000000>;
opp-peak-kBps = <3200000>;
};
};
opp-1984000000 { /* Max CPU freq for ONX */
opp-hz = /bits/ 64 <1984000000>;
opp-peak-kBps = <3200000>;
};
};
opp-table-cluster2 {
opp-1510400000 { /* Max CPU freq for Orin Nano */
opp-hz = /bits/ 64 <1510400000>;
opp-peak-kBps = <3200000>;
};
opp-table-cluster2 {
opp-1510400000 { /* Max CPU freq for Orin Nano */
opp-hz = /bits/ 64 <1510400000>;
opp-peak-kBps = <3200000>;
};
opp-1984000000 { /* Max CPU freq for ONX */
opp-hz = /bits/ 64 <1984000000>;
opp-peak-kBps = <3200000>;
};
};
opp-1984000000 { /* Max CPU freq for ONX */
opp-hz = /bits/ 64 <1984000000>;
opp-peak-kBps = <3200000>;
};
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
};

View File

@@ -11,440 +11,440 @@
#include "nv-soc/tegra234-soc-camera.dtsi"
#include "tegra234-dcb-p3737-0000-p3701-0000.dtsi"
/ {
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";
};
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";
};
};
};
bus@0 {
actmon@d230000 {
status = "okay";
};
pinmux@2430000 {
status = "okay";
};
i2c@3180000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
arad@290e400 {
status = "okay";
};
};
};
/* UARTA, 40 pin header, Pin 8(TX), Pin 10(RX) */
serial@3100000 {
compatible = "nvidia,tegra194-hsuart";
status = "okay";
};
/* UARTE, M2.E connector */
serial@3140000 {
compatible = "nvidia,tegra194-hsuart";
status = "okay";
};
i2c@31b0000 {
status = "okay";
};
hdr40_i2c1: i2c@c250000 {
status = "okay";
};
/* SPI1, 40pin header, Pin 19(MOSI), Pin 21(MISO), Pin 23(CLK), Pin 24(CS) */
spi@3210000{
status = "okay";
spi@0 {
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
spi@1 {
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
bus@0 {
actmon@d230000 {
status = "okay";
};
/* SPI3, 40pin header, Pin 37(MOSI), Pin 22(MISO), Pin 13(CLK), Pin 18(CS) */
spi@3230000{
status = "okay";
spi@0 {
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
pinmux@2430000 {
status = "okay";
};
spi@1 {
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
};
i2c@3180000 {
status = "okay";
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901200 {
status = "okay";
padctl@3520000 {
ports {
usb2-0 {
port {
typec_p0: endpoint {
remote-endpoint = <&fusb_p0>;
};
i2s@2901400 {
status = "okay";
};
dmic@2904000 {
status = "okay";
};
dmic@2904100 {
status = "okay";
};
dmic@2904300 {
status = "okay";
};
dspk@2905000 {
status = "okay";
};
dspk@2905100 {
status = "okay";
};
afc@2907000 {
status = "okay";
};
afc@2907100 {
status = "okay";
};
afc@2907200 {
status = "okay";
};
afc@2907300 {
status = "okay";
};
afc@2907400 {
status = "okay";
};
afc@2907500 {
status = "okay";
};
arad@290e400 {
status = "okay";
};
};
};
/* UARTA, 40 pin header, Pin 8(TX), Pin 10(RX) */
serial@3100000 {
compatible = "nvidia,tegra194-hsuart";
status = "okay";
};
/* UARTE, M2.E connector */
serial@3140000 {
compatible = "nvidia,tegra194-hsuart";
status = "okay";
};
i2c@31b0000 {
status = "okay";
};
hdr40_i2c1: i2c@c250000 {
status = "okay";
};
/* SPI1, 40pin header, Pin 19(MOSI), Pin 21(MISO), Pin 23(CLK), Pin 24(CS) */
spi@3210000{
status = "okay";
spi@0 {
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
spi@1 {
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
};
/* SPI3, 40pin header, Pin 37(MOSI), Pin 22(MISO), Pin 13(CLK), Pin 18(CS) */
spi@3230000{
status = "okay";
spi@0 {
compatible = "tegra-spidev";
reg = <0x0>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
spi@1 {
compatible = "tegra-spidev";
reg = <0x1>;
spi-max-frequency = <50000000>;
controller-data {
nvidia,enable-hw-based-cs;
nvidia,rx-clk-tap-delay = <0x10>;
nvidia,tx-clk-tap-delay = <0x0>;
};
};
};
padctl@3520000 {
ports {
usb2-0 {
port {
typec_p0: endpoint {
remote-endpoint = <&fusb_p0>;
};
};
};
};
};
i2c@c240000 {
status = "okay";
ina32211_1_40: ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
channel@0 {
reg = <0x0>;
label = "VDD_IN";
shunt-resistor-micro-ohms = <5000>;
};
channel@1 {
reg = <0x1>;
label = "VDD_CPU_GPU_CV";
shunt-resistor-micro-ohms = <5000>;
};
channel@2 {
reg = <0x2>;
label = "VDD_SOC";
shunt-resistor-micro-ohms = <5000>;
};
};
fusb301@25 {
compatible = "onsemi,fusb301";
reg = <0x25>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA234_MAIN_GPIO(Z, 1) IRQ_TYPE_LEVEL_LOW>;
connector@0 {
port@0 {
fusb_p0: endpoint {
remote-endpoint = <&typec_p0>;
};
};
};
};
};
/* C1 - M.2 Key-E */
pcie@14100000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
phys = <&p2u_hsio_3>;
phy-names = "p2u-0";
};
/* C4 - M.2 Key-M */
pcie@14160000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
phys = <&p2u_hsio_4>, <&p2u_hsio_5>, <&p2u_hsio_6>,
<&p2u_hsio_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
};
/* C8 - Ethernet */
pcie@140a0000 {
status = "okay";
num-lanes = <2>;
phys = <&p2u_gbe_2>, <&p2u_gbe_3>;
phy-names = "p2u-0", "p2u-1";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
vpcie3v3-supply = <&vdd_3v3_pcie>;
};
/* C7 - M.2 Key-M */
pcie@141e0000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
phys = <&p2u_gbe_0>, <&p2u_gbe_1>;
phy-names = "p2u-0", "p2u-1";
};
/* PWM1, 40pin header, pin 15 */
pwm@3280000 {
status = "okay";
};
/* PWM3, FAN */
pwm@32a0000 {
status = "okay";
};
/* PWM5, 40pin header, pin 33 */
pwm@32c0000 {
status = "okay";
};
/* PWM7, 40pin header, pin 32 */
pwm@32e0000 {
status = "okay";
};
serial@31d0000 {
current-speed = <115200>;
};
tachometer@39c0000 {
status = "okay";
upper-threshold = <0xfffff>;
lower-threshold = <0x0>;
};
hsp@3d00000 {
status = "okay";
};
aon@c000000 {
status = "okay";
};
hardware-timestamp@c1e0000 {
status = "okay";
nvidia,num-slices = <3>;
};
mttcan@c310000 {
status = "okay";
};
host1x@13e00000 {
nvdec@15480000 {
status = "okay";
};
nvenc@154c0000 {
status = "okay";
};
tegra_soc_hwpm {
status = "okay";
};
nvdla0@15880000 {
status = "okay";
};
nvdla1@158c0000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
nvjpg@15380000 {
status = "okay";
};
nvjpg@15540000 {
status = "okay";
};
};
};
};
cpus {
idle-states {
c7 {
status = "okay";
i2c@c240000 {
status = "okay";
ina32211_1_40: ina3221@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
channel@0 {
reg = <0x0>;
label = "VDD_IN";
shunt-resistor-micro-ohms = <5000>;
};
channel@1 {
reg = <0x1>;
label = "VDD_CPU_GPU_CV";
shunt-resistor-micro-ohms = <5000>;
};
channel@2 {
reg = <0x2>;
label = "VDD_SOC";
shunt-resistor-micro-ohms = <5000>;
};
};
fusb301@25 {
compatible = "onsemi,fusb301";
reg = <0x25>;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA234_MAIN_GPIO(Z, 1) IRQ_TYPE_LEVEL_LOW>;
connector@0 {
port@0 {
fusb_p0: endpoint {
remote-endpoint = <&typec_p0>;
};
};
};
};
};
nvpmodel {
/* C1 - M.2 Key-E */
pcie@14100000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
phys = <&p2u_hsio_3>;
phy-names = "p2u-0";
};
/* C4 - M.2 Key-M */
pcie@14160000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
phys = <&p2u_hsio_4>, <&p2u_hsio_5>, <&p2u_hsio_6>,
<&p2u_hsio_7>;
phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
};
/* C8 - Ethernet */
pcie@140a0000 {
status = "okay";
num-lanes = <2>;
phys = <&p2u_gbe_2>, <&p2u_gbe_3>;
phy-names = "p2u-0", "p2u-1";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
vpcie3v3-supply = <&vdd_3v3_pcie>;
};
/* C7 - M.2 Key-M */
pcie@141e0000 {
status = "okay";
vddio-pex-ctl-supply = <&vdd_1v8_ao>;
phys = <&p2u_gbe_0>, <&p2u_gbe_1>;
phy-names = "p2u-0", "p2u-1";
};
/* PWM1, 40pin header, pin 15 */
pwm@3280000 {
status = "okay";
};
/* PWM3, FAN */
pwm@32a0000 {
status = "okay";
};
/* PWM5, 40pin header, pin 33 */
pwm@32c0000 {
status = "okay";
};
/* PWM7, 40pin header, pin 32 */
pwm@32e0000 {
status = "okay";
};
serial@31d0000 {
current-speed = <115200>;
};
tachometer@39c0000 {
status = "okay";
upper-threshold = <0xfffff>;
lower-threshold = <0x0>;
};
hsp@3d00000 {
status = "okay";
};
aon@c000000 {
status = "okay";
};
hardware-timestamp@c1e0000 {
status = "okay";
nvidia,num-slices = <3>;
};
mttcan@c310000 {
status = "okay";
};
host1x@13e00000 {
nvdec@15480000 {
status = "okay";
};
soctherm-oc-event {
nvenc@154c0000 {
status = "okay";
};
thermal-zones {
cpu-thermal {
status = "okay";
};
gpu-thermal {
status = "okay";
};
cv0-thermal {
status = "okay";
};
cv1-thermal {
status = "okay";
};
cv2-thermal {
status = "okay";
};
soc0-thermal {
status = "okay";
};
soc1-thermal {
status = "okay";
};
soc2-thermal {
status = "okay";
};
};
tegra-hsp@b950000 {
tegra_soc_hwpm {
status = "okay";
};
dce@d800000 {
nvdla0@15880000 {
status = "okay";
};
display@13800000 {
nvdla1@158c0000 {
status = "okay";
};
ofa@15a50000 {
status = "okay";
};
pva0@16000000 {
status = "okay";
pva0_niso1_ctx0 {
status = "okay";
};
pva0_niso1_ctx1 {
status = "okay";
};
pva0_niso1_ctx2 {
status = "okay";
};
pva0_niso1_ctx3 {
status = "okay";
};
pva0_niso1_ctx4 {
status = "okay";
};
pva0_niso1_ctx5 {
status = "okay";
};
pva0_niso1_ctx6 {
status = "okay";
};
pva0_niso1_ctx7 {
status = "okay";
};
};
nvjpg@15380000 {
status = "okay";
};
nvjpg@15540000 {
status = "okay";
};
};
};
cpus {
idle-states {
c7 {
status = "okay";
};
};
};
nvpmodel {
status = "okay";
};
soctherm-oc-event {
status = "okay";
};
thermal-zones {
cpu-thermal {
status = "okay";
};
gpu-thermal {
status = "okay";
};
cv0-thermal {
status = "okay";
};
cv1-thermal {
status = "okay";
};
cv2-thermal {
status = "okay";
};
soc0-thermal {
status = "okay";
};
soc1-thermal {
status = "okay";
};
soc2-thermal {
status = "okay";
};
};
tegra-hsp@b950000 {
status = "okay";
};
dce@d800000 {
status = "okay";
};
display@13800000 {
status = "okay";
};
};

View File

@@ -2,35 +2,35 @@
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
/ {
bus@0 {
bus@0 {
aconnect@2900000 {
ahub@2900800 {
i2s@2901100 {
ports {
port@1 {
hdr40_snd_i2s_dap_ep: endpoint {
};
};
aconnect@2900000 {
ahub@2900800 {
i2s@2901100 {
ports {
port@1 {
hdr40_snd_i2s_dap_ep: endpoint {
};
};
};
};
};
};
tegra_sound_graph: tegra_sound: sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a", "plla_out0", "extern1";
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
};
nvidia-audio-card,name = "NVIDIA Jetson Orin NX APE";
tegra_sound_graph: tegra_sound: sound {
compatible = "nvidia,tegra186-audio-graph-card",
"nvidia,tegra186-ape";
clocks = <&bpmp TEGRA234_CLK_PLLA>,
<&bpmp TEGRA234_CLK_PLLA_OUT0>,
<&bpmp TEGRA234_CLK_AUD_MCLK>;
clock-names = "pll_a", "plla_out0", "extern1";
assigned-clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLA_OUT0>;
hdr40_snd_link_i2s: nvidia-audio-card,dai-link@77 { };
};
nvidia-audio-card,name = "NVIDIA Jetson Orin NX APE";
hdr40_snd_link_i2s: nvidia-audio-card,dai-link@77 { };
};
};

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

@@ -12,253 +12,253 @@
#include <dt-bindings/memory/tegra234-mc.h>
/ {
aliases { /* RCE is the Camera RTCPU */
tegra-camera-rtcpu = "/rtcpu@bc00000";
};
aliases { /* RCE is the Camera RTCPU */
tegra-camera-rtcpu = "/rtcpu@bc00000";
};
bus@0 {
host1x@13e00000 {
vi0: vi0@15c00000 {
compatible = "nvidia,tegra234-vi";
clocks = <&bpmp TEGRA234_CLK_VI>;
clock-names = "vi";
nvidia,vi-falcon-device = <&vi0_thi>;
resets = <&bpmp TEGRA234_RESET_VI>;
reset-names = "vi0";
iommus = <&smmu_iso TEGRA234_SID_ISO_VI>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VIW &emc>;
interconnect-names = "write";
non-coherent;
status = "okay";
};
vi0_thi: vi0-thi@15f00000 {
compatible = "nvidia,tegra234-vi-thi";
resets = <&bpmp TEGRA234_RESET_VI>;
reset-names = "vi0_thi";
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VI2FALR &emc>,
<&mc TEGRA234_MEMORY_CLIENT_VI2FALW &emc>;
interconnect-names = "dma-mem", "write";
status = "okay";
};
vi1: vi1@14c00000 {
compatible = "nvidia,tegra234-vi";
clocks = <&bpmp TEGRA234_CLK_VI>;
clock-names = "vi";
nvidia,vi-falcon-device = <&vi1_thi>;
resets = <&bpmp TEGRA234_RESET_VI2>;
reset-names = "vi1";
iommus = <&smmu_iso TEGRA234_SID_ISO_VI2>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VI2W &emc>;
interconnect-names = "write";
non-coherent;
status = "okay";
};
vi1_thi: vi1-thi@14f00000 {
compatible = "nvidia,tegra234-vi-thi";
resets = <&bpmp TEGRA234_RESET_VI2>;
reset-names = "vi1_thi";
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VIFALR &emc>,
<&mc TEGRA234_MEMORY_CLIENT_VIFALW &emc>;
interconnect-names = "dma-mem", "write";
status = "okay";
};
isp: isp@14800000 {
compatible = "nvidia,tegra194-isp";
reg = <0x0 0x14800000 0x0 0x00010000>;
resets = <&bpmp TEGRA234_RESET_ISP>;
reset-names = "isp";
clocks = <&bpmp TEGRA234_CLK_ISP>;
clock-names = "isp";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_ISPA>;
nvidia,isp-falcon-device = <&isp_thi>;
iommus = <&smmu_niso1 TEGRA234_SID_ISP>;
dma-coherent;
status = "okay";
};
isp_thi: isp-thi@14b00000 {
compatible = "nvidia,tegra194-isp-thi";
resets = <&bpmp TEGRA234_RESET_ISP>;
status = "okay";
};
nvcsi: nvcsi@15a00000 {
compatible = "nvidia,tegra194-nvcsi";
resets = <&bpmp TEGRA234_RESET_NVCSI>;
reset-names = "nvcsi";
clocks = <&bpmp TEGRA234_CLK_NVCSI>;
clock-names = "nvcsi";
status = "okay";
};
};
};
tegra_rce: rtcpu@bc00000 {
compatible = "nvidia,tegra194-rce";
nvidia,cpu-name = "rce";
reg = <0 0xbc00000 0 0x1000>, /* RCE EVP (RCE_ATCM_EVP) */
<0 0xb9f0000 0 0x40000>, /* RCE PM */
<0 0xb840000 0 0x10000>,
<0 0xb850000 0 0x10000>;
reg-names = "rce-evp", "rce-pm",
"ast-cpu", "ast-dma";
clocks =
<&bpmp TEGRA234_CLK_RCE_CPU_NIC>,
<&bpmp TEGRA234_CLK_RCE_NIC>,
<&bpmp TEGRA234_CLK_RCE_CPU>;
clock-names = "rce-cpu-nic", "rce-nic", "rce-cpu";
nvidia,clock-rates =
<115200000 601600000>,
<115200000 601600000>,
<115200000 601600000>;
resets = <&bpmp TEGRA234_RESET_RCE_ALL>;
reset-names = "rce-all";
interrupts = <GIC_SPI TEGRA234_IRQ_RCE_WDT_REMOTE IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "wdt-remote";
iommus = <&smmu_niso0 TEGRA234_SID_RCE>;
memory-region = <&rce_resv>;
dma-coherent;
/* Memory bandwidth in kB/s during boot */
nvidia,test-bw = <2400000>;
nvidia,trace = <&rtcpu_trace 4 0x70100000 0x100000>;
nvidia,ivc-channels = <&camera_ivc_channels 2 0x90000000 0x10000>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_RCER &emc>,
<&mc TEGRA234_MEMORY_CLIENT_RCEW &emc>;
interconnect-names = "dma-mem", "write";
nvidia,autosuspend-delay-ms = <5000>;
bus@0 {
host1x@13e00000 {
vi0: vi0@15c00000 {
compatible = "nvidia,tegra234-vi";
clocks = <&bpmp TEGRA234_CLK_VI>;
clock-names = "vi";
nvidia,vi-falcon-device = <&vi0_thi>;
resets = <&bpmp TEGRA234_RESET_VI>;
reset-names = "vi0";
iommus = <&smmu_iso TEGRA234_SID_ISO_VI>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VIW &emc>;
interconnect-names = "write";
non-coherent;
status = "okay";
hsp-vm1 {
compatible = "nvidia,tegra-camrtc-hsp-vm";
mboxes =
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(0)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(1)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SS 0>;
mbox-names = "vm-tx", "vm-rx", "vm-ss";
status = "okay";
};
hsp-vm2 {
compatible = "nvidia,tegra-camrtc-hsp-vm";
mboxes =
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(2)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(3)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SS 1>;
mbox-names = "vm-tx", "vm-rx", "vm-ss";
status = "disabled";
};
};
camera_ivc_channels: camera-ivc-channels {
echo@0 {
compatible = "nvidia,tegra186-camera-ivc-protocol-echo";
nvidia,service = "echo";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <16>;
nvidia,frame-size = <64>;
};
dbg@1 {
/* This is raw channel exposed as device */
compatible = "nvidia,tegra186-camera-ivc-protocol-dbg";
nvidia,service = "debug";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <1>;
nvidia,frame-size = <512>;
};
dbg@2 {
/* This is exposed in debugfs */
compatible = "nvidia,tegra186-camera-ivc-protocol-debug";
nvidia,service = "debug";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <1>;
nvidia,frame-size = <8192>;
nvidia,ivc-timeout = <50>;
nvidia,test-timeout = <5000>;
nvidia,mem-map = <&tegra_rce &vi0 &isp &vi1>;
/* Memory bandwidth in kB/s during tests */
nvidia,test-bw = <2400000>;
};
ivccontrol@3 {
compatible = "nvidia,tegra186-camera-ivc-protocol-capture-control";
nvidia,service = "capture-control";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <64>;
nvidia,frame-size = <320>;
};
ivccapture@4 {
compatible = "nvidia,tegra186-camera-ivc-protocol-capture";
nvidia,service = "capture";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <512>;
nvidia,frame-size = <64>;
};
diag@5 {
compatible = "nvidia,tegra186-camera-diagnostics";
nvidia,service = "diag";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <1>;
nvidia,frame-size = <64>;
};
vi0_thi: vi0-thi@15f00000 {
compatible = "nvidia,tegra234-vi-thi";
resets = <&bpmp TEGRA234_RESET_VI>;
reset-names = "vi0_thi";
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VI2FALR &emc>,
<&mc TEGRA234_MEMORY_CLIENT_VI2FALW &emc>;
interconnect-names = "dma-mem", "write";
status = "okay";
};
rtcpu_trace: tegra-rtcpu-trace {
nvidia,enable-printk;
nvidia,interval-ms = <50>;
nvidia,log-prefix = "[RCE]";
vi1: vi1@14c00000 {
compatible = "nvidia,tegra234-vi";
clocks = <&bpmp TEGRA234_CLK_VI>;
clock-names = "vi";
nvidia,vi-falcon-device = <&vi1_thi>;
resets = <&bpmp TEGRA234_RESET_VI2>;
reset-names = "vi1";
iommus = <&smmu_iso TEGRA234_SID_ISO_VI2>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VI2W &emc>;
interconnect-names = "write";
non-coherent;
status = "okay";
};
capture_vi: tegra-capture-vi {
compatible = "nvidia,tegra-camrtc-capture-vi";
nvidia,vi-devices = <&vi0 &vi1>;
nvidia,vi-mapping-size = <6>;
nvidia,vi-mapping =
<0 0>,
<1 0>,
<2 1>,
<3 1>,
<4 0>,
<5 1>;
nvidia,vi-mapping-names = "csi-stream-id", "vi-unit-id";
nvidia,vi-max-channels = <72>;
vi1_thi: vi1-thi@14f00000 {
compatible = "nvidia,tegra234-vi-thi";
resets = <&bpmp TEGRA234_RESET_VI2>;
reset-names = "vi1_thi";
interconnects = <&mc TEGRA234_MEMORY_CLIENT_VIFALR &emc>,
<&mc TEGRA234_MEMORY_CLIENT_VIFALW &emc>;
interconnect-names = "dma-mem", "write";
status = "okay";
};
reserved-memory {
rce_resv: rce-reservation {
iommu-addresses = <&tegra_rce 0x0 0x00000000 0x00000000 0xA0000000>,
<&tegra_rce 0x0 0xC0000000 0xffffffff 0x3fffffff>;
};
isp: isp@14800000 {
compatible = "nvidia,tegra194-isp";
reg = <0x0 0x14800000 0x0 0x00010000>;
camdbg_reserved: camdbg_carveout {
compatible = "nvidia,camdbg_carveout";
size = <0 0x3200000>;
alignment = <0 0x100000>;
alloc-ranges = <0x1 0 0x1 0>;
status = "disabled";
};
resets = <&bpmp TEGRA234_RESET_ISP>;
reset-names = "isp";
clocks = <&bpmp TEGRA234_CLK_ISP>;
clock-names = "isp";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_ISPA>;
nvidia,isp-falcon-device = <&isp_thi>;
iommus = <&smmu_niso1 TEGRA234_SID_ISP>;
dma-coherent;
status = "okay";
};
isp_thi: isp-thi@14b00000 {
compatible = "nvidia,tegra194-isp-thi";
resets = <&bpmp TEGRA234_RESET_ISP>;
status = "okay";
};
nvcsi: nvcsi@15a00000 {
compatible = "nvidia,tegra194-nvcsi";
resets = <&bpmp TEGRA234_RESET_NVCSI>;
reset-names = "nvcsi";
clocks = <&bpmp TEGRA234_CLK_NVCSI>;
clock-names = "nvcsi";
status = "okay";
};
};
};
tegra_rce: rtcpu@bc00000 {
compatible = "nvidia,tegra194-rce";
nvidia,cpu-name = "rce";
reg = <0 0xbc00000 0 0x1000>, /* RCE EVP (RCE_ATCM_EVP) */
<0 0xb9f0000 0 0x40000>, /* RCE PM */
<0 0xb840000 0 0x10000>,
<0 0xb850000 0 0x10000>;
reg-names = "rce-evp", "rce-pm",
"ast-cpu", "ast-dma";
clocks =
<&bpmp TEGRA234_CLK_RCE_CPU_NIC>,
<&bpmp TEGRA234_CLK_RCE_NIC>,
<&bpmp TEGRA234_CLK_RCE_CPU>;
clock-names = "rce-cpu-nic", "rce-nic", "rce-cpu";
nvidia,clock-rates =
<115200000 601600000>,
<115200000 601600000>,
<115200000 601600000>;
resets = <&bpmp TEGRA234_RESET_RCE_ALL>;
reset-names = "rce-all";
interrupts = <GIC_SPI TEGRA234_IRQ_RCE_WDT_REMOTE IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "wdt-remote";
iommus = <&smmu_niso0 TEGRA234_SID_RCE>;
memory-region = <&rce_resv>;
dma-coherent;
/* Memory bandwidth in kB/s during boot */
nvidia,test-bw = <2400000>;
nvidia,trace = <&rtcpu_trace 4 0x70100000 0x100000>;
nvidia,ivc-channels = <&camera_ivc_channels 2 0x90000000 0x10000>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_RCER &emc>,
<&mc TEGRA234_MEMORY_CLIENT_RCEW &emc>;
interconnect-names = "dma-mem", "write";
nvidia,autosuspend-delay-ms = <5000>;
status = "okay";
hsp-vm1 {
compatible = "nvidia,tegra-camrtc-hsp-vm";
mboxes =
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(0)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(1)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SS 0>;
mbox-names = "vm-tx", "vm-rx", "vm-ss";
status = "okay";
};
hsp-vm2 {
compatible = "nvidia,tegra-camrtc-hsp-vm";
mboxes =
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(2)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(3)>,
<&hsp_rce TEGRA_HSP_MBOX_TYPE_SS 1>;
mbox-names = "vm-tx", "vm-rx", "vm-ss";
status = "disabled";
};
};
camera_ivc_channels: camera-ivc-channels {
echo@0 {
compatible = "nvidia,tegra186-camera-ivc-protocol-echo";
nvidia,service = "echo";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <16>;
nvidia,frame-size = <64>;
};
dbg@1 {
/* This is raw channel exposed as device */
compatible = "nvidia,tegra186-camera-ivc-protocol-dbg";
nvidia,service = "debug";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <1>;
nvidia,frame-size = <512>;
};
dbg@2 {
/* This is exposed in debugfs */
compatible = "nvidia,tegra186-camera-ivc-protocol-debug";
nvidia,service = "debug";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <1>;
nvidia,frame-size = <8192>;
nvidia,ivc-timeout = <50>;
nvidia,test-timeout = <5000>;
nvidia,mem-map = <&tegra_rce &vi0 &isp &vi1>;
/* Memory bandwidth in kB/s during tests */
nvidia,test-bw = <2400000>;
};
ivccontrol@3 {
compatible = "nvidia,tegra186-camera-ivc-protocol-capture-control";
nvidia,service = "capture-control";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <64>;
nvidia,frame-size = <320>;
};
ivccapture@4 {
compatible = "nvidia,tegra186-camera-ivc-protocol-capture";
nvidia,service = "capture";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <512>;
nvidia,frame-size = <64>;
};
diag@5 {
compatible = "nvidia,tegra186-camera-diagnostics";
nvidia,service = "diag";
nvidia,version = <0>;
nvidia,group = <1>;
nvidia,frame-count = <1>;
nvidia,frame-size = <64>;
};
};
rtcpu_trace: tegra-rtcpu-trace {
nvidia,enable-printk;
nvidia,interval-ms = <50>;
nvidia,log-prefix = "[RCE]";
};
capture_vi: tegra-capture-vi {
compatible = "nvidia,tegra-camrtc-capture-vi";
nvidia,vi-devices = <&vi0 &vi1>;
nvidia,vi-mapping-size = <6>;
nvidia,vi-mapping =
<0 0>,
<1 0>,
<2 1>,
<3 1>,
<4 0>,
<5 1>;
nvidia,vi-mapping-names = "csi-stream-id", "vi-unit-id";
nvidia,vi-max-channels = <72>;
};
reserved-memory {
rce_resv: rce-reservation {
iommu-addresses = <&tegra_rce 0x0 0x00000000 0x00000000 0xA0000000>,
<&tegra_rce 0x0 0xC0000000 0xffffffff 0x3fffffff>;
};
camdbg_reserved: camdbg_carveout {
compatible = "nvidia,camdbg_carveout";
size = <0 0x3200000>;
alignment = <0 0x100000>;
alloc-ranges = <0x1 0 0x1 0>;
status = "disabled";
};
};
};

View File

@@ -4,175 +4,175 @@
#include <dt-bindings/power/tegra234-powergate.h>
/ {
dce@d800000 {
compatible = "nvidia,tegra234-dce";
reg = <0x0 0x0d800000 0x0 0x00800000>;
interrupts =
<0 376 0x4>,
<0 377 0x4>;
interrupt-names = "wdt-remote",
"dce-sm0";
iommus = <&smmu_niso0 TEGRA234_SID_DCE>;
status = "disabled";
};
dce@d800000 {
compatible = "nvidia,tegra234-dce";
reg = <0x0 0x0d800000 0x0 0x00800000>;
interrupts =
<0 376 0x4>,
<0 377 0x4>;
interrupt-names = "wdt-remote",
"dce-sm0";
iommus = <&smmu_niso0 TEGRA234_SID_DCE>;
status = "disabled";
};
display@13800000 {
compatible = "nvidia,tegra234-display";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_DISP>;
nvidia,num-dpaux-instance = <1>;
reg-names = "nvdisplay", "dpaux0", "hdacodec", "mipical";
reg = <0x0 0x13800000 0x0 0xEFFFF /* nvdisplay */
0x0 0x155C0000 0x0 0xFFFF /* dpaux0 */
0x0 0x0242c000 0x0 0x1000 /* hdacodec */
0x0 0x03990000 0x0 0x10000>; /* mipical */
interrupt-names = "nvdisplay", "dpaux0", "hdacodec";
interrupts = <0 416 4
0 419 4
0 61 4>;
nvidia,bpmp = <&bpmp>;
clocks = <&bpmp TEGRA234_CLK_HUB>,
<&bpmp TEGRA234_CLK_DISP>,
<&bpmp TEGRA234_CLK_NVDISPLAY_P0>,
<&bpmp TEGRA234_CLK_NVDISPLAY_P1>,
<&bpmp TEGRA234_CLK_DPAUX>,
<&bpmp TEGRA234_CLK_FUSE>,
<&bpmp TEGRA234_CLK_DSIPLL_VCO>,
<&bpmp TEGRA234_CLK_DSIPLL_CLKOUTPN>,
<&bpmp TEGRA234_CLK_DSIPLL_CLKOUTA>,
<&bpmp TEGRA234_CLK_SPPLL0_VCO>,
<&bpmp TEGRA234_CLK_SPPLL0_CLKOUTPN>,
<&bpmp TEGRA234_CLK_SPPLL0_CLKOUTA>,
<&bpmp TEGRA234_CLK_SPPLL0_CLKOUTB>,
<&bpmp TEGRA234_CLK_SPPLL0_DIV10>,
<&bpmp TEGRA234_CLK_SPPLL0_DIV25>,
<&bpmp TEGRA234_CLK_SPPLL0_DIV27PN>,
<&bpmp TEGRA234_CLK_SPPLL1_VCO>,
<&bpmp TEGRA234_CLK_SPPLL1_CLKOUTPN>,
<&bpmp TEGRA234_CLK_SPPLL1_DIV27PN>,
<&bpmp TEGRA234_CLK_VPLL0_REF>,
<&bpmp TEGRA234_CLK_VPLL0>,
<&bpmp TEGRA234_CLK_VPLL1>,
<&bpmp TEGRA234_CLK_NVDISPLAY_P0_REF>,
<&bpmp TEGRA234_CLK_RG0>,
<&bpmp TEGRA234_CLK_RG1>,
<&bpmp TEGRA234_CLK_DISPPLL>,
<&bpmp TEGRA234_CLK_DISPHUBPLL>,
<&bpmp TEGRA234_CLK_DSI_LP>,
<&bpmp TEGRA234_CLK_DSI_CORE>,
<&bpmp TEGRA234_CLK_DSI_PIXEL>,
<&bpmp TEGRA234_CLK_PRE_SOR0>,
<&bpmp TEGRA234_CLK_PRE_SOR1>,
<&bpmp TEGRA234_CLK_DP_LINK_REF>,
<&bpmp TEGRA234_CLK_SOR_LINKA_INPUT>,
<&bpmp TEGRA234_CLK_SOR_LINKA_AFIFO>,
<&bpmp TEGRA234_CLK_SOR_LINKA_AFIFO_M>,
<&bpmp TEGRA234_CLK_RG0_M>,
<&bpmp TEGRA234_CLK_RG1_M>,
<&bpmp TEGRA234_CLK_SOR0_M>,
<&bpmp TEGRA234_CLK_SOR1_M>,
<&bpmp TEGRA234_CLK_PLLHUB>,
<&bpmp TEGRA234_CLK_SOR0>,
<&bpmp TEGRA234_CLK_SOR1>,
<&bpmp TEGRA234_CLK_SOR_PAD_INPUT>,
<&bpmp TEGRA234_CLK_PRE_SF0>,
<&bpmp TEGRA234_CLK_SF0>,
<&bpmp TEGRA234_CLK_SF1>,
<&bpmp TEGRA234_CLK_DSI_PAD_INPUT>,
<&bpmp TEGRA234_CLK_PRE_SOR0_REF>,
<&bpmp TEGRA234_CLK_PRE_SOR1_REF>,
<&bpmp TEGRA234_CLK_SOR0_PLL_REF>,
<&bpmp TEGRA234_CLK_SOR1_PLL_REF>,
<&bpmp TEGRA234_CLK_SOR0_REF>,
<&bpmp TEGRA234_CLK_SOR1_REF>,
<&bpmp TEGRA234_CLK_OSC>,
<&bpmp TEGRA234_CLK_DSC>,
<&bpmp TEGRA234_CLK_MAUD>,
<&bpmp TEGRA234_CLK_AZA_2XBIT>,
<&bpmp TEGRA234_CLK_AZA_BIT>,
<&bpmp TEGRA234_CLK_MIPI_CAL>,
<&bpmp TEGRA234_CLK_UART_FST_MIPI_CAL>,
<&bpmp TEGRA234_CLK_SOR0_DIV>;
clock-names = "nvdisplayhub_clk",
"nvdisplay_disp_clk",
"nvdisplay_p0_clk",
"nvdisplay_p1_clk",
"dpaux0_clk",
"fuse_clk",
"dsipll_vco_clk",
"dsipll_clkoutpn_clk",
"dsipll_clkouta_clk",
"sppll0_vco_clk",
"sppll0_clkoutpn_clk",
"sppll0_clkouta_clk",
"sppll0_clkoutb_clk",
"sppll0_div10_clk",
"sppll0_div25_clk",
"sppll0_div27_clk",
"sppll1_vco_clk",
"sppll1_clkoutpn_clk",
"sppll1_div27_clk",
"vpll0_ref_clk",
"vpll0_clk",
"vpll1_clk",
"nvdisplay_p0_ref_clk",
"rg0_clk",
"rg1_clk",
"disppll_clk",
"disphubpll_clk",
"dsi_lp_clk",
"dsi_core_clk",
"dsi_pixel_clk",
"pre_sor0_clk",
"pre_sor1_clk",
"dp_link_ref_clk",
"sor_linka_input_clk",
"sor_linka_afifo_clk",
"sor_linka_afifo_m_clk",
"rg0_m_clk",
"rg1_m_clk",
"sor0_m_clk",
"sor1_m_clk",
"pllhub_clk",
"sor0_clk",
"sor1_clk",
"sor_pad_input_clk",
"pre_sf0_clk",
"sf0_clk",
"sf1_clk",
"dsi_pad_input_clk",
"pre_sor0_ref_clk",
"pre_sor1_ref_clk",
"sor0_ref_pll_clk",
"sor1_ref_pll_clk",
"sor0_ref_clk",
"sor1_ref_clk",
"osc_clk",
"dsc_clk",
"maud_clk",
"aza_2xbit_clk",
"aza_bit_clk",
"mipi_cal_clk",
"uart_fst_mipi_cal_clk",
"sor0_div_clk";
resets = <&bpmp TEGRA234_RESET_NVDISPLAY>,
<&bpmp TEGRA234_RESET_DPAUX>,
<&bpmp TEGRA234_RESET_DSI_CORE>,
<&bpmp TEGRA234_RESET_MIPI_CAL>;
reset-names = "nvdisplay_reset",
"dpaux0_reset",
"dsi_core_reset",
"mipi_cal_reset";
status = "disabled";
nvidia,disp-sw-soc-chip-id = <0x2350>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_NVDISPLAYR &emc>,
<&mc TEGRA234_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
interconnect-names = "dma-mem", "read-1";
iommus = <&smmu_iso TEGRA234_SID_ISO_NVDISPLAY>;
non-coherent;
nvdisplay-niso {
compatible = "nvidia,tegra234-display-niso";
iommus = <&smmu_niso0 TEGRA234_SID_NVDISPLAY>;
dma-coherent;
};
};
display@13800000 {
compatible = "nvidia,tegra234-display";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_DISP>;
nvidia,num-dpaux-instance = <1>;
reg-names = "nvdisplay", "dpaux0", "hdacodec", "mipical";
reg = <0x0 0x13800000 0x0 0xEFFFF /* nvdisplay */
0x0 0x155C0000 0x0 0xFFFF /* dpaux0 */
0x0 0x0242c000 0x0 0x1000 /* hdacodec */
0x0 0x03990000 0x0 0x10000>; /* mipical */
interrupt-names = "nvdisplay", "dpaux0", "hdacodec";
interrupts = <0 416 4
0 419 4
0 61 4>;
nvidia,bpmp = <&bpmp>;
clocks = <&bpmp TEGRA234_CLK_HUB>,
<&bpmp TEGRA234_CLK_DISP>,
<&bpmp TEGRA234_CLK_NVDISPLAY_P0>,
<&bpmp TEGRA234_CLK_NVDISPLAY_P1>,
<&bpmp TEGRA234_CLK_DPAUX>,
<&bpmp TEGRA234_CLK_FUSE>,
<&bpmp TEGRA234_CLK_DSIPLL_VCO>,
<&bpmp TEGRA234_CLK_DSIPLL_CLKOUTPN>,
<&bpmp TEGRA234_CLK_DSIPLL_CLKOUTA>,
<&bpmp TEGRA234_CLK_SPPLL0_VCO>,
<&bpmp TEGRA234_CLK_SPPLL0_CLKOUTPN>,
<&bpmp TEGRA234_CLK_SPPLL0_CLKOUTA>,
<&bpmp TEGRA234_CLK_SPPLL0_CLKOUTB>,
<&bpmp TEGRA234_CLK_SPPLL0_DIV10>,
<&bpmp TEGRA234_CLK_SPPLL0_DIV25>,
<&bpmp TEGRA234_CLK_SPPLL0_DIV27PN>,
<&bpmp TEGRA234_CLK_SPPLL1_VCO>,
<&bpmp TEGRA234_CLK_SPPLL1_CLKOUTPN>,
<&bpmp TEGRA234_CLK_SPPLL1_DIV27PN>,
<&bpmp TEGRA234_CLK_VPLL0_REF>,
<&bpmp TEGRA234_CLK_VPLL0>,
<&bpmp TEGRA234_CLK_VPLL1>,
<&bpmp TEGRA234_CLK_NVDISPLAY_P0_REF>,
<&bpmp TEGRA234_CLK_RG0>,
<&bpmp TEGRA234_CLK_RG1>,
<&bpmp TEGRA234_CLK_DISPPLL>,
<&bpmp TEGRA234_CLK_DISPHUBPLL>,
<&bpmp TEGRA234_CLK_DSI_LP>,
<&bpmp TEGRA234_CLK_DSI_CORE>,
<&bpmp TEGRA234_CLK_DSI_PIXEL>,
<&bpmp TEGRA234_CLK_PRE_SOR0>,
<&bpmp TEGRA234_CLK_PRE_SOR1>,
<&bpmp TEGRA234_CLK_DP_LINK_REF>,
<&bpmp TEGRA234_CLK_SOR_LINKA_INPUT>,
<&bpmp TEGRA234_CLK_SOR_LINKA_AFIFO>,
<&bpmp TEGRA234_CLK_SOR_LINKA_AFIFO_M>,
<&bpmp TEGRA234_CLK_RG0_M>,
<&bpmp TEGRA234_CLK_RG1_M>,
<&bpmp TEGRA234_CLK_SOR0_M>,
<&bpmp TEGRA234_CLK_SOR1_M>,
<&bpmp TEGRA234_CLK_PLLHUB>,
<&bpmp TEGRA234_CLK_SOR0>,
<&bpmp TEGRA234_CLK_SOR1>,
<&bpmp TEGRA234_CLK_SOR_PAD_INPUT>,
<&bpmp TEGRA234_CLK_PRE_SF0>,
<&bpmp TEGRA234_CLK_SF0>,
<&bpmp TEGRA234_CLK_SF1>,
<&bpmp TEGRA234_CLK_DSI_PAD_INPUT>,
<&bpmp TEGRA234_CLK_PRE_SOR0_REF>,
<&bpmp TEGRA234_CLK_PRE_SOR1_REF>,
<&bpmp TEGRA234_CLK_SOR0_PLL_REF>,
<&bpmp TEGRA234_CLK_SOR1_PLL_REF>,
<&bpmp TEGRA234_CLK_SOR0_REF>,
<&bpmp TEGRA234_CLK_SOR1_REF>,
<&bpmp TEGRA234_CLK_OSC>,
<&bpmp TEGRA234_CLK_DSC>,
<&bpmp TEGRA234_CLK_MAUD>,
<&bpmp TEGRA234_CLK_AZA_2XBIT>,
<&bpmp TEGRA234_CLK_AZA_BIT>,
<&bpmp TEGRA234_CLK_MIPI_CAL>,
<&bpmp TEGRA234_CLK_UART_FST_MIPI_CAL>,
<&bpmp TEGRA234_CLK_SOR0_DIV>;
clock-names = "nvdisplayhub_clk",
"nvdisplay_disp_clk",
"nvdisplay_p0_clk",
"nvdisplay_p1_clk",
"dpaux0_clk",
"fuse_clk",
"dsipll_vco_clk",
"dsipll_clkoutpn_clk",
"dsipll_clkouta_clk",
"sppll0_vco_clk",
"sppll0_clkoutpn_clk",
"sppll0_clkouta_clk",
"sppll0_clkoutb_clk",
"sppll0_div10_clk",
"sppll0_div25_clk",
"sppll0_div27_clk",
"sppll1_vco_clk",
"sppll1_clkoutpn_clk",
"sppll1_div27_clk",
"vpll0_ref_clk",
"vpll0_clk",
"vpll1_clk",
"nvdisplay_p0_ref_clk",
"rg0_clk",
"rg1_clk",
"disppll_clk",
"disphubpll_clk",
"dsi_lp_clk",
"dsi_core_clk",
"dsi_pixel_clk",
"pre_sor0_clk",
"pre_sor1_clk",
"dp_link_ref_clk",
"sor_linka_input_clk",
"sor_linka_afifo_clk",
"sor_linka_afifo_m_clk",
"rg0_m_clk",
"rg1_m_clk",
"sor0_m_clk",
"sor1_m_clk",
"pllhub_clk",
"sor0_clk",
"sor1_clk",
"sor_pad_input_clk",
"pre_sf0_clk",
"sf0_clk",
"sf1_clk",
"dsi_pad_input_clk",
"pre_sor0_ref_clk",
"pre_sor1_ref_clk",
"sor0_ref_pll_clk",
"sor1_ref_pll_clk",
"sor0_ref_clk",
"sor1_ref_clk",
"osc_clk",
"dsc_clk",
"maud_clk",
"aza_2xbit_clk",
"aza_bit_clk",
"mipi_cal_clk",
"uart_fst_mipi_cal_clk",
"sor0_div_clk";
resets = <&bpmp TEGRA234_RESET_NVDISPLAY>,
<&bpmp TEGRA234_RESET_DPAUX>,
<&bpmp TEGRA234_RESET_DSI_CORE>,
<&bpmp TEGRA234_RESET_MIPI_CAL>;
reset-names = "nvdisplay_reset",
"dpaux0_reset",
"dsi_core_reset",
"mipi_cal_reset";
status = "disabled";
nvidia,disp-sw-soc-chip-id = <0x2350>;
interconnects = <&mc TEGRA234_MEMORY_CLIENT_NVDISPLAYR &emc>,
<&mc TEGRA234_MEMORY_CLIENT_NVDISPLAYR1 &emc>;
interconnect-names = "dma-mem", "read-1";
iommus = <&smmu_iso TEGRA234_SID_ISO_NVDISPLAY>;
non-coherent;
nvdisplay-niso {
compatible = "nvidia,tegra234-display-niso";
iommus = <&smmu_niso0 TEGRA234_SID_NVDISPLAY>;
dma-coherent;
};
};
};

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

@@ -5,143 +5,143 @@
#include <dt-bindings/memory/tegra234-mc.h>
/ {
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
fsicom_resv: reservation-fsicom {
iommu-addresses = <&fsicom_client 0x0 0x0 0x0 0xf0000000>,
<&fsicom_client 0x0 0xf1000000 0xffffffff 0x0effffff>;
};
fsicom_resv_inst1: reservation-fsicom_inst1 {
iommu-addresses = <&fsicom_client_inst1 0x0 0x0 0x0 0xf0000000>,
<&fsicom_client_inst1 0x0 0xf1000000 0xffffffff 0x0effffff>;
};
};
fsicom_client: fsicom_client {
compatible = "nvidia,tegra234-fsicom-client";
#if TEGRA_HSP_DT_VERSION >= DT_VERSION_2
mboxes =
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(2)>,
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_RX(1)>,
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(5)>,
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_RX(4)>;
#else
mboxes =
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(2)>,
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_RX(1)>,
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(5)>,
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_RX(4)>;
#endif
mbox-names = "fsi-tx-cpu0", "fsi-rx-cpu0", "fsi-tx-cpu1", "fsi-rx-cpu1";
iommus = <&smmu_niso1 TEGRA234_SID_NISO1_FSI_CPU0>;
memory-region = <&fsicom_resv>;
dma-coherent;
#if defined(ENABLE_FSI) && !defined(ENABLE_MODS_CONFIG)
enable-deinit-notify;
#endif
smmu_inst = <0>;
max_fsi_core=<1>; /*Value 1 <-> core 0, value 2 <-> core0,1*/
status = "disabled";
};
fsicom_client_inst1: fsicom_client_inst1 {
compatible = "nvidia,tegra234-fsicom-client";
iommus = <&smmu_niso1 TEGRA234_SID_NISO1_FSI_CPU1>;
memory-region = <&fsicom_resv_inst1>;
dma-coherent;
smmu_inst = <1>;
status = "okay";
};
safetyservices_epl_client@110000 {
compatible = "nvidia,tegra234-epl-client";
#if TEGRA_HSP_DT_VERSION >= DT_VERSION_2
mboxes =
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(0)>;
#else
mboxes =
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(0)>;
#endif
mbox-names = "epl-tx";
reg = <0x0 0x00110000 0x0 0x4>,
<0x0 0x00110004 0x0 0x4>,
<0x0 0x00120000 0x0 0x4>,
<0x0 0x00120004 0x0 0x4>,
<0x0 0x00130000 0x0 0x4>,
<0x0 0x00130004 0x0 0x4>,
<0x0 0x00140000 0x0 0x4>,
<0x0 0x00140004 0x0 0x4>,
<0x0 0x00150000 0x0 0x4>,
<0x0 0x00150004 0x0 0x4>,
<0x0 0x024e0038 0x0 0x4>;
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR0_SW_ERR_CODE_0 */
client-misc-sw-generic-err0 = "fsicom_client";
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR1_SW_ERR_CODE_0 */
client-misc-sw-generic-err1 = "gk20b";
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR3_SW_ERR_CODE_0 */
client-misc-sw-generic-err3 = "gk20d";
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR4_SW_ERR_CODE_0 */
client-misc-sw-generic-err4 = "gk20e";
#if defined(ENABLE_FSI) && !defined(ENABLE_MODS_CONFIG)
enable-deinit-notify;
#endif
status = "disabled";
};
FsiComIvc {
compatible = "nvidia,tegra-fsicom-channels";
status = "disabled";
nChannel=<7>;
channel_0{
frame-count = <4>;
frame-size = <1024>;
core-id = <0>;
NvSciCh = "nvfsicom_EPD";
};
channel_1{
frame-count = <30>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_CcplexApp";
};
channel_2{
frame-count = <4>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_CcplexApp_state_change";
};
channel_3{
frame-count = <4>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_app1";
};
channel_4{
frame-count = <2>;
frame-size = <64>;
core-id = <1>;
NvSciCh = "nvfsicom_app2";
};
channel_5{
frame-count = <4>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_appGR";
};
channel_6{
frame-count = <4>;
frame-size = <10240>;
core-id = <0>;
};
};
FsiComClientChConfigEpd{
compatible = "nvidia,tegra-fsicom-EPD";
status = "disabled";
channelid_list = <0>;
};
fsicom_resv: reservation-fsicom {
iommu-addresses = <&fsicom_client 0x0 0x0 0x0 0xf0000000>,
<&fsicom_client 0x0 0xf1000000 0xffffffff 0x0effffff>;
};
fsicom_resv_inst1: reservation-fsicom_inst1 {
iommu-addresses = <&fsicom_client_inst1 0x0 0x0 0x0 0xf0000000>,
<&fsicom_client_inst1 0x0 0xf1000000 0xffffffff 0x0effffff>;
};
};
fsicom_client: fsicom_client {
compatible = "nvidia,tegra234-fsicom-client";
#if TEGRA_HSP_DT_VERSION >= DT_VERSION_2
mboxes =
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(2)>,
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_RX(1)>,
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(5)>,
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_RX(4)>;
#else
mboxes =
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(2)>,
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_RX(1)>,
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(5)>,
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_RX(4)>;
#endif
mbox-names = "fsi-tx-cpu0", "fsi-rx-cpu0", "fsi-tx-cpu1", "fsi-rx-cpu1";
iommus = <&smmu_niso1 TEGRA234_SID_NISO1_FSI_CPU0>;
memory-region = <&fsicom_resv>;
dma-coherent;
#if defined(ENABLE_FSI) && !defined(ENABLE_MODS_CONFIG)
enable-deinit-notify;
#endif
smmu_inst = <0>;
max_fsi_core=<1>; /*Value 1 <-> core 0, value 2 <-> core0,1*/
status = "disabled";
};
fsicom_client_inst1: fsicom_client_inst1 {
compatible = "nvidia,tegra234-fsicom-client";
iommus = <&smmu_niso1 TEGRA234_SID_NISO1_FSI_CPU1>;
memory-region = <&fsicom_resv_inst1>;
dma-coherent;
smmu_inst = <1>;
status = "okay";
};
safetyservices_epl_client@110000 {
compatible = "nvidia,tegra234-epl-client";
#if TEGRA_HSP_DT_VERSION >= DT_VERSION_2
mboxes =
<&hsp_top2 (TEGRA_HSP_MBOX_TYPE_SM | TEGRA_HSP_MBOX_TYPE_SM_128BIT) TEGRA_HSP_SM_TX(0)>;
#else
mboxes =
<&hsp_top2 TEGRA_HSP_MBOX_TYPE_SM_128BIT TEGRA_HSP_SM_TX(0)>;
#endif
mbox-names = "epl-tx";
reg = <0x0 0x00110000 0x0 0x4>,
<0x0 0x00110004 0x0 0x4>,
<0x0 0x00120000 0x0 0x4>,
<0x0 0x00120004 0x0 0x4>,
<0x0 0x00130000 0x0 0x4>,
<0x0 0x00130004 0x0 0x4>,
<0x0 0x00140000 0x0 0x4>,
<0x0 0x00140004 0x0 0x4>,
<0x0 0x00150000 0x0 0x4>,
<0x0 0x00150004 0x0 0x4>,
<0x0 0x024e0038 0x0 0x4>;
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR0_SW_ERR_CODE_0 */
client-misc-sw-generic-err0 = "fsicom_client";
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR1_SW_ERR_CODE_0 */
client-misc-sw-generic-err1 = "gk20b";
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR3_SW_ERR_CODE_0 */
client-misc-sw-generic-err3 = "gk20d";
/* Device driver's name for reporting errors via MISCREG_MISC_EC_ERR4_SW_ERR_CODE_0 */
client-misc-sw-generic-err4 = "gk20e";
#if defined(ENABLE_FSI) && !defined(ENABLE_MODS_CONFIG)
enable-deinit-notify;
#endif
status = "disabled";
};
FsiComIvc {
compatible = "nvidia,tegra-fsicom-channels";
status = "disabled";
nChannel=<7>;
channel_0{
frame-count = <4>;
frame-size = <1024>;
core-id = <0>;
NvSciCh = "nvfsicom_EPD";
};
channel_1{
frame-count = <30>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_CcplexApp";
};
channel_2{
frame-count = <4>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_CcplexApp_state_change";
};
channel_3{
frame-count = <4>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_app1";
};
channel_4{
frame-count = <2>;
frame-size = <64>;
core-id = <1>;
NvSciCh = "nvfsicom_app2";
};
channel_5{
frame-count = <4>;
frame-size = <64>;
core-id = <0>;
NvSciCh = "nvfsicom_appGR";
};
channel_6{
frame-count = <4>;
frame-size = <10240>;
core-id = <0>;
};
};
FsiComClientChConfigEpd{
compatible = "nvidia,tegra-fsicom-EPD";
status = "disabled";
channelid_list = <0>;
};
};

View File

@@ -4,95 +4,95 @@
#define TEGRA234_THERMAL_SHUTDOWN_TEMP 104500
/ {
thermal-zones {
cpu-thermal {
trips {
cpu_sw_shutdown: cpu-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
gpu-thermal {
trips {
gpu_sw_shutdown: gpu-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
cv0-thermal {
trips {
cv0_sw_shutdown: cv0-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
cv1-thermal {
trips {
cv1_sw_shutdown: cv1-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
cv2-thermal {
trips {
cv2_sw_shutdown: cv2-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
soc0-thermal {
trips {
soc0_sw_shutdown: soc0-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
soc1-thermal {
trips {
soc1_sw_shutdown: soc1-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
soc2-thermal {
trips {
soc2_sw_shutdown: soc2-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
tj-thermal {
trips {
tj_sw_shutdown: tj-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
thermal-zones {
cpu-thermal {
trips {
cpu_sw_shutdown: cpu-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
gpu-thermal {
trips {
gpu_sw_shutdown: gpu-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
cv0-thermal {
trips {
cv0_sw_shutdown: cv0-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
cv1-thermal {
trips {
cv1_sw_shutdown: cv1-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
cv2-thermal {
trips {
cv2_sw_shutdown: cv2-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
soc0-thermal {
trips {
soc0_sw_shutdown: soc0-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
soc1-thermal {
trips {
soc1_sw_shutdown: soc1-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
soc2-thermal {
trips {
soc2_sw_shutdown: soc2-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
tj-thermal {
trips {
tj_sw_shutdown: tj-sw-shutdown {
temperature = <TEGRA234_THERMAL_SHUTDOWN_TEMP>;
hysteresis = <0>;
type = "critical";
};
};
};
};
};

View File

@@ -6,217 +6,217 @@
#define TEGRA234_THERMAL_SLOWDOWN_TEMP 99000
/ {
bus@0 {
gpu@17000000 {
#cooling-cells = <2>;
bus@0 {
gpu@17000000 {
#cooling-cells = <2>;
};
};
cpus{
cpu@0 {
#cooling-cells = <2>;
};
cpu@10000 {
#cooling-cells = <2>;
};
cpu@20000 {
#cooling-cells = <2>;
};
};
thermal-zones {
cpu-thermal {
trips {
cpu_sw_slowdown: cpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cpus{
cpu@0 {
#cooling-cells = <2>;
cooling-maps {
map-cpufreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
cpu@10000 {
#cooling-cells = <2>;
map-devfreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cpu@20000 {
#cooling-cells = <2>;
gpu-thermal {
trips {
gpu_sw_slowdown: gpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
thermal-zones {
cpu-thermal {
trips {
cpu_sw_slowdown: cpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
cooling-maps {
map-cpufreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
gpu-thermal {
trips {
gpu_sw_slowdown: gpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv0-thermal {
trips {
cv0_sw_slowdown: cv0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv1-thermal {
trips {
cv1_sw_slowdown: cv1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv2-thermal {
trips {
cv2_sw_slowdown: cv2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc0-thermal {
trips {
soc0_sw_slowdown: soc0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc1-thermal {
trips {
soc1_sw_slowdown: soc1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc2-thermal {
trips {
soc2_sw_slowdown: soc2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
map-devfreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv0-thermal {
trips {
cv0_sw_slowdown: cv0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv1-thermal {
trips {
cv1_sw_slowdown: cv1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv2-thermal {
trips {
cv2_sw_slowdown: cv2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc0-thermal {
trips {
soc0_sw_slowdown: soc0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc1-thermal {
trips {
soc1_sw_slowdown: soc1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc2-thermal {
trips {
soc2_sw_slowdown: soc2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
};
};

View File

@@ -6,253 +6,253 @@
#define TEGRA234_THERMAL_SLOWDOWN_TEMP 99000
/ {
bus@0 {
gpu@17000000 {
#cooling-cells = <2>;
bus@0 {
gpu@17000000 {
#cooling-cells = <2>;
};
};
cpus{
cpu@0 {
#cooling-cells = <2>;
};
cpu@200 {
#cooling-cells = <2>;
};
cpu@10000 {
#cooling-cells = <2>;
};
cpu@10200 {
#cooling-cells = <2>;
};
cpu@20000 {
#cooling-cells = <2>;
};
cpu@20200 {
#cooling-cells = <2>;
};
};
thermal-zones {
cpu-thermal {
trips {
cpu_sw_slowdown: cpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cpus{
cpu@0 {
#cooling-cells = <2>;
cooling-maps {
map-cpufreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
cpu@200 {
#cooling-cells = <2>;
map-devfreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cpu@10000 {
#cooling-cells = <2>;
};
cpu@10200 {
#cooling-cells = <2>;
};
cpu@20000 {
#cooling-cells = <2>;
};
cpu@20200 {
#cooling-cells = <2>;
gpu-thermal {
trips {
gpu_sw_slowdown: gpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
thermal-zones {
cpu-thermal {
trips {
cpu_sw_slowdown: cpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
cooling-maps {
map-cpufreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
gpu-thermal {
trips {
gpu_sw_slowdown: gpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv0-thermal {
trips {
cv0_sw_slowdown: cv0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv1-thermal {
trips {
cv1_sw_slowdown: cv1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv2-thermal {
trips {
cv2_sw_slowdown: cv2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc0-thermal {
trips {
soc0_sw_slowdown: soc0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc1-thermal {
trips {
soc1_sw_slowdown: soc1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc2-thermal {
trips {
soc2_sw_slowdown: soc2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
map-devfreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv0-thermal {
trips {
cv0_sw_slowdown: cv0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv1-thermal {
trips {
cv1_sw_slowdown: cv1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv2-thermal {
trips {
cv2_sw_slowdown: cv2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc0-thermal {
trips {
soc0_sw_slowdown: soc0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc1-thermal {
trips {
soc1_sw_slowdown: soc1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc2-thermal {
trips {
soc2_sw_slowdown: soc2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
};
};

View File

@@ -4,50 +4,50 @@
#define TEGRA234_THERMAL_POLLING_DELAY 1000
/ {
thermal-zones {
cpu-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
thermal-zones {
cpu-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
gpu-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
gpu-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
cv0-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
cv0-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
cv1-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
cv1-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
cv2-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
cv2-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
soc0-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
soc0-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
soc1-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
soc1-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
soc2-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
soc2-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
tj-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
};
tj-thermal {
polling-delay = <TEGRA234_THERMAL_POLLING_DELAY>;
polling-delay-passive = <TEGRA234_THERMAL_POLLING_DELAY>;
};
};
};