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