xref: /linux/arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi (revision f6e0a4984c2e7244689ea87b62b433bed9d07e94)
1// SPDX-License-Identifier: GPL-2.0
2
3#include "tegra234.dtsi"
4
5/ {
6	compatible = "nvidia,p3767", "nvidia,tegra234";
7
8	aliases {
9		mmc0 = "/bus@0/mmc@3400000";
10	};
11
12	bus@0 {
13		aconnect@2900000 {
14			status = "okay";
15
16			ahub@2900800 {
17				status = "okay";
18
19				i2s@2901100 {
20					status = "okay";
21				};
22
23				i2s@2901300 {
24					status = "okay";
25				};
26			};
27
28			dma-controller@2930000 {
29				status = "okay";
30			};
31
32			interrupt-controller@2a40000 {
33				status = "okay";
34			};
35		};
36
37		i2c@3160000 {
38			status = "okay";
39
40			eeprom@50 {
41				compatible = "atmel,24c02";
42				reg = <0x50>;
43
44				label = "module";
45				vcc-supply = <&vdd_1v8_hs>;
46				address-width = <8>;
47				pagesize = <8>;
48				size = <256>;
49				read-only;
50			};
51		};
52
53		spi@3270000 {
54			status = "okay";
55
56			flash@0 {
57				compatible = "jedec,spi-nor";
58				reg = <0>;
59				spi-max-frequency = <102000000>;
60				spi-tx-bus-width = <4>;
61				spi-rx-bus-width = <4>;
62			};
63		};
64
65		/*
66		 * This only exists on Jetson Orin Nano Developer Kit (SKU 5)
67		 * but UEFI needs this and will remove it on devices where it
68		 * doesn't exist.
69		 */
70		mmc@3400000 {
71			status = "okay";
72			bus-width = <4>;
73			cd-gpios = <&gpio TEGRA234_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>;
74			disable-wp;
75		};
76
77		hda@3510000 {
78			status = "okay";
79		};
80
81		padctl@3520000 {
82			vclamp-usb-supply = <&vdd_1v8_ao>;
83			avdd-usb-supply = <&vdd_3v3_ao>;
84		};
85
86		i2c@c240000 {
87			status = "okay";
88
89			power-sensor@40 {
90				compatible = "ti,ina3221";
91				reg = <0x40>;
92				#address-cells = <1>;
93				#size-cells = <0>;
94
95				input@0 {
96					reg = <0x0>;
97					label = "VDD_IN";
98					shunt-resistor-micro-ohms = <5000>;
99				};
100
101				input@1 {
102					reg = <0x1>;
103					label = "VDD_CPU_GPU_CV";
104					shunt-resistor-micro-ohms = <5000>;
105				};
106
107				input@2 {
108					reg = <0x2>;
109					label = "VDD_SOC";
110					shunt-resistor-micro-ohms = <5000>;
111				};
112			};
113		};
114
115		rtc@c2a0000 {
116			status = "okay";
117		};
118
119		pmc@c360000 {
120			nvidia,invert-interrupt;
121		};
122	};
123
124	vdd_5v0_sys: regulator-vdd-5v0-sys {
125		compatible = "regulator-fixed";
126		regulator-name = "VDD_5V0_SYS";
127		regulator-min-microvolt = <5000000>;
128		regulator-max-microvolt = <5000000>;
129		regulator-always-on;
130	};
131
132	vdd_1v8_hs: regulator-vdd-1v8-hs {
133		compatible = "regulator-fixed";
134		regulator-name = "VDD_1V8_HS";
135		regulator-min-microvolt = <1800000>;
136		regulator-max-microvolt = <1800000>;
137		regulator-always-on;
138	};
139
140	vdd_1v8_ao: regulator-vdd-1v8-ao {
141		compatible = "regulator-fixed";
142		regulator-name = "VDD_1V8_AO";
143		regulator-min-microvolt = <1800000>;
144		regulator-max-microvolt = <1800000>;
145		regulator-always-on;
146		vin-supply = <&vdd_5v0_sys>;
147	};
148
149	vdd_3v3_ao: regulator-vdd-3v3-ao {
150		compatible = "regulator-fixed";
151		regulator-name = "VDD_3V3_AO";
152		regulator-min-microvolt = <33000000>;
153		regulator-max-microvolt = <33000000>;
154		regulator-always-on;
155		vin-supply = <&vdd_5v0_sys>;
156	};
157
158	sound {
159		compatible = "nvidia,tegra186-audio-graph-card";
160		status = "okay";
161
162		dais = /* ADMAIF (FE) Ports */
163		       <&admaif0_port>, <&admaif1_port>, <&admaif2_port>, <&admaif3_port>,
164		       <&admaif4_port>, <&admaif5_port>, <&admaif6_port>, <&admaif7_port>,
165		       <&admaif8_port>, <&admaif9_port>, <&admaif10_port>, <&admaif11_port>,
166		       <&admaif12_port>, <&admaif13_port>, <&admaif14_port>, <&admaif15_port>,
167		       <&admaif16_port>, <&admaif17_port>, <&admaif18_port>, <&admaif19_port>,
168		       /* XBAR Ports */
169		       <&xbar_i2s2_port>, <&xbar_i2s4_port>,
170		       <&xbar_sfc1_in_port>, <&xbar_sfc2_in_port>,
171		       <&xbar_sfc3_in_port>, <&xbar_sfc4_in_port>,
172		       <&xbar_mvc1_in_port>, <&xbar_mvc2_in_port>,
173		       <&xbar_amx1_in1_port>, <&xbar_amx1_in2_port>,
174		       <&xbar_amx1_in3_port>, <&xbar_amx1_in4_port>,
175		       <&xbar_amx2_in1_port>, <&xbar_amx2_in2_port>,
176		       <&xbar_amx2_in3_port>, <&xbar_amx2_in4_port>,
177		       <&xbar_amx3_in1_port>, <&xbar_amx3_in2_port>,
178		       <&xbar_amx3_in3_port>, <&xbar_amx3_in4_port>,
179		       <&xbar_amx4_in1_port>, <&xbar_amx4_in2_port>,
180		       <&xbar_amx4_in3_port>, <&xbar_amx4_in4_port>,
181		       <&xbar_adx1_in_port>, <&xbar_adx2_in_port>,
182		       <&xbar_adx3_in_port>, <&xbar_adx4_in_port>,
183		       <&xbar_mix_in1_port>, <&xbar_mix_in2_port>,
184		       <&xbar_mix_in3_port>, <&xbar_mix_in4_port>,
185		       <&xbar_mix_in5_port>, <&xbar_mix_in6_port>,
186		       <&xbar_mix_in7_port>, <&xbar_mix_in8_port>,
187		       <&xbar_mix_in9_port>, <&xbar_mix_in10_port>,
188		       <&xbar_asrc_in1_port>, <&xbar_asrc_in2_port>,
189		       <&xbar_asrc_in3_port>, <&xbar_asrc_in4_port>,
190		       <&xbar_asrc_in5_port>, <&xbar_asrc_in6_port>,
191		       <&xbar_asrc_in7_port>,
192		       <&xbar_ope1_in_port>,
193		       /* HW accelerators */
194		       <&sfc1_out_port>, <&sfc2_out_port>,
195		       <&sfc3_out_port>, <&sfc4_out_port>,
196		       <&mvc1_out_port>, <&mvc2_out_port>,
197		       <&amx1_out_port>, <&amx2_out_port>,
198		       <&amx3_out_port>, <&amx4_out_port>,
199		       <&adx1_out1_port>, <&adx1_out2_port>,
200		       <&adx1_out3_port>, <&adx1_out4_port>,
201		       <&adx2_out1_port>, <&adx2_out2_port>,
202		       <&adx2_out3_port>, <&adx2_out4_port>,
203		       <&adx3_out1_port>, <&adx3_out2_port>,
204		       <&adx3_out3_port>, <&adx3_out4_port>,
205		       <&adx4_out1_port>, <&adx4_out2_port>,
206		       <&adx4_out3_port>, <&adx4_out4_port>,
207		       <&mix_out1_port>, <&mix_out2_port>, <&mix_out3_port>,
208		       <&mix_out4_port>, <&mix_out5_port>,
209		       <&asrc_out1_port>, <&asrc_out2_port>, <&asrc_out3_port>,
210		       <&asrc_out4_port>, <&asrc_out5_port>, <&asrc_out6_port>,
211		       <&ope1_out_port>,
212		       /* BE I/O Ports */
213		       <&i2s2_port>, <&i2s4_port>;
214	};
215
216	thermal-zones {
217		tj-thermal {
218			polling-delay = <1000>;
219			polling-delay-passive = <1000>;
220			status = "okay";
221
222			trips {
223				tj_trip_active0: active-0 {
224					temperature = <35000>;
225					hysteresis = <4000>;
226					type = "active";
227				};
228
229				tj_trip_active1: active-1 {
230					temperature = <74000>;
231					hysteresis = <4000>;
232					type = "active";
233				};
234
235				tj_trip_active2: active-2 {
236					temperature = <95000>;
237					hysteresis = <4000>;
238					type = "active";
239				};
240			};
241		};
242	};
243};
244