mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
Enable the TJ thermal zone and hook up cooling maps for the PWM-
controlled fan and two trip points.
This also removes a duplicate definition of the PWM fan and changes its
cooling levels. This should have no effect, though, because the fan
wasn't previously connected to anything and by default would be turned
off at probe time.
Cherry picked from commit a6fb90f0eefb13e2cf18f39f1a84a9ef6054153b
Bug 3960800
Bug 4035713
Bug 4204722
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I222e43a16f8853ccec70006b72a40973b5e2cc86
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941396
(cherry picked from commit 50b6a5db24)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944435
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
104 lines
2.0 KiB
Devicetree
104 lines
2.0 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/input/linux-event-codes.h>
|
|
#include <dt-bindings/input/gpio-keys.h>
|
|
|
|
#include "tegra234-p3767-0000.dtsi"
|
|
#include "tegra234-p3768-0000.dtsi"
|
|
|
|
/ {
|
|
compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234";
|
|
model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit";
|
|
|
|
aliases {
|
|
serial0 = &tcu;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
bus@0 {
|
|
serial@31d0000 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@32a0000 {
|
|
assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
|
|
assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
|
|
status = "okay";
|
|
};
|
|
|
|
hda@3510000 {
|
|
nvidia,model = "NVIDIA Jetson Orin NX HDA";
|
|
status = "okay";
|
|
};
|
|
|
|
padctl@3520000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
|
|
key-force-recovery {
|
|
label = "Force Recovery";
|
|
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
|
|
linux,input-type = <EV_KEY>;
|
|
linux,code = <BTN_1>;
|
|
};
|
|
|
|
key-power {
|
|
label = "Power";
|
|
gpios = <&gpio_aon TEGRA234_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
|
|
linux,input-type = <EV_KEY>;
|
|
linux,code = <KEY_POWER>;
|
|
wakeup-event-action = <EV_ACT_ASSERTED>;
|
|
wakeup-source;
|
|
};
|
|
|
|
key-suspend {
|
|
label = "Suspend";
|
|
gpios = <&gpio TEGRA234_MAIN_GPIO(G, 2) GPIO_ACTIVE_LOW>;
|
|
linux,input-type = <EV_KEY>;
|
|
linux,code = <KEY_SLEEP>;
|
|
};
|
|
};
|
|
|
|
pwm-fan {
|
|
cooling-levels = <0 187 255>;
|
|
};
|
|
|
|
vdd_3v3_pcie: regulator-vdd-3v3-pcie {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VDD_3V3_PCIE";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
gpio = <&gpio_aon TEGRA234_AON_GPIO(AA, 5) GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
|
|
serial {
|
|
status = "okay";
|
|
};
|
|
|
|
thermal-zones {
|
|
tj-thermal {
|
|
cooling-maps {
|
|
map-active-0 {
|
|
cooling-device = <&fan 0 1>;
|
|
trip = <&tj_trip_active0>;
|
|
};
|
|
|
|
map-active-1 {
|
|
cooling-device = <&fan 1 2>;
|
|
trip = <&tj_trip_active1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|