1// SPDX-License-Identifier: GPL-2.0 2/dts-v1/; 3 4#include <dt-bindings/input/linux-event-codes.h> 5#include <dt-bindings/input/gpio-keys.h> 6 7#include "tegra194-p2888.dtsi" 8 9/ { 10 model = "NVIDIA Jetson AGX Xavier Development Kit"; 11 compatible = "nvidia,p2972-0000", "nvidia,tegra194"; 12 13 cbb { 14 ddc: i2c@31c0000 { 15 status = "okay"; 16 }; 17 18 /* SDMMC1 (SD/MMC) */ 19 sdhci@3400000 { 20 status = "okay"; 21 }; 22 23 hda@3510000 { 24 nvidia,model = "jetson-xavier-hda"; 25 status = "okay"; 26 }; 27 28 pwm@c340000 { 29 status = "okay"; 30 }; 31 32 host1x@13e00000 { 33 display-hub@15200000 { 34 status = "okay"; 35 }; 36 37 dpaux@155e0000 { 38 status = "okay"; 39 }; 40 41 sor@15b80000 { 42 status = "okay"; 43 44 avdd-io-supply = <&vdd_1v0>; 45 vdd-pll-supply = <&vdd_1v8hs>; 46 hdmi-supply = <&vdd_hdmi>; 47 48 nvidia,ddc-i2c-bus = <&ddc>; 49 nvidia,hpd-gpio = <&gpio TEGRA194_MAIN_GPIO(M, 2) 50 GPIO_ACTIVE_LOW>; 51 }; 52 }; 53 }; 54 55 fan: fan { 56 compatible = "pwm-fan"; 57 pwms = <&pwm4 0 45334>; 58 59 cooling-levels = <0 64 128 255>; 60 #cooling-cells = <2>; 61 }; 62 63 gpio-keys { 64 compatible = "gpio-keys"; 65 66 force-recovery { 67 label = "Force Recovery"; 68 gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0) 69 GPIO_ACTIVE_LOW>; 70 linux,input-type = <EV_KEY>; 71 linux,code = <BTN_1>; 72 debounce-interval = <10>; 73 }; 74 75 power { 76 label = "Power"; 77 gpios = <&gpio_aon TEGRA194_AON_GPIO(EE, 4) 78 GPIO_ACTIVE_LOW>; 79 linux,input-type = <EV_KEY>; 80 linux,code = <KEY_POWER>; 81 debounce-interval = <10>; 82 wakeup-event-action = <EV_ACT_ASSERTED>; 83 wakeup-source; 84 }; 85 }; 86 87 thermal-zones { 88 cpu { 89 polling-delay = <0>; 90 polling-delay-passive = <500>; 91 status = "okay"; 92 93 trips { 94 cpu_trip_critical: critical { 95 temperature = <96500>; 96 hysteresis = <0>; 97 type = "critical"; 98 }; 99 100 cpu_trip_hot: hot { 101 temperature = <70000>; 102 hysteresis = <2000>; 103 type = "hot"; 104 }; 105 106 cpu_trip_active: active { 107 temperature = <50000>; 108 hysteresis = <2000>; 109 type = "active"; 110 }; 111 112 cpu_trip_passive: passive { 113 temperature = <30000>; 114 hysteresis = <2000>; 115 type = "passive"; 116 }; 117 }; 118 119 cooling-maps { 120 cpu-critical { 121 cooling-device = <&fan 3 3>; 122 trip = <&cpu_trip_critical>; 123 }; 124 125 cpu-hot { 126 cooling-device = <&fan 2 2>; 127 trip = <&cpu_trip_hot>; 128 }; 129 130 cpu-active { 131 cooling-device = <&fan 1 1>; 132 trip = <&cpu_trip_active>; 133 }; 134 135 cpu-passive { 136 cooling-device = <&fan 0 0>; 137 trip = <&cpu_trip_passive>; 138 }; 139 }; 140 }; 141 142 gpu { 143 polling-delay = <0>; 144 polling-delay-passive = <500>; 145 status = "okay"; 146 147 trips { 148 gpu_alert0: critical { 149 temperature = <99000>; 150 hysteresis = <0>; 151 type = "critical"; 152 }; 153 }; 154 }; 155 156 aux { 157 polling-delay = <0>; 158 polling-delay-passive = <500>; 159 status = "okay"; 160 161 trips { 162 aux_alert0: critical { 163 temperature = <90000>; 164 hysteresis = <0>; 165 type = "critical"; 166 }; 167 }; 168 }; 169 }; 170}; 171