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