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