xref: /linux/arch/arm/boot/dts/nvidia/tegra30-asus-nexus7-grouper-ti-pmic.dtsi (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1// SPDX-License-Identifier: GPL-2.0
2
3#include <dt-bindings/interrupt-controller/arm-gic.h>
4#include <dt-bindings/gpio/gpio.h>
5
6/ {
7	i2c@7000d000 {
8		pmic: pmic@2d {
9			compatible = "ti,tps65911";
10			reg = <0x2d>;
11
12			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
13			#interrupt-cells = <2>;
14			interrupt-controller;
15			wakeup-source;
16
17			ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
18			ti,system-power-controller;
19			ti,sleep-keep-ck32k;
20			ti,sleep-enable;
21
22			#gpio-cells = <2>;
23			gpio-controller;
24
25			vcc1-supply = <&vdd_5v0_sys>;
26			vcc2-supply = <&vdd_5v0_sys>;
27			vcc3-supply = <&vdd_1v8>;
28			vcc4-supply = <&vdd_5v0_sys>;
29			vcc5-supply = <&vdd_5v0_sys>;
30			vcc6-supply = <&vdd2_reg>;
31			vcc7-supply = <&vdd_5v0_sys>;
32			vccio-supply = <&vdd_5v0_sys>;
33
34			regulators {
35				vdd1 {
36					regulator-name = "vddio_ddr_1v2";
37					regulator-min-microvolt = <600000>;
38					regulator-max-microvolt = <1500000>;
39					regulator-always-on;
40					regulator-boot-on;
41					ti,regulator-ext-sleep-control = <8>;
42				};
43
44				vdd2_reg: vdd2 {
45					regulator-name = "vdd2_1v2";
46					regulator-min-microvolt = <1200000>;
47					regulator-max-microvolt = <1200000>;
48					regulator-always-on;
49					regulator-boot-on;
50				};
51
52				vdd_cpu: vddctrl {
53					regulator-name = "vdd_cpu,vdd_sys";
54					regulator-min-microvolt = <800000>;
55					regulator-max-microvolt = <1250000>;
56					regulator-coupled-with = <&vdd_core>;
57					regulator-coupled-max-spread = <300000>;
58					regulator-max-step-microvolt = <100000>;
59					regulator-always-on;
60					ti,regulator-ext-sleep-control = <1>;
61
62					nvidia,tegra-cpu-regulator;
63				};
64
65				vdd_1v8: vio {
66					regulator-name = "vdd_1v8_gen";
67					regulator-min-microvolt = <1800000>;
68					regulator-max-microvolt = <1800000>;
69					regulator-always-on;
70					regulator-boot-on;
71				};
72
73				vcore_emmc: ldo1 {
74					regulator-name = "vdd_pexa,vdd_pexb";
75					regulator-min-microvolt = <1000000>;
76					regulator-max-microvolt = <3300000>;
77					regulator-always-on;
78				};
79
80				ldo2 {
81					regulator-name = "vdd_sata,avdd_plle";
82					regulator-min-microvolt = <1050000>;
83					regulator-max-microvolt = <1050000>;
84				};
85
86				/* LDO3 is not connected to anything */
87
88				ldo4 {
89					regulator-name = "vdd_rtc";
90					regulator-min-microvolt = <1200000>;
91					regulator-max-microvolt = <1200000>;
92					regulator-always-on;
93				};
94
95				ldo5 {
96					regulator-name = "vddio_sdmmc,avdd_vdac";
97					regulator-min-microvolt = <1800000>;
98					regulator-max-microvolt = <1800000>;
99				};
100
101				ldo6 {
102					regulator-name = "avdd_dsi_csi,pwrdet_mipi";
103					regulator-min-microvolt = <1200000>;
104					regulator-max-microvolt = <1200000>;
105				};
106
107				ldo7 {
108					regulator-name = "vdd_pllm,x,u,a_p_c_s";
109					regulator-min-microvolt = <1200000>;
110					regulator-max-microvolt = <1200000>;
111					regulator-always-on;
112					regulator-boot-on;
113					ti,regulator-ext-sleep-control = <8>;
114				};
115
116				ldo8 {
117					regulator-name = "vdd_ddr_hs";
118					regulator-min-microvolt = <1000000>;
119					regulator-max-microvolt = <1000000>;
120					regulator-always-on;
121					ti,regulator-ext-sleep-control = <8>;
122				};
123			};
124		};
125
126		vdd_core: core-regulator@60 {
127			compatible = "ti,tps62361";
128			reg = <0x60>;
129
130			regulator-name = "tps62361-vout";
131			regulator-min-microvolt = <500000>;
132			regulator-max-microvolt = <1350000>;
133			regulator-coupled-with = <&vdd_cpu>;
134			regulator-coupled-max-spread = <300000>;
135			regulator-max-step-microvolt = <100000>;
136			regulator-boot-on;
137			regulator-always-on;
138			ti,enable-vout-discharge;
139			ti,vsel0-state-high;
140			ti,vsel1-state-high;
141
142			nvidia,tegra-core-regulator;
143		};
144	};
145
146	vdd_3v3_sys: regulator-3v3 {
147		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
148		enable-active-high;
149	};
150
151	pmc@7000e400 {
152		i2c-thermtrip {
153			nvidia,i2c-controller-id = <4>;
154			nvidia,bus-addr = <0x2d>;
155			nvidia,reg-addr = <0x3f>;
156			nvidia,reg-data = <0x80>;
157		};
158	};
159};
160