1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 2 #include <dt-bindings/mfd/max77620.h> 3 3 4 #include "tegra210.dtsi" 4 #include "tegra210.dtsi" 5 5 6 / { 6 / { 7 model = "NVIDIA Jetson TX1"; 7 model = "NVIDIA Jetson TX1"; 8 compatible = "nvidia,p2180", "nvidia,t 8 compatible = "nvidia,p2180", "nvidia,tegra210"; 9 9 10 aliases { 10 aliases { 11 rtc0 = "/i2c@7000d000/pmic@3c" 11 rtc0 = "/i2c@7000d000/pmic@3c"; 12 rtc1 = "/rtc@7000e000"; 12 rtc1 = "/rtc@7000e000"; 13 serial0 = &uarta; 13 serial0 = &uarta; 14 }; 14 }; 15 15 16 chosen { 16 chosen { 17 stdout-path = "serial0:115200n 17 stdout-path = "serial0:115200n8"; 18 }; 18 }; 19 19 20 memory@80000000 { 20 memory@80000000 { 21 device_type = "memory"; 21 device_type = "memory"; 22 reg = <0x0 0x80000000 0x1 0x0> 22 reg = <0x0 0x80000000 0x1 0x0>; 23 }; 23 }; 24 24 25 gpu@57000000 { 25 gpu@57000000 { 26 vdd-supply = <&vdd_gpu>; 26 vdd-supply = <&vdd_gpu>; 27 }; 27 }; 28 28 29 /* debug port */ 29 /* debug port */ 30 serial@70006000 { 30 serial@70006000 { 31 /delete-property/ dmas; << 32 /delete-property/ dma-names; << 33 status = "okay"; 31 status = "okay"; 34 }; 32 }; 35 33 36 serial@70006300 { << 37 /delete-property/ reg-shift; << 38 status = "okay"; << 39 compatible = "nvidia,tegra30-h << 40 reset-names = "serial"; << 41 << 42 bluetooth { << 43 compatible = "brcm,bcm << 44 device-wakeup-gpios = << 45 shutdown-gpios = <&gpi << 46 interrupt-parent = <&g << 47 interrupts = <TEGRA_GP << 48 interrupt-names = "hos << 49 }; << 50 }; << 51 << 52 i2c@7000c400 { << 53 status = "okay"; << 54 << 55 power-sensor@40 { << 56 compatible = "ti,ina32 << 57 reg = <0x40>; << 58 #address-cells = <1>; << 59 #size-cells = <0>; << 60 << 61 input@0 { << 62 reg = <0x0>; << 63 label = "VDD_I << 64 shunt-resistor << 65 }; << 66 << 67 input@1 { << 68 reg = <0x1>; << 69 label = "VDD_G << 70 shunt-resistor << 71 }; << 72 << 73 input@2 { << 74 reg = <0x2>; << 75 label = "VDD_C << 76 shunt-resistor << 77 }; << 78 }; << 79 }; << 80 << 81 i2c@7000c500 { 34 i2c@7000c500 { 82 status = "okay"; 35 status = "okay"; 83 36 84 /* module ID EEPROM */ 37 /* module ID EEPROM */ 85 eeprom@50 { 38 eeprom@50 { 86 compatible = "atmel,24 39 compatible = "atmel,24c02"; 87 reg = <0x50>; 40 reg = <0x50>; 88 41 89 label = "module"; 42 label = "module"; 90 vcc-supply = <&vdd_1v8 43 vcc-supply = <&vdd_1v8>; 91 address-width = <8>; 44 address-width = <8>; 92 pagesize = <8>; 45 pagesize = <8>; 93 size = <256>; 46 size = <256>; 94 read-only; 47 read-only; 95 }; 48 }; 96 }; 49 }; 97 50 98 i2c@7000d000 { 51 i2c@7000d000 { 99 status = "okay"; 52 status = "okay"; 100 clock-frequency = <400000>; 53 clock-frequency = <400000>; 101 54 102 pmic: pmic@3c { 55 pmic: pmic@3c { 103 compatible = "maxim,ma 56 compatible = "maxim,max77620"; 104 reg = <0x3c>; 57 reg = <0x3c>; 105 interrupt-parent = <&t 58 interrupt-parent = <&tegra_pmc>; 106 interrupts = <51 IRQ_T 59 interrupts = <51 IRQ_TYPE_LEVEL_LOW>; 107 60 108 #interrupt-cells = <2> 61 #interrupt-cells = <2>; 109 interrupt-controller; 62 interrupt-controller; 110 63 111 #gpio-cells = <2>; 64 #gpio-cells = <2>; 112 gpio-controller; 65 gpio-controller; 113 66 114 pinctrl-names = "defau 67 pinctrl-names = "default"; 115 pinctrl-0 = <&max77620 68 pinctrl-0 = <&max77620_default>; 116 69 117 fps { 70 fps { 118 fps0 { 71 fps0 { 119 maxim, 72 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 120 maxim, 73 maxim,suspend-fps-time-period-us = <1280>; 121 }; 74 }; 122 75 123 fps1 { 76 fps1 { 124 maxim, 77 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 125 maxim, 78 maxim,suspend-fps-time-period-us = <1280>; 126 }; 79 }; 127 80 128 fps2 { 81 fps2 { 129 maxim, 82 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 130 }; 83 }; 131 }; 84 }; 132 85 133 max77620_default: pinm 86 max77620_default: pinmux { 134 gpio0 { 87 gpio0 { 135 pins = 88 pins = "gpio0"; 136 functi 89 function = "gpio"; 137 }; 90 }; 138 91 139 gpio1 { 92 gpio1 { 140 pins = 93 pins = "gpio1"; 141 functi 94 function = "fps-out"; 142 drive- 95 drive-push-pull = <1>; 143 maxim, 96 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 144 maxim, 97 maxim,active-fps-power-up-slot = <7>; 145 maxim, 98 maxim,active-fps-power-down-slot = <0>; 146 }; 99 }; 147 100 148 gpio2_3 { 101 gpio2_3 { 149 pins = 102 pins = "gpio2", "gpio3"; 150 functi 103 function = "fps-out"; 151 drive- 104 drive-open-drain = <1>; 152 maxim, 105 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 153 }; 106 }; 154 107 155 gpio4 { 108 gpio4 { 156 pins = 109 pins = "gpio4"; 157 functi 110 function = "32k-out1"; 158 }; 111 }; 159 112 160 gpio5_6_7 { 113 gpio5_6_7 { 161 pins = 114 pins = "gpio5", "gpio6", "gpio7"; 162 functi 115 function = "gpio"; 163 drive- 116 drive-push-pull = <1>; 164 }; 117 }; 165 }; 118 }; 166 119 167 regulators { 120 regulators { 168 in-ldo0-1-supp 121 in-ldo0-1-supply = <&vdd_pre>; 169 in-ldo7-8-supp 122 in-ldo7-8-supply = <&vdd_pre>; 170 in-sd3-supply 123 in-sd3-supply = <&vdd_5v0_sys>; 171 124 172 vdd_soc: sd0 { 125 vdd_soc: sd0 { 173 regula 126 regulator-name = "VDD_SOC"; 174 regula 127 regulator-min-microvolt = <600000>; 175 regula 128 regulator-max-microvolt = <1400000>; 176 regula 129 regulator-always-on; 177 regula 130 regulator-boot-on; 178 131 179 regula 132 regulator-enable-ramp-delay = <146>; 180 regula 133 regulator-ramp-delay = <27500>; 181 134 182 maxim, 135 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 183 }; 136 }; 184 137 185 vdd_ddr: sd1 { 138 vdd_ddr: sd1 { 186 regula 139 regulator-name = "VDD_DDR_1V1_PMIC"; 187 regula 140 regulator-always-on; 188 regula 141 regulator-boot-on; 189 142 190 regula 143 regulator-enable-ramp-delay = <130>; 191 regula 144 regulator-ramp-delay = <27500>; 192 145 193 maxim, 146 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 194 }; 147 }; 195 148 196 vdd_pre: sd2 { 149 vdd_pre: sd2 { 197 regula 150 regulator-name = "VDD_PRE_REG_1V35"; 198 regula 151 regulator-min-microvolt = <1350000>; 199 regula 152 regulator-max-microvolt = <1350000>; 200 153 201 regula 154 regulator-enable-ramp-delay = <176>; 202 regula 155 regulator-ramp-delay = <27500>; 203 156 204 maxim, 157 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 205 }; 158 }; 206 159 207 vdd_1v8: sd3 { 160 vdd_1v8: sd3 { 208 regula 161 regulator-name = "VDD_1V8"; 209 regula 162 regulator-min-microvolt = <1800000>; 210 regula 163 regulator-max-microvolt = <1800000>; 211 regula 164 regulator-always-on; 212 regula 165 regulator-boot-on; 213 166 214 regula 167 regulator-enable-ramp-delay = <242>; 215 regula 168 regulator-ramp-delay = <27500>; 216 169 217 maxim, 170 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 218 }; 171 }; 219 172 220 vdd_sys_1v2: l 173 vdd_sys_1v2: ldo0 { 221 regula 174 regulator-name = "AVDD_SYS_1V2"; 222 regula 175 regulator-min-microvolt = <1200000>; 223 regula 176 regulator-max-microvolt = <1200000>; 224 regula 177 regulator-always-on; 225 regula 178 regulator-boot-on; 226 179 227 regula 180 regulator-enable-ramp-delay = <26>; 228 regula 181 regulator-ramp-delay = <100000>; 229 182 230 maxim, 183 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 231 }; 184 }; 232 185 233 vdd_pex_1v05: 186 vdd_pex_1v05: ldo1 { 234 regula 187 regulator-name = "VDD_PEX_1V05"; 235 regula 188 regulator-min-microvolt = <1050000>; 236 regula 189 regulator-max-microvolt = <1050000>; 237 190 238 regula 191 regulator-enable-ramp-delay = <22>; 239 regula 192 regulator-ramp-delay = <100000>; 240 193 241 maxim, 194 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 242 }; 195 }; 243 196 244 vddio_sdmmc: l 197 vddio_sdmmc: ldo2 { 245 regula 198 regulator-name = "VDDIO_SDMMC"; 246 regula 199 regulator-min-microvolt = <1800000>; 247 regula 200 regulator-max-microvolt = <3300000>; 248 regula 201 regulator-always-on; 249 regula 202 regulator-boot-on; 250 203 251 regula 204 regulator-enable-ramp-delay = <62>; 252 regula 205 regulator-ramp-delay = <100000>; 253 206 254 maxim, 207 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 255 }; 208 }; 256 209 257 vdd_cam_hv: ld 210 vdd_cam_hv: ldo3 { 258 regula 211 regulator-name = "VDD_CAM_HV"; 259 regula 212 regulator-min-microvolt = <2800000>; 260 regula 213 regulator-max-microvolt = <2800000>; 261 214 262 regula 215 regulator-enable-ramp-delay = <50>; 263 regula 216 regulator-ramp-delay = <100000>; 264 217 265 maxim, 218 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 266 }; 219 }; 267 220 268 vdd_rtc: ldo4 221 vdd_rtc: ldo4 { 269 regula 222 regulator-name = "VDD_RTC"; 270 regula 223 regulator-min-microvolt = <850000>; 271 regula 224 regulator-max-microvolt = <850000>; 272 regula 225 regulator-always-on; 273 regula 226 regulator-boot-on; 274 227 275 regula 228 regulator-enable-ramp-delay = <22>; 276 regula 229 regulator-ramp-delay = <100000>; 277 230 278 maxim, 231 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 279 }; 232 }; 280 233 281 vdd_ts_hv: ldo 234 vdd_ts_hv: ldo5 { 282 regula 235 regulator-name = "VDD_TS_HV"; 283 regula 236 regulator-min-microvolt = <3300000>; 284 regula 237 regulator-max-microvolt = <3300000>; 285 238 286 regula 239 regulator-enable-ramp-delay = <62>; 287 regula 240 regulator-ramp-delay = <100000>; 288 241 289 maxim, 242 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 290 }; 243 }; 291 244 292 vdd_ts: ldo6 { 245 vdd_ts: ldo6 { 293 regula 246 regulator-name = "VDD_TS_1V8"; 294 regula 247 regulator-min-microvolt = <1800000>; 295 regula 248 regulator-max-microvolt = <1800000>; 296 249 297 regula 250 regulator-enable-ramp-delay = <36>; 298 regula 251 regulator-ramp-delay = <100000>; 299 252 300 maxim, 253 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 301 maxim, 254 maxim,active-fps-power-up-slot = <7>; 302 maxim, 255 maxim,active-fps-power-down-slot = <0>; 303 }; 256 }; 304 257 305 avdd_1v05_pll: 258 avdd_1v05_pll: ldo7 { 306 regula 259 regulator-name = "AVDD_1V05_PLL"; 307 regula 260 regulator-min-microvolt = <1050000>; 308 regula 261 regulator-max-microvolt = <1050000>; 309 regula 262 regulator-always-on; 310 regula 263 regulator-boot-on; 311 264 312 regula 265 regulator-enable-ramp-delay = <24>; 313 regula 266 regulator-ramp-delay = <100000>; 314 267 315 maxim, 268 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 316 }; 269 }; 317 270 318 avdd_1v05: ldo 271 avdd_1v05: ldo8 { 319 regula 272 regulator-name = "AVDD_SATA_HDMI_DP_1V05"; 320 regula 273 regulator-min-microvolt = <1050000>; 321 regula 274 regulator-max-microvolt = <1050000>; 322 275 323 regula 276 regulator-enable-ramp-delay = <22>; 324 regula 277 regulator-ramp-delay = <100000>; 325 278 326 maxim, 279 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 327 }; 280 }; 328 }; 281 }; 329 }; 282 }; 330 }; 283 }; 331 284 332 pmc@7000e400 { 285 pmc@7000e400 { 333 nvidia,invert-interrupt; 286 nvidia,invert-interrupt; 334 nvidia,suspend-mode = <0>; 287 nvidia,suspend-mode = <0>; 335 nvidia,cpu-pwr-good-time = <0> 288 nvidia,cpu-pwr-good-time = <0>; 336 nvidia,cpu-pwr-off-time = <0>; 289 nvidia,cpu-pwr-off-time = <0>; 337 nvidia,core-pwr-good-time = <4 290 nvidia,core-pwr-good-time = <4587 3876>; 338 nvidia,core-pwr-off-time = <39 291 nvidia,core-pwr-off-time = <39065>; 339 nvidia,core-power-req-active-h 292 nvidia,core-power-req-active-high; 340 nvidia,sys-clock-req-active-hi 293 nvidia,sys-clock-req-active-high; 341 }; << 342 << 343 mmc@700b0200 { << 344 status = "okay"; << 345 bus-width = <4>; << 346 non-removable; << 347 power-gpios = <&gpio TEGRA_GPI << 348 vqmmc-supply = <&vdd_1v8>; << 349 vmmc-supply = <&vdd_3v3_sys>; << 350 #address-cells = <1>; << 351 #size-cells = <0>; << 352 << 353 wifi@1 { << 354 compatible = "brcm,bcm << 355 reg = <1>; << 356 interrupt-parent = <&g << 357 interrupts = <TEGRA_GP << 358 interrupt-names = "hos << 359 }; << 360 }; 294 }; 361 295 362 /* eMMC */ 296 /* eMMC */ 363 mmc@700b0600 { 297 mmc@700b0600 { 364 status = "okay"; 298 status = "okay"; 365 bus-width = <8>; 299 bus-width = <8>; 366 non-removable; 300 non-removable; 367 vqmmc-supply = <&vdd_1v8>; 301 vqmmc-supply = <&vdd_1v8>; 368 }; 302 }; 369 303 370 clk32k_in: clock-32k { 304 clk32k_in: clock-32k { 371 compatible = "fixed-clock"; 305 compatible = "fixed-clock"; 372 clock-frequency = <32768>; 306 clock-frequency = <32768>; 373 #clock-cells = <0>; 307 #clock-cells = <0>; 374 }; 308 }; 375 309 376 cpus { 310 cpus { 377 cpu@0 { 311 cpu@0 { 378 enable-method = "psci" 312 enable-method = "psci"; 379 }; 313 }; 380 314 381 cpu@1 { 315 cpu@1 { 382 enable-method = "psci" 316 enable-method = "psci"; 383 }; 317 }; 384 318 385 cpu@2 { 319 cpu@2 { 386 enable-method = "psci" 320 enable-method = "psci"; 387 }; 321 }; 388 322 389 cpu@3 { 323 cpu@3 { 390 enable-method = "psci" 324 enable-method = "psci"; 391 }; 325 }; 392 326 393 idle-states { 327 idle-states { 394 cpu-sleep { 328 cpu-sleep { 395 status = "okay 329 status = "okay"; 396 }; 330 }; 397 }; 331 }; 398 }; 332 }; 399 333 400 psci { 334 psci { 401 compatible = "arm,psci-0.2"; 335 compatible = "arm,psci-0.2"; 402 method = "smc"; 336 method = "smc"; 403 }; 337 }; 404 338 405 vdd_gpu: regulator-vdd-gpu { 339 vdd_gpu: regulator-vdd-gpu { 406 compatible = "pwm-regulator"; 340 compatible = "pwm-regulator"; 407 pwms = <&pwm 1 8000>; 341 pwms = <&pwm 1 8000>; 408 regulator-name = "VDD_GPU"; 342 regulator-name = "VDD_GPU"; 409 regulator-min-microvolt = <710 343 regulator-min-microvolt = <710000>; 410 regulator-max-microvolt = <132 344 regulator-max-microvolt = <1320000>; 411 enable-gpios = <&pmic 6 GPIO_A 345 enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>; 412 regulator-ramp-delay = <80>; 346 regulator-ramp-delay = <80>; 413 regulator-enable-ramp-delay = 347 regulator-enable-ramp-delay = <2000>; 414 regulator-settling-time-us = < 348 regulator-settling-time-us = <160>; 415 }; 349 }; 416 }; 350 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.