xref: /freebsd/sys/contrib/device-tree/src/arm64/nvidia/tegra234-p3767.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1// SPDX-License-Identifier: GPL-2.0
2
3#include "tegra234.dtsi"
4
5/ {
6	compatible = "nvidia,p3767", "nvidia,tegra234";
7
8	bus@0 {
9		i2c@3160000 {
10			status = "okay";
11
12			eeprom@50 {
13				compatible = "atmel,24c02";
14				reg = <0x50>;
15
16				label = "module";
17				vcc-supply = <&vdd_1v8_hs>;
18				address-width = <8>;
19				pagesize = <8>;
20				size = <256>;
21				read-only;
22			};
23		};
24
25		spi@3270000 {
26			status = "okay";
27
28			flash@0 {
29				compatible = "jedec,spi-nor";
30				reg = <0>;
31				spi-max-frequency = <136000000>;
32				spi-tx-bus-width = <4>;
33				spi-rx-bus-width = <4>;
34			};
35		};
36
37		/*
38		 * This only exists on Jetson Orin Nano Developer Kit (SKU 5)
39		 * but UEFI needs this and will remove it on devices where it
40		 * doesn't exist.
41		 */
42		mmc@3400000 {
43			status = "okay";
44			bus-width = <4>;
45			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_HIGH>;
46			disable-wp;
47		};
48
49		hda@3510000 {
50			status = "okay";
51		};
52
53		padctl@3520000 {
54			vclamp-usb-supply = <&vdd_1v8_ao>;
55			avdd-usb-supply = <&vdd_3v3_ao>;
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 = "VDD_5V0_SYS";
70		regulator-min-microvolt = <5000000>;
71		regulator-max-microvolt = <5000000>;
72		regulator-always-on;
73	};
74
75	vdd_1v8_hs: regulator-vdd-1v8-hs {
76		compatible = "regulator-fixed";
77		regulator-name = "VDD_1V8_HS";
78		regulator-min-microvolt = <1800000>;
79		regulator-max-microvolt = <1800000>;
80		regulator-always-on;
81	};
82
83	vdd_1v8_ao: regulator-vdd-1v8-ao {
84		compatible = "regulator-fixed";
85		regulator-name = "VDD_1V8_AO";
86		regulator-min-microvolt = <1800000>;
87		regulator-max-microvolt = <1800000>;
88		regulator-always-on;
89		vin-supply = <&vdd_5v0_sys>;
90	};
91
92	vdd_3v3_ao: regulator-vdd-3v3-ao {
93		compatible = "regulator-fixed";
94		regulator-name = "VDD_3V3_AO";
95		regulator-min-microvolt = <33000000>;
96		regulator-max-microvolt = <33000000>;
97		regulator-always-on;
98		vin-supply = <&vdd_5v0_sys>;
99	};
100
101	thermal-zones {
102		tj-thermal {
103			polling-delay = <1000>;
104			polling-delay-passive = <1000>;
105			status = "okay";
106
107			trips {
108				tj_trip_active0: active-0 {
109					temperature = <74000>;
110					hysteresis = <4000>;
111					type = "active";
112				};
113
114				tj_trip_active1: active-1 {
115					temperature = <95000>;
116					hysteresis = <4000>;
117					type = "active";
118				};
119			};
120		};
121	};
122};
123