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