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