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