xref: /linux/scripts/dtc/include-prefixes/arm64/nvidia/tegra234-p3701.dtsi (revision ab9cd79d418fa27123aa11bc1487feb4e1b4da91)
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		i2c@c240000 {
85			status = "okay";
86
87			power-sensor@40 {
88				compatible = "ti,ina3221";
89				reg = <0x40>;
90				#address-cells = <1>;
91				#size-cells = <0>;
92
93				input@0 {
94					reg = <0x0>;
95					label = "VDD_GPU_SOC";
96					shunt-resistor-micro-ohms = <2000>;
97				};
98
99				input@1 {
100					reg = <0x1>;
101					label = "VDD_CPU_CV";
102					shunt-resistor-micro-ohms = <2000>;
103				};
104
105				input@2 {
106					reg = <0x2>;
107					label = "VIN_SYS_5V0";
108					shunt-resistor-micro-ohms = <2000>;
109					ti,summation-disable;
110				};
111			};
112
113			power-sensor@41 {
114				compatible = "ti,ina3221";
115				reg = <0x41>;
116				#address-cells = <1>;
117				#size-cells = <0>;
118
119				input@0 {
120					reg = <0x0>;
121					status = "disabled";
122				};
123
124				input@1 {
125					reg = <0x1>;
126					label = "VDDQ_VDD2_1V8AO";
127					shunt-resistor-micro-ohms = <2000>;
128				};
129
130				input@2 {
131					reg = <0x2>;
132					status = "disabled";
133				};
134			};
135		};
136
137		rtc@c2a0000 {
138			status = "okay";
139		};
140
141		pmc@c360000 {
142			nvidia,invert-interrupt;
143		};
144	};
145
146	vdd_1v8_ao: regulator-vdd-1v8-ao {
147		compatible = "regulator-fixed";
148		regulator-name = "VDD_1V8_AO";
149		regulator-min-microvolt = <1800000>;
150		regulator-max-microvolt = <1800000>;
151		regulator-always-on;
152	};
153
154	vdd_1v8_hs: regulator-vdd-1v8-hs {
155		compatible = "regulator-fixed";
156		regulator-name = "VDD_1V8_HS";
157		regulator-min-microvolt = <1800000>;
158		regulator-max-microvolt = <1800000>;
159		regulator-always-on;
160	};
161
162	vdd_1v8_ls: regulator-vdd-1v8-ls {
163		compatible = "regulator-fixed";
164		regulator-name = "VDD_1V8_LS";
165		regulator-min-microvolt = <1800000>;
166		regulator-max-microvolt = <1800000>;
167		regulator-always-on;
168	};
169
170	vdd_3v3_ao: regulator-vdd-3v3-ao {
171		compatible = "regulator-fixed";
172		regulator-name = "VDD_3V3_AO";
173		regulator-min-microvolt = <3300000>;
174		regulator-max-microvolt = <3300000>;
175		regulator-always-on;
176	};
177
178	vdd_5v0_sys: regulator-vdd-5v0-sys {
179		compatible = "regulator-fixed";
180		regulator-name = "VIN_SYS_5V0";
181		regulator-min-microvolt = <5000000>;
182		regulator-max-microvolt = <5000000>;
183		regulator-always-on;
184		regulator-boot-on;
185	};
186};
187