xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/dra72-evm-tps65917.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
4*f126890aSEmmanuel Vadot */
5*f126890aSEmmanuel Vadot
6*f126890aSEmmanuel Vadot/*
7*f126890aSEmmanuel Vadot * Integrated Power Management Chip
8*f126890aSEmmanuel Vadot * https://www.ti.com/lit/ds/symlink/tps65917-q1.pdf
9*f126890aSEmmanuel Vadot */
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot&tps65917 {
12*f126890aSEmmanuel Vadot	compatible = "ti,tps65917";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	interrupt-controller;
15*f126890aSEmmanuel Vadot	#interrupt-cells = <2>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	ti,system-power-controller;
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	tps65917_pmic {
20*f126890aSEmmanuel Vadot		compatible = "ti,tps65917-pmic";
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot		smps1-in-supply = <&vsys_3v3>;
23*f126890aSEmmanuel Vadot		smps2-in-supply = <&vsys_3v3>;
24*f126890aSEmmanuel Vadot		smps3-in-supply = <&vsys_3v3>;
25*f126890aSEmmanuel Vadot		smps4-in-supply = <&vsys_3v3>;
26*f126890aSEmmanuel Vadot		smps5-in-supply = <&vsys_3v3>;
27*f126890aSEmmanuel Vadot		ldo1-in-supply = <&vsys_3v3>;
28*f126890aSEmmanuel Vadot		ldo2-in-supply = <&vsys_3v3>;
29*f126890aSEmmanuel Vadot		ldo3-in-supply = <&vsys_3v3>;
30*f126890aSEmmanuel Vadot		ldo4-in-supply = <&evm_5v0>;
31*f126890aSEmmanuel Vadot		ldo5-in-supply = <&vsys_3v3>;
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot		tps65917_regulators: regulators {
34*f126890aSEmmanuel Vadot			smps1_reg: smps1 {
35*f126890aSEmmanuel Vadot				/* VDD_MPU */
36*f126890aSEmmanuel Vadot				regulator-name = "smps1";
37*f126890aSEmmanuel Vadot				regulator-min-microvolt = <850000>;
38*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1250000>;
39*f126890aSEmmanuel Vadot				regulator-always-on;
40*f126890aSEmmanuel Vadot				regulator-boot-on;
41*f126890aSEmmanuel Vadot			};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot			smps2_reg: smps2 {
44*f126890aSEmmanuel Vadot				/* VDD_CORE */
45*f126890aSEmmanuel Vadot				regulator-name = "smps2";
46*f126890aSEmmanuel Vadot				regulator-min-microvolt = <850000>;
47*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1150000>;
48*f126890aSEmmanuel Vadot				regulator-boot-on;
49*f126890aSEmmanuel Vadot				regulator-always-on;
50*f126890aSEmmanuel Vadot			};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot			smps3_reg: smps3 {
53*f126890aSEmmanuel Vadot				/* VDD_GPU IVA DSPEVE */
54*f126890aSEmmanuel Vadot				regulator-name = "smps3";
55*f126890aSEmmanuel Vadot				regulator-min-microvolt = <850000>;
56*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1250000>;
57*f126890aSEmmanuel Vadot				regulator-boot-on;
58*f126890aSEmmanuel Vadot				regulator-always-on;
59*f126890aSEmmanuel Vadot			};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot			smps4_reg: smps4 {
62*f126890aSEmmanuel Vadot				/* VDDS1V8 */
63*f126890aSEmmanuel Vadot				regulator-name = "smps4";
64*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
65*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
66*f126890aSEmmanuel Vadot				regulator-always-on;
67*f126890aSEmmanuel Vadot				regulator-boot-on;
68*f126890aSEmmanuel Vadot			};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot			smps5_reg: smps5 {
71*f126890aSEmmanuel Vadot				/* VDD_DDR */
72*f126890aSEmmanuel Vadot				regulator-name = "smps5";
73*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1350000>;
74*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1350000>;
75*f126890aSEmmanuel Vadot				regulator-boot-on;
76*f126890aSEmmanuel Vadot				regulator-always-on;
77*f126890aSEmmanuel Vadot			};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot			ldo1_reg: ldo1 {
80*f126890aSEmmanuel Vadot				/* LDO1_OUT --> SDIO  */
81*f126890aSEmmanuel Vadot				regulator-name = "ldo1";
82*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
83*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
84*f126890aSEmmanuel Vadot				regulator-always-on;
85*f126890aSEmmanuel Vadot				regulator-boot-on;
86*f126890aSEmmanuel Vadot				regulator-allow-bypass;
87*f126890aSEmmanuel Vadot			};
88*f126890aSEmmanuel Vadot
89*f126890aSEmmanuel Vadot			ldo2_reg: ldo2 {
90*f126890aSEmmanuel Vadot				regulator-name = "ldo2";
91*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
92*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
93*f126890aSEmmanuel Vadot				regulator-allow-bypass;
94*f126890aSEmmanuel Vadot			};
95*f126890aSEmmanuel Vadot
96*f126890aSEmmanuel Vadot			ldo3_reg: ldo3 {
97*f126890aSEmmanuel Vadot				/* VDDA_1V8_PHY */
98*f126890aSEmmanuel Vadot				regulator-name = "ldo3";
99*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
100*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
101*f126890aSEmmanuel Vadot				regulator-boot-on;
102*f126890aSEmmanuel Vadot				regulator-always-on;
103*f126890aSEmmanuel Vadot			};
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot			ldo5_reg: ldo5 {
106*f126890aSEmmanuel Vadot				/* VDDA_1V8_PLL */
107*f126890aSEmmanuel Vadot				regulator-name = "ldo5";
108*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
109*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1800000>;
110*f126890aSEmmanuel Vadot				regulator-always-on;
111*f126890aSEmmanuel Vadot				regulator-boot-on;
112*f126890aSEmmanuel Vadot			};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot			ldo4_reg: ldo4 {
115*f126890aSEmmanuel Vadot				/* VDDA_3V_USB: VDDA_USBHS33 */
116*f126890aSEmmanuel Vadot				regulator-name = "ldo4";
117*f126890aSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
118*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
119*f126890aSEmmanuel Vadot				regulator-boot-on;
120*f126890aSEmmanuel Vadot			};
121*f126890aSEmmanuel Vadot		};
122*f126890aSEmmanuel Vadot	};
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot	tps65917_power_button {
125*f126890aSEmmanuel Vadot		compatible = "ti,palmas-pwrbutton";
126*f126890aSEmmanuel Vadot		interrupt-parent = <&tps65917>;
127*f126890aSEmmanuel Vadot		interrupts = <1 IRQ_TYPE_NONE>;
128*f126890aSEmmanuel Vadot		wakeup-source;
129*f126890aSEmmanuel Vadot		ti,palmas-long-press-seconds = <6>;
130*f126890aSEmmanuel Vadot	};
131*f126890aSEmmanuel Vadot};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot&usb2_phy1 {
134*f126890aSEmmanuel Vadot	phy-supply = <&ldo4_reg>;
135*f126890aSEmmanuel Vadot};
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot&usb2_phy2 {
138*f126890aSEmmanuel Vadot	phy-supply = <&ldo4_reg>;
139*f126890aSEmmanuel Vadot};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot&dss {
142*f126890aSEmmanuel Vadot	vdda_video-supply = <&ldo5_reg>;
143*f126890aSEmmanuel Vadot};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot&mmc1 {
146*f126890aSEmmanuel Vadot	vqmmc-supply = <&ldo1_reg>;
147*f126890aSEmmanuel Vadot};
148*f126890aSEmmanuel Vadot
149*f126890aSEmmanuel Vadot&cpu0 {
150*f126890aSEmmanuel Vadot	vdd-supply = <&smps1_reg>;
151*f126890aSEmmanuel Vadot};
152