forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi
....@@ -4,21 +4,22 @@
44 #include <dt-bindings/mfd/max77620.h>
55
66 / {
7
- model = "NVIDIA Tegra194 P2888 Processor Module";
7
+ model = "NVIDIA Jetson AGX Xavier";
88 compatible = "nvidia,p2888", "nvidia,tegra194";
99
1010 aliases {
11
- sdhci0 = "/cbb/sdhci@3460000";
12
- sdhci1 = "/cbb/sdhci@3400000";
13
- serial0 = &uartb;
11
+ ethernet0 = "/bus@0/ethernet@2490000";
1412 i2c0 = "/bpmp/i2c";
15
- i2c1 = "/cbb/i2c@3160000";
16
- i2c2 = "/cbb/i2c@c240000";
17
- i2c3 = "/cbb/i2c@3180000";
18
- i2c4 = "/cbb/i2c@3190000";
19
- i2c5 = "/cbb/i2c@31c0000";
20
- i2c6 = "/cbb/i2c@c250000";
21
- i2c7 = "/cbb/i2c@31e0000";
13
+ i2c1 = "/bus@0/i2c@3160000";
14
+ i2c2 = "/bus@0/i2c@c240000";
15
+ i2c3 = "/bus@0/i2c@3180000";
16
+ i2c4 = "/bus@0/i2c@3190000";
17
+ i2c5 = "/bus@0/i2c@31c0000";
18
+ i2c6 = "/bus@0/i2c@c250000";
19
+ i2c7 = "/bus@0/i2c@31e0000";
20
+ mmc0 = "/bus@0/mmc@3460000";
21
+ mmc1 = "/bus@0/mmc@3400000";
22
+ serial0 = &tcu;
2223 };
2324
2425 chosen {
....@@ -26,7 +27,7 @@
2627 stdout-path = "serial0:115200n8";
2728 };
2829
29
- cbb {
30
+ bus@0 {
3031 ethernet@2490000 {
3132 status = "okay";
3233
....@@ -43,27 +44,75 @@
4344 reg = <0x0>;
4445 interrupt-parent = <&gpio>;
4546 interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
47
+ #phy-cells = <0>;
4648 };
4749 };
50
+ };
51
+
52
+ memory-controller@2c00000 {
53
+ status = "okay";
4854 };
4955
5056 serial@3110000 {
5157 status = "okay";
5258 };
5359
60
+ i2c@3160000 {
61
+ status = "okay";
62
+
63
+ eeprom@50 {
64
+ compatible = "atmel,24c02";
65
+ reg = <0x50>;
66
+
67
+ label = "module";
68
+ vcc-supply = <&vdd_1v8ls>;
69
+ address-width = <8>;
70
+ pagesize = <8>;
71
+ size = <256>;
72
+ read-only;
73
+ };
74
+ };
75
+
5476 /* SDMMC1 (SD/MMC) */
55
- sdhci@3400000 {
56
- cd-gpios = <&gpio TEGRA194_MAIN_GPIO(A, 0) GPIO_ACTIVE_LOW>;
77
+ mmc@3400000 {
78
+ cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
5779 };
5880
5981 /* SDMMC4 (eMMC) */
60
- sdhci@3460000 {
82
+ mmc@3460000 {
6183 status = "okay";
6284 bus-width = <8>;
6385 non-removable;
6486
6587 vqmmc-supply = <&vdd_1v8ls>;
6688 vmmc-supply = <&vdd_emmc_3v3>;
89
+ };
90
+
91
+ padctl@3520000 {
92
+ avdd-usb-supply = <&vdd_usb_3v3>;
93
+ vclamp-usb-supply = <&vdd_1v8ao>;
94
+
95
+ ports {
96
+ usb2-1 {
97
+ vbus-supply = <&vdd_5v0_sys>;
98
+ };
99
+
100
+ usb2-3 {
101
+ vbus-supply = <&vdd_5v_sata>;
102
+ };
103
+
104
+ usb3-0 {
105
+ vbus-supply = <&vdd_5v0_sys>;
106
+ };
107
+
108
+ usb3-3 {
109
+ vbus-supply = <&vdd_5v0_sys>;
110
+ };
111
+ };
112
+ };
113
+
114
+ rtc@c2a0000 {
115
+ status = "okay";
67116 };
68117
69118 pmc@c360000 {
....@@ -79,7 +128,8 @@
79128 compatible = "maxim,max20024";
80129 reg = <0x3c>;
81130
82
- interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
131
+ interrupt-parent = <&pmc>;
132
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
83133 #interrupt-cells = <2>;
84134 interrupt-controller;
85135
....@@ -163,16 +213,16 @@
163213 in-ldo4-6-supply = <&vdd_5v0_sys>;
164214 in-ldo7-8-supply = <&vdd_1v8ls>;
165215
166
- sd0 {
167
- regulator-name = "VDD_1V0";
216
+ vdd_1v0: sd0 {
217
+ regulator-name = "VDDIO_SYS_1V0";
168218 regulator-min-microvolt = <1000000>;
169219 regulator-max-microvolt = <1000000>;
170220 regulator-always-on;
171221 regulator-boot-on;
172222 };
173223
174
- sd1 {
175
- regulator-name = "VDD_1V8HS";
224
+ vdd_1v8hs: sd1 {
225
+ regulator-name = "VDDIO_SYS_1V8HS";
176226 regulator-min-microvolt = <1800000>;
177227 regulator-max-microvolt = <1800000>;
178228 regulator-always-on;
....@@ -180,15 +230,15 @@
180230 };
181231
182232 vdd_1v8ls: sd2 {
183
- regulator-name = "VDD_1V8LS";
233
+ regulator-name = "VDDIO_SYS_1V8LS";
184234 regulator-min-microvolt = <1800000>;
185235 regulator-max-microvolt = <1800000>;
186236 regulator-always-on;
187237 regulator-boot-on;
188238 };
189239
190
- sd3 {
191
- regulator-name = "VDD_1V8AO";
240
+ vdd_1v8ao: sd3 {
241
+ regulator-name = "VDDIO_AO_1V8";
192242 regulator-min-microvolt = <1800000>;
193243 regulator-max-microvolt = <1800000>;
194244 regulator-always-on;
....@@ -212,7 +262,7 @@
212262 };
213263
214264 ldo2 {
215
- regulator-name = "VDD_AO_3V3";
265
+ regulator-name = "VDDIO_AO_3V3";
216266 regulator-min-microvolt = <3300000>;
217267 regulator-max-microvolt = <3300000>;
218268 regulator-always-on;
....@@ -225,7 +275,7 @@
225275 regulator-max-microvolt = <3300000>;
226276 };
227277
228
- ldo5 {
278
+ vdd_usb_3v3: ldo5 {
229279 regulator-name = "VDD_USB_3V3";
230280 regulator-min-microvolt = <3300000>;
231281 regulator-max-microvolt = <3300000>;
....@@ -238,29 +288,70 @@
238288 };
239289
240290 ldo7 {
241
- regulator-name = "VDD_CSI_1V2";
291
+ regulator-name = "AVDD_CSI_1V2";
242292 regulator-min-microvolt = <1200000>;
243293 regulator-max-microvolt = <1200000>;
244294 };
245295 };
246296 };
297
+
298
+ temperature-sensor@4c {
299
+ compatible = "ti,tmp451";
300
+ reg = <0x4c>;
301
+
302
+ interrupt-parent = <&gpio>;
303
+ interrupts = <TEGRA194_MAIN_GPIO(H, 2)
304
+ IRQ_TYPE_LEVEL_LOW>;
305
+ vcc-supply = <&vdd_1v8ls>;
306
+
307
+ #thermal-sensor-cells = <1>;
308
+ };
247309 };
248310 };
249311
250
- regulators {
251
- compatible = "simple-bus";
252
- #address-cells = <1>;
253
- #size-cells = <0>;
312
+ vdd_5v0_sys: regulator@0 {
313
+ compatible = "regulator-fixed";
314
+ regulator-name = "VIN_SYS_5V0";
315
+ regulator-min-microvolt = <5000000>;
316
+ regulator-max-microvolt = <5000000>;
317
+ regulator-always-on;
318
+ regulator-boot-on;
319
+ };
254320
255
- vdd_5v0_sys: regulator@0 {
256
- compatible = "regulator-fixed";
257
- reg = <0>;
321
+ vdd_hdmi: regulator@1 {
322
+ compatible = "regulator-fixed";
323
+ regulator-name = "VDD_5V0_HDMI_CON";
324
+ regulator-min-microvolt = <5000000>;
325
+ regulator-max-microvolt = <5000000>;
326
+ gpio = <&gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH>;
327
+ enable-active-high;
328
+ };
258329
259
- regulator-name = "VIN_SYS_5V0";
260
- regulator-min-microvolt = <5000000>;
261
- regulator-max-microvolt = <5000000>;
262
- regulator-always-on;
263
- regulator-boot-on;
264
- };
330
+ vdd_3v3_pcie: regulator@2 {
331
+ compatible = "regulator-fixed";
332
+ regulator-name = "PEX_3V3";
333
+ regulator-min-microvolt = <3300000>;
334
+ regulator-max-microvolt = <3300000>;
335
+ gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
336
+ regulator-boot-on;
337
+ enable-active-high;
338
+ };
339
+
340
+ vdd_12v_pcie: regulator@3 {
341
+ compatible = "regulator-fixed";
342
+ regulator-name = "VDD_12V";
343
+ regulator-min-microvolt = <1200000>;
344
+ regulator-max-microvolt = <1200000>;
345
+ gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
346
+ regulator-boot-on;
347
+ };
348
+
349
+ vdd_5v_sata: regulator@4 {
350
+ compatible = "regulator-fixed";
351
+ regulator-name = "VDD_5V_SATA";
352
+ regulator-min-microvolt = <5000000>;
353
+ regulator-max-microvolt = <5000000>;
354
+ gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 1) GPIO_ACTIVE_HIGH>;
355
+ enable-active-high;
265356 };
266357 };