Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
0004  */
0005 
0006 /*
0007  * Integrated Power Management Chip
0008  * https://www.ti.com/lit/ds/symlink/tps65917-q1.pdf
0009  */
0010 
0011 &tps65917 {
0012         compatible = "ti,tps65917";
0013 
0014         interrupt-controller;
0015         #interrupt-cells = <2>;
0016 
0017         ti,system-power-controller;
0018 
0019         tps65917_pmic {
0020                 compatible = "ti,tps65917-pmic";
0021 
0022                 smps1-in-supply = <&vsys_3v3>;
0023                 smps2-in-supply = <&vsys_3v3>;
0024                 smps3-in-supply = <&vsys_3v3>;
0025                 smps4-in-supply = <&vsys_3v3>;
0026                 smps5-in-supply = <&vsys_3v3>;
0027                 ldo1-in-supply = <&vsys_3v3>;
0028                 ldo2-in-supply = <&vsys_3v3>;
0029                 ldo3-in-supply = <&vsys_3v3>;
0030                 ldo4-in-supply = <&evm_5v0>;
0031                 ldo5-in-supply = <&vsys_3v3>;
0032 
0033                 tps65917_regulators: regulators {
0034                         smps1_reg: smps1 {
0035                                 /* VDD_MPU */
0036                                 regulator-name = "smps1";
0037                                 regulator-min-microvolt = <850000>;
0038                                 regulator-max-microvolt = <1250000>;
0039                                 regulator-always-on;
0040                                 regulator-boot-on;
0041                         };
0042 
0043                         smps2_reg: smps2 {
0044                                 /* VDD_CORE */
0045                                 regulator-name = "smps2";
0046                                 regulator-min-microvolt = <850000>;
0047                                 regulator-max-microvolt = <1150000>;
0048                                 regulator-boot-on;
0049                                 regulator-always-on;
0050                         };
0051 
0052                         smps3_reg: smps3 {
0053                                 /* VDD_GPU IVA DSPEVE */
0054                                 regulator-name = "smps3";
0055                                 regulator-min-microvolt = <850000>;
0056                                 regulator-max-microvolt = <1250000>;
0057                                 regulator-boot-on;
0058                                 regulator-always-on;
0059                         };
0060 
0061                         smps4_reg: smps4 {
0062                                 /* VDDS1V8 */
0063                                 regulator-name = "smps4";
0064                                 regulator-min-microvolt = <1800000>;
0065                                 regulator-max-microvolt = <1800000>;
0066                                 regulator-always-on;
0067                                 regulator-boot-on;
0068                         };
0069 
0070                         smps5_reg: smps5 {
0071                                 /* VDD_DDR */
0072                                 regulator-name = "smps5";
0073                                 regulator-min-microvolt = <1350000>;
0074                                 regulator-max-microvolt = <1350000>;
0075                                 regulator-boot-on;
0076                                 regulator-always-on;
0077                         };
0078 
0079                         ldo1_reg: ldo1 {
0080                                 /* LDO1_OUT --> SDIO  */
0081                                 regulator-name = "ldo1";
0082                                 regulator-min-microvolt = <1800000>;
0083                                 regulator-max-microvolt = <3300000>;
0084                                 regulator-always-on;
0085                                 regulator-boot-on;
0086                                 regulator-allow-bypass;
0087                         };
0088 
0089                         ldo2_reg: ldo2 {
0090                                 regulator-name = "ldo2";
0091                                 regulator-min-microvolt = <1800000>;
0092                                 regulator-max-microvolt = <1800000>;
0093                                 regulator-allow-bypass;
0094                         };
0095 
0096                         ldo3_reg: ldo3 {
0097                                 /* VDDA_1V8_PHY */
0098                                 regulator-name = "ldo3";
0099                                 regulator-min-microvolt = <1800000>;
0100                                 regulator-max-microvolt = <1800000>;
0101                                 regulator-boot-on;
0102                                 regulator-always-on;
0103                         };
0104 
0105                         ldo5_reg: ldo5 {
0106                                 /* VDDA_1V8_PLL */
0107                                 regulator-name = "ldo5";
0108                                 regulator-min-microvolt = <1800000>;
0109                                 regulator-max-microvolt = <1800000>;
0110                                 regulator-always-on;
0111                                 regulator-boot-on;
0112                         };
0113 
0114                         ldo4_reg: ldo4 {
0115                                 /* VDDA_3V_USB: VDDA_USBHS33 */
0116                                 regulator-name = "ldo4";
0117                                 regulator-min-microvolt = <3300000>;
0118                                 regulator-max-microvolt = <3300000>;
0119                                 regulator-boot-on;
0120                         };
0121                 };
0122         };
0123 
0124         tps65917_power_button {
0125                 compatible = "ti,palmas-pwrbutton";
0126                 interrupt-parent = <&tps65917>;
0127                 interrupts = <1 IRQ_TYPE_NONE>;
0128                 wakeup-source;
0129                 ti,palmas-long-press-seconds = <6>;
0130         };
0131 };
0132 
0133 &usb2_phy1 {
0134         phy-supply = <&ldo4_reg>;
0135 };
0136 
0137 &usb2_phy2 {
0138         phy-supply = <&ldo4_reg>;
0139 };
0140 
0141 &dss {
0142         vdda_video-supply = <&ldo5_reg>;
0143 };
0144 
0145 &mmc1 {
0146         vqmmc-supply = <&ldo1_reg>;
0147 };
0148 
0149 &cpu0 {
0150         vdd-supply = <&smps1_reg>;
0151 };