Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #include <dt-bindings/interrupt-controller/arm-gic.h>
0004 #include <dt-bindings/gpio/gpio.h>
0005 
0006 / {
0007         i2c@7000d000 {
0008                 pmic: pmic@2d {
0009                         compatible = "ti,tps65911";
0010                         reg = <0x2d>;
0011 
0012                         interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
0013                         #interrupt-cells = <2>;
0014                         interrupt-controller;
0015                         wakeup-source;
0016 
0017                         ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;
0018                         ti,system-power-controller;
0019                         ti,sleep-keep-ck32k;
0020                         ti,sleep-enable;
0021 
0022                         #gpio-cells = <2>;
0023                         gpio-controller;
0024 
0025                         vcc1-supply = <&vdd_5v0_sys>;
0026                         vcc2-supply = <&vdd_5v0_sys>;
0027                         vcc3-supply = <&vdd_1v8>;
0028                         vcc4-supply = <&vdd_5v0_sys>;
0029                         vcc5-supply = <&vdd_5v0_sys>;
0030                         vcc6-supply = <&vdd2_reg>;
0031                         vcc7-supply = <&vdd_5v0_sys>;
0032                         vccio-supply = <&vdd_5v0_sys>;
0033 
0034                         regulators {
0035                                 vdd1 {
0036                                         regulator-name = "vddio_ddr_1v2";
0037                                         regulator-min-microvolt = <600000>;
0038                                         regulator-max-microvolt = <1500000>;
0039                                         regulator-always-on;
0040                                         regulator-boot-on;
0041                                         ti,regulator-ext-sleep-control = <8>;
0042                                 };
0043 
0044                                 vdd2_reg: vdd2 {
0045                                         regulator-name = "vdd2_1v2";
0046                                         regulator-min-microvolt = <1200000>;
0047                                         regulator-max-microvolt = <1200000>;
0048                                         regulator-always-on;
0049                                         regulator-boot-on;
0050                                 };
0051 
0052                                 vdd_cpu: vddctrl {
0053                                         regulator-name = "vdd_cpu,vdd_sys";
0054                                         regulator-min-microvolt = <800000>;
0055                                         regulator-max-microvolt = <1250000>;
0056                                         regulator-coupled-with = <&vdd_core>;
0057                                         regulator-coupled-max-spread = <300000>;
0058                                         regulator-max-step-microvolt = <100000>;
0059                                         regulator-always-on;
0060                                         ti,regulator-ext-sleep-control = <1>;
0061 
0062                                         nvidia,tegra-cpu-regulator;
0063                                 };
0064 
0065                                 vdd_1v8: vio {
0066                                         regulator-name = "vdd_1v8_gen";
0067                                         regulator-min-microvolt = <1800000>;
0068                                         regulator-max-microvolt = <1800000>;
0069                                         regulator-always-on;
0070                                         regulator-boot-on;
0071                                 };
0072 
0073                                 vcore_emmc: ldo1 {
0074                                         regulator-name = "vdd_pexa,vdd_pexb";
0075                                         regulator-min-microvolt = <1000000>;
0076                                         regulator-max-microvolt = <3300000>;
0077                                         regulator-always-on;
0078                                 };
0079 
0080                                 ldo2 {
0081                                         regulator-name = "vdd_sata,avdd_plle";
0082                                         regulator-min-microvolt = <1050000>;
0083                                         regulator-max-microvolt = <1050000>;
0084                                 };
0085 
0086                                 /* LDO3 is not connected to anything */
0087 
0088                                 ldo4 {
0089                                         regulator-name = "vdd_rtc";
0090                                         regulator-min-microvolt = <1200000>;
0091                                         regulator-max-microvolt = <1200000>;
0092                                         regulator-always-on;
0093                                 };
0094 
0095                                 ldo5 {
0096                                         regulator-name = "vddio_sdmmc,avdd_vdac";
0097                                         regulator-min-microvolt = <1800000>;
0098                                         regulator-max-microvolt = <1800000>;
0099                                 };
0100 
0101                                 ldo6 {
0102                                         regulator-name = "avdd_dsi_csi,pwrdet_mipi";
0103                                         regulator-min-microvolt = <1200000>;
0104                                         regulator-max-microvolt = <1200000>;
0105                                 };
0106 
0107                                 ldo7 {
0108                                         regulator-name = "vdd_pllm,x,u,a_p_c_s";
0109                                         regulator-min-microvolt = <1200000>;
0110                                         regulator-max-microvolt = <1200000>;
0111                                         regulator-always-on;
0112                                         regulator-boot-on;
0113                                         ti,regulator-ext-sleep-control = <8>;
0114                                 };
0115 
0116                                 ldo8 {
0117                                         regulator-name = "vdd_ddr_hs";
0118                                         regulator-min-microvolt = <1000000>;
0119                                         regulator-max-microvolt = <1000000>;
0120                                         regulator-always-on;
0121                                         ti,regulator-ext-sleep-control = <8>;
0122                                 };
0123                         };
0124                 };
0125 
0126                 vdd_core: core-regulator@60 {
0127                         compatible = "ti,tps62361";
0128                         reg = <0x60>;
0129 
0130                         regulator-name = "tps62361-vout";
0131                         regulator-min-microvolt = <500000>;
0132                         regulator-max-microvolt = <1350000>;
0133                         regulator-coupled-with = <&vdd_cpu>;
0134                         regulator-coupled-max-spread = <300000>;
0135                         regulator-max-step-microvolt = <100000>;
0136                         regulator-boot-on;
0137                         regulator-always-on;
0138                         ti,enable-vout-discharge;
0139                         ti,vsel0-state-high;
0140                         ti,vsel1-state-high;
0141 
0142                         nvidia,tegra-core-regulator;
0143                 };
0144         };
0145 
0146         vdd_3v3_sys: regulator-3v3 {
0147                 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
0148                 enable-active-high;
0149         };
0150 
0151         pmc@7000e400 {
0152                 i2c-thermtrip {
0153                         nvidia,i2c-controller-id = <4>;
0154                         nvidia,bus-addr = <0x2d>;
0155                         nvidia,reg-addr = <0x3f>;
0156                         nvidia,reg-data = <0x80>;
0157                 };
0158         };
0159 };