Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 4 | #include <dt-bindings/input/input.h> |
| 5 | #include "tegra30.dtsi" |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | model = "ASUS Portable AiO P1801-T"; |
| 9 | compatible = "asus,p1801-t", "nvidia,tegra30"; |
| 10 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 11 | chosen { |
| 12 | stdout-path = &uarta; |
| 13 | }; |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 14 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 15 | aliases { |
| 16 | i2c0 = &pwr_i2c; |
| 17 | i2c1 = &hdmi_ddc; |
| 18 | |
| 19 | mmc0 = &sdmmc4; /* eMMC */ |
| 20 | mmc1 = &sdmmc1; /* uSD slot */ |
| 21 | |
| 22 | rtc0 = &pmic; |
| 23 | rtc1 = "/rtc@7000e000"; |
| 24 | |
| 25 | usb0 = &usb1; |
| 26 | usb1 = &usb2; /* Mini USB */ |
| 27 | usb2 = &usb3; /* Dock USB */ |
| 28 | }; |
| 29 | |
| 30 | memory { |
| 31 | device_type = "memory"; |
| 32 | reg = <0x80000000 0x80000000>; |
| 33 | }; |
| 34 | |
| 35 | host1x@50000000 { |
| 36 | dc@54200000 { |
| 37 | clocks = <&tegra_car TEGRA30_CLK_DISP1>, |
| 38 | <&tegra_car TEGRA30_CLK_PLL_D_OUT0>; |
| 39 | |
| 40 | rgb { |
| 41 | status = "okay"; |
| 42 | |
| 43 | nvidia,panel = <&hdmi>; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | hdmi: hdmi@54280000 { |
| 48 | clocks = <&tegra_car TEGRA30_CLK_HDMI>, |
| 49 | <&tegra_car TEGRA30_CLK_PLL_D_OUT0>; |
| 50 | |
| 51 | status = "okay"; |
| 52 | |
| 53 | hdmi-supply = <&hdmi_5v0_sys>; |
| 54 | pll-supply = <&vdd_1v8_vio>; |
| 55 | vdd-supply = <&hdmi_3v3_vdd>; |
| 56 | |
| 57 | /* low: tablet, high: dock */ |
| 58 | nvidia,hpd-gpio = <&gpio TEGRA_GPIO(H, 4) GPIO_ACTIVE_LOW>; |
| 59 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
| 60 | }; |
| 61 | }; |
| 62 | |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 63 | pinmux@70000868 { |
| 64 | pinctrl-names = "default"; |
| 65 | pinctrl-0 = <&state_default>; |
| 66 | |
| 67 | state_default: pinmux { |
| 68 | /* SDMMC1 pinmux */ |
| 69 | sdmmc1_clk { |
| 70 | nvidia,pins = "sdmmc1_clk_pz0"; |
| 71 | nvidia,function = "sdmmc1"; |
| 72 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 73 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 74 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 75 | }; |
| 76 | sdmmc1_cmd { |
| 77 | nvidia,pins = "sdmmc1_dat3_py4", |
| 78 | "sdmmc1_dat2_py5", |
| 79 | "sdmmc1_dat1_py6", |
| 80 | "sdmmc1_dat0_py7", |
| 81 | "sdmmc1_cmd_pz1"; |
| 82 | nvidia,function = "sdmmc1"; |
| 83 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 84 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 85 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 86 | }; |
| 87 | sdmmc1_cd { |
| 88 | nvidia,pins = "gmi_iordy_pi5"; |
| 89 | nvidia,function = "rsvd1"; |
| 90 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 91 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 92 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 93 | }; |
| 94 | sdmmc1_wp { |
| 95 | nvidia,pins = "vi_d11_pt3"; |
| 96 | nvidia,function = "rsvd2"; |
| 97 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 98 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 99 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 100 | }; |
| 101 | |
| 102 | /* SDMMC2 pinmux */ |
| 103 | vi_d1_pd5 { |
| 104 | nvidia,pins = "vi_d1_pd5", |
| 105 | "vi_d2_pl0", |
| 106 | "vi_d3_pl1", |
| 107 | "vi_d5_pl3", |
| 108 | "vi_d7_pl5"; |
| 109 | nvidia,function = "sdmmc2"; |
| 110 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 111 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 112 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 113 | }; |
| 114 | vi_d8_pl6 { |
| 115 | nvidia,pins = "vi_d8_pl6", |
| 116 | "vi_d9_pl7"; |
| 117 | nvidia,function = "sdmmc2"; |
| 118 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 119 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 120 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 121 | nvidia,lock = <1>; |
| 122 | nvidia,io-reset = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 123 | }; |
| 124 | |
| 125 | /* SDMMC3 pinmux */ |
| 126 | sdmmc3_clk { |
| 127 | nvidia,pins = "sdmmc3_clk_pa6"; |
| 128 | nvidia,function = "sdmmc3"; |
| 129 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 130 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 131 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 132 | }; |
| 133 | sdmmc3_cmd { |
| 134 | nvidia,pins = "sdmmc3_cmd_pa7", |
| 135 | "sdmmc3_dat0_pb7", |
| 136 | "sdmmc3_dat1_pb6", |
| 137 | "sdmmc3_dat2_pb5", |
| 138 | "sdmmc3_dat3_pb4", |
| 139 | "sdmmc3_dat4_pd1", |
| 140 | "sdmmc3_dat5_pd0", |
| 141 | "sdmmc3_dat6_pd3", |
| 142 | "sdmmc3_dat7_pd4"; |
| 143 | nvidia,function = "sdmmc3"; |
| 144 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 145 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 146 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 147 | }; |
| 148 | |
| 149 | /* SDMMC4 pinmux */ |
| 150 | sdmmc4_clk { |
| 151 | nvidia,pins = "sdmmc4_clk_pcc4"; |
| 152 | nvidia,function = "sdmmc4"; |
| 153 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 154 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 155 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 156 | }; |
| 157 | sdmmc4_cmd { |
| 158 | nvidia,pins = "sdmmc4_cmd_pt7", |
| 159 | "sdmmc4_dat0_paa0", |
| 160 | "sdmmc4_dat1_paa1", |
| 161 | "sdmmc4_dat2_paa2", |
| 162 | "sdmmc4_dat3_paa3", |
| 163 | "sdmmc4_dat4_paa4", |
| 164 | "sdmmc4_dat5_paa5", |
| 165 | "sdmmc4_dat6_paa6", |
| 166 | "sdmmc4_dat7_paa7"; |
| 167 | nvidia,function = "sdmmc4"; |
| 168 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 169 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 170 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 171 | }; |
| 172 | sdmmc4_rst_n { |
| 173 | nvidia,pins = "sdmmc4_rst_n_pcc3"; |
| 174 | nvidia,function = "rsvd2"; |
| 175 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 176 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 177 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 178 | }; |
| 179 | cam_mclk { |
| 180 | nvidia,pins = "cam_mclk_pcc0"; |
| 181 | nvidia,function = "vi_alt3"; |
| 182 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 183 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 184 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 185 | }; |
| 186 | drive_sdmmc4 { |
| 187 | nvidia,pins = "drive_gma", |
| 188 | "drive_gmb", |
| 189 | "drive_gmc", |
| 190 | "drive_gmd"; |
| 191 | nvidia,pull-down-strength = <9>; |
| 192 | nvidia,pull-up-strength = <9>; |
| 193 | nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>; |
| 194 | nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>; |
| 195 | }; |
| 196 | |
| 197 | /* I2C pinmux */ |
| 198 | gen1_i2c { |
| 199 | nvidia,pins = "gen1_i2c_scl_pc4", |
| 200 | "gen1_i2c_sda_pc5"; |
| 201 | nvidia,function = "i2c1"; |
| 202 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 203 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 204 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 205 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 206 | nvidia,lock = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 207 | }; |
| 208 | gen2_i2c { |
| 209 | nvidia,pins = "gen2_i2c_scl_pt5", |
| 210 | "gen2_i2c_sda_pt6"; |
| 211 | nvidia,function = "i2c2"; |
| 212 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 213 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 214 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 215 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 216 | nvidia,lock = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 217 | }; |
| 218 | cam_i2c { |
| 219 | nvidia,pins = "cam_i2c_scl_pbb1", |
| 220 | "cam_i2c_sda_pbb2"; |
| 221 | nvidia,function = "i2c3"; |
| 222 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 223 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 224 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 225 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 226 | nvidia,lock = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 227 | }; |
| 228 | ddc_i2c { |
| 229 | nvidia,pins = "ddc_scl_pv4", |
| 230 | "ddc_sda_pv5"; |
| 231 | nvidia,function = "i2c4"; |
| 232 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 233 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 234 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 235 | nvidia,lock = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 236 | }; |
| 237 | pwr_i2c { |
| 238 | nvidia,pins = "pwr_i2c_scl_pz6", |
| 239 | "pwr_i2c_sda_pz7"; |
| 240 | nvidia,function = "i2cpwr"; |
| 241 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 242 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 243 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 244 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 245 | nvidia,lock = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 246 | }; |
| 247 | hotplug_i2c { |
| 248 | nvidia,pins = "pu4"; |
| 249 | nvidia,function = "rsvd4"; |
| 250 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 251 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 252 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 253 | }; |
| 254 | |
| 255 | /* HDMI pinmux */ |
| 256 | hdmi_cec { |
| 257 | nvidia,pins = "hdmi_cec_pee3"; |
| 258 | nvidia,function = "cec"; |
| 259 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 260 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 261 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 262 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 263 | nvidia,lock = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 264 | }; |
| 265 | hdmi_hpd { |
| 266 | nvidia,pins = "hdmi_int_pn7"; |
| 267 | nvidia,function = "hdmi"; |
| 268 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 269 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 270 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 271 | }; |
| 272 | |
| 273 | /* UART-A */ |
| 274 | ulpi_data0_po1 { |
| 275 | nvidia,pins = "ulpi_data0_po1"; |
| 276 | nvidia,function = "uarta"; |
| 277 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 278 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 279 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 280 | }; |
| 281 | ulpi_data1_po2 { |
| 282 | nvidia,pins = "ulpi_data1_po2"; |
| 283 | nvidia,function = "uarta"; |
| 284 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 285 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 286 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 287 | }; |
| 288 | ulpi_data5_po6 { |
| 289 | nvidia,pins = "ulpi_data5_po6"; |
| 290 | nvidia,function = "uarta"; |
| 291 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 292 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 293 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 294 | }; |
| 295 | ulpi_data7_po0 { |
| 296 | nvidia,pins = "ulpi_data7_po0", |
| 297 | "ulpi_data2_po3", |
| 298 | "ulpi_data3_po4", |
| 299 | "ulpi_data4_po5", |
| 300 | "ulpi_data6_po7"; |
| 301 | nvidia,function = "uarta"; |
| 302 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 303 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 304 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 305 | }; |
| 306 | |
| 307 | /* UART-B */ |
| 308 | uartb_txd_rts { |
| 309 | nvidia,pins = "uart2_txd_pc2", |
| 310 | "uart2_rts_n_pj6"; |
| 311 | nvidia,function = "uartb"; |
| 312 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 313 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 314 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 315 | }; |
| 316 | uartb_rxd_cts { |
| 317 | nvidia,pins = "uart2_rxd_pc3", |
| 318 | "uart2_cts_n_pj5"; |
| 319 | nvidia,function = "uartb"; |
| 320 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 321 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 322 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 323 | }; |
| 324 | |
| 325 | /* UART-C */ |
| 326 | uartc_rxd_cts { |
| 327 | nvidia,pins = "uart3_cts_n_pa1", |
| 328 | "uart3_rxd_pw7"; |
| 329 | nvidia,function = "uartc"; |
| 330 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 331 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 332 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 333 | }; |
| 334 | uartc_txd_rts { |
| 335 | nvidia,pins = "uart3_rts_n_pc0", |
| 336 | "uart3_txd_pw6"; |
| 337 | nvidia,function = "uartc"; |
| 338 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 339 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 340 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 341 | }; |
| 342 | |
| 343 | /* UART-D */ |
| 344 | ulpi_nxt_py2 { |
| 345 | nvidia,pins = "ulpi_nxt_py2"; |
| 346 | nvidia,function = "uartd"; |
| 347 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 348 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 349 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 350 | }; |
| 351 | ulpi_clk_py0 { |
| 352 | nvidia,pins = "ulpi_clk_py0", |
| 353 | "ulpi_dir_py1", |
| 354 | "ulpi_stp_py3"; |
| 355 | nvidia,function = "uartd"; |
| 356 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 357 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 358 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 359 | }; |
| 360 | |
| 361 | /* I2S pinmux */ |
| 362 | dap_i2s0 { |
| 363 | nvidia,pins = "dap1_fs_pn0", |
| 364 | "dap1_din_pn1", |
| 365 | "dap1_dout_pn2", |
| 366 | "dap1_sclk_pn3"; |
| 367 | nvidia,function = "i2s0"; |
| 368 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 369 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 370 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 371 | }; |
| 372 | dap_i2s1 { |
| 373 | nvidia,pins = "dap2_fs_pa2", |
| 374 | "dap2_sclk_pa3", |
| 375 | "dap2_din_pa4", |
| 376 | "dap2_dout_pa5"; |
| 377 | nvidia,function = "i2s1"; |
| 378 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 379 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 380 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 381 | }; |
| 382 | dap3_fs { |
| 383 | nvidia,pins = "dap3_fs_pp0", |
| 384 | "dap3_din_pp1"; |
| 385 | nvidia,function = "i2s2"; |
| 386 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 387 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 388 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 389 | }; |
| 390 | dap3_dout { |
| 391 | nvidia,pins = "dap3_dout_pp2", |
| 392 | "dap3_sclk_pp3"; |
| 393 | nvidia,function = "i2s2"; |
| 394 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 395 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 396 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 397 | }; |
| 398 | dap_i2s3 { |
| 399 | nvidia,pins = "dap4_fs_pp4", |
| 400 | "dap4_din_pp5", |
| 401 | "dap4_dout_pp6", |
| 402 | "dap4_sclk_pp7"; |
| 403 | nvidia,function = "i2s3"; |
| 404 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 405 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 406 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 407 | }; |
| 408 | |
| 409 | /* sensors pinmux */ |
| 410 | nct_irq { |
| 411 | nvidia,pins = "pcc2"; |
| 412 | nvidia,function = "i2s4"; |
| 413 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 414 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 415 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 416 | }; |
| 417 | |
| 418 | /* Asus EC pinmux */ |
| 419 | ec_irqs { |
| 420 | nvidia,pins = "kb_row10_ps2", |
| 421 | "kb_row15_ps7"; |
| 422 | nvidia,function = "kbc"; |
| 423 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 424 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 425 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 426 | }; |
| 427 | ec_reqs { |
| 428 | nvidia,pins = "kb_col1_pq1"; |
| 429 | nvidia,function = "kbc"; |
| 430 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 431 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 432 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 433 | }; |
| 434 | |
| 435 | /* memory type bootstrap */ |
| 436 | mem_boostraps { |
| 437 | nvidia,pins = "gmi_ad4_pg4", |
| 438 | "gmi_ad5_pg5"; |
| 439 | nvidia,function = "nand"; |
| 440 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 441 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 442 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 443 | }; |
| 444 | |
| 445 | /* PCI-e pinmux */ |
| 446 | pex_l2_rst_n { |
| 447 | nvidia,pins = "pex_l2_rst_n_pcc6", |
| 448 | "pex_l0_rst_n_pdd1", |
| 449 | "pex_l1_rst_n_pdd5"; |
| 450 | nvidia,function = "pcie"; |
| 451 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 452 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 453 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 454 | }; |
| 455 | pex_l2_clkreq_n { |
| 456 | nvidia,pins = "pex_l2_clkreq_n_pcc7", |
| 457 | "pex_l0_prsnt_n_pdd0", |
| 458 | "pex_l0_clkreq_n_pdd2", |
| 459 | "pex_wake_n_pdd3", |
| 460 | "pex_l1_prsnt_n_pdd4", |
| 461 | "pex_l1_clkreq_n_pdd6", |
| 462 | "pex_l2_prsnt_n_pdd7"; |
| 463 | nvidia,function = "pcie"; |
| 464 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 465 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 466 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 467 | }; |
| 468 | |
| 469 | /* SPI pinmux */ |
| 470 | spi1_mosi_px4 { |
| 471 | nvidia,pins = "spi1_mosi_px4", |
| 472 | "spi1_sck_px5", |
| 473 | "spi1_cs0_n_px6", |
| 474 | "spi1_miso_px7"; |
| 475 | nvidia,function = "spi1"; |
| 476 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 477 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 478 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 479 | }; |
| 480 | spi2_cs1_n_pw2 { |
| 481 | nvidia,pins = "spi2_cs1_n_pw2"; |
| 482 | nvidia,function = "spi2"; |
| 483 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 484 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 485 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 486 | }; |
| 487 | spi2_sck_px2 { |
| 488 | nvidia,pins = "spi2_sck_px2"; |
| 489 | nvidia,function = "spi2"; |
| 490 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 491 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 492 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 493 | }; |
| 494 | gmi_a17_pb0 { |
| 495 | nvidia,pins = "gmi_a17_pb0", |
| 496 | "gmi_a16_pj7"; |
| 497 | nvidia,function = "spi4"; |
| 498 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 499 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 500 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 501 | }; |
| 502 | gmi_a18_pb1 { |
| 503 | nvidia,pins = "gmi_a18_pb1"; |
| 504 | nvidia,function = "spi4"; |
| 505 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 506 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 507 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 508 | }; |
| 509 | gmi_a19_pk7 { |
| 510 | nvidia,pins = "gmi_a19_pk7"; |
| 511 | nvidia,function = "spi4"; |
| 512 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 513 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 514 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 515 | }; |
| 516 | |
| 517 | /* Display A pinmux */ |
| 518 | lcd_pwr0_pb2 { |
| 519 | nvidia,pins = "lcd_pwr0_pb2", |
| 520 | "lcd_pclk_pb3", |
| 521 | "lcd_pwr1_pc1", |
| 522 | "lcd_d0_pe0", |
| 523 | "lcd_d1_pe1", |
| 524 | "lcd_d2_pe2", |
| 525 | "lcd_d3_pe3", |
| 526 | "lcd_d4_pe4", |
| 527 | "lcd_d5_pe5", |
| 528 | "lcd_d6_pe6", |
| 529 | "lcd_d7_pe7", |
| 530 | "lcd_d8_pf0", |
| 531 | "lcd_d9_pf1", |
| 532 | "lcd_d10_pf2", |
| 533 | "lcd_d11_pf3", |
| 534 | "lcd_d12_pf4", |
| 535 | "lcd_d13_pf5", |
| 536 | "lcd_d14_pf6", |
| 537 | "lcd_d15_pf7", |
| 538 | "lcd_de_pj1", |
| 539 | "lcd_hsync_pj3", |
| 540 | "lcd_vsync_pj4", |
| 541 | "lcd_d16_pm0", |
| 542 | "lcd_d17_pm1", |
| 543 | "lcd_d18_pm2", |
| 544 | "lcd_d19_pm3", |
| 545 | "lcd_d20_pm4", |
| 546 | "lcd_d21_pm5", |
| 547 | "lcd_d22_pm6", |
| 548 | "lcd_d23_pm7", |
| 549 | "lcd_cs1_n_pw0", |
| 550 | "lcd_dc0_pn6", |
| 551 | "lcd_sck_pz4", |
| 552 | "lcd_sdin_pz2"; |
| 553 | nvidia,function = "displaya"; |
| 554 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 555 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 556 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 557 | }; |
| 558 | lcd_cs0_n_pn4 { |
| 559 | nvidia,pins = "lcd_cs0_n_pn4", |
| 560 | "lcd_sdout_pn5", |
| 561 | "lcd_wr_n_pz3"; |
| 562 | nvidia,function = "displaya"; |
| 563 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 564 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 565 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 566 | }; |
| 567 | |
| 568 | blink { |
| 569 | nvidia,pins = "clk_32k_out_pa0"; |
| 570 | nvidia,function = "blink"; |
| 571 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 572 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 573 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 574 | }; |
| 575 | |
| 576 | /* KBC keys */ |
| 577 | kb_col0_pq0 { |
| 578 | nvidia,pins = "kb_col0_pq0"; |
| 579 | nvidia,function = "kbc"; |
| 580 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 581 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 582 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 583 | }; |
| 584 | kb_col1_pq1 { |
| 585 | nvidia,pins = "kb_row1_pr1", |
| 586 | "kb_row3_pr3", |
| 587 | "kb_row9_ps1", |
| 588 | "kb_row11_ps3", |
| 589 | "kb_row14_ps6", |
| 590 | "kb_col6_pq6"; |
| 591 | nvidia,function = "kbc"; |
| 592 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 593 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 594 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 595 | }; |
| 596 | kb_col4_pq4 { |
| 597 | nvidia,pins = "kb_col4_pq4", |
| 598 | "kb_col5_pq5", |
| 599 | "kb_col7_pq7", |
| 600 | "kb_row2_pr2", |
| 601 | "kb_row4_pr4", |
| 602 | "kb_row5_pr5", |
| 603 | "kb_row12_ps4", |
| 604 | "kb_row13_ps5"; |
| 605 | nvidia,function = "kbc"; |
| 606 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 607 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 608 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 609 | }; |
| 610 | |
| 611 | gmi_wp_n_pc7 { |
| 612 | nvidia,pins = "gmi_wp_n_pc7", |
| 613 | "gmi_wait_pi7", |
| 614 | "gmi_cs3_n_pk4"; |
| 615 | nvidia,function = "rsvd1"; |
| 616 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 617 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 618 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 619 | }; |
| 620 | gmi_cs0_n_pj0 { |
| 621 | nvidia,pins = "gmi_cs0_n_pj0", |
| 622 | "gmi_cs1_n_pj2", |
| 623 | "gmi_cs2_n_pk3"; |
| 624 | nvidia,function = "rsvd1"; |
| 625 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 626 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 627 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 628 | }; |
| 629 | vi_pclk_pt0 { |
| 630 | nvidia,pins = "vi_pclk_pt0"; |
| 631 | nvidia,function = "rsvd1"; |
| 632 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 633 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 634 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 635 | nvidia,lock = <1>; |
| 636 | nvidia,io-reset = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 637 | }; |
| 638 | |
| 639 | /* GPIO keys pinmux */ |
| 640 | power_key { |
| 641 | nvidia,pins = "pv0"; |
| 642 | nvidia,function = "rsvd1"; |
| 643 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 644 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 645 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 646 | }; |
| 647 | vol_keys { |
| 648 | nvidia,pins = "kb_col2_pq2", |
| 649 | "kb_col3_pq3"; |
| 650 | nvidia,function = "rsvd4"; |
| 651 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 652 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 653 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 654 | }; |
| 655 | |
| 656 | /* Bluetooth */ |
| 657 | bt_shutdown { |
| 658 | nvidia,pins = "pu0"; |
| 659 | nvidia,function = "rsvd4"; |
| 660 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 661 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 662 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 663 | }; |
| 664 | bt_dev_wake { |
| 665 | nvidia,pins = "pu1"; |
| 666 | nvidia,function = "rsvd1"; |
| 667 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 668 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 669 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 670 | }; |
| 671 | bt_host_wake { |
| 672 | nvidia,pins = "pu6"; |
| 673 | nvidia,function = "rsvd4"; |
| 674 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 675 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 676 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 677 | }; |
| 678 | |
| 679 | pu2 { |
| 680 | nvidia,pins = "pu2"; |
| 681 | nvidia,function = "rsvd1"; |
| 682 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 683 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 684 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 685 | }; |
| 686 | pu3 { |
| 687 | nvidia,pins = "pu3"; |
| 688 | nvidia,function = "rsvd4"; |
| 689 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 690 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 691 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 692 | }; |
| 693 | pcc1 { |
| 694 | nvidia,pins = "pcc1"; |
| 695 | nvidia,function = "rsvd2"; |
| 696 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 697 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 698 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 699 | }; |
| 700 | pv2 { |
| 701 | nvidia,pins = "pv2"; |
| 702 | nvidia,function = "rsvd2"; |
| 703 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 704 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 705 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 706 | }; |
| 707 | pv3 { |
| 708 | nvidia,pins = "pv3"; |
| 709 | nvidia,function = "rsvd2"; |
| 710 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 711 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 712 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 713 | }; |
| 714 | vi_vsync_pd6 { |
| 715 | nvidia,pins = "vi_vsync_pd6", |
| 716 | "vi_hsync_pd7"; |
| 717 | nvidia,function = "rsvd2"; |
| 718 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 719 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 720 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 721 | nvidia,lock = <1>; |
| 722 | nvidia,io-reset = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 723 | }; |
| 724 | vi_d10_pt2 { |
| 725 | nvidia,pins = "vi_d10_pt2", |
| 726 | "vi_d0_pt4", "pbb0"; |
| 727 | nvidia,function = "rsvd2"; |
| 728 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 729 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 730 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 731 | }; |
| 732 | |
| 733 | kb_row0_pr0 { |
| 734 | nvidia,pins = "kb_row0_pr0"; |
| 735 | nvidia,function = "rsvd4"; |
| 736 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 737 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 738 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 739 | }; |
| 740 | |
| 741 | gmi_ad0_pg0 { |
| 742 | nvidia,pins = "gmi_ad0_pg0", |
| 743 | "gmi_ad1_pg1", |
| 744 | "gmi_ad2_pg2", |
| 745 | "gmi_ad3_pg3", |
| 746 | "gmi_ad6_pg6", |
| 747 | "gmi_ad7_pg7", |
| 748 | "gmi_wr_n_pi0", |
| 749 | "gmi_oe_n_pi1", |
| 750 | "gmi_dqs_pi2", |
| 751 | "gmi_adv_n_pk0", |
| 752 | "gmi_clk_pk1"; |
| 753 | nvidia,function = "nand"; |
| 754 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 755 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 756 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 757 | }; |
| 758 | gmi_ad13_ph5 { |
| 759 | nvidia,pins = "gmi_ad13_ph5"; |
| 760 | nvidia,function = "nand"; |
| 761 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 762 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 763 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 764 | }; |
| 765 | gmi_ad10_ph2 { |
| 766 | nvidia,pins = "gmi_ad10_ph2", |
| 767 | "gmi_ad11_ph3", |
| 768 | "gmi_ad14_ph6"; |
| 769 | nvidia,function = "nand"; |
| 770 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 771 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 772 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 773 | }; |
| 774 | gmi_ad12_ph4 { |
| 775 | nvidia,pins = "gmi_ad12_ph4", |
| 776 | "gmi_rst_n_pi4"; |
| 777 | nvidia,function = "nand"; |
| 778 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 779 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 780 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 781 | }; |
| 782 | /* USB2 VBUS control */ |
| 783 | usb2_vbus_control { |
| 784 | nvidia,pins = "gmi_ad15_ph7"; |
| 785 | nvidia,function = "nand"; |
| 786 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 787 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 788 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 789 | }; |
| 790 | /* PWM pinmux */ |
| 791 | pwm_0 { |
| 792 | nvidia,pins = "gmi_ad8_ph0"; |
| 793 | nvidia,function = "pwm0"; |
| 794 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 795 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 796 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 797 | }; |
| 798 | pwm_1 { |
| 799 | nvidia,pins = "gmi_ad9_ph1"; |
| 800 | nvidia,function = "pwm1"; |
| 801 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 802 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 803 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 804 | }; |
| 805 | pwm_2 { |
| 806 | nvidia,pins = "pu5"; |
| 807 | nvidia,function = "pwm2"; |
| 808 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 809 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 810 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 811 | }; |
| 812 | |
| 813 | /* S/PDIF pinmux */ |
| 814 | spdif_out { |
| 815 | nvidia,pins = "spdif_out_pk5"; |
| 816 | nvidia,function = "spdif"; |
| 817 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 818 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 819 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 820 | }; |
| 821 | spdif_in { |
| 822 | nvidia,pins = "spdif_in_pk6"; |
| 823 | nvidia,function = "spdif"; |
| 824 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 825 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 826 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 827 | }; |
| 828 | vi_d4_pl2 { |
| 829 | nvidia,pins = "vi_d4_pl2"; |
| 830 | nvidia,function = "vi"; |
| 831 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 832 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 833 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 834 | }; |
| 835 | vi_d6_pl4 { |
| 836 | nvidia,pins = "vi_d6_pl4"; |
| 837 | nvidia,function = "vi"; |
| 838 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 839 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 840 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Svyatoslav Ryhel | cc81ef9 | 2024-01-20 15:06:23 +0200 | [diff] [blame] | 841 | nvidia,lock = <1>; |
| 842 | nvidia,io-reset = <1>; |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 843 | }; |
| 844 | vi_mclk_pt1 { |
| 845 | nvidia,pins = "vi_mclk_pt1"; |
| 846 | nvidia,function = "vi"; |
| 847 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 848 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 849 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 850 | }; |
| 851 | jtag_rtck { |
| 852 | nvidia,pins = "jtag_rtck_pu7"; |
| 853 | nvidia,function = "rtck"; |
| 854 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 855 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 856 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 857 | }; |
| 858 | |
| 859 | crt_hsync_pv6 { |
| 860 | nvidia,pins = "crt_hsync_pv6", |
| 861 | "crt_vsync_pv7"; |
| 862 | nvidia,function = "crt"; |
| 863 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 864 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 865 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 866 | }; |
| 867 | |
| 868 | clk1_out { |
| 869 | nvidia,pins = "clk1_out_pw4"; |
| 870 | nvidia,function = "extperiph1"; |
| 871 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 872 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 873 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 874 | }; |
| 875 | clk2_out { |
| 876 | nvidia,pins = "clk2_out_pw5"; |
| 877 | nvidia,function = "extperiph2"; |
| 878 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 879 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 880 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 881 | }; |
| 882 | clk3_out { |
| 883 | nvidia,pins = "clk3_out_pee0"; |
| 884 | nvidia,function = "extperiph3"; |
| 885 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 886 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 887 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 888 | }; |
| 889 | sys_clk_req { |
| 890 | nvidia,pins = "sys_clk_req_pz5"; |
| 891 | nvidia,function = "sysclk"; |
| 892 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 893 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 894 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 895 | }; |
| 896 | pbb4 { |
| 897 | nvidia,pins = "pbb4"; |
| 898 | nvidia,function = "vgp4"; |
| 899 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 900 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 901 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 902 | }; |
| 903 | pbb5 { |
| 904 | nvidia,pins = "pbb5"; |
| 905 | nvidia,function = "vgp5"; |
| 906 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 907 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 908 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 909 | }; |
| 910 | pbb6 { |
| 911 | nvidia,pins = "pbb6"; |
| 912 | nvidia,function = "vgp6"; |
| 913 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 914 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 915 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 916 | }; |
| 917 | clk2_req_pcc5 { |
| 918 | nvidia,pins = "clk2_req_pcc5", |
| 919 | "clk1_req_pee2"; |
| 920 | nvidia,function = "dap"; |
| 921 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 922 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 923 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 924 | }; |
| 925 | clk3_req_pee1 { |
| 926 | nvidia,pins = "clk3_req_pee1"; |
| 927 | nvidia,function = "dev3"; |
| 928 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 929 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 930 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 931 | }; |
| 932 | owr { |
| 933 | nvidia,pins = "owr"; |
| 934 | nvidia,function = "owr"; |
| 935 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 936 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 937 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 938 | }; |
| 939 | |
| 940 | /* P1801-T specific pinmux */ |
| 941 | lcd_pwr2 { |
| 942 | nvidia,pins = "lcd_pwr2_pc6", |
| 943 | "lcd_dc1_pd2"; |
| 944 | nvidia,function = "displaya"; |
| 945 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 946 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 947 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 948 | }; |
| 949 | lcd_m1 { |
| 950 | nvidia,pins = "lcd_m1_pw1"; |
| 951 | nvidia,function = "displaya"; |
| 952 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 953 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 954 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 955 | }; |
| 956 | key_mode { |
| 957 | nvidia,pins = "gmi_cs4_n_pk2"; |
| 958 | nvidia,function = "rsvd4"; |
| 959 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 960 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 961 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 962 | }; |
| 963 | splashtop { |
| 964 | nvidia,pins = "gmi_cs6_n_pi3"; |
| 965 | nvidia,function = "nand_alt"; |
| 966 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 967 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 968 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 969 | }; |
| 970 | w8_detect { |
| 971 | nvidia,pins = "gmi_cs7_n_pi6"; |
| 972 | nvidia,function = "nand_alt"; |
| 973 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 974 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 975 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 976 | }; |
| 977 | pbb3 { |
| 978 | nvidia,pins = "pbb3"; |
| 979 | nvidia,function = "vgp3"; |
| 980 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 981 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 982 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 983 | }; |
| 984 | pbb7 { |
| 985 | nvidia,pins = "pbb7"; |
| 986 | nvidia,function = "i2s4"; |
| 987 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 988 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 989 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 990 | }; |
| 991 | spi2_mosi_px0 { |
| 992 | nvidia,pins = "spi2_mosi_px0"; |
| 993 | nvidia,function = "spi6"; |
| 994 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 995 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 996 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 997 | }; |
| 998 | tp_vendor { |
| 999 | nvidia,pins = "kb_row6_pr6", |
| 1000 | "kb_row7_pr7"; |
| 1001 | nvidia,function = "kbc"; |
| 1002 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 1003 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 1004 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 1005 | }; |
| 1006 | tp_power { |
| 1007 | nvidia,pins = "kb_row8_ps0"; |
| 1008 | nvidia,function = "kbc"; |
| 1009 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 1010 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 1011 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 1012 | }; |
| 1013 | |
| 1014 | /* GPIO power/drive control */ |
| 1015 | drive_dap1 { |
| 1016 | nvidia,pins = "drive_dap1", |
| 1017 | "drive_dap2", |
| 1018 | "drive_dbg", |
| 1019 | "drive_at5", |
| 1020 | "drive_gme", |
| 1021 | "drive_ddc", |
| 1022 | "drive_ao1", |
| 1023 | "drive_uart3"; |
| 1024 | nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>; |
| 1025 | nvidia,schmitt = <TEGRA_PIN_ENABLE>; |
| 1026 | nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>; |
| 1027 | nvidia,pull-down-strength = <31>; |
| 1028 | nvidia,pull-up-strength = <31>; |
| 1029 | nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 1030 | nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; |
| 1031 | }; |
| 1032 | drive_sdio1 { |
| 1033 | nvidia,pins = "drive_sdio1", |
| 1034 | "drive_sdio3"; |
| 1035 | nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>; |
| 1036 | nvidia,schmitt = <TEGRA_PIN_DISABLE>; |
| 1037 | nvidia,pull-down-strength = <46>; |
| 1038 | nvidia,pull-up-strength = <42>; |
| 1039 | nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>; |
| 1040 | nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>; |
| 1041 | }; |
| 1042 | }; |
| 1043 | }; |
| 1044 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1045 | uarta: serial@70006000 { |
| 1046 | status = "okay"; |
| 1047 | }; |
| 1048 | |
| 1049 | hdmi_ddc: i2c@7000c700 { |
| 1050 | status = "okay"; |
| 1051 | clock-frequency = <33000>; |
| 1052 | }; |
| 1053 | |
| 1054 | pwr_i2c: i2c@7000d000 { |
| 1055 | status = "okay"; |
| 1056 | clock-frequency = <400000>; |
| 1057 | |
| 1058 | /* Texas Instruments TPS659110 PMIC */ |
| 1059 | pmic: tps65911@2d { |
| 1060 | compatible = "ti,tps65911"; |
| 1061 | reg = <0x2d>; |
| 1062 | |
| 1063 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 1064 | #interrupt-cells = <2>; |
| 1065 | interrupt-controller; |
| 1066 | |
| 1067 | ti,system-power-controller; |
| 1068 | |
| 1069 | #gpio-cells = <2>; |
| 1070 | gpio-controller; |
| 1071 | |
| 1072 | regulators { |
| 1073 | vdd_1v8_vio: vddio { |
| 1074 | regulator-name = "vdd_1v8_gen"; |
| 1075 | regulator-min-microvolt = <1800000>; |
| 1076 | regulator-max-microvolt = <1800000>; |
| 1077 | regulator-always-on; |
| 1078 | regulator-boot-on; |
| 1079 | }; |
| 1080 | |
| 1081 | /* eMMC VDD */ |
| 1082 | vcore_emmc: ldo1 { |
| 1083 | regulator-name = "vdd_emmc_core"; |
| 1084 | regulator-min-microvolt = <3300000>; |
| 1085 | regulator-max-microvolt = <3300000>; |
Svyatoslav Ryhel | bf73217 | 2023-08-26 18:39:29 +0300 | [diff] [blame] | 1086 | regulator-boot-on; |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1087 | }; |
| 1088 | |
| 1089 | /* uSD slot VDD */ |
| 1090 | vdd_usd: ldo2 { |
| 1091 | regulator-name = "vdd_usd"; |
| 1092 | regulator-min-microvolt = <3100000>; |
| 1093 | regulator-max-microvolt = <3100000>; |
Svyatoslav Ryhel | bf73217 | 2023-08-26 18:39:29 +0300 | [diff] [blame] | 1094 | regulator-boot-on; |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1095 | }; |
| 1096 | |
| 1097 | /* uSD slot VDDIO */ |
| 1098 | vddio_usd: ldo3 { |
| 1099 | regulator-name = "vddio_usd"; |
| 1100 | regulator-min-microvolt = <3100000>; |
| 1101 | regulator-max-microvolt = <3100000>; |
| 1102 | regulator-always-on; |
| 1103 | regulator-boot-on; |
| 1104 | }; |
| 1105 | }; |
| 1106 | }; |
| 1107 | }; |
| 1108 | |
| 1109 | sdmmc1: sdhci@78000000 { |
| 1110 | status = "okay"; |
| 1111 | bus-width = <4>; |
| 1112 | |
| 1113 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
| 1114 | power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>; |
| 1115 | |
| 1116 | vmmc-supply = <&vdd_usd>; |
| 1117 | vqmmc-supply = <&vddio_usd>; |
| 1118 | }; |
| 1119 | |
| 1120 | sdmmc4: sdhci@78000600 { |
| 1121 | status = "okay"; |
| 1122 | bus-width = <8>; |
| 1123 | non-removable; |
| 1124 | |
| 1125 | vmmc-supply = <&vcore_emmc>; |
| 1126 | vqmmc-supply = <&vdd_1v8_vio>; |
| 1127 | }; |
| 1128 | |
| 1129 | /* USB via ASUS connector */ |
| 1130 | usb1: usb@7d000000 { |
| 1131 | status = "okay"; |
| 1132 | dr_mode = "otg"; |
| 1133 | }; |
| 1134 | |
Svyatoslav Ryhel | 6c43861 | 2023-08-25 20:23:14 +0300 | [diff] [blame] | 1135 | usb-phy@7d000000 { |
| 1136 | status = "okay"; |
| 1137 | nvidia,hssync-start-delay = <0>; |
| 1138 | nvidia,xcvr-lsfslew = <2>; |
| 1139 | nvidia,xcvr-lsrslew = <2>; |
| 1140 | }; |
| 1141 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1142 | /* Mini USB port */ |
| 1143 | usb2: usb@7d004000 { |
| 1144 | status = "okay"; |
| 1145 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>; |
| 1146 | }; |
| 1147 | |
Svyatoslav Ryhel | 6c43861 | 2023-08-25 20:23:14 +0300 | [diff] [blame] | 1148 | usb-phy@7d004000 { |
| 1149 | status = "okay"; |
| 1150 | }; |
| 1151 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1152 | /* Dock's USB port */ |
| 1153 | usb3: usb@7d008000 { |
| 1154 | status = "okay"; |
| 1155 | }; |
| 1156 | |
Svyatoslav Ryhel | 6c43861 | 2023-08-25 20:23:14 +0300 | [diff] [blame] | 1157 | usb-phy@7d008000 { |
| 1158 | status = "okay"; |
| 1159 | }; |
| 1160 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1161 | /* PMIC has a built-in 32KHz oscillator which is used by PMC */ |
| 1162 | clk32k_in: clock-32k { |
| 1163 | compatible = "fixed-clock"; |
| 1164 | #clock-cells = <0>; |
| 1165 | clock-frequency = <32768>; |
| 1166 | clock-output-names = "pmic-oscillator"; |
| 1167 | }; |
| 1168 | |
| 1169 | gpio-keys { |
| 1170 | compatible = "gpio-keys"; |
| 1171 | |
| 1172 | key-power { |
| 1173 | label = "Power"; |
| 1174 | gpios = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>; |
| 1175 | linux,code = <KEY_ENTER>; |
| 1176 | }; |
| 1177 | |
| 1178 | key-volume-up { |
| 1179 | label = "Volume Up"; |
| 1180 | gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>; |
| 1181 | linux,code = <KEY_UP>; |
| 1182 | }; |
| 1183 | |
| 1184 | key-volume-down { |
| 1185 | label = "Volume Down"; |
| 1186 | gpios = <&gpio TEGRA_GPIO(Q, 3) GPIO_ACTIVE_LOW>; |
| 1187 | linux,code = <KEY_DOWN>; |
| 1188 | }; |
| 1189 | }; |
| 1190 | |
| 1191 | hdmi_3v3_vdd: regulator-vdd { |
| 1192 | compatible = "regulator-fixed"; |
| 1193 | regulator-name = "hdmi_3v3_vdd"; |
| 1194 | regulator-min-microvolt = <3300000>; |
| 1195 | regulator-max-microvolt = <3300000>; |
| 1196 | gpio = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>; |
| 1197 | enable-active-high; |
| 1198 | }; |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 1199 | |
Svyatoslav Ryhel | bce8c96 | 2023-10-03 09:36:32 +0300 | [diff] [blame] | 1200 | hdmi_5v0_sys: regulator-hdmi { |
| 1201 | compatible = "regulator-fixed"; |
| 1202 | regulator-name = "hdmi_5v0_sys"; |
| 1203 | regulator-min-microvolt = <5000000>; |
| 1204 | regulator-max-microvolt = <5000000>; |
| 1205 | gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; |
| 1206 | enable-active-high; |
| 1207 | }; |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 1208 | }; |