xref: /linux/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi (revision e7d759f31ca295d589f7420719c311870bb3166f)
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 = <102000000>;
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_LOW>;
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		i2c@c240000 {
59			status = "okay";
60
61			power-sensor@40 {
62				compatible = "ti,ina3221";
63				reg = <0x40>;
64				#address-cells = <1>;
65				#size-cells = <0>;
66
67				input@0 {
68					reg = <0x0>;
69					label = "VDD_IN";
70					shunt-resistor-micro-ohms = <5000>;
71				};
72
73				input@1 {
74					reg = <0x1>;
75					label = "VDD_CPU_GPU_CV";
76					shunt-resistor-micro-ohms = <5000>;
77				};
78
79				input@2 {
80					reg = <0x2>;
81					label = "VDD_SOC";
82					shunt-resistor-micro-ohms = <5000>;
83				};
84			};
85		};
86
87		rtc@c2a0000 {
88			status = "okay";
89		};
90
91		pmc@c360000 {
92			nvidia,invert-interrupt;
93		};
94	};
95
96	vdd_5v0_sys: regulator-vdd-5v0-sys {
97		compatible = "regulator-fixed";
98		regulator-name = "VDD_5V0_SYS";
99		regulator-min-microvolt = <5000000>;
100		regulator-max-microvolt = <5000000>;
101		regulator-always-on;
102	};
103
104	vdd_1v8_hs: regulator-vdd-1v8-hs {
105		compatible = "regulator-fixed";
106		regulator-name = "VDD_1V8_HS";
107		regulator-min-microvolt = <1800000>;
108		regulator-max-microvolt = <1800000>;
109		regulator-always-on;
110	};
111
112	vdd_1v8_ao: regulator-vdd-1v8-ao {
113		compatible = "regulator-fixed";
114		regulator-name = "VDD_1V8_AO";
115		regulator-min-microvolt = <1800000>;
116		regulator-max-microvolt = <1800000>;
117		regulator-always-on;
118		vin-supply = <&vdd_5v0_sys>;
119	};
120
121	vdd_3v3_ao: regulator-vdd-3v3-ao {
122		compatible = "regulator-fixed";
123		regulator-name = "VDD_3V3_AO";
124		regulator-min-microvolt = <33000000>;
125		regulator-max-microvolt = <33000000>;
126		regulator-always-on;
127		vin-supply = <&vdd_5v0_sys>;
128	};
129
130	thermal-zones {
131		tj-thermal {
132			polling-delay = <1000>;
133			polling-delay-passive = <1000>;
134			status = "okay";
135
136			trips {
137				tj_trip_active0: active-0 {
138					temperature = <35000>;
139					hysteresis = <4000>;
140					type = "active";
141				};
142
143				tj_trip_active1: active-1 {
144					temperature = <74000>;
145					hysteresis = <4000>;
146					type = "active";
147				};
148
149				tj_trip_active2: active-2 {
150					temperature = <95000>;
151					hysteresis = <4000>;
152					type = "active";
153				};
154			};
155		};
156	};
157};
158