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