xref: /freebsd/sys/contrib/device-tree/src/arm64/nvidia/tegra234-p3701-0000.dtsi (revision b1fd95c9e24791d44593e611406b41e57826a5b8)
1// SPDX-License-Identifier: GPL-2.0
2
3#include "tegra234.dtsi"
4
5/ {
6	model = "NVIDIA Jetson AGX Orin";
7	compatible = "nvidia,p3701-0000", "nvidia,tegra234";
8
9	bus@0 {
10		i2c@3160000 {
11			status = "okay";
12
13			eeprom@50 {
14				compatible = "atmel,24c02";
15				reg = <0x50>;
16
17				label = "module";
18				vcc-supply = <&vdd_1v8_hs>;
19				address-width = <8>;
20				pagesize = <8>;
21				size = <256>;
22				read-only;
23			};
24		};
25
26		spi@3270000 {
27			status = "okay";
28
29			flash@0 {
30				compatible = "jedec,spi-nor";
31				reg = <0>;
32				spi-max-frequency = <102000000>;
33				spi-tx-bus-width = <4>;
34				spi-rx-bus-width = <4>;
35			};
36		};
37
38		mmc@3400000 {
39			status = "okay";
40			bus-width = <4>;
41			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
42			disable-wp;
43		};
44
45		mmc@3460000 {
46			status = "okay";
47			bus-width = <8>;
48			non-removable;
49		};
50
51		padctl@3520000 {
52			vclamp-usb-supply = <&vdd_1v8_ao>;
53			avdd-usb-supply = <&vdd_3v3_ao>;
54
55			ports {
56				usb2-0 {
57					vbus-supply = <&vdd_5v0_sys>;
58				};
59
60				usb2-1 {
61					vbus-supply = <&vdd_5v0_sys>;
62				};
63
64				usb2-2 {
65					vbus-supply = <&vdd_5v0_sys>;
66				};
67
68				usb2-3 {
69					vbus-supply = <&vdd_5v0_sys>;
70				};
71			};
72		};
73
74		rtc@c2a0000 {
75			status = "okay";
76		};
77
78		pmc@c360000 {
79			nvidia,invert-interrupt;
80		};
81	};
82
83	vdd_5v0_sys: regulator-vdd-5v0-sys {
84		compatible = "regulator-fixed";
85		regulator-name = "VIN_SYS_5V0";
86		regulator-min-microvolt = <5000000>;
87		regulator-max-microvolt = <5000000>;
88		regulator-always-on;
89		regulator-boot-on;
90	};
91
92	vdd_1v8_ls: regulator-vdd-1v8-ls {
93		compatible = "regulator-fixed";
94		regulator-name = "VDD_1V8_LS";
95		regulator-min-microvolt = <1800000>;
96		regulator-max-microvolt = <1800000>;
97		regulator-always-on;
98	};
99
100	vdd_1v8_hs: regulator-vdd-1v8-hs {
101		compatible = "regulator-fixed";
102		regulator-name = "VDD_1V8_HS";
103		regulator-min-microvolt = <1800000>;
104		regulator-max-microvolt = <1800000>;
105		regulator-always-on;
106	};
107
108	vdd_1v8_ao: regulator-vdd-1v8-ao {
109		compatible = "regulator-fixed";
110		regulator-name = "VDD_1V8_AO";
111		regulator-min-microvolt = <1800000>;
112		regulator-max-microvolt = <1800000>;
113		regulator-always-on;
114	};
115
116	vdd_3v3_ao: regulator-vdd-3v3-ao {
117		compatible = "regulator-fixed";
118		regulator-name = "VDD_3V3_AO";
119		regulator-min-microvolt = <3300000>;
120		regulator-max-microvolt = <3300000>;
121		regulator-always-on;
122	};
123
124	vdd_3v3_pcie: regulator-vdd-3v3-pcie {
125		compatible = "regulator-fixed";
126		regulator-name = "VDD_3V3_PCIE";
127		regulator-min-microvolt = <3300000>;
128		regulator-max-microvolt = <3300000>;
129		gpio = <&gpio TEGRA234_MAIN_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
130		regulator-boot-on;
131		enable-active-high;
132	};
133
134	vdd_12v_pcie: regulator-vdd-12v-pcie {
135		compatible = "regulator-fixed";
136		regulator-name = "VDD_12V_PCIE";
137		regulator-min-microvolt = <12000000>;
138		regulator-max-microvolt = <12000000>;
139		gpio = <&gpio TEGRA234_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>;
140		regulator-boot-on;
141	};
142
143	thermal-zones {
144		tj-thermal {
145			polling-delay = <1000>;
146			polling-delay-passive = <1000>;
147			status = "okay";
148
149			trips {
150				tj_trip_active0: active-0 {
151					temperature = <75000>;
152					hysteresis = <4000>;
153					type = "active";
154				};
155
156				tj_trip_active1: active-1 {
157					temperature = <95000>;
158					hysteresis = <4000>;
159					type = "active";
160				};
161			};
162		};
163	};
164};
165