1#include <dt-bindings/mfd/max77620.h> 2 3#include "tegra210.dtsi" 4 5/ { 6 model = "NVIDIA Jetson TX1"; 7 compatible = "nvidia,p2180", "nvidia,tegra210"; 8 9 aliases { 10 rtc0 = "/i2c@7000d000/pmic@3c"; 11 rtc1 = "/rtc@7000e000"; 12 serial0 = &uarta; 13 }; 14 15 memory { 16 device_type = "memory"; 17 reg = <0x0 0x80000000 0x1 0x0>; 18 }; 19 20 /* debug port */ 21 serial@70006000 { 22 status = "okay"; 23 }; 24 25 i2c@7000d000 { 26 status = "okay"; 27 clock-frequency = <400000>; 28 29 pmic: pmic@3c { 30 compatible = "maxim,max77620"; 31 reg = <0x3c>; 32 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 33 34 #interrupt-cells = <2>; 35 interrupt-controller; 36 37 #gpio-cells = <2>; 38 gpio-controller; 39 40 pinctrl-names = "default"; 41 pinctrl-0 = <&max77620_default>; 42 43 max77620_default: pinmux { 44 gpio0 { 45 pins = "gpio0"; 46 function = "gpio"; 47 }; 48 49 gpio1 { 50 pins = "gpio1"; 51 function = "fps-out"; 52 drive-push-pull = <1>; 53 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 54 maxim,active-fps-power-up-slot = <7>; 55 maxim,active-fps-power-down-slot = <0>; 56 }; 57 58 gpio2_3 { 59 pins = "gpio2", "gpio3"; 60 function = "fps-out"; 61 drive-open-drain = <1>; 62 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 63 }; 64 65 gpio4 { 66 pins = "gpio4"; 67 function = "32k-out1"; 68 }; 69 70 gpio5_6_7 { 71 pins = "gpio5", "gpio6", "gpio7"; 72 function = "gpio"; 73 drive-push-pull = <1>; 74 }; 75 }; 76 77 fps { 78 fps0 { 79 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 80 maxim,suspend-fps-time-period-us = <1280>; 81 }; 82 83 fps1 { 84 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 85 maxim,suspend-fps-time-period-us = <1280>; 86 }; 87 88 fps2 { 89 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 90 }; 91 }; 92 93 regulators { 94 in-ldo0-1-supply = <&vdd_pre>; 95 in-ldo7-8-supply = <&vdd_pre>; 96 in-sd3-supply = <&vdd_5v0_sys>; 97 98 vdd_soc: sd0 { 99 regulator-name = "VDD_SOC"; 100 regulator-min-microvolt = <600000>; 101 regulator-max-microvolt = <1400000>; 102 regulator-always-on; 103 regulator-boot-on; 104 105 regulator-enable-ramp-delay = <146>; 106 regulator-ramp-delay = <27500>; 107 108 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 109 }; 110 111 vdd_ddr: sd1 { 112 regulator-name = "VDD_DDR_1V1_PMIC"; 113 regulator-always-on; 114 regulator-boot-on; 115 116 regulator-enable-ramp-delay = <130>; 117 regulator-ramp-delay = <27500>; 118 119 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 120 }; 121 122 vdd_pre: sd2 { 123 regulator-name = "VDD_PRE_REG_1V35"; 124 regulator-min-microvolt = <1350000>; 125 regulator-max-microvolt = <1350000>; 126 127 regulator-enable-ramp-delay = <176>; 128 regulator-ramp-delay = <27500>; 129 130 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 131 }; 132 133 vdd_1v8: sd3 { 134 regulator-name = "VDD_1V8"; 135 regulator-min-microvolt = <1800000>; 136 regulator-max-microvolt = <1800000>; 137 regulator-always-on; 138 regulator-boot-on; 139 140 regulator-enable-ramp-delay = <242>; 141 regulator-ramp-delay = <27500>; 142 143 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 144 }; 145 146 vdd_sys_1v2: ldo0 { 147 regulator-name = "AVDD_SYS_1V2"; 148 regulator-min-microvolt = <1200000>; 149 regulator-max-microvolt = <1200000>; 150 regulator-always-on; 151 regulator-boot-on; 152 153 regulator-enable-ramp-delay = <26>; 154 regulator-ramp-delay = <100000>; 155 156 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 157 }; 158 159 vdd_pex_1v05: ldo1 { 160 regulator-name = "VDD_PEX_1V05"; 161 regulator-min-microvolt = <1050000>; 162 regulator-max-microvolt = <1050000>; 163 164 regulator-enable-ramp-delay = <22>; 165 regulator-ramp-delay = <100000>; 166 167 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 168 }; 169 170 vddio_sdmmc: ldo2 { 171 regulator-name = "VDDIO_SDMMC"; 172 /* 173 * Technically this supply should have 174 * a supported range from 1.8 - 3.3 V. 175 * However, that would cause the SDHCI 176 * driver to request 2.7 V upon access 177 * and that in turn will cause traffic 178 * to be broken. Leave it at 3.3 V for 179 * now. 180 */ 181 regulator-min-microvolt = <3300000>; 182 regulator-max-microvolt = <3300000>; 183 regulator-always-on; 184 regulator-boot-on; 185 186 regulator-enable-ramp-delay = <62>; 187 regulator-ramp-delay = <100000>; 188 189 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 190 }; 191 192 vdd_cam_hv: ldo3 { 193 regulator-name = "VDD_CAM_HV"; 194 regulator-min-microvolt = <2800000>; 195 regulator-max-microvolt = <2800000>; 196 197 regulator-enable-ramp-delay = <50>; 198 regulator-ramp-delay = <100000>; 199 200 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 201 }; 202 203 vdd_rtc: ldo4 { 204 regulator-name = "VDD_RTC"; 205 regulator-min-microvolt = <850000>; 206 regulator-max-microvolt = <850000>; 207 regulator-always-on; 208 regulator-boot-on; 209 210 regulator-enable-ramp-delay = <22>; 211 regulator-ramp-delay = <100000>; 212 213 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 214 }; 215 216 vdd_ts_hv: ldo5 { 217 regulator-name = "VDD_TS_HV"; 218 regulator-min-microvolt = <3300000>; 219 regulator-max-microvolt = <3300000>; 220 221 regulator-enable-ramp-delay = <62>; 222 regulator-ramp-delay = <100000>; 223 224 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 225 }; 226 227 vdd_ts: ldo6 { 228 regulator-name = "VDD_TS_1V8"; 229 regulator-min-microvolt = <1800000>; 230 regulator-max-microvolt = <1800000>; 231 232 regulator-enable-ramp-delay = <36>; 233 regulator-ramp-delay = <100000>; 234 235 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 236 maxim,active-fps-power-up-slot = <7>; 237 maxim,active-fps-power-down-slot = <0>; 238 }; 239 240 avdd_1v05_pll: ldo7 { 241 regulator-name = "AVDD_1V05_PLL"; 242 regulator-min-microvolt = <1050000>; 243 regulator-max-microvolt = <1050000>; 244 regulator-always-on; 245 regulator-boot-on; 246 247 regulator-enable-ramp-delay = <24>; 248 regulator-ramp-delay = <100000>; 249 250 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 251 }; 252 253 avdd_1v05: ldo8 { 254 regulator-name = "AVDD_SATA_HDMI_DP_1V05"; 255 regulator-min-microvolt = <1050000>; 256 regulator-max-microvolt = <1050000>; 257 258 regulator-enable-ramp-delay = <22>; 259 regulator-ramp-delay = <100000>; 260 261 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 262 }; 263 }; 264 }; 265 }; 266 267 pmc@7000e400 { 268 nvidia,invert-interrupt; 269 }; 270 271 /* eMMC */ 272 sdhci@700b0600 { 273 status = "okay"; 274 bus-width = <8>; 275 non-removable; 276 }; 277 278 clocks { 279 compatible = "simple-bus"; 280 #address-cells = <1>; 281 #size-cells = <0>; 282 283 clk32k_in: clock@0 { 284 compatible = "fixed-clock"; 285 reg = <0>; 286 #clock-cells = <0>; 287 clock-frequency = <32768>; 288 }; 289 }; 290}; 291