1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring 3*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 4*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 5*724ba675SRob Herring#include <dt-bindings/mfd/max77620.h> 6*724ba675SRob Herring 7*724ba675SRob Herring/ { 8*724ba675SRob Herring i2c@7000d000 { 9*724ba675SRob Herring pmic: pmic@3c { 10*724ba675SRob Herring compatible = "maxim,max77663"; 11*724ba675SRob Herring reg = <0x3c>; 12*724ba675SRob Herring 13*724ba675SRob Herring interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 14*724ba675SRob Herring #interrupt-cells = <2>; 15*724ba675SRob Herring interrupt-controller; 16*724ba675SRob Herring 17*724ba675SRob Herring #gpio-cells = <2>; 18*724ba675SRob Herring gpio-controller; 19*724ba675SRob Herring 20*724ba675SRob Herring system-power-controller; 21*724ba675SRob Herring 22*724ba675SRob Herring pinctrl-names = "default"; 23*724ba675SRob Herring pinctrl-0 = <&max77620_default>; 24*724ba675SRob Herring 25*724ba675SRob Herring cpu-pwr-req-hog { 26*724ba675SRob Herring gpio-hog; 27*724ba675SRob Herring gpios = <6 GPIO_ACTIVE_HIGH>; 28*724ba675SRob Herring input; 29*724ba675SRob Herring }; 30*724ba675SRob Herring 31*724ba675SRob Herring fps { 32*724ba675SRob Herring fps0 { 33*724ba675SRob Herring maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 34*724ba675SRob Herring }; 35*724ba675SRob Herring 36*724ba675SRob Herring fps1 { 37*724ba675SRob Herring maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 38*724ba675SRob Herring }; 39*724ba675SRob Herring 40*724ba675SRob Herring fps2 { 41*724ba675SRob Herring maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 42*724ba675SRob Herring }; 43*724ba675SRob Herring }; 44*724ba675SRob Herring 45*724ba675SRob Herring max77620_default: pinmux { 46*724ba675SRob Herring gpio4 { 47*724ba675SRob Herring pins = "gpio4"; 48*724ba675SRob Herring function = "32k-out1"; 49*724ba675SRob Herring }; 50*724ba675SRob Herring }; 51*724ba675SRob Herring 52*724ba675SRob Herring regulators { 53*724ba675SRob Herring in-sd0-supply = <&vdd_5v0_sys>; 54*724ba675SRob Herring in-sd1-supply = <&vdd_5v0_sys>; 55*724ba675SRob Herring in-sd2-supply = <&vdd_5v0_sys>; 56*724ba675SRob Herring in-sd3-supply = <&vdd_5v0_sys>; 57*724ba675SRob Herring in-sd4-supply = <&vdd_5v0_sys>; 58*724ba675SRob Herring 59*724ba675SRob Herring in-ldo0-1-supply = <&vdd_1v35>; 60*724ba675SRob Herring in-ldo2-supply = <&vdd_3v3_sys>; 61*724ba675SRob Herring in-ldo3-5-supply = <&vdd_3v3_sys>; 62*724ba675SRob Herring in-ldo4-6-supply = <&vdd_5v0_sys>; 63*724ba675SRob Herring in-ldo7-8-supply = <&vdd_1v35>; 64*724ba675SRob Herring 65*724ba675SRob Herring vdd_cpu: sd0 { 66*724ba675SRob Herring regulator-name = "vdd_cpu"; 67*724ba675SRob Herring regulator-min-microvolt = <800000>; 68*724ba675SRob Herring regulator-max-microvolt = <1250000>; 69*724ba675SRob Herring regulator-coupled-with = <&vdd_core>; 70*724ba675SRob Herring regulator-coupled-max-spread = <300000>; 71*724ba675SRob Herring regulator-max-step-microvolt = <100000>; 72*724ba675SRob Herring regulator-always-on; 73*724ba675SRob Herring regulator-boot-on; 74*724ba675SRob Herring 75*724ba675SRob Herring nvidia,tegra-cpu-regulator; 76*724ba675SRob Herring }; 77*724ba675SRob Herring 78*724ba675SRob Herring vdd_core: sd1 { 79*724ba675SRob Herring regulator-name = "vdd_core"; 80*724ba675SRob Herring regulator-min-microvolt = <950000>; 81*724ba675SRob Herring regulator-max-microvolt = <1350000>; 82*724ba675SRob Herring regulator-coupled-with = <&vdd_cpu>; 83*724ba675SRob Herring regulator-coupled-max-spread = <300000>; 84*724ba675SRob Herring regulator-max-step-microvolt = <100000>; 85*724ba675SRob Herring regulator-always-on; 86*724ba675SRob Herring regulator-boot-on; 87*724ba675SRob Herring 88*724ba675SRob Herring nvidia,tegra-core-regulator; 89*724ba675SRob Herring }; 90*724ba675SRob Herring 91*724ba675SRob Herring vdd_1v8: sd2 { 92*724ba675SRob Herring regulator-name = "vdd_gen1v8"; 93*724ba675SRob Herring regulator-min-microvolt = <1800000>; 94*724ba675SRob Herring regulator-max-microvolt = <1800000>; 95*724ba675SRob Herring regulator-always-on; 96*724ba675SRob Herring regulator-boot-on; 97*724ba675SRob Herring }; 98*724ba675SRob Herring 99*724ba675SRob Herring vdd_1v35: sd3 { 100*724ba675SRob Herring regulator-name = "vdd_ddr3l_1v35"; 101*724ba675SRob Herring regulator-min-microvolt = <1350000>; 102*724ba675SRob Herring regulator-max-microvolt = <1350000>; 103*724ba675SRob Herring regulator-always-on; 104*724ba675SRob Herring regulator-boot-on; 105*724ba675SRob Herring }; 106*724ba675SRob Herring 107*724ba675SRob Herring ldo0 { 108*724ba675SRob Herring regulator-name = "vdd_ddr_hs"; 109*724ba675SRob Herring regulator-min-microvolt = <1000000>; 110*724ba675SRob Herring regulator-max-microvolt = <1000000>; 111*724ba675SRob Herring regulator-always-on; 112*724ba675SRob Herring regulator-boot-on; 113*724ba675SRob Herring }; 114*724ba675SRob Herring 115*724ba675SRob Herring ldo2 { 116*724ba675SRob Herring regulator-name = "vdd_ddr_rx"; 117*724ba675SRob Herring regulator-min-microvolt = <2800000>; 118*724ba675SRob Herring regulator-max-microvolt = <2800000>; 119*724ba675SRob Herring regulator-always-on; 120*724ba675SRob Herring regulator-boot-on; 121*724ba675SRob Herring }; 122*724ba675SRob Herring 123*724ba675SRob Herring vcore_emmc: ldo3 { 124*724ba675SRob Herring regulator-name = "vcore_emmc"; 125*724ba675SRob Herring regulator-min-microvolt = <2850000>; 126*724ba675SRob Herring regulator-max-microvolt = <3100000>; 127*724ba675SRob Herring regulator-always-on; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring ldo4 { 131*724ba675SRob Herring regulator-name = "vdd_rtc"; 132*724ba675SRob Herring regulator-min-microvolt = <1200000>; 133*724ba675SRob Herring regulator-max-microvolt = <1200000>; 134*724ba675SRob Herring regulator-always-on; 135*724ba675SRob Herring regulator-boot-on; 136*724ba675SRob Herring }; 137*724ba675SRob Herring 138*724ba675SRob Herring ldo5 { 139*724ba675SRob Herring regulator-name = "vdd_camera"; 140*724ba675SRob Herring regulator-min-microvolt = <1800000>; 141*724ba675SRob Herring regulator-max-microvolt = <1800000>; 142*724ba675SRob Herring }; 143*724ba675SRob Herring 144*724ba675SRob Herring ldo6 { 145*724ba675SRob Herring regulator-name = "vddio_sdmmc"; 146*724ba675SRob Herring regulator-min-microvolt = <1800000>; 147*724ba675SRob Herring regulator-max-microvolt = <3300000>; 148*724ba675SRob Herring regulator-always-on; 149*724ba675SRob Herring regulator-boot-on; 150*724ba675SRob Herring }; 151*724ba675SRob Herring 152*724ba675SRob Herring ldo7 { 153*724ba675SRob Herring regulator-name = "avdd_dsi_csi"; 154*724ba675SRob Herring regulator-min-microvolt = <1200000>; 155*724ba675SRob Herring regulator-max-microvolt = <1200000>; 156*724ba675SRob Herring }; 157*724ba675SRob Herring 158*724ba675SRob Herring ldo8 { 159*724ba675SRob Herring regulator-name = "avdd_pll"; 160*724ba675SRob Herring regulator-min-microvolt = <1200000>; 161*724ba675SRob Herring regulator-max-microvolt = <1200000>; 162*724ba675SRob Herring regulator-always-on; 163*724ba675SRob Herring regulator-boot-on; 164*724ba675SRob Herring }; 165*724ba675SRob Herring }; 166*724ba675SRob Herring }; 167*724ba675SRob Herring }; 168*724ba675SRob Herring 169*724ba675SRob Herring vdd_3v3_sys: regulator-3v3 { 170*724ba675SRob Herring gpio = <&pmic 3 GPIO_ACTIVE_HIGH>; 171*724ba675SRob Herring enable-active-high; 172*724ba675SRob Herring }; 173*724ba675SRob Herring 174*724ba675SRob Herring regulator-usb { 175*724ba675SRob Herring compatible = "regulator-fixed"; 176*724ba675SRob Herring regulator-name = "avdd_usb"; 177*724ba675SRob Herring regulator-min-microvolt = <3300000>; 178*724ba675SRob Herring regulator-max-microvolt = <3300000>; 179*724ba675SRob Herring regulator-always-on; 180*724ba675SRob Herring regulator-boot-on; 181*724ba675SRob Herring gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 182*724ba675SRob Herring enable-active-high; 183*724ba675SRob Herring vin-supply = <&vdd_3v3_sys>; 184*724ba675SRob Herring }; 185*724ba675SRob Herring 186*724ba675SRob Herring pmc@7000e400 { 187*724ba675SRob Herring i2c-thermtrip { 188*724ba675SRob Herring nvidia,i2c-controller-id = <4>; 189*724ba675SRob Herring nvidia,bus-addr = <0x3c>; 190*724ba675SRob Herring nvidia,reg-addr = <0x41>; 191*724ba675SRob Herring nvidia,reg-data = <0xe0>; 192*724ba675SRob Herring }; 193*724ba675SRob Herring }; 194*724ba675SRob Herring}; 195