]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm64/nvidia/tegra194-p2972-0000.dts
Import libxo-1.3.1:
[FreeBSD/FreeBSD.git] / sys / gnu / dts / arm64 / 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 {
14                 aconnect {
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@155e0000 {
50                                 status = "okay";
51                         };
52
53                         sor@15b80000 {
54                                 status = "okay";
55
56                                 avdd-io-supply = <&vdd_1v0>;
57                                 vdd-pll-supply = <&vdd_1v8hs>;
58                                 hdmi-supply = <&vdd_hdmi>;
59
60                                 nvidia,ddc-i2c-bus = <&ddc>;
61                                 nvidia,hpd-gpio = <&gpio TEGRA194_MAIN_GPIO(M, 2)
62                                                          GPIO_ACTIVE_LOW>;
63                         };
64                 };
65         };
66
67         pcie@14100000 {
68                 status = "okay";
69
70                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
71
72                 phys = <&p2u_hsio_0>;
73                 phy-names = "p2u-0";
74         };
75
76         pcie@14140000 {
77                 status = "okay";
78
79                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
80
81                 phys = <&p2u_hsio_7>;
82                 phy-names = "p2u-0";
83         };
84
85         pcie@14180000 {
86                 status = "okay";
87
88                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
89
90                 phys = <&p2u_hsio_2>, <&p2u_hsio_3>, <&p2u_hsio_4>,
91                        <&p2u_hsio_5>;
92                 phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
93         };
94
95         pcie@141a0000 {
96                 status = "disabled";
97
98                 vddio-pex-ctl-supply = <&vdd_1v8ao>;
99
100                 phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
101                        <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
102                        <&p2u_nvhs_6>, <&p2u_nvhs_7>;
103
104                 phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
105                             "p2u-5", "p2u-6", "p2u-7";
106         };
107
108         fan: fan {
109                 compatible = "pwm-fan";
110                 pwms = <&pwm4 0 45334>;
111
112                 cooling-levels = <0 64 128 255>;
113                 #cooling-cells = <2>;
114         };
115
116         gpio-keys {
117                 compatible = "gpio-keys";
118
119                 force-recovery {
120                         label = "Force Recovery";
121                         gpios = <&gpio TEGRA194_MAIN_GPIO(G, 0)
122                                        GPIO_ACTIVE_LOW>;
123                         linux,input-type = <EV_KEY>;
124                         linux,code = <BTN_1>;
125                         debounce-interval = <10>;
126                 };
127
128                 power {
129                         label = "Power";
130                         gpios = <&gpio_aon TEGRA194_AON_GPIO(EE, 4)
131                                            GPIO_ACTIVE_LOW>;
132                         linux,input-type = <EV_KEY>;
133                         linux,code = <KEY_POWER>;
134                         debounce-interval = <10>;
135                         wakeup-event-action = <EV_ACT_ASSERTED>;
136                         wakeup-source;
137                 };
138         };
139
140         thermal-zones {
141                 cpu {
142                         polling-delay = <0>;
143                         polling-delay-passive = <500>;
144                         status = "okay";
145
146                         trips {
147                                 cpu_trip_critical: critical {
148                                         temperature = <96500>;
149                                         hysteresis = <0>;
150                                         type = "critical";
151                                 };
152
153                                 cpu_trip_hot: hot {
154                                         temperature = <70000>;
155                                         hysteresis = <2000>;
156                                         type = "hot";
157                                 };
158
159                                 cpu_trip_active: active {
160                                         temperature = <50000>;
161                                         hysteresis = <2000>;
162                                         type = "active";
163                                 };
164
165                                 cpu_trip_passive: passive {
166                                         temperature = <30000>;
167                                         hysteresis = <2000>;
168                                         type = "passive";
169                                 };
170                         };
171
172                         cooling-maps {
173                                 cpu-critical {
174                                         cooling-device = <&fan 3 3>;
175                                         trip = <&cpu_trip_critical>;
176                                 };
177
178                                 cpu-hot {
179                                         cooling-device = <&fan 2 2>;
180                                         trip = <&cpu_trip_hot>;
181                                 };
182
183                                 cpu-active {
184                                         cooling-device = <&fan 1 1>;
185                                         trip = <&cpu_trip_active>;
186                                 };
187
188                                 cpu-passive {
189                                         cooling-device = <&fan 0 0>;
190                                         trip = <&cpu_trip_passive>;
191                                 };
192                         };
193                 };
194
195                 gpu {
196                         polling-delay = <0>;
197                         polling-delay-passive = <500>;
198                         status = "okay";
199
200                         trips {
201                                 gpu_alert0: critical {
202                                         temperature = <99000>;
203                                         hysteresis = <0>;
204                                         type = "critical";
205                                 };
206                         };
207                 };
208
209                 aux {
210                         polling-delay = <0>;
211                         polling-delay-passive = <500>;
212                         status = "okay";
213
214                         trips {
215                                 aux_alert0: critical {
216                                         temperature = <90000>;
217                                         hysteresis = <0>;
218                                         type = "critical";
219                                 };
220                         };
221                 };
222         };
223 };