xref: /linux/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
1// SPDX-License-Identifier: GPL-2.0
2
3#include "tegra234.dtsi"
4#include "tegra234-p3701.dtsi"
5
6/ {
7	compatible = "nvidia,p3701-0008", "nvidia,tegra234";
8
9	bus@0 {
10		i2c@3160000 {
11			status = "okay";
12
13			eeprom@50 {
14				compatible = "atmel,24c02";
15				reg = <0x50>;
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		mmc@3460000 {
38			status = "okay";
39			bus-width = <8>;
40			non-removable;
41		};
42
43		i2c@c240000 {
44			status = "okay";
45		};
46
47		i2c@c250000 {
48			power-sensor@41 {
49				compatible = "ti,ina3221";
50				reg = <0x41>;
51				#address-cells = <1>;
52				#size-cells = <0>;
53
54				input@0 {
55					reg = <0x0>;
56					label = "CVB_ATX_12V";
57					shunt-resistor-micro-ohms = <2000>;
58				};
59
60				input@1 {
61					reg = <0x1>;
62					label = "CVB_ATX_3V3";
63					shunt-resistor-micro-ohms = <2000>;
64				};
65
66				input@2 {
67					reg = <0x2>;
68					label = "CVB_ATX_5V";
69					shunt-resistor-micro-ohms = <2000>;
70				};
71			};
72
73			power-sensor@44 {
74				compatible = "ti,ina219";
75				reg = <0x44>;
76				shunt-resistor = <2000>;
77			};
78		};
79
80		rtc@c2a0000 {
81			status = "okay";
82		};
83
84		pmc@c360000 {
85			nvidia,invert-interrupt;
86		};
87	};
88
89	bpmp {
90		i2c {
91			status = "okay";
92
93			thermal-sensor@4c {
94				status = "okay";
95				reg = <0x4c>;
96				vcc-supply = <&vdd_1v8_ao>;
97			};
98		};
99
100		thermal {
101			status = "okay";
102		};
103	};
104
105	vdd_1v8_ao: regulator-vdd-1v8-ao {
106		compatible = "regulator-fixed";
107		regulator-name = "VDD_1V8_AO";
108		regulator-min-microvolt = <1800000>;
109		regulator-max-microvolt = <1800000>;
110		regulator-always-on;
111	};
112
113	vdd_1v8_hs: regulator-vdd-1v8-hs {
114		compatible = "regulator-fixed";
115		regulator-name = "VDD_1V8_HS";
116		regulator-min-microvolt = <1800000>;
117		regulator-max-microvolt = <1800000>;
118		regulator-always-on;
119	};
120
121	vdd_1v8_ls: regulator-vdd-1v8-ls {
122		compatible = "regulator-fixed";
123		regulator-name = "VDD_1V8_LS";
124		regulator-min-microvolt = <1800000>;
125		regulator-max-microvolt = <1800000>;
126		regulator-always-on;
127	};
128
129	vdd_3v3_ao: regulator-vdd-3v3-ao {
130		compatible = "regulator-fixed";
131		regulator-name = "vdd-AO-3v3";
132		regulator-min-microvolt = <3300000>;
133		regulator-max-microvolt = <3300000>;
134		regulator-always-on;
135	};
136
137	vdd_5v0_sys: regulator-vdd-5v0-sys {
138		compatible = "regulator-fixed";
139		regulator-name = "VIN_SYS_5V0";
140		regulator-min-microvolt = <5000000>;
141		regulator-max-microvolt = <5000000>;
142		regulator-always-on;
143		regulator-boot-on;
144	};
145};
146