0001 // SPDX-License-Identifier: GPL-2.0
0002 #include "tegra194.dtsi"
0003
0004 #include <dt-bindings/mfd/max77620.h>
0005
0006 / {
0007 aliases {
0008 ethernet0 = "/bus@0/ethernet@2490000";
0009 i2c0 = "/bpmp/i2c";
0010 i2c1 = "/bus@0/i2c@3160000";
0011 i2c2 = "/bus@0/i2c@c240000";
0012 i2c3 = "/bus@0/i2c@3180000";
0013 i2c4 = "/bus@0/i2c@3190000";
0014 i2c5 = "/bus@0/i2c@31c0000";
0015 i2c6 = "/bus@0/i2c@c250000";
0016 i2c7 = "/bus@0/i2c@31e0000";
0017 rtc0 = "/bpmp/i2c/pmic@3c";
0018 rtc1 = "/bus@0/rtc@c2a0000";
0019 serial0 = &tcu;
0020 };
0021
0022 chosen {
0023 bootargs = "console=ttyS0,115200n8";
0024 stdout-path = "serial0:115200n8";
0025 };
0026
0027 bus@0 {
0028 ethernet@2490000 {
0029 status = "okay";
0030
0031 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(R, 1) GPIO_ACTIVE_LOW>;
0032 phy-handle = <&phy>;
0033 phy-mode = "rgmii-id";
0034
0035 mdio {
0036 #address-cells = <1>;
0037 #size-cells = <0>;
0038
0039 phy: ethernet-phy@0 {
0040 compatible = "ethernet-phy-ieee802.3-c22";
0041 reg = <0x0>;
0042 interrupt-parent = <&gpio>;
0043 interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
0044 #phy-cells = <0>;
0045 };
0046 };
0047 };
0048
0049 memory-controller@2c00000 {
0050 status = "okay";
0051 };
0052
0053 serial@3100000 {
0054 status = "okay";
0055 };
0056
0057 i2c@3160000 {
0058 status = "okay";
0059
0060 eeprom@50 {
0061 compatible = "atmel,24c02";
0062 reg = <0x50>;
0063
0064 label = "module";
0065 vcc-supply = <&vdd_1v8ls>;
0066 address-width = <8>;
0067 pagesize = <8>;
0068 size = <256>;
0069 read-only;
0070 };
0071 };
0072
0073 padctl@3520000 {
0074 avdd-usb-supply = <&vdd_usb_3v3>;
0075 vclamp-usb-supply = <&vdd_1v8ao>;
0076
0077 ports {
0078 usb2-1 {
0079 vbus-supply = <&vdd_5v0_sys>;
0080 };
0081
0082 usb2-3 {
0083 vbus-supply = <&vdd_5v0_sys>;
0084 };
0085
0086 usb3-0 {
0087 vbus-supply = <&vdd_5v0_sys>;
0088 };
0089
0090 usb3-3 {
0091 vbus-supply = <&vdd_5v0_sys>;
0092 };
0093 };
0094 };
0095
0096 rtc@c2a0000 {
0097 status = "okay";
0098 };
0099
0100 pmc@c360000 {
0101 nvidia,invert-interrupt;
0102 };
0103 };
0104
0105 bpmp {
0106 i2c {
0107 status = "okay";
0108
0109 pmic: pmic@3c {
0110 compatible = "maxim,max20024";
0111 reg = <0x3c>;
0112
0113 interrupt-parent = <&pmc>;
0114 interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
0115 #interrupt-cells = <2>;
0116 interrupt-controller;
0117
0118 #gpio-cells = <2>;
0119 gpio-controller;
0120
0121 pinctrl-names = "default";
0122 pinctrl-0 = <&max20024_default>;
0123
0124 max20024_default: pinmux {
0125 gpio0 {
0126 pins = "gpio0";
0127 function = "gpio";
0128 };
0129
0130 gpio1 {
0131 pins = "gpio1";
0132 function = "fps-out";
0133 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
0134 };
0135
0136 gpio2 {
0137 pins = "gpio2";
0138 function = "fps-out";
0139 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
0140 };
0141
0142 gpio3 {
0143 pins = "gpio3";
0144 function = "fps-out";
0145 maxim,active-fps-source = <MAX77620_FPS_SRC_DEF>;
0146 };
0147
0148 gpio4 {
0149 pins = "gpio4";
0150 function = "32k-out1";
0151 drive-push-pull = <1>;
0152 };
0153
0154 gpio6 {
0155 pins = "gpio6";
0156 function = "gpio";
0157 drive-push-pull = <1>;
0158 };
0159
0160 gpio7 {
0161 pins = "gpio7";
0162 function = "gpio";
0163 drive-push-pull = <0>;
0164 };
0165 };
0166
0167 fps {
0168 fps0 {
0169 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
0170 maxim,shutdown-fps-time-period-us = <640>;
0171 };
0172
0173 fps1 {
0174 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
0175 maxim,shutdown-fps-time-period-us = <640>;
0176 maxim,device-state-on-disabled-event = <MAX77620_FPS_INACTIVE_STATE_SLEEP>;
0177 };
0178
0179 fps2 {
0180 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
0181 maxim,shutdown-fps-time-period-us = <640>;
0182 };
0183 };
0184
0185 regulators {
0186 in-sd0-supply = <&vdd_5v0_sys>;
0187 in-sd1-supply = <&vdd_5v0_sys>;
0188 in-sd2-supply = <&vdd_5v0_sys>;
0189 in-sd3-supply = <&vdd_5v0_sys>;
0190 in-sd4-supply = <&vdd_5v0_sys>;
0191
0192 in-ldo0-1-supply = <&vdd_5v0_sys>;
0193 in-ldo2-supply = <&vdd_5v0_sys>;
0194 in-ldo3-5-supply = <&vdd_5v0_sys>;
0195 in-ldo4-6-supply = <&vdd_5v0_sys>;
0196 in-ldo7-8-supply = <&vdd_1v8ls>;
0197
0198 vdd_1v0: sd0 {
0199 regulator-name = "VDDIO_SYS_1V0";
0200 regulator-min-microvolt = <1000000>;
0201 regulator-max-microvolt = <1000000>;
0202 regulator-always-on;
0203 regulator-boot-on;
0204 };
0205
0206 vdd_1v8hs: sd1 {
0207 regulator-name = "VDDIO_SYS_1V8HS";
0208 regulator-min-microvolt = <1800000>;
0209 regulator-max-microvolt = <1800000>;
0210 regulator-always-on;
0211 regulator-boot-on;
0212 };
0213
0214 vdd_1v8ls: sd2 {
0215 regulator-name = "VDDIO_SYS_1V8LS";
0216 regulator-min-microvolt = <1800000>;
0217 regulator-max-microvolt = <1800000>;
0218 regulator-always-on;
0219 regulator-boot-on;
0220 };
0221
0222 vdd_1v8ao: sd3 {
0223 regulator-name = "VDDIO_AO_1V8";
0224 regulator-min-microvolt = <1800000>;
0225 regulator-max-microvolt = <1800000>;
0226 regulator-always-on;
0227 regulator-boot-on;
0228 };
0229
0230 sd4 {
0231 regulator-name = "VDD_DDR_1V1";
0232 regulator-min-microvolt = <1100000>;
0233 regulator-max-microvolt = <1100000>;
0234 regulator-always-on;
0235 regulator-boot-on;
0236 };
0237
0238 ldo0 {
0239 regulator-name = "VDD_RTC";
0240 regulator-min-microvolt = <800000>;
0241 regulator-max-microvolt = <800000>;
0242 regulator-always-on;
0243 regulator-boot-on;
0244 };
0245
0246 ldo2 {
0247 regulator-name = "VDDIO_AO_3V3";
0248 regulator-min-microvolt = <3300000>;
0249 regulator-max-microvolt = <3300000>;
0250 regulator-always-on;
0251 regulator-boot-on;
0252 };
0253
0254 vdd_emmc_3v3: ldo3 {
0255 regulator-name = "VDD_EMMC_3V3";
0256 regulator-min-microvolt = <3300000>;
0257 regulator-max-microvolt = <3300000>;
0258 };
0259
0260 vdd_usb_3v3: ldo5 {
0261 regulator-name = "VDD_USB_3V3";
0262 regulator-min-microvolt = <3300000>;
0263 regulator-max-microvolt = <3300000>;
0264 regulator-always-on;
0265 regulator-boot-on;
0266 };
0267
0268 ldo6 {
0269 regulator-name = "VDD_SDIO_3V3";
0270 regulator-min-microvolt = <3300000>;
0271 regulator-max-microvolt = <3300000>;
0272 };
0273
0274 ldo7 {
0275 regulator-name = "AVDD_CSI_1V2";
0276 regulator-min-microvolt = <1200000>;
0277 regulator-max-microvolt = <1200000>;
0278 };
0279 };
0280 };
0281 };
0282 };
0283 };