1*4882a593Smuzhiyun// SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun#include <dt-bindings/interrupt-controller/arm-gic.h> 4*4882a593Smuzhiyun#include <dt-bindings/gpio/gpio.h> 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun/ { 7*4882a593Smuzhiyun i2c@7000d000 { 8*4882a593Smuzhiyun pmic: pmic@2d { 9*4882a593Smuzhiyun compatible = "ti,tps65911"; 10*4882a593Smuzhiyun reg = <0x2d>; 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 13*4882a593Smuzhiyun #interrupt-cells = <2>; 14*4882a593Smuzhiyun interrupt-controller; 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; 17*4882a593Smuzhiyun ti,system-power-controller; 18*4882a593Smuzhiyun ti,sleep-keep-ck32k; 19*4882a593Smuzhiyun ti,sleep-enable; 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun #gpio-cells = <2>; 22*4882a593Smuzhiyun gpio-controller; 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun vcc1-supply = <&vdd_5v0_sys>; 25*4882a593Smuzhiyun vcc2-supply = <&vdd_5v0_sys>; 26*4882a593Smuzhiyun vcc3-supply = <&vdd_1v8>; 27*4882a593Smuzhiyun vcc4-supply = <&vdd_5v0_sys>; 28*4882a593Smuzhiyun vcc5-supply = <&vdd_5v0_sys>; 29*4882a593Smuzhiyun vcc6-supply = <&vdd2_reg>; 30*4882a593Smuzhiyun vcc7-supply = <&vdd_5v0_sys>; 31*4882a593Smuzhiyun vccio-supply = <&vdd_5v0_sys>; 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun regulators { 34*4882a593Smuzhiyun vdd1 { 35*4882a593Smuzhiyun regulator-name = "vddio_ddr_1v2"; 36*4882a593Smuzhiyun regulator-min-microvolt = <600000>; 37*4882a593Smuzhiyun regulator-max-microvolt = <1500000>; 38*4882a593Smuzhiyun regulator-always-on; 39*4882a593Smuzhiyun regulator-boot-on; 40*4882a593Smuzhiyun ti,regulator-ext-sleep-control = <8>; 41*4882a593Smuzhiyun }; 42*4882a593Smuzhiyun 43*4882a593Smuzhiyun vdd2_reg: vdd2 { 44*4882a593Smuzhiyun regulator-name = "vdd2_1v2"; 45*4882a593Smuzhiyun regulator-min-microvolt = <1200000>; 46*4882a593Smuzhiyun regulator-max-microvolt = <1200000>; 47*4882a593Smuzhiyun regulator-always-on; 48*4882a593Smuzhiyun regulator-boot-on; 49*4882a593Smuzhiyun }; 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun vdd_cpu: vddctrl { 52*4882a593Smuzhiyun regulator-name = "vdd_cpu,vdd_sys"; 53*4882a593Smuzhiyun regulator-min-microvolt = <800000>; 54*4882a593Smuzhiyun regulator-max-microvolt = <1250000>; 55*4882a593Smuzhiyun regulator-coupled-with = <&vdd_core>; 56*4882a593Smuzhiyun regulator-coupled-max-spread = <300000>; 57*4882a593Smuzhiyun regulator-max-step-microvolt = <100000>; 58*4882a593Smuzhiyun regulator-always-on; 59*4882a593Smuzhiyun ti,regulator-ext-sleep-control = <1>; 60*4882a593Smuzhiyun 61*4882a593Smuzhiyun nvidia,tegra-cpu-regulator; 62*4882a593Smuzhiyun }; 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun vdd_1v8: vio { 65*4882a593Smuzhiyun regulator-name = "vdd_1v8_gen"; 66*4882a593Smuzhiyun regulator-min-microvolt = <1800000>; 67*4882a593Smuzhiyun regulator-max-microvolt = <1800000>; 68*4882a593Smuzhiyun regulator-always-on; 69*4882a593Smuzhiyun regulator-boot-on; 70*4882a593Smuzhiyun }; 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun vcore_emmc: ldo1 { 73*4882a593Smuzhiyun regulator-name = "vdd_pexa,vdd_pexb"; 74*4882a593Smuzhiyun regulator-min-microvolt = <1000000>; 75*4882a593Smuzhiyun regulator-max-microvolt = <3300000>; 76*4882a593Smuzhiyun regulator-always-on; 77*4882a593Smuzhiyun }; 78*4882a593Smuzhiyun 79*4882a593Smuzhiyun ldo2 { 80*4882a593Smuzhiyun regulator-name = "vdd_sata,avdd_plle"; 81*4882a593Smuzhiyun regulator-min-microvolt = <1050000>; 82*4882a593Smuzhiyun regulator-max-microvolt = <1050000>; 83*4882a593Smuzhiyun }; 84*4882a593Smuzhiyun 85*4882a593Smuzhiyun /* LDO3 is not connected to anything */ 86*4882a593Smuzhiyun 87*4882a593Smuzhiyun ldo4 { 88*4882a593Smuzhiyun regulator-name = "vdd_rtc"; 89*4882a593Smuzhiyun regulator-min-microvolt = <1200000>; 90*4882a593Smuzhiyun regulator-max-microvolt = <1200000>; 91*4882a593Smuzhiyun regulator-always-on; 92*4882a593Smuzhiyun }; 93*4882a593Smuzhiyun 94*4882a593Smuzhiyun ldo5 { 95*4882a593Smuzhiyun regulator-name = "vddio_sdmmc,avdd_vdac"; 96*4882a593Smuzhiyun regulator-min-microvolt = <1800000>; 97*4882a593Smuzhiyun regulator-max-microvolt = <1800000>; 98*4882a593Smuzhiyun }; 99*4882a593Smuzhiyun 100*4882a593Smuzhiyun ldo6 { 101*4882a593Smuzhiyun regulator-name = "avdd_dsi_csi,pwrdet_mipi"; 102*4882a593Smuzhiyun regulator-min-microvolt = <1200000>; 103*4882a593Smuzhiyun regulator-max-microvolt = <1200000>; 104*4882a593Smuzhiyun }; 105*4882a593Smuzhiyun 106*4882a593Smuzhiyun ldo7 { 107*4882a593Smuzhiyun regulator-name = "vdd_pllm,x,u,a_p_c_s"; 108*4882a593Smuzhiyun regulator-min-microvolt = <1200000>; 109*4882a593Smuzhiyun regulator-max-microvolt = <1200000>; 110*4882a593Smuzhiyun regulator-always-on; 111*4882a593Smuzhiyun regulator-boot-on; 112*4882a593Smuzhiyun ti,regulator-ext-sleep-control = <8>; 113*4882a593Smuzhiyun }; 114*4882a593Smuzhiyun 115*4882a593Smuzhiyun ldo8 { 116*4882a593Smuzhiyun regulator-name = "vdd_ddr_hs"; 117*4882a593Smuzhiyun regulator-min-microvolt = <1000000>; 118*4882a593Smuzhiyun regulator-max-microvolt = <1000000>; 119*4882a593Smuzhiyun regulator-always-on; 120*4882a593Smuzhiyun ti,regulator-ext-sleep-control = <8>; 121*4882a593Smuzhiyun }; 122*4882a593Smuzhiyun }; 123*4882a593Smuzhiyun }; 124*4882a593Smuzhiyun 125*4882a593Smuzhiyun vdd_core: core-regulator@60 { 126*4882a593Smuzhiyun compatible = "ti,tps62361"; 127*4882a593Smuzhiyun reg = <0x60>; 128*4882a593Smuzhiyun 129*4882a593Smuzhiyun regulator-name = "tps62361-vout"; 130*4882a593Smuzhiyun regulator-min-microvolt = <500000>; 131*4882a593Smuzhiyun regulator-max-microvolt = <1350000>; 132*4882a593Smuzhiyun regulator-coupled-with = <&vdd_cpu>; 133*4882a593Smuzhiyun regulator-coupled-max-spread = <300000>; 134*4882a593Smuzhiyun regulator-max-step-microvolt = <100000>; 135*4882a593Smuzhiyun regulator-boot-on; 136*4882a593Smuzhiyun regulator-always-on; 137*4882a593Smuzhiyun ti,enable-vout-discharge; 138*4882a593Smuzhiyun ti,vsel0-state-high; 139*4882a593Smuzhiyun ti,vsel1-state-high; 140*4882a593Smuzhiyun 141*4882a593Smuzhiyun nvidia,tegra-core-regulator; 142*4882a593Smuzhiyun }; 143*4882a593Smuzhiyun }; 144*4882a593Smuzhiyun 145*4882a593Smuzhiyun vdd_3v3_sys: regulator@1 { 146*4882a593Smuzhiyun gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 147*4882a593Smuzhiyun enable-active-high; 148*4882a593Smuzhiyun }; 149*4882a593Smuzhiyun}; 150