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		spi@3270000 {
11			status = "okay";
12
13			flash@0 {
14				compatible = "jedec,spi-nor";
15				reg = <0>;
16				spi-max-frequency = <102000000>;
17				spi-tx-bus-width = <4>;
18				spi-rx-bus-width = <4>;
19			};
20		};
21
22		mmc@3400000 {
23			status = "okay";
24			bus-width = <4>;
25			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
26			disable-wp;
27		};
28
29		mmc@3460000 {
30			status = "okay";
31			bus-width = <8>;
32			non-removable;
33		};
34
35		padctl@3520000 {
36			vclamp-usb-supply = <&vdd_1v8_ao>;
37			avdd-usb-supply = <&vdd_3v3_ao>;
38
39			ports {
40				usb2-0 {
41					vbus-supply = <&vdd_5v0_sys>;
42				};
43
44				usb2-1 {
45					vbus-supply = <&vdd_5v0_sys>;
46				};
47
48				usb2-2 {
49					vbus-supply = <&vdd_5v0_sys>;
50				};
51
52				usb2-3 {
53					vbus-supply = <&vdd_5v0_sys>;
54				};
55			};
56		};
57
58		rtc@c2a0000 {
59			status = "okay";
60		};
61
62		pmc@c360000 {
63			nvidia,invert-interrupt;
64		};
65	};
66
67	vdd_5v0_sys: regulator-vdd-5v0-sys {
68		compatible = "regulator-fixed";
69		regulator-name = "VIN_SYS_5V0";
70		regulator-min-microvolt = <5000000>;
71		regulator-max-microvolt = <5000000>;
72		regulator-always-on;
73		regulator-boot-on;
74	};
75
76	vdd_1v8_ls: regulator-vdd-1v8-ls {
77		compatible = "regulator-fixed";
78		regulator-name = "VDD_1V8_LS";
79		regulator-min-microvolt = <1800000>;
80		regulator-max-microvolt = <1800000>;
81		regulator-always-on;
82	};
83
84	vdd_1v8_ao: regulator-vdd-1v8-ao {
85		compatible = "regulator-fixed";
86		regulator-name = "VDD_1V8_AO";
87		regulator-min-microvolt = <1800000>;
88		regulator-max-microvolt = <1800000>;
89		regulator-always-on;
90	};
91
92	vdd_3v3_ao: regulator-vdd-3v3-ao {
93		compatible = "regulator-fixed";
94		regulator-name = "VDD_3V3_AO";
95		regulator-min-microvolt = <3300000>;
96		regulator-max-microvolt = <3300000>;
97		regulator-always-on;
98	};
99
100	vdd_3v3_pcie: regulator-vdd-3v3-pcie {
101		compatible = "regulator-fixed";
102		regulator-name = "VDD_3V3_PCIE";
103		regulator-min-microvolt = <3300000>;
104		regulator-max-microvolt = <3300000>;
105		gpio = <&gpio TEGRA234_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
106		regulator-boot-on;
107		enable-active-high;
108	};
109
110	vdd_12v_pcie: regulator-vdd-12v-pcie {
111		compatible = "regulator-fixed";
112		regulator-name = "VDD_12V_PCIE";
113		regulator-min-microvolt = <12000000>;
114		regulator-max-microvolt = <12000000>;
115		gpio = <&gpio TEGRA234_MAIN_GPIO(A, 1) GPIO_ACTIVE_LOW>;
116		regulator-boot-on;
117	};
118};
119