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 aliases { 7 aliases { 8 ethernet0 = "/bus@0/ethernet@2 8 ethernet0 = "/bus@0/ethernet@2490000"; 9 i2c0 = "/bpmp/i2c"; 9 i2c0 = "/bpmp/i2c"; 10 i2c1 = "/bus@0/i2c@3160000"; 10 i2c1 = "/bus@0/i2c@3160000"; 11 i2c2 = "/bus@0/i2c@c240000"; 11 i2c2 = "/bus@0/i2c@c240000"; 12 i2c3 = "/bus@0/i2c@3180000"; 12 i2c3 = "/bus@0/i2c@3180000"; 13 i2c4 = "/bus@0/i2c@3190000"; 13 i2c4 = "/bus@0/i2c@3190000"; 14 i2c5 = "/bus@0/i2c@31c0000"; 14 i2c5 = "/bus@0/i2c@31c0000"; 15 i2c6 = "/bus@0/i2c@c250000"; 15 i2c6 = "/bus@0/i2c@c250000"; 16 i2c7 = "/bus@0/i2c@31e0000"; 16 i2c7 = "/bus@0/i2c@31e0000"; 17 rtc0 = "/bpmp/i2c/pmic@3c"; 17 rtc0 = "/bpmp/i2c/pmic@3c"; 18 rtc1 = "/bus@0/rtc@c2a0000"; 18 rtc1 = "/bus@0/rtc@c2a0000"; 19 serial0 = &tcu; 19 serial0 = &tcu; 20 }; 20 }; 21 21 22 chosen { 22 chosen { 23 bootargs = "console=ttyTCU0,11 23 bootargs = "console=ttyTCU0,115200n8"; 24 stdout-path = "serial0:115200n 24 stdout-path = "serial0:115200n8"; 25 }; 25 }; 26 26 27 bus@0 { 27 bus@0 { 28 ethernet@2490000 { 28 ethernet@2490000 { 29 status = "okay"; 29 status = "okay"; 30 30 31 phy-reset-gpios = <&gp 31 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(R, 1) GPIO_ACTIVE_LOW>; 32 phy-handle = <&phy>; 32 phy-handle = <&phy>; 33 phy-mode = "rgmii-id"; 33 phy-mode = "rgmii-id"; 34 34 35 mdio { 35 mdio { 36 #address-cells 36 #address-cells = <1>; 37 #size-cells = 37 #size-cells = <0>; 38 38 39 phy: ethernet- 39 phy: ethernet-phy@0 { 40 compat 40 compatible = "ethernet-phy-ieee802.3-c22"; 41 reg = 41 reg = <0x0>; 42 interr 42 interrupt-parent = <&gpio>; 43 interr 43 interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>; 44 #phy-c 44 #phy-cells = <0>; 45 }; 45 }; 46 }; 46 }; 47 }; 47 }; 48 48 49 memory-controller@2c00000 { 49 memory-controller@2c00000 { 50 status = "okay"; 50 status = "okay"; 51 }; 51 }; 52 52 53 i2c@c250000 { 53 i2c@c250000 { 54 status = "okay"; 54 status = "okay"; 55 55 56 power-sensor@40 { 56 power-sensor@40 { 57 compatible = " 57 compatible = "ti,ina3221"; 58 reg = <0x40>; 58 reg = <0x40>; 59 #address-cells 59 #address-cells = <1>; 60 #size-cells = 60 #size-cells = <0>; 61 61 62 input@0 { 62 input@0 { 63 reg = 63 reg = <0x0>; 64 label 64 label = "VDD_IN"; 65 shunt- 65 shunt-resistor-micro-ohms = <5000>; 66 }; 66 }; 67 input@1 { 67 input@1 { 68 reg = 68 reg = <0x1>; 69 label 69 label = "VDD_CPU_GPU_CV"; 70 shunt- 70 shunt-resistor-micro-ohms = <5000>; 71 }; 71 }; 72 input@2 { 72 input@2 { 73 reg = 73 reg = <0x2>; 74 label 74 label = "VDD_SOC"; 75 shunt- 75 shunt-resistor-micro-ohms = <5000>; 76 }; 76 }; 77 }; 77 }; 78 }; 78 }; 79 79 80 serial@3100000 { 80 serial@3100000 { 81 status = "okay"; 81 status = "okay"; 82 }; 82 }; 83 83 84 i2c@3160000 { 84 i2c@3160000 { 85 status = "okay"; 85 status = "okay"; 86 86 87 eeprom@50 { 87 eeprom@50 { 88 compatible = " 88 compatible = "atmel,24c02"; 89 reg = <0x50>; 89 reg = <0x50>; 90 90 91 label = "modul 91 label = "module"; 92 vcc-supply = < 92 vcc-supply = <&vdd_1v8ls>; 93 address-width 93 address-width = <8>; 94 pagesize = <8> 94 pagesize = <8>; 95 size = <256>; 95 size = <256>; 96 read-only; 96 read-only; 97 }; 97 }; 98 }; 98 }; 99 99 100 padctl@3520000 { 100 padctl@3520000 { 101 avdd-usb-supply = <&vd 101 avdd-usb-supply = <&vdd_usb_3v3>; 102 vclamp-usb-supply = <& 102 vclamp-usb-supply = <&vdd_1v8ao>; 103 103 104 ports { 104 ports { 105 usb2-1 { 105 usb2-1 { 106 vbus-s 106 vbus-supply = <&vdd_5v0_sys>; 107 }; 107 }; 108 108 109 usb2-3 { 109 usb2-3 { 110 vbus-s 110 vbus-supply = <&vdd_5v0_sys>; 111 }; 111 }; 112 112 113 usb3-0 { 113 usb3-0 { 114 vbus-s 114 vbus-supply = <&vdd_5v0_sys>; 115 }; 115 }; 116 116 117 usb3-3 { 117 usb3-3 { 118 vbus-s 118 vbus-supply = <&vdd_5v0_sys>; 119 }; 119 }; 120 }; 120 }; 121 }; 121 }; 122 122 123 rtc@c2a0000 { 123 rtc@c2a0000 { 124 status = "okay"; 124 status = "okay"; 125 }; 125 }; 126 126 127 pmc@c360000 { 127 pmc@c360000 { 128 nvidia,invert-interrup 128 nvidia,invert-interrupt; 129 }; 129 }; 130 }; 130 }; 131 131 132 bpmp { 132 bpmp { 133 i2c { 133 i2c { 134 status = "okay"; 134 status = "okay"; 135 135 136 pmic: pmic@3c { 136 pmic: pmic@3c { 137 compatible = " 137 compatible = "maxim,max20024"; 138 reg = <0x3c>; 138 reg = <0x3c>; 139 139 140 interrupt-pare 140 interrupt-parent = <&pmc>; 141 interrupts = < 141 interrupts = <24 IRQ_TYPE_LEVEL_LOW>; 142 #interrupt-cel 142 #interrupt-cells = <2>; 143 interrupt-cont 143 interrupt-controller; 144 144 145 #gpio-cells = 145 #gpio-cells = <2>; 146 gpio-controlle 146 gpio-controller; 147 147 148 pinctrl-names 148 pinctrl-names = "default"; 149 pinctrl-0 = <& 149 pinctrl-0 = <&max20024_default>; 150 150 151 fps { 151 fps { 152 fps0 { 152 fps0 { 153 153 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 154 154 maxim,shutdown-fps-time-period-us = <640>; 155 }; 155 }; 156 156 157 fps1 { 157 fps1 { 158 158 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>; 159 159 maxim,shutdown-fps-time-period-us = <640>; 160 160 maxim,device-state-on-disabled-event = <MAX77620_FPS_INACTIVE_STATE_SLEEP>; 161 }; 161 }; 162 162 163 fps2 { 163 fps2 { 164 164 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>; 165 165 maxim,shutdown-fps-time-period-us = <640>; 166 }; 166 }; 167 }; 167 }; 168 168 169 max20024_defau 169 max20024_default: pinmux { 170 gpio0 170 gpio0 { 171 171 pins = "gpio0"; 172 172 function = "gpio"; 173 }; 173 }; 174 174 175 gpio1 175 gpio1 { 176 176 pins = "gpio1"; 177 177 function = "fps-out"; 178 178 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 179 }; 179 }; 180 180 181 gpio2 181 gpio2 { 182 182 pins = "gpio2"; 183 183 function = "fps-out"; 184 184 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 185 }; 185 }; 186 186 187 gpio3 187 gpio3 { 188 188 pins = "gpio3"; 189 189 function = "fps-out"; 190 190 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>; 191 }; 191 }; 192 192 193 gpio4 193 gpio4 { 194 194 pins = "gpio4"; 195 195 function = "32k-out1"; 196 196 drive-push-pull = <1>; 197 }; 197 }; 198 198 199 gpio6 199 gpio6 { 200 200 pins = "gpio6"; 201 201 function = "gpio"; 202 202 drive-push-pull = <1>; 203 }; 203 }; 204 204 205 gpio7 205 gpio7 { 206 206 pins = "gpio7"; 207 207 function = "gpio"; 208 208 drive-push-pull = <0>; 209 }; 209 }; 210 }; 210 }; 211 211 212 regulators { 212 regulators { 213 in-sd0 213 in-sd0-supply = <&vdd_5v0_sys>; 214 in-sd1 214 in-sd1-supply = <&vdd_5v0_sys>; 215 in-sd2 215 in-sd2-supply = <&vdd_5v0_sys>; 216 in-sd3 216 in-sd3-supply = <&vdd_5v0_sys>; 217 in-sd4 217 in-sd4-supply = <&vdd_5v0_sys>; 218 218 219 in-ldo 219 in-ldo0-1-supply = <&vdd_5v0_sys>; 220 in-ldo 220 in-ldo2-supply = <&vdd_5v0_sys>; 221 in-ldo 221 in-ldo3-5-supply = <&vdd_5v0_sys>; 222 in-ldo 222 in-ldo4-6-supply = <&vdd_5v0_sys>; 223 in-ldo 223 in-ldo7-8-supply = <&vdd_1v8ls>; 224 224 225 vdd_1v 225 vdd_1v0: sd0 { 226 226 regulator-name = "VDDIO_SYS_1V0"; 227 227 regulator-min-microvolt = <1000000>; 228 228 regulator-max-microvolt = <1000000>; 229 229 regulator-always-on; 230 230 regulator-boot-on; 231 }; 231 }; 232 232 233 vdd_1v 233 vdd_1v8hs: sd1 { 234 234 regulator-name = "VDDIO_SYS_1V8HS"; 235 235 regulator-min-microvolt = <1800000>; 236 236 regulator-max-microvolt = <1800000>; 237 237 regulator-always-on; 238 238 regulator-boot-on; 239 }; 239 }; 240 240 241 vdd_1v 241 vdd_1v8ls: sd2 { 242 242 regulator-name = "VDDIO_SYS_1V8LS"; 243 243 regulator-min-microvolt = <1800000>; 244 244 regulator-max-microvolt = <1800000>; 245 245 regulator-always-on; 246 246 regulator-boot-on; 247 }; 247 }; 248 248 249 vdd_1v 249 vdd_1v8ao: sd3 { 250 250 regulator-name = "VDDIO_AO_1V8"; 251 251 regulator-min-microvolt = <1800000>; 252 252 regulator-max-microvolt = <1800000>; 253 253 regulator-always-on; 254 254 regulator-boot-on; 255 }; 255 }; 256 256 257 sd4 { 257 sd4 { 258 258 regulator-name = "VDD_DDR_1V1"; 259 259 regulator-min-microvolt = <1100000>; 260 260 regulator-max-microvolt = <1100000>; 261 261 regulator-always-on; 262 262 regulator-boot-on; 263 }; 263 }; 264 264 265 ldo0 { 265 ldo0 { 266 266 regulator-name = "VDD_RTC"; 267 267 regulator-min-microvolt = <800000>; 268 268 regulator-max-microvolt = <800000>; 269 269 regulator-always-on; 270 270 regulator-boot-on; 271 }; 271 }; 272 272 273 ldo2 { 273 ldo2 { 274 274 regulator-name = "VDDIO_AO_3V3"; 275 275 regulator-min-microvolt = <3300000>; 276 276 regulator-max-microvolt = <3300000>; 277 277 regulator-always-on; 278 278 regulator-boot-on; 279 }; 279 }; 280 280 281 vdd_em 281 vdd_emmc_3v3: ldo3 { 282 282 regulator-name = "VDD_EMMC_3V3"; 283 283 regulator-min-microvolt = <3300000>; 284 284 regulator-max-microvolt = <3300000>; 285 }; 285 }; 286 286 287 vdd_us 287 vdd_usb_3v3: ldo5 { 288 288 regulator-name = "VDD_USB_3V3"; 289 289 regulator-min-microvolt = <3300000>; 290 290 regulator-max-microvolt = <3300000>; 291 291 regulator-always-on; 292 292 regulator-boot-on; 293 }; 293 }; 294 294 295 ldo6 { 295 ldo6 { 296 296 regulator-name = "VDD_SDIO_3V3"; 297 297 regulator-min-microvolt = <3300000>; 298 298 regulator-max-microvolt = <3300000>; 299 }; 299 }; 300 300 301 ldo7 { 301 ldo7 { 302 302 regulator-name = "AVDD_CSI_1V2"; 303 303 regulator-min-microvolt = <1200000>; 304 304 regulator-max-microvolt = <1200000>; 305 }; 305 }; 306 }; 306 }; 307 }; 307 }; 308 }; 308 }; 309 }; 309 }; 310 }; 310 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.