mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
The old "cooling-{min,max}-state" properties for thermal bindings were ratified to "cooling-{min,max}-level" by commiteb168b70de
("of: thermal: Fix inconsitency between cooling-*-state and cooling-*-level"), which were later removed entirely by commite04907dbc2
("dt-bindings: thermal: Remove "cooling-{min|max}-level" properties"). The pwm-fan binding, however, was apparently in-flight in parallel with that ratification, and so managed to introduce an example of the old properties which escaped the scope of the later cleanup and has thus continued to be dutifully copied for new boards despite being useless. Clean up these remaining undocumented anachronisms to minimise any further confusion. Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Thierry Reding <treding@nvidia.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Shawn Guo <shawnguo@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
170 lines
2.9 KiB
Text
170 lines
2.9 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/input/linux-event-codes.h>
|
|
#include <dt-bindings/input/gpio-keys.h>
|
|
|
|
#include "tegra194-p2888.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA Jetson AGX Xavier Development Kit";
|
|
compatible = "nvidia,p2972-0000", "nvidia,tegra194";
|
|
|
|
cbb {
|
|
ddc: i2c@31c0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* SDMMC1 (SD/MMC) */
|
|
sdhci@3400000 {
|
|
status = "okay";
|
|
};
|
|
|
|
hda@3510000 {
|
|
nvidia,model = "jetson-xavier-hda";
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@c340000 {
|
|
status = "okay";
|
|
};
|
|
|
|
host1x@13e00000 {
|
|
display-hub@15200000 {
|
|
status = "okay";
|
|
};
|
|
|
|
dpaux@155e0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sor@15b80000 {
|
|
status = "okay";
|
|
|
|
avdd-io-supply = <&vdd_1v0>;
|
|
vdd-pll-supply = <&vdd_1v8hs>;
|
|
hdmi-supply = <&vdd_hdmi>;
|
|
|
|
nvidia,ddc-i2c-bus = <&ddc>;
|
|
nvidia,hpd-gpio = <&gpio TEGRA194_MAIN_GPIO(M, 2)
|
|
GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
fan: fan {
|
|
compatible = "pwm-fan";
|
|
pwms = <&pwm4 0 45334>;
|
|
|
|
cooling-levels = <0 64 128 255>;
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
|
|
force-recovery {
|
|
label = "Force Recovery";
|
|
gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0)
|
|
GPIO_ACTIVE_LOW>;
|
|
linux,input-type = <EV_KEY>;
|
|
linux,code = <BTN_1>;
|
|
debounce-interval = <10>;
|
|
};
|
|
|
|
power {
|
|
label = "Power";
|
|
gpios = <&gpio_aon TEGRA194_AON_GPIO(EE, 4)
|
|
GPIO_ACTIVE_LOW>;
|
|
linux,input-type = <EV_KEY>;
|
|
linux,code = <KEY_POWER>;
|
|
debounce-interval = <10>;
|
|
wakeup-event-action = <EV_ACT_ASSERTED>;
|
|
wakeup-source;
|
|
};
|
|
};
|
|
|
|
thermal-zones {
|
|
cpu {
|
|
polling-delay = <0>;
|
|
polling-delay-passive = <500>;
|
|
status = "okay";
|
|
|
|
trips {
|
|
cpu_trip_critical: critical {
|
|
temperature = <96500>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
|
|
cpu_trip_hot: hot {
|
|
temperature = <70000>;
|
|
hysteresis = <2000>;
|
|
type = "hot";
|
|
};
|
|
|
|
cpu_trip_active: active {
|
|
temperature = <50000>;
|
|
hysteresis = <2000>;
|
|
type = "active";
|
|
};
|
|
|
|
cpu_trip_passive: passive {
|
|
temperature = <30000>;
|
|
hysteresis = <2000>;
|
|
type = "passive";
|
|
};
|
|
};
|
|
|
|
cooling-maps {
|
|
cpu-critical {
|
|
cooling-device = <&fan 3 3>;
|
|
trip = <&cpu_trip_critical>;
|
|
};
|
|
|
|
cpu-hot {
|
|
cooling-device = <&fan 2 2>;
|
|
trip = <&cpu_trip_hot>;
|
|
};
|
|
|
|
cpu-active {
|
|
cooling-device = <&fan 1 1>;
|
|
trip = <&cpu_trip_active>;
|
|
};
|
|
|
|
cpu-passive {
|
|
cooling-device = <&fan 0 0>;
|
|
trip = <&cpu_trip_passive>;
|
|
};
|
|
};
|
|
};
|
|
|
|
gpu {
|
|
polling-delay = <0>;
|
|
polling-delay-passive = <500>;
|
|
status = "okay";
|
|
|
|
trips {
|
|
gpu_alert0: critical {
|
|
temperature = <99000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
|
|
aux {
|
|
polling-delay = <0>;
|
|
polling-delay-passive = <500>;
|
|
status = "okay";
|
|
|
|
trips {
|
|
aux_alert0: critical {
|
|
temperature = <90000>;
|
|
hysteresis = <0>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|