xref: /linux/arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
1// SPDX-License-Identifier: GPL-2.0
2
3#include "tegra234.dtsi"
4
5/ {
6	compatible = "nvidia,p3701", "nvidia,tegra234";
7
8	aliases {
9		mmc0 = "/bus@0/mmc@3460000";
10		mmc1 = "/bus@0/mmc@3400000";
11	};
12
13	bus@0 {
14		aconnect@2900000 {
15			status = "okay";
16
17			ahub@2900800 {
18				status = "okay";
19
20				i2s@2901000 {
21					status = "okay";
22				};
23
24				i2s@2901100 {
25					status = "okay";
26				};
27
28				i2s@2901300 {
29					status = "okay";
30				};
31
32				i2s@2901500 {
33					status = "okay";
34				};
35
36				dmic@2904200 {
37					status = "okay";
38				};
39			};
40
41			dma-controller@2930000 {
42				status = "okay";
43			};
44
45			interrupt-controller@2a40000 {
46				status = "okay";
47			};
48		};
49
50		i2c@3160000 {
51			status = "okay";
52
53			eeprom@50 {
54				compatible = "atmel,24c02";
55				reg = <0x50>;
56
57				label = "module";
58				vcc-supply = <&vdd_1v8_hs>;
59				address-width = <8>;
60				pagesize = <8>;
61				size = <256>;
62				read-only;
63			};
64		};
65
66		spi@3270000 {
67			status = "okay";
68
69			flash@0 {
70				compatible = "jedec,spi-nor";
71				reg = <0>;
72				spi-max-frequency = <102000000>;
73				spi-tx-bus-width = <4>;
74				spi-rx-bus-width = <4>;
75			};
76		};
77
78		mmc@3460000 {
79			status = "okay";
80			bus-width = <8>;
81			non-removable;
82		};
83
84		padctl@3520000 {
85			vclamp-usb-supply = <&vdd_1v8_ao>;
86			avdd-usb-supply = <&vdd_3v3_ao>;
87
88			ports {
89				usb2-0 {
90					vbus-supply = <&vdd_5v0_sys>;
91				};
92
93				usb2-1 {
94					vbus-supply = <&vdd_5v0_sys>;
95				};
96
97				usb2-2 {
98					vbus-supply = <&vdd_5v0_sys>;
99				};
100
101				usb2-3 {
102					vbus-supply = <&vdd_5v0_sys>;
103				};
104			};
105		};
106
107		i2c@c240000 {
108			status = "okay";
109
110			power-sensor@40 {
111				compatible = "ti,ina3221";
112				reg = <0x40>;
113				#address-cells = <1>;
114				#size-cells = <0>;
115
116				input@0 {
117					reg = <0x0>;
118					label = "VDD_GPU_SOC";
119					shunt-resistor-micro-ohms = <2000>;
120				};
121
122				input@1 {
123					reg = <0x1>;
124					label = "VDD_CPU_CV";
125					shunt-resistor-micro-ohms = <2000>;
126				};
127
128				input@2 {
129					reg = <0x2>;
130					label = "VIN_SYS_5V0";
131					shunt-resistor-micro-ohms = <2000>;
132					ti,summation-disable;
133				};
134			};
135
136			power-sensor@41 {
137				compatible = "ti,ina3221";
138				reg = <0x41>;
139				#address-cells = <1>;
140				#size-cells = <0>;
141
142				input@0 {
143					reg = <0x0>;
144					status = "disabled";
145				};
146
147				input@1 {
148					reg = <0x1>;
149					label = "VDDQ_VDD2_1V8AO";
150					shunt-resistor-micro-ohms = <2000>;
151				};
152
153				input@2 {
154					reg = <0x2>;
155					status = "disabled";
156				};
157			};
158		};
159
160		rtc@c2a0000 {
161			status = "okay";
162		};
163
164		pmc@c360000 {
165			nvidia,invert-interrupt;
166		};
167	};
168
169	bpmp {
170		i2c {
171			status = "okay";
172
173			thermal-sensor@4c {
174				compatible = "ti,tmp451";
175				status = "okay";
176				reg = <0x4c>;
177				vcc-supply = <&vdd_1v8_ao>;
178			};
179		};
180
181		thermal {
182			status = "okay";
183		};
184	};
185
186	vdd_1v8_ao: regulator-vdd-1v8-ao {
187		compatible = "regulator-fixed";
188		regulator-name = "VDD_1V8_AO";
189		regulator-min-microvolt = <1800000>;
190		regulator-max-microvolt = <1800000>;
191		regulator-always-on;
192	};
193
194	vdd_1v8_hs: regulator-vdd-1v8-hs {
195		compatible = "regulator-fixed";
196		regulator-name = "VDD_1V8_HS";
197		regulator-min-microvolt = <1800000>;
198		regulator-max-microvolt = <1800000>;
199		regulator-always-on;
200	};
201
202	vdd_1v8_ls: regulator-vdd-1v8-ls {
203		compatible = "regulator-fixed";
204		regulator-name = "VDD_1V8_LS";
205		regulator-min-microvolt = <1800000>;
206		regulator-max-microvolt = <1800000>;
207		regulator-always-on;
208	};
209
210	vdd_3v3_ao: regulator-vdd-3v3-ao {
211		compatible = "regulator-fixed";
212		regulator-name = "VDD_3V3_AO";
213		regulator-min-microvolt = <3300000>;
214		regulator-max-microvolt = <3300000>;
215		regulator-always-on;
216	};
217
218	vdd_5v0_sys: regulator-vdd-5v0-sys {
219		compatible = "regulator-fixed";
220		regulator-name = "VIN_SYS_5V0";
221		regulator-min-microvolt = <5000000>;
222		regulator-max-microvolt = <5000000>;
223		regulator-always-on;
224		regulator-boot-on;
225	};
226};
227