]> asedeno.scripts.mit.edu Git - linux.git/blob - arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
arm64: tegra: Enable DisplayPort on Jetson AGX Xavier
[linux.git] / arch / arm64 / boot / dts / nvidia / tegra194-p2972-0000.dts
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 Developer Kit";
11         compatible = "nvidia,p2972-0000", "nvidia,tegra194";
12
13         cbb@0 {
14                 aconnect@2900000 {
15                         status = "okay";
16
17                         dma-controller@2930000 {
18                                 status = "okay";
19                         };
20
21                         interrupt-controller@2a40000 {
22                                 status = "okay";
23                         };
24                 };
25
26                 ddc: i2c@31c0000 {
27                         status = "okay";
28                 };
29
30                 /* SDMMC1 (SD/MMC) */
31                 sdhci@3400000 {
32                         status = "okay";
33                 };
34
35                 hda@3510000 {
36                         nvidia,model = "jetson-xavier-hda";
37                         status = "okay";
38                 };
39
40                 pwm@c340000 {
41                         status = "okay";
42                 };
43
44                 host1x@13e00000 {
45                         display-hub@15200000 {
46                                 status = "okay";
47                         };
48
49                         dpaux@155c0000 {
50                                 status = "okay";
51                         };
52
53                         dpaux@155d0000 {
54                                 status = "okay";
55                         };
56
57                         dpaux@155e0000 {
58                                 status = "okay";
59                         };
60
61                         /* DP0 */
62                         sor@15b00000 {
63                                 status = "okay";
64
65                                 avdd-io-hdmi-dp-supply = <&vdd_1v0>;
66                                 vdd-hdmi-dp-pll-supply = <&vdd_1v8hs>;
67
68                                 nvidia,dpaux = <&dpaux0>;
69                         };
70
71                         /* DP1 */
72                         sor@15b40000 {
73                                 status = "okay";
74
75                                 avdd-io-hdmi-dp-supply = <&vdd_1v0>;
76                                 vdd-hdmi-dp-pll-supply = <&vdd_1v8hs>;
77
78                                 nvidia,dpaux = <&dpaux1>;
79                         };
80
81                         /* HDMI */
82                         sor@15b80000 {
83                                 status = "okay";
84
85                                 avdd-io-supply = <&vdd_1v0>;
86                                 vdd-pll-supply = <&vdd_1v8hs>;
87                                 hdmi-supply = <&vdd_hdmi>;
88
89                                 nvidia,ddc-i2c-bus = <&ddc>;
90                                 nvidia,hpd-gpio = <&gpio TEGRA194_MAIN_GPIO(M, 2)
91                                                          GPIO_ACTIVE_LOW>;
92                         };
93                 };
94         };
95
96         pcie@14100000 {
97                 status = "okay";
98
99                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
100
101                 phys = <&p2u_hsio_0>;
102                 phy-names = "p2u-0";
103         };
104
105         pcie@14140000 {
106                 status = "okay";
107
108                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
109
110                 phys = <&p2u_hsio_7>;
111                 phy-names = "p2u-0";
112         };
113
114         pcie@14180000 {
115                 status = "okay";
116
117                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
118
119                 phys = <&p2u_hsio_2>, <&p2u_hsio_3>, <&p2u_hsio_4>,
120                        <&p2u_hsio_5>;
121                 phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
122         };
123
124         pcie@141a0000 {
125                 status = "okay";
126
127                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
128                 vpcie3v3-supply = <&vdd_3v3_pcie>;
129                 vpcie12v-supply = <&vdd_12v_pcie>;
130
131                 phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
132                        <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
133                        <&p2u_nvhs_6>, <&p2u_nvhs_7>;
134
135                 phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
136                             "p2u-5", "p2u-6", "p2u-7";
137         };
138
139         fan: fan {
140                 compatible = "pwm-fan";
141                 pwms = <&pwm4 0 45334>;
142
143                 cooling-levels = <0 64 128 255>;
144                 #cooling-cells = <2>;
145         };
146
147         gpio-keys {
148                 compatible = "gpio-keys";
149
150                 force-recovery {
151                         label = "Force Recovery";
152                         gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0)
153                                        GPIO_ACTIVE_LOW>;
154                         linux,input-type = <EV_KEY>;
155                         linux,code = <BTN_1>;
156                         debounce-interval = <10>;
157                 };
158
159                 power {
160                         label = "Power";
161                         gpios = <&gpio_aon TEGRA194_AON_GPIO(EE, 4)
162                                            GPIO_ACTIVE_LOW>;
163                         linux,input-type = <EV_KEY>;
164                         linux,code = <KEY_POWER>;
165                         debounce-interval = <10>;
166                         wakeup-event-action = <EV_ACT_ASSERTED>;
167                         wakeup-source;
168                 };
169         };
170
171         thermal-zones {
172                 cpu {
173                         polling-delay = <0>;
174                         polling-delay-passive = <500>;
175                         status = "okay";
176
177                         trips {
178                                 cpu_trip_critical: critical {
179                                         temperature = <96500>;
180                                         hysteresis = <0>;
181                                         type = "critical";
182                                 };
183
184                                 cpu_trip_hot: hot {
185                                         temperature = <70000>;
186                                         hysteresis = <2000>;
187                                         type = "hot";
188                                 };
189
190                                 cpu_trip_active: active {
191                                         temperature = <50000>;
192                                         hysteresis = <2000>;
193                                         type = "active";
194                                 };
195
196                                 cpu_trip_passive: passive {
197                                         temperature = <30000>;
198                                         hysteresis = <2000>;
199                                         type = "passive";
200                                 };
201                         };
202
203                         cooling-maps {
204                                 cpu-critical {
205                                         cooling-device = <&fan 3 3>;
206                                         trip = <&cpu_trip_critical>;
207                                 };
208
209                                 cpu-hot {
210                                         cooling-device = <&fan 2 2>;
211                                         trip = <&cpu_trip_hot>;
212                                 };
213
214                                 cpu-active {
215                                         cooling-device = <&fan 1 1>;
216                                         trip = <&cpu_trip_active>;
217                                 };
218
219                                 cpu-passive {
220                                         cooling-device = <&fan 0 0>;
221                                         trip = <&cpu_trip_passive>;
222                                 };
223                         };
224                 };
225
226                 gpu {
227                         polling-delay = <0>;
228                         polling-delay-passive = <500>;
229                         status = "okay";
230
231                         trips {
232                                 gpu_alert0: critical {
233                                         temperature = <99000>;
234                                         hysteresis = <0>;
235                                         type = "critical";
236                                 };
237                         };
238                 };
239
240                 aux {
241                         polling-delay = <0>;
242                         polling-delay-passive = <500>;
243                         status = "okay";
244
245                         trips {
246                                 aux_alert0: critical {
247                                         temperature = <90000>;
248                                         hysteresis = <0>;
249                                         type = "critical";
250                                 };
251                         };
252                 };
253         };
254 };