xref: /OK3568_Linux_fs/u-boot/arch/arm/dts/dra72-evm-tps65917.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * This program is free software; you can redistribute it and/or modify
5*4882a593Smuzhiyun * it under the terms of the GNU General Public License version 2 as
6*4882a593Smuzhiyun * published by the Free Software Foundation.
7*4882a593Smuzhiyun */
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun/*
10*4882a593Smuzhiyun * Integrated Power Management Chip
11*4882a593Smuzhiyun * http://www.ti.com/lit/ds/symlink/tps65917-q1.pdf
12*4882a593Smuzhiyun */
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun&tps65917 {
15*4882a593Smuzhiyun	compatible = "ti,tps65917";
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	interrupt-controller;
18*4882a593Smuzhiyun	#interrupt-cells = <2>;
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	ti,system-power-controller;
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	tps65917_pmic {
23*4882a593Smuzhiyun		compatible = "ti,tps65917-pmic";
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun		smps1-in-supply = <&vsys_3v3>;
26*4882a593Smuzhiyun		smps2-in-supply = <&vsys_3v3>;
27*4882a593Smuzhiyun		smps3-in-supply = <&vsys_3v3>;
28*4882a593Smuzhiyun		smps4-in-supply = <&vsys_3v3>;
29*4882a593Smuzhiyun		smps5-in-supply = <&vsys_3v3>;
30*4882a593Smuzhiyun		ldo1-in-supply = <&vsys_3v3>;
31*4882a593Smuzhiyun		ldo2-in-supply = <&vsys_3v3>;
32*4882a593Smuzhiyun		ldo3-in-supply = <&vsys_3v3>;
33*4882a593Smuzhiyun		ldo4-in-supply = <&evm_5v0>;
34*4882a593Smuzhiyun		ldo5-in-supply = <&vsys_3v3>;
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun		tps65917_regulators: regulators {
37*4882a593Smuzhiyun			smps1_reg: smps1 {
38*4882a593Smuzhiyun				/* VDD_MPU */
39*4882a593Smuzhiyun				regulator-name = "smps1";
40*4882a593Smuzhiyun				regulator-min-microvolt = <850000>;
41*4882a593Smuzhiyun				regulator-max-microvolt = <1250000>;
42*4882a593Smuzhiyun				regulator-always-on;
43*4882a593Smuzhiyun				regulator-boot-on;
44*4882a593Smuzhiyun			};
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun			smps2_reg: smps2 {
47*4882a593Smuzhiyun				/* VDD_CORE */
48*4882a593Smuzhiyun				regulator-name = "smps2";
49*4882a593Smuzhiyun				regulator-min-microvolt = <850000>;
50*4882a593Smuzhiyun				regulator-max-microvolt = <1150000>;
51*4882a593Smuzhiyun				regulator-boot-on;
52*4882a593Smuzhiyun				regulator-always-on;
53*4882a593Smuzhiyun			};
54*4882a593Smuzhiyun
55*4882a593Smuzhiyun			smps3_reg: smps3 {
56*4882a593Smuzhiyun				/* VDD_GPU IVA DSPEVE */
57*4882a593Smuzhiyun				regulator-name = "smps3";
58*4882a593Smuzhiyun				regulator-min-microvolt = <850000>;
59*4882a593Smuzhiyun				regulator-max-microvolt = <1250000>;
60*4882a593Smuzhiyun				regulator-boot-on;
61*4882a593Smuzhiyun				regulator-always-on;
62*4882a593Smuzhiyun			};
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun			smps4_reg: smps4 {
65*4882a593Smuzhiyun				/* VDDS1V8 */
66*4882a593Smuzhiyun				regulator-name = "smps4";
67*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
68*4882a593Smuzhiyun				regulator-max-microvolt = <1800000>;
69*4882a593Smuzhiyun				regulator-always-on;
70*4882a593Smuzhiyun				regulator-boot-on;
71*4882a593Smuzhiyun			};
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun			smps5_reg: smps5 {
74*4882a593Smuzhiyun				/* VDD_DDR */
75*4882a593Smuzhiyun				regulator-name = "smps5";
76*4882a593Smuzhiyun				regulator-min-microvolt = <1350000>;
77*4882a593Smuzhiyun				regulator-max-microvolt = <1350000>;
78*4882a593Smuzhiyun				regulator-boot-on;
79*4882a593Smuzhiyun				regulator-always-on;
80*4882a593Smuzhiyun			};
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun			ldo1_reg: ldo1 {
83*4882a593Smuzhiyun				/* LDO1_OUT --> SDIO  */
84*4882a593Smuzhiyun				regulator-name = "ldo1";
85*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
86*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
87*4882a593Smuzhiyun				regulator-always-on;
88*4882a593Smuzhiyun				regulator-boot-on;
89*4882a593Smuzhiyun				regulator-allow-bypass;
90*4882a593Smuzhiyun			};
91*4882a593Smuzhiyun
92*4882a593Smuzhiyun			ldo2_reg: ldo2 {
93*4882a593Smuzhiyun				regulator-name = "ldo2";
94*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
95*4882a593Smuzhiyun				regulator-max-microvolt = <1800000>;
96*4882a593Smuzhiyun				regulator-allow-bypass;
97*4882a593Smuzhiyun			};
98*4882a593Smuzhiyun
99*4882a593Smuzhiyun			ldo3_reg: ldo3 {
100*4882a593Smuzhiyun				/* VDDA_1V8_PHY */
101*4882a593Smuzhiyun				regulator-name = "ldo3";
102*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
103*4882a593Smuzhiyun				regulator-max-microvolt = <1800000>;
104*4882a593Smuzhiyun				regulator-boot-on;
105*4882a593Smuzhiyun				regulator-always-on;
106*4882a593Smuzhiyun			};
107*4882a593Smuzhiyun
108*4882a593Smuzhiyun			ldo5_reg: ldo5 {
109*4882a593Smuzhiyun				/* VDDA_1V8_PLL */
110*4882a593Smuzhiyun				regulator-name = "ldo5";
111*4882a593Smuzhiyun				regulator-min-microvolt = <1800000>;
112*4882a593Smuzhiyun				regulator-max-microvolt = <1800000>;
113*4882a593Smuzhiyun				regulator-always-on;
114*4882a593Smuzhiyun				regulator-boot-on;
115*4882a593Smuzhiyun			};
116*4882a593Smuzhiyun
117*4882a593Smuzhiyun			ldo4_reg: ldo4 {
118*4882a593Smuzhiyun				/* VDDA_3V_USB: VDDA_USBHS33 */
119*4882a593Smuzhiyun				regulator-name = "ldo4";
120*4882a593Smuzhiyun				regulator-min-microvolt = <3300000>;
121*4882a593Smuzhiyun				regulator-max-microvolt = <3300000>;
122*4882a593Smuzhiyun				regulator-boot-on;
123*4882a593Smuzhiyun			};
124*4882a593Smuzhiyun		};
125*4882a593Smuzhiyun	};
126*4882a593Smuzhiyun
127*4882a593Smuzhiyun	tps65917_power_button {
128*4882a593Smuzhiyun		compatible = "ti,palmas-pwrbutton";
129*4882a593Smuzhiyun		interrupt-parent = <&tps65917>;
130*4882a593Smuzhiyun		interrupts = <1 IRQ_TYPE_NONE>;
131*4882a593Smuzhiyun		wakeup-source;
132*4882a593Smuzhiyun		ti,palmas-long-press-seconds = <6>;
133*4882a593Smuzhiyun	};
134*4882a593Smuzhiyun};
135