1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #include "tegra194.dtsi" 2 #include "tegra194.dtsi" 3 3 4 #include <dt-bindings/mfd/max77620.h> 4 #include <dt-bindings/mfd/max77620.h> 5 5 6 / { 6 / { 7 model = "NVIDIA Jetson AGX Xavier"; 7 model = "NVIDIA Jetson AGX Xavier"; 8 compatible = "nvidia,p2888", "nvidia,t 8 compatible = "nvidia,p2888", "nvidia,tegra194"; 9 9 10 aliases { 10 aliases { 11 ethernet0 = "/bus@0/ethernet@2 11 ethernet0 = "/bus@0/ethernet@2490000"; 12 i2c0 = "/bpmp/i2c"; 12 i2c0 = "/bpmp/i2c"; 13 i2c1 = "/bus@0/i2c@3160000"; 13 i2c1 = "/bus@0/i2c@3160000"; 14 i2c2 = "/bus@0/i2c@c240000"; 14 i2c2 = "/bus@0/i2c@c240000"; 15 i2c3 = "/bus@0/i2c@3180000"; 15 i2c3 = "/bus@0/i2c@3180000"; 16 i2c4 = "/bus@0/i2c@3190000"; 16 i2c4 = "/bus@0/i2c@3190000"; 17 i2c5 = "/bus@0/i2c@31c0000"; 17 i2c5 = "/bus@0/i2c@31c0000"; 18 i2c6 = "/bus@0/i2c@c250000"; 18 i2c6 = "/bus@0/i2c@c250000"; 19 i2c7 = "/bus@0/i2c@31e0000"; 19 i2c7 = "/bus@0/i2c@31e0000"; 20 mmc0 = "/bus@0/mmc@3460000"; 20 mmc0 = "/bus@0/mmc@3460000"; 21 mmc1 = "/bus@0/mmc@3400000"; 21 mmc1 = "/bus@0/mmc@3400000"; 22 serial0 = &tcu; 22 serial0 = &tcu; 23 }; 23 }; 24 24 25 chosen { 25 chosen { 26 bootargs = "console=ttyTCU0,11 26 bootargs = "console=ttyTCU0,115200n8"; 27 stdout-path = "serial0:115200n 27 stdout-path = "serial0:115200n8"; 28 }; 28 }; 29 29 30 bus@0 { 30 bus@0 { 31 ethernet@2490000 { 31 ethernet@2490000 { 32 status = "okay"; 32 status = "okay"; 33 33 34 phy-reset-gpios = <&gp 34 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 5) GPIO_ACTIVE_LOW>; 35 phy-handle = <&phy>; 35 phy-handle = <&phy>; 36 phy-mode = "rgmii-id"; 36 phy-mode = "rgmii-id"; 37 37 38 mdio { 38 mdio { 39 #address-cells 39 #address-cells = <1>; 40 #size-cells = 40 #size-cells = <0>; 41 41 42 phy: ethernet- 42 phy: ethernet-phy@0 { 43 compat 43 compatible = "ethernet-phy-ieee802.3-c22"; 44 reg = 44 reg = <0x0>; 45 interr 45 interrupt-parent = <&gpio>; 46 interr 46 interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>; 47 #phy-c 47 #phy-cells = <0>; 48 }; 48 }; 49 }; 49 }; 50 }; 50 }; 51 51 52 memory-controller@2c00000 { 52 memory-controller@2c00000 { 53 status = "okay"; 53 status = "okay"; 54 }; 54 }; 55 55 56 i2c@c240000 { << 57 status = "okay"; << 58 << 59 power-sensor@40 { << 60 compatible = " << 61 reg = <0x40>; << 62 #address-cells << 63 #size-cells = << 64 << 65 input@0 { << 66 reg = << 67 label << 68 shunt- << 69 }; << 70 input@1 { << 71 reg = << 72 label << 73 shunt- << 74 }; << 75 input@2 { << 76 reg = << 77 label << 78 shunt- << 79 }; << 80 }; << 81 << 82 power-sensor@41 { << 83 compatible = " << 84 reg = <0x41>; << 85 #address-cells << 86 #size-cells = << 87 << 88 input@0 { << 89 reg = << 90 label << 91 shunt- << 92 }; << 93 input@1 { << 94 reg = << 95 label << 96 shunt- << 97 }; << 98 input@2 { << 99 reg = << 100 label << 101 shunt- << 102 }; << 103 }; << 104 }; << 105 << 106 serial@3110000 { 56 serial@3110000 { 107 status = "okay"; 57 status = "okay"; 108 }; 58 }; 109 59 110 i2c@3160000 { 60 i2c@3160000 { 111 status = "okay"; 61 status = "okay"; 112 62 113 eeprom@50 { 63 eeprom@50 { 114 compatible = " 64 compatible = "atmel,24c02"; 115 reg = <0x50>; 65 reg = <0x50>; 116 66 117 label = "modul 67 label = "module"; 118 vcc-supply = < 68 vcc-supply = <&vdd_1v8ls>; 119 address-width 69 address-width = <8>; 120 pagesize = <8> 70 pagesize = <8>; 121 size = <256>; 71 size = <256>; 122 read-only; 72 read-only; 123 }; 73 }; 124 }; 74 }; 125 75 126 /* SDMMC1 (SD/MMC) */ 76 /* SDMMC1 (SD/MMC) */ 127 mmc@3400000 { 77 mmc@3400000 { 128 cd-gpios = <&gpio TEGR 78 cd-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 7) GPIO_ACTIVE_LOW>; 129 }; 79 }; 130 80 131 /* SDMMC4 (eMMC) */ 81 /* SDMMC4 (eMMC) */ 132 mmc@3460000 { 82 mmc@3460000 { 133 status = "okay"; 83 status = "okay"; 134 bus-width = <8>; 84 bus-width = <8>; 135 non-removable; 85 non-removable; 136 86 137 vqmmc-supply = <&vdd_1 87 vqmmc-supply = <&vdd_1v8ls>; 138 vmmc-supply = <&vdd_em 88 vmmc-supply = <&vdd_emmc_3v3>; 139 }; 89 }; 140 90 141 padctl@3520000 { 91 padctl@3520000 { 142 avdd-usb-supply = <&vd 92 avdd-usb-supply = <&vdd_usb_3v3>; 143 vclamp-usb-supply = <& 93 vclamp-usb-supply = <&vdd_1v8ao>; 144 94 145 ports { 95 ports { 146 usb2-0 { 96 usb2-0 { 147 vbus-s 97 vbus-supply = <&vdd_5v0_sys>; 148 }; 98 }; 149 99 150 usb2-1 { 100 usb2-1 { 151 vbus-s 101 vbus-supply = <&vdd_5v0_sys>; 152 }; 102 }; 153 103 154 usb2-3 { 104 usb2-3 { 155 vbus-s 105 vbus-supply = <&vdd_5v_sata>; 156 }; 106 }; 157 107 158 usb3-0 { 108 usb3-0 { 159 vbus-s 109 vbus-supply = <&vdd_5v0_sys>; 160 }; 110 }; 161 111 162 usb3-2 { 112 usb3-2 { 163 vbus-s 113 vbus-supply = <&vdd_5v0_sys>; 164 }; 114 }; 165 115 166 usb3-3 { 116 usb3-3 { 167 vbus-s 117 vbus-supply = <&vdd_5v0_sys>; 168 }; 118 }; 169 }; 119 }; 170 }; 120 }; 171 121 172 rtc@c2a0000 { 122 rtc@c2a0000 { 173 status = "okay"; 123 status = "okay"; 174 }; 124 }; 175 125 176 pmc@c360000 { 126 pmc@c360000 { 177 nvidia,invert-interrup 127 nvidia,invert-interrupt; 178 }; 128 }; 179 }; 129 }; 180 130 181 bpmp { 131 bpmp { 182 i2c { 132 i2c { 183 status = "okay"; 133 status = "okay"; 184 134 185 pmic: pmic@3c { 135 pmic: pmic@3c { 186 compatible = " 136 compatible = "maxim,max20024"; 187 reg = <0x3c>; 137 reg = <0x3c>; 188 138 189 interrupt-pare 139 interrupt-parent = <&pmc>; 190 interrupts = < 140 interrupts = <24 IRQ_TYPE_LEVEL_LOW>; 191 #interrupt-cel 141 #interrupt-cells = <2>; 192 interrupt-cont 142 interrupt-controller; 193 143 194 #gpio-cells = 144 #gpio-cells = <2>; 195 gpio-controlle 145 gpio-controller; 196 146 197 pinctrl-names 147 pinctrl-names = "default"; 198 pinctrl-0 = <& 148 pinctrl-0 = <&max20024_default>; 199 149 200 fps { << 201 fps0 { << 202 << 203 << 204 }; << 205 << 206 fps1 { << 207 << 208 << 209 << 210 }; << 211 << 212 fps2 { << 213 << 214 << 215 }; << 216 }; << 217 << 218 max20024_defau 150 max20024_default: pinmux { 219 gpio0 151 gpio0 { 220 152 pins = "gpio0"; 221 153 function = "gpio"; 222 }; 154 }; 223 155 224 gpio1 156 gpio1 { 225 157 pins = "gpio1"; 226 158 function = "fps-out"; 227 159 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 228 }; 160 }; 229 161 230 gpio2 162 gpio2 { 231 163 pins = "gpio2"; 232 164 function = "fps-out"; 233 165 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 234 }; 166 }; 235 167 236 gpio3 168 gpio3 { 237 169 pins = "gpio3"; 238 170 function = "fps-out"; 239 171 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 240 }; 172 }; 241 173 242 gpio4 174 gpio4 { 243 175 pins = "gpio4"; 244 176 function = "32k-out1"; 245 177 drive-push-pull = <1>; 246 }; 178 }; 247 179 248 gpio6 180 gpio6 { 249 181 pins = "gpio6"; 250 182 function = "gpio"; 251 183 drive-push-pull = <1>; 252 }; 184 }; 253 185 254 gpio7 186 gpio7 { 255 187 pins = "gpio7"; 256 188 function = "gpio"; 257 189 drive-push-pull = <0>; >> 190 }; >> 191 }; >> 192 >> 193 fps { >> 194 fps0 { >> 195 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; >> 196 maxim,shutdown-fps-time-period-us = <640>; >> 197 }; >> 198 >> 199 fps1 { >> 200 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; >> 201 maxim,shutdown-fps-time-period-us = <640>; >> 202 maxim,device-state-on-disabled-event = <MAX77620_FPS_INACTIVE_STATE_SLEEP>; >> 203 }; >> 204 >> 205 fps2 { >> 206 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; >> 207 maxim,shutdown-fps-time-period-us = <640>; 258 }; 208 }; 259 }; 209 }; 260 210 261 regulators { 211 regulators { 262 in-sd0 212 in-sd0-supply = <&vdd_5v0_sys>; 263 in-sd1 213 in-sd1-supply = <&vdd_5v0_sys>; 264 in-sd2 214 in-sd2-supply = <&vdd_5v0_sys>; 265 in-sd3 215 in-sd3-supply = <&vdd_5v0_sys>; 266 in-sd4 216 in-sd4-supply = <&vdd_5v0_sys>; 267 217 268 in-ldo 218 in-ldo0-1-supply = <&vdd_5v0_sys>; 269 in-ldo 219 in-ldo2-supply = <&vdd_5v0_sys>; 270 in-ldo 220 in-ldo3-5-supply = <&vdd_5v0_sys>; 271 in-ldo 221 in-ldo4-6-supply = <&vdd_5v0_sys>; 272 in-ldo 222 in-ldo7-8-supply = <&vdd_1v8ls>; 273 223 274 vdd_1v 224 vdd_1v0: sd0 { 275 225 regulator-name = "VDDIO_SYS_1V0"; 276 226 regulator-min-microvolt = <1000000>; 277 227 regulator-max-microvolt = <1000000>; 278 228 regulator-always-on; 279 229 regulator-boot-on; 280 }; 230 }; 281 231 282 vdd_1v 232 vdd_1v8hs: sd1 { 283 233 regulator-name = "VDDIO_SYS_1V8HS"; 284 234 regulator-min-microvolt = <1800000>; 285 235 regulator-max-microvolt = <1800000>; 286 236 regulator-always-on; 287 237 regulator-boot-on; 288 }; 238 }; 289 239 290 vdd_1v 240 vdd_1v8ls: sd2 { 291 241 regulator-name = "VDDIO_SYS_1V8LS"; 292 242 regulator-min-microvolt = <1800000>; 293 243 regulator-max-microvolt = <1800000>; 294 244 regulator-always-on; 295 245 regulator-boot-on; 296 }; 246 }; 297 247 298 vdd_1v 248 vdd_1v8ao: sd3 { 299 249 regulator-name = "VDDIO_AO_1V8"; 300 250 regulator-min-microvolt = <1800000>; 301 251 regulator-max-microvolt = <1800000>; 302 252 regulator-always-on; 303 253 regulator-boot-on; 304 }; 254 }; 305 255 306 sd4 { 256 sd4 { 307 257 regulator-name = "VDD_DDR_1V1"; 308 258 regulator-min-microvolt = <1100000>; 309 259 regulator-max-microvolt = <1100000>; 310 260 regulator-always-on; 311 261 regulator-boot-on; 312 }; 262 }; 313 263 314 ldo0 { 264 ldo0 { 315 265 regulator-name = "VDD_RTC"; 316 266 regulator-min-microvolt = <800000>; 317 267 regulator-max-microvolt = <800000>; 318 268 regulator-always-on; 319 269 regulator-boot-on; 320 }; 270 }; 321 271 322 ldo2 { 272 ldo2 { 323 273 regulator-name = "VDDIO_AO_3V3"; 324 274 regulator-min-microvolt = <3300000>; 325 275 regulator-max-microvolt = <3300000>; 326 276 regulator-always-on; 327 277 regulator-boot-on; 328 }; 278 }; 329 279 330 vdd_em 280 vdd_emmc_3v3: ldo3 { 331 281 regulator-name = "VDD_EMMC_3V3"; 332 282 regulator-min-microvolt = <3300000>; 333 283 regulator-max-microvolt = <3300000>; 334 }; 284 }; 335 285 336 vdd_us 286 vdd_usb_3v3: ldo5 { 337 287 regulator-name = "VDD_USB_3V3"; 338 288 regulator-min-microvolt = <3300000>; 339 289 regulator-max-microvolt = <3300000>; 340 }; 290 }; 341 291 342 ldo6 { 292 ldo6 { 343 293 regulator-name = "VDD_SDIO_3V3"; 344 294 regulator-min-microvolt = <3300000>; 345 295 regulator-max-microvolt = <3300000>; 346 }; 296 }; 347 297 348 ldo7 { 298 ldo7 { 349 299 regulator-name = "AVDD_CSI_1V2"; 350 300 regulator-min-microvolt = <1200000>; 351 301 regulator-max-microvolt = <1200000>; 352 }; 302 }; 353 }; 303 }; 354 }; 304 }; 355 305 356 temperature-sensor@4c 306 temperature-sensor@4c { 357 compatible = " 307 compatible = "ti,tmp451"; 358 reg = <0x4c>; 308 reg = <0x4c>; 359 309 360 interrupt-pare 310 interrupt-parent = <&gpio>; 361 interrupts = < 311 interrupts = <TEGRA194_MAIN_GPIO(H, 2) 362 312 IRQ_TYPE_EDGE_FALLING>; 363 vcc-supply = < 313 vcc-supply = <&vdd_1v8ls>; 364 314 365 #thermal-senso 315 #thermal-sensor-cells = <1>; 366 }; 316 }; 367 }; 317 }; 368 }; 318 }; 369 319 370 vdd_5v0_sys: regulator-vdd-5v0-sys { 320 vdd_5v0_sys: regulator-vdd-5v0-sys { 371 compatible = "regulator-fixed" 321 compatible = "regulator-fixed"; 372 regulator-name = "VIN_SYS_5V0" 322 regulator-name = "VIN_SYS_5V0"; 373 regulator-min-microvolt = <500 323 regulator-min-microvolt = <5000000>; 374 regulator-max-microvolt = <500 324 regulator-max-microvolt = <5000000>; 375 regulator-always-on; 325 regulator-always-on; 376 regulator-boot-on; 326 regulator-boot-on; 377 }; 327 }; 378 328 379 vdd_hdmi: regulator-vdd-hdmi { 329 vdd_hdmi: regulator-vdd-hdmi { 380 compatible = "regulator-fixed" 330 compatible = "regulator-fixed"; 381 regulator-name = "VDD_5V0_HDMI 331 regulator-name = "VDD_5V0_HDMI_CON"; 382 regulator-min-microvolt = <500 332 regulator-min-microvolt = <5000000>; 383 regulator-max-microvolt = <500 333 regulator-max-microvolt = <5000000>; 384 gpio = <&gpio TEGRA194_MAIN_GP 334 gpio = <&gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH>; 385 enable-active-high; 335 enable-active-high; 386 }; 336 }; 387 337 388 vdd_3v3_pcie: regulator-vdd-3v3-pcie { 338 vdd_3v3_pcie: regulator-vdd-3v3-pcie { 389 compatible = "regulator-fixed" 339 compatible = "regulator-fixed"; 390 regulator-name = "PEX_3V3"; 340 regulator-name = "PEX_3V3"; 391 regulator-min-microvolt = <330 341 regulator-min-microvolt = <3300000>; 392 regulator-max-microvolt = <330 342 regulator-max-microvolt = <3300000>; 393 gpio = <&gpio TEGRA194_MAIN_GP 343 gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; 394 regulator-boot-on; 344 regulator-boot-on; 395 enable-active-high; 345 enable-active-high; 396 }; 346 }; 397 347 398 vdd_12v_pcie: regulator-vdd-12v-pcie { 348 vdd_12v_pcie: regulator-vdd-12v-pcie { 399 compatible = "regulator-fixed" 349 compatible = "regulator-fixed"; 400 regulator-name = "VDD_12V"; 350 regulator-name = "VDD_12V"; 401 regulator-min-microvolt = <120 351 regulator-min-microvolt = <1200000>; 402 regulator-max-microvolt = <120 352 regulator-max-microvolt = <1200000>; 403 gpio = <&gpio TEGRA194_MAIN_GP 353 gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>; 404 regulator-boot-on; 354 regulator-boot-on; 405 }; 355 }; 406 356 407 vdd_5v_sata: regulator-vdd-5v0-sata { 357 vdd_5v_sata: regulator-vdd-5v0-sata { 408 compatible = "regulator-fixed" 358 compatible = "regulator-fixed"; 409 regulator-name = "VDD_5V_SATA" 359 regulator-name = "VDD_5V_SATA"; 410 regulator-min-microvolt = <500 360 regulator-min-microvolt = <5000000>; 411 regulator-max-microvolt = <500 361 regulator-max-microvolt = <5000000>; 412 gpio = <&gpio TEGRA194_MAIN_GP 362 gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 1) GPIO_ACTIVE_HIGH>; 413 enable-active-high; 363 enable-active-high; 414 }; 364 }; 415 }; 365 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.