Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 2 | #include <dt-bindings/input/input.h> |
| 3 | #include "tegra30.dtsi" |
| 4 | |
| 5 | /* |
Marcel Ziswiler | 39ebbf6 | 2015-08-28 17:59:36 +0200 | [diff] [blame] | 6 | * Toradex Colibri T30 Module Device Tree |
| 7 | * Compatible for Revisions V1.1B, V1.1C, V1.1D, V1.1E; IT: V1.1A |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 8 | */ |
| 9 | / { |
| 10 | model = "Toradex Colibri T30"; |
| 11 | compatible = "toradex,colibri_t30", "nvidia,tegra30"; |
| 12 | |
Krzysztof Kozlowski | 4829976 | 2018-07-09 18:05:17 +0200 | [diff] [blame] | 13 | memory@80000000 { |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 14 | reg = <0x80000000 0x40000000>; |
| 15 | }; |
| 16 | |
| 17 | host1x@50000000 { |
| 18 | hdmi@54280000 { |
Marcel Ziswiler | 033519b | 2018-09-01 10:12:16 +0200 | [diff] [blame] | 19 | nvidia,ddc-i2c-bus = <&hdmiddc>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 20 | nvidia,hpd-gpio = |
| 21 | <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 22 | pll-supply = <®_1v8_avdd_hdmi_pll>; |
| 23 | vdd-supply = <®_3v3_avdd_hdmi>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 24 | }; |
| 25 | }; |
| 26 | |
| 27 | pinmux@70000868 { |
| 28 | pinctrl-names = "default"; |
| 29 | pinctrl-0 = <&state_default>; |
| 30 | |
| 31 | state_default: pinmux { |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 32 | /* Analogue Audio (On-module) */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 33 | clk1-out-pw4 { |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 34 | nvidia,pins = "clk1_out_pw4"; |
| 35 | nvidia,function = "extperiph1"; |
| 36 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 37 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 38 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 39 | }; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 40 | dap3-fs-pp0 { |
| 41 | nvidia,pins = "dap3_fs_pp0", |
| 42 | "dap3_sclk_pp3", |
| 43 | "dap3_din_pp1", |
| 44 | "dap3_dout_pp2"; |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 45 | nvidia,function = "i2s2"; |
| 46 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 47 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 48 | }; |
| 49 | |
Marcel Ziswiler | dbd43f2 | 2018-09-01 10:12:25 +0200 | [diff] [blame^] | 50 | /* Colibri Address/Data Bus (GMI) */ |
| 51 | gmi-ad0-pg0 { |
| 52 | nvidia,pins = "gmi_ad0_pg0", |
| 53 | "gmi_ad2_pg2", |
| 54 | "gmi_ad3_pg3", |
| 55 | "gmi_ad4_pg4", |
| 56 | "gmi_ad5_pg5", |
| 57 | "gmi_ad6_pg6", |
| 58 | "gmi_ad7_pg7", |
| 59 | "gmi_ad8_ph0", |
| 60 | "gmi_ad9_ph1", |
| 61 | "gmi_ad10_ph2", |
| 62 | "gmi_ad11_ph3", |
| 63 | "gmi_ad12_ph4", |
| 64 | "gmi_ad13_ph5", |
| 65 | "gmi_ad14_ph6", |
| 66 | "gmi_ad15_ph7", |
| 67 | "gmi_adv_n_pk0", |
| 68 | "gmi_clk_pk1", |
| 69 | "gmi_cs4_n_pk2", |
| 70 | "gmi_cs2_n_pk3", |
| 71 | "gmi_iordy_pi5", |
| 72 | "gmi_oe_n_pi1", |
| 73 | "gmi_wait_pi7", |
| 74 | "gmi_wr_n_pi0", |
| 75 | "dap1_fs_pn0", |
| 76 | "dap1_din_pn1", |
| 77 | "dap1_dout_pn2", |
| 78 | "dap1_sclk_pn3", |
| 79 | "dap2_fs_pa2", |
| 80 | "dap2_sclk_pa3", |
| 81 | "dap2_din_pa4", |
| 82 | "dap2_dout_pa5", |
| 83 | "spi1_sck_px5", |
| 84 | "spi1_mosi_px4", |
| 85 | "spi1_cs0_n_px6", |
| 86 | "spi2_cs0_n_px3", |
| 87 | "spi2_miso_px1", |
| 88 | "spi2_mosi_px0", |
| 89 | "spi2_sck_px2", |
| 90 | "uart2_cts_n_pj5", |
| 91 | "uart2_rts_n_pj6"; |
| 92 | nvidia,function = "gmi"; |
| 93 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 94 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 95 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 96 | }; |
| 97 | /* Further pins may be used as GPIOs */ |
| 98 | dap4-din-pp5 { |
| 99 | nvidia,pins = "dap4_din_pp5", |
| 100 | "dap4_dout_pp6", |
| 101 | "dap4_fs_pp4", |
| 102 | "dap4_sclk_pp7", |
| 103 | "pbb7", |
| 104 | "sdmmc1_clk_pz0", |
| 105 | "sdmmc1_cmd_pz1", |
| 106 | "sdmmc1_dat0_py7", |
| 107 | "sdmmc1_dat1_py6", |
| 108 | "sdmmc1_dat3_py4", |
| 109 | "uart3_cts_n_pa1", |
| 110 | "uart3_txd_pw6", |
| 111 | "uart3_rxd_pw7"; |
| 112 | nvidia,function = "rsvd2"; |
| 113 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 114 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 115 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 116 | }; |
| 117 | lcd-d18-pm2 { |
| 118 | nvidia,pins = "lcd_d18_pm2", |
| 119 | "lcd_d19_pm3", |
| 120 | "lcd_d20_pm4", |
| 121 | "lcd_d21_pm5", |
| 122 | "lcd_d22_pm6", |
| 123 | "lcd_d23_pm7", |
| 124 | "lcd_dc0_pn6", |
| 125 | "pex_l2_clkreq_n_pcc7"; |
| 126 | nvidia,function = "rsvd3"; |
| 127 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 128 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 129 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 130 | }; |
| 131 | lcd-cs0-n-pn4 { |
| 132 | nvidia,pins = "lcd_cs0_n_pn4", |
| 133 | "lcd_sdin_pz2", |
| 134 | "pu0", |
| 135 | "pu1", |
| 136 | "pu2", |
| 137 | "pu3", |
| 138 | "pu4", |
| 139 | "pu5", |
| 140 | "pu6", |
| 141 | "spi1_miso_px7", |
| 142 | "uart3_rts_n_pc0"; |
| 143 | nvidia,function = "rsvd4"; |
| 144 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 145 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 146 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 147 | }; |
| 148 | lcd-pwr0-pb2 { |
| 149 | nvidia,pins = "lcd_pwr0_pb2", |
| 150 | "lcd_sck_pz4", |
| 151 | "lcd_sdout_pn5", |
| 152 | "lcd_wr_n_pz3"; |
| 153 | nvidia,function = "hdcp"; |
| 154 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 155 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 156 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 157 | }; |
| 158 | pbb4 { |
| 159 | nvidia,pins = "pbb4", |
| 160 | "pbb5", |
| 161 | "pbb6"; |
| 162 | nvidia,function = "displayb"; |
| 163 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 164 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 165 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 166 | }; |
| 167 | /* Multiplexed RDnWR and therefore disabled */ |
| 168 | lcd-cs1-n-pw0 { |
| 169 | nvidia,pins = "lcd_cs1_n_pw0"; |
| 170 | nvidia,function = "rsvd4"; |
| 171 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 172 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 173 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 174 | }; |
| 175 | /* Multiplexed GMI_CLK and therefore disabled */ |
| 176 | owr { |
| 177 | nvidia,pins = "owr"; |
| 178 | nvidia,function = "rsvd3"; |
| 179 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 180 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 181 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 182 | }; |
| 183 | /* Tri-stating GMI_WR_N on nPWE SODIMM pin 99 */ |
| 184 | sdmmc3-dat4-pd1 { |
| 185 | nvidia,pins = "sdmmc3_dat4_pd1"; |
| 186 | nvidia,function = "sdmmc3"; |
| 187 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 188 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 189 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 190 | }; |
| 191 | /* Not tri-stating GMI_WR_N on RDnWR SODIMM pin 93 */ |
| 192 | sdmmc3-dat5-pd0 { |
| 193 | nvidia,pins = "sdmmc3_dat5_pd0"; |
| 194 | nvidia,function = "sdmmc3"; |
| 195 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 196 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 197 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 198 | }; |
| 199 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 200 | /* Colibri BL_ON */ |
| 201 | pv2 { |
| 202 | nvidia,pins = "pv2"; |
| 203 | nvidia,function = "rsvd4"; |
| 204 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 205 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 206 | }; |
| 207 | |
| 208 | /* Colibri Backlight PWM<A> */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 209 | sdmmc3-dat3-pb4 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 210 | nvidia,pins = "sdmmc3_dat3_pb4"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 211 | nvidia,function = "pwm0"; |
| 212 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 213 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 214 | }; |
| 215 | |
| 216 | /* Colibri CAN_INT */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 217 | kb-row8-ps0 { |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 218 | nvidia,pins = "kb_row8_ps0"; |
| 219 | nvidia,function = "kbc"; |
| 220 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 221 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 222 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 223 | }; |
| 224 | |
Marcel Ziswiler | dbd43f2 | 2018-09-01 10:12:25 +0200 | [diff] [blame^] | 225 | /* Colibri DDC */ |
| 226 | ddc-scl-pv4 { |
| 227 | nvidia,pins = "ddc_scl_pv4", |
| 228 | "ddc_sda_pv5"; |
| 229 | nvidia,function = "i2c4"; |
| 230 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 231 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 232 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 233 | }; |
| 234 | |
| 235 | /* Colibri EXT_IO* */ |
| 236 | gen2-i2c-scl-pt5 { |
| 237 | nvidia,pins = "gen2_i2c_scl_pt5", |
| 238 | "gen2_i2c_sda_pt6"; |
| 239 | nvidia,function = "rsvd4"; |
| 240 | nvidia,open-drain = <TEGRA_PIN_DISABLE>; |
| 241 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 242 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 243 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 244 | }; |
| 245 | spdif-in-pk6 { |
| 246 | nvidia,pins = "spdif_in_pk6"; |
| 247 | nvidia,function = "hda"; |
| 248 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 249 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 250 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 251 | }; |
| 252 | |
| 253 | /* Colibri GPIO */ |
| 254 | clk2-out-pw5 { |
| 255 | nvidia,pins = "clk2_out_pw5", |
| 256 | "pcc2", |
| 257 | "pv3", |
| 258 | "sdmmc1_dat2_py5"; |
| 259 | nvidia,function = "rsvd2"; |
| 260 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 261 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 262 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 263 | }; |
| 264 | lcd-pwr1-pc1 { |
| 265 | nvidia,pins = "lcd_pwr1_pc1", |
| 266 | "pex_l1_clkreq_n_pdd6", |
| 267 | "pex_l1_rst_n_pdd5"; |
| 268 | nvidia,function = "rsvd3"; |
| 269 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 270 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 271 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 272 | }; |
| 273 | pv1 { |
| 274 | nvidia,pins = "pv1", |
| 275 | "sdmmc3_dat0_pb7", |
| 276 | "sdmmc3_dat1_pb6"; |
| 277 | nvidia,function = "rsvd1"; |
| 278 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 279 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 280 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 281 | }; |
| 282 | |
| 283 | /* Colibri HOTPLUG_DETECT (HDMI) */ |
| 284 | hdmi-int-pn7 { |
| 285 | nvidia,pins = "hdmi_int_pn7"; |
| 286 | nvidia,function = "hdmi"; |
| 287 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 288 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 289 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 290 | }; |
| 291 | |
| 292 | /* Colibri I2C */ |
| 293 | gen1-i2c-scl-pc4 { |
| 294 | nvidia,pins = "gen1_i2c_scl_pc4", |
| 295 | "gen1_i2c_sda_pc5"; |
| 296 | nvidia,function = "i2c1"; |
| 297 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 298 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 299 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 300 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 301 | }; |
| 302 | |
| 303 | /* Colibri LCD (L_* resp. LDD<*>) */ |
| 304 | lcd-d0-pe0 { |
| 305 | nvidia,pins = "lcd_d0_pe0", |
| 306 | "lcd_d1_pe1", |
| 307 | "lcd_d2_pe2", |
| 308 | "lcd_d3_pe3", |
| 309 | "lcd_d4_pe4", |
| 310 | "lcd_d5_pe5", |
| 311 | "lcd_d6_pe6", |
| 312 | "lcd_d7_pe7", |
| 313 | "lcd_d8_pf0", |
| 314 | "lcd_d9_pf1", |
| 315 | "lcd_d10_pf2", |
| 316 | "lcd_d11_pf3", |
| 317 | "lcd_d12_pf4", |
| 318 | "lcd_d13_pf5", |
| 319 | "lcd_d14_pf6", |
| 320 | "lcd_d15_pf7", |
| 321 | "lcd_d16_pm0", |
| 322 | "lcd_d17_pm1", |
| 323 | "lcd_de_pj1", |
| 324 | "lcd_hsync_pj3", |
| 325 | "lcd_pclk_pb3", |
| 326 | "lcd_vsync_pj4"; |
| 327 | nvidia,function = "displaya"; |
| 328 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 329 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 330 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 331 | }; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 332 | /* |
| 333 | * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 334 | * today's display need DE, disable LCD_M1 |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 335 | */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 336 | lcd-m1-pw1 { |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 337 | nvidia,pins = "lcd_m1_pw1"; |
| 338 | nvidia,function = "rsvd3"; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 339 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 340 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 341 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 342 | }; |
| 343 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 344 | /* Colibri MMC */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 345 | kb-row10-ps2 { |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 346 | nvidia,pins = "kb_row10_ps2"; |
| 347 | nvidia,function = "sdmmc2"; |
| 348 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 349 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 350 | }; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 351 | kb-row11-ps3 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 352 | nvidia,pins = "kb_row11_ps3", |
| 353 | "kb_row12_ps4", |
| 354 | "kb_row13_ps5", |
| 355 | "kb_row14_ps6", |
| 356 | "kb_row15_ps7"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 357 | nvidia,function = "sdmmc2"; |
| 358 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 359 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 360 | }; |
Marcel Ziswiler | dbd43f2 | 2018-09-01 10:12:25 +0200 | [diff] [blame^] | 361 | /* Colibri MMC_CD */ |
| 362 | gmi-wp-n-pc7 { |
| 363 | nvidia,pins = "gmi_wp_n_pc7"; |
| 364 | nvidia,function = "rsvd1"; |
| 365 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 366 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 367 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 368 | }; |
| 369 | /* Multiplexed and therefore disabled */ |
| 370 | cam-mclk-pcc0 { |
| 371 | nvidia,pins = "cam_mclk_pcc0"; |
| 372 | nvidia,function = "vi_alt3"; |
| 373 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 374 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 375 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 376 | }; |
| 377 | cam-i2c-scl-pbb1 { |
| 378 | nvidia,pins = "cam_i2c_scl_pbb1", |
| 379 | "cam_i2c_sda_pbb2"; |
| 380 | nvidia,function = "rsvd3"; |
| 381 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 382 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 383 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 384 | nvidia,open-drain = <TEGRA_PIN_DISABLE>; |
| 385 | }; |
| 386 | pbb0 { |
| 387 | nvidia,pins = "pbb0", |
| 388 | "pcc1"; |
| 389 | nvidia,function = "rsvd2"; |
| 390 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 391 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 392 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 393 | }; |
| 394 | pbb3 { |
| 395 | nvidia,pins = "pbb3"; |
| 396 | nvidia,function = "displayb"; |
| 397 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 398 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 399 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 400 | }; |
| 401 | |
| 402 | /* Colibri nRESET_OUT */ |
| 403 | gmi-rst-n-pi4 { |
| 404 | nvidia,pins = "gmi_rst_n_pi4"; |
| 405 | nvidia,function = "gmi"; |
| 406 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 407 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 408 | }; |
| 409 | |
| 410 | /* |
| 411 | * Colibri Parallel Camera (Optional) |
| 412 | * pins multiplexed with others and therefore disabled |
| 413 | */ |
| 414 | vi-vsync-pd6 { |
| 415 | nvidia,pins = "vi_d0_pt4", |
| 416 | "vi_d1_pd5", |
| 417 | "vi_d2_pl0", |
| 418 | "vi_d3_pl1", |
| 419 | "vi_d4_pl2", |
| 420 | "vi_d5_pl3", |
| 421 | "vi_d6_pl4", |
| 422 | "vi_d7_pl5", |
| 423 | "vi_d8_pl6", |
| 424 | "vi_d9_pl7", |
| 425 | "vi_d10_pt2", |
| 426 | "vi_d11_pt3", |
| 427 | "vi_hsync_pd7", |
| 428 | "vi_mclk_pt1", |
| 429 | "vi_pclk_pt0", |
| 430 | "vi_vsync_pd6"; |
| 431 | nvidia,function = "vi"; |
| 432 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 433 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 434 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 435 | }; |
| 436 | |
| 437 | /* Colibri PWM<B> */ |
| 438 | sdmmc3-dat2-pb5 { |
| 439 | nvidia,pins = "sdmmc3_dat2_pb5"; |
| 440 | nvidia,function = "pwm1"; |
| 441 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 442 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 443 | }; |
| 444 | |
| 445 | /* Colibri PWM<C> */ |
| 446 | sdmmc3-clk-pa6 { |
| 447 | nvidia,pins = "sdmmc3_clk_pa6"; |
| 448 | nvidia,function = "pwm2"; |
| 449 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 450 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 451 | }; |
| 452 | |
| 453 | /* Colibri PWM<D> */ |
| 454 | sdmmc3-cmd-pa7 { |
| 455 | nvidia,pins = "sdmmc3_cmd_pa7"; |
| 456 | nvidia,function = "pwm3"; |
| 457 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 458 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 459 | }; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 460 | |
| 461 | /* Colibri SSP */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 462 | ulpi-clk-py0 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 463 | nvidia,pins = "ulpi_clk_py0", |
| 464 | "ulpi_dir_py1", |
| 465 | "ulpi_nxt_py2", |
| 466 | "ulpi_stp_py3"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 467 | nvidia,function = "spi1"; |
| 468 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 469 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 470 | }; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 471 | /* Multiplexed SSPFRM, SSPTXD and therefore disabled */ |
| 472 | sdmmc3-dat6-pd3 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 473 | nvidia,pins = "sdmmc3_dat6_pd3", |
| 474 | "sdmmc3_dat7_pd4"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 475 | nvidia,function = "spdif"; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 476 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 477 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 478 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 479 | }; |
| 480 | |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 481 | /* Colibri UART-A */ |
| 482 | ulpi-data0 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 483 | nvidia,pins = "ulpi_data0_po1", |
| 484 | "ulpi_data1_po2", |
| 485 | "ulpi_data2_po3", |
| 486 | "ulpi_data3_po4", |
| 487 | "ulpi_data4_po5", |
| 488 | "ulpi_data5_po6", |
| 489 | "ulpi_data6_po7", |
| 490 | "ulpi_data7_po0"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 491 | nvidia,function = "uarta"; |
| 492 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 493 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 494 | }; |
| 495 | |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 496 | /* Colibri UART-B */ |
| 497 | gmi-a16-pj7 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 498 | nvidia,pins = "gmi_a16_pj7", |
| 499 | "gmi_a17_pb0", |
| 500 | "gmi_a18_pb1", |
| 501 | "gmi_a19_pk7"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 502 | nvidia,function = "uartd"; |
| 503 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 504 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 505 | }; |
| 506 | |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 507 | /* Colibri UART-C */ |
| 508 | uart2-rxd { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 509 | nvidia,pins = "uart2_rxd_pc3", |
| 510 | "uart2_txd_pc2"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 511 | nvidia,function = "uartb"; |
| 512 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 513 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 514 | }; |
| 515 | |
Marcel Ziswiler | dbd43f2 | 2018-09-01 10:12:25 +0200 | [diff] [blame^] | 516 | /* Colibri USBC_DET */ |
| 517 | spdif-out-pk5 { |
| 518 | nvidia,pins = "spdif_out_pk5"; |
| 519 | nvidia,function = "rsvd2"; |
| 520 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 521 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 522 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 523 | }; |
| 524 | |
| 525 | /* Colibri USBH_PEN */ |
| 526 | spi2-cs1-n-pw2 { |
| 527 | nvidia,pins = "spi2_cs1_n_pw2"; |
| 528 | nvidia,function = "spi2_alt"; |
| 529 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 530 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 531 | }; |
| 532 | |
| 533 | /* Colibri USBH_OC */ |
| 534 | spi2-cs2-n-pw3, { |
| 535 | nvidia,pins = "spi2_cs2_n_pw3"; |
| 536 | nvidia,function = "spi2_alt"; |
| 537 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 538 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 539 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 540 | }; |
| 541 | |
| 542 | /* Colibri VGA not supported and therefore disabled */ |
| 543 | crt-hsync-pv6 { |
| 544 | nvidia,pins = "crt_hsync_pv6", |
| 545 | "crt_vsync_pv7"; |
| 546 | nvidia,function = "rsvd2"; |
| 547 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 548 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 549 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 550 | }; |
| 551 | |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 552 | /* eMMC (On-module) */ |
| 553 | sdmmc4-clk-pcc4 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 554 | nvidia,pins = "sdmmc4_clk_pcc4", |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 555 | "sdmmc4_cmd_pt7", |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 556 | "sdmmc4_rst_n_pcc3"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 557 | nvidia,function = "sdmmc4"; |
| 558 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 559 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 560 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 561 | }; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 562 | sdmmc4-dat0-paa0 { |
Thierry Reding | d5edc4e | 2015-09-15 10:29:57 +0200 | [diff] [blame] | 563 | nvidia,pins = "sdmmc4_dat0_paa0", |
| 564 | "sdmmc4_dat1_paa1", |
| 565 | "sdmmc4_dat2_paa2", |
| 566 | "sdmmc4_dat3_paa3", |
| 567 | "sdmmc4_dat4_paa4", |
| 568 | "sdmmc4_dat5_paa5", |
| 569 | "sdmmc4_dat6_paa6", |
| 570 | "sdmmc4_dat7_paa7"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 571 | nvidia,function = "sdmmc4"; |
| 572 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 573 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 574 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 575 | }; |
Marcel Ziswiler | 62bcaba | 2015-08-28 17:59:38 +0200 | [diff] [blame] | 576 | |
Marcel Ziswiler | dbd43f2 | 2018-09-01 10:12:25 +0200 | [diff] [blame^] | 577 | /* LAN_EXT_WAKEUP#, LAN_PME (On-module) */ |
| 578 | pex-l0-rst-n-pdd1 { |
| 579 | nvidia,pins = "pex_l0_rst_n_pdd1", |
| 580 | "pex_wake_n_pdd3"; |
| 581 | nvidia,function = "rsvd3"; |
| 582 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 583 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 584 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 585 | }; |
| 586 | /* LAN_V_BUS, LAN_RESET# (On-module) */ |
| 587 | pex-l0-clkreq-n-pdd2 { |
| 588 | nvidia,pins = "pex_l0_clkreq_n_pdd2", |
| 589 | "pex_l0_prsnt_n_pdd0"; |
| 590 | nvidia,function = "rsvd3"; |
| 591 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 592 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 593 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 594 | }; |
| 595 | |
| 596 | /* nBATT_FAULT(SENSE), nVDD_FAULT(SENSE) */ |
| 597 | pex-l2-rst-n-pcc6 { |
| 598 | nvidia,pins = "pex_l2_rst_n_pcc6", |
| 599 | "pex_l2_prsnt_n_pdd7"; |
| 600 | nvidia,function = "rsvd3"; |
| 601 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 602 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 603 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 604 | }; |
| 605 | |
| 606 | /* Not connected and therefore disabled */ |
| 607 | clk1-req-pee2 { |
| 608 | nvidia,pins = "clk1_req_pee2", |
| 609 | "pex_l1_prsnt_n_pdd4"; |
| 610 | nvidia,function = "rsvd3"; |
| 611 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 612 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 613 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 614 | }; |
| 615 | clk2-req-pcc5 { |
| 616 | nvidia,pins = "clk2_req_pcc5", |
| 617 | "clk3_out_pee0", |
| 618 | "clk3_req_pee1", |
| 619 | "clk_32k_out_pa0", |
| 620 | "hdmi_cec_pee3", |
| 621 | "sys_clk_req_pz5"; |
| 622 | nvidia,function = "rsvd2"; |
| 623 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 624 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 625 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 626 | }; |
| 627 | gmi-dqs-pi2 { |
| 628 | nvidia,pins = "gmi_dqs_pi2", |
| 629 | "kb_col2_pq2", |
| 630 | "kb_col3_pq3", |
| 631 | "kb_col4_pq4", |
| 632 | "kb_col5_pq5", |
| 633 | "kb_row4_pr4"; |
| 634 | nvidia,function = "rsvd4"; |
| 635 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 636 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 637 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 638 | }; |
| 639 | kb-col0-pq0 { |
| 640 | nvidia,pins = "kb_col0_pq0", |
| 641 | "kb_col1_pq1", |
| 642 | "kb_col6_pq6", |
| 643 | "kb_col7_pq7", |
| 644 | "kb_row5_pr5", |
| 645 | "kb_row6_pr6", |
| 646 | "kb_row7_pr7", |
| 647 | "kb_row9_ps1"; |
| 648 | nvidia,function = "kbc"; |
| 649 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 650 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 651 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 652 | }; |
| 653 | kb-row0-pr0 { |
| 654 | nvidia,pins = "kb_row0_pr0", |
| 655 | "kb_row1_pr1", |
| 656 | "kb_row2_pr2", |
| 657 | "kb_row3_pr3"; |
| 658 | nvidia,function = "rsvd3"; |
| 659 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 660 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 661 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 662 | }; |
| 663 | lcd-pwr2-pc6 { |
| 664 | nvidia,pins = "lcd_pwr2_pc6"; |
| 665 | nvidia,function = "hdcp"; |
| 666 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 667 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 668 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 669 | }; |
| 670 | |
Marcel Ziswiler | e48f6c0e | 2015-08-28 17:59:39 +0200 | [diff] [blame] | 671 | /* Power I2C (On-module) */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 672 | pwr-i2c-scl-pz6 { |
Marcel Ziswiler | e48f6c0e | 2015-08-28 17:59:39 +0200 | [diff] [blame] | 673 | nvidia,pins = "pwr_i2c_scl_pz6", |
| 674 | "pwr_i2c_sda_pz7"; |
| 675 | nvidia,function = "i2cpwr"; |
| 676 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 677 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 678 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
Marcel Ziswiler | e48f6c0e | 2015-08-28 17:59:39 +0200 | [diff] [blame] | 679 | nvidia,open-drain = <TEGRA_PIN_ENABLE>; |
| 680 | }; |
| 681 | |
Marcel Ziswiler | 62bcaba | 2015-08-28 17:59:38 +0200 | [diff] [blame] | 682 | /* |
| 683 | * THERMD_ALERT#, unlatched I2C address pin of LM95245 |
| 684 | * temperature sensor therefore requires disabling for |
| 685 | * now |
| 686 | */ |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 687 | lcd-dc1-pd2 { |
Marcel Ziswiler | 62bcaba | 2015-08-28 17:59:38 +0200 | [diff] [blame] | 688 | nvidia,pins = "lcd_dc1_pd2"; |
| 689 | nvidia,function = "rsvd3"; |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 690 | nvidia,pull = <TEGRA_PIN_PULL_DOWN>; |
| 691 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 692 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
Marcel Ziswiler | 62bcaba | 2015-08-28 17:59:38 +0200 | [diff] [blame] | 693 | }; |
Marcel Ziswiler | 6456e9c | 2015-08-28 17:59:41 +0200 | [diff] [blame] | 694 | |
Marcel Ziswiler | 28e82cf | 2018-09-01 10:12:24 +0200 | [diff] [blame] | 695 | /* TOUCH_PEN_INT# (On-module) */ |
Marcel Ziswiler | 6456e9c | 2015-08-28 17:59:41 +0200 | [diff] [blame] | 696 | pv0 { |
| 697 | nvidia,pins = "pv0"; |
| 698 | nvidia,function = "rsvd1"; |
| 699 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 700 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 701 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 702 | }; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 703 | }; |
| 704 | }; |
| 705 | |
Marcel Ziswiler | 4dc3bf2 | 2018-09-01 10:12:19 +0200 | [diff] [blame] | 706 | serial@70006040 { |
| 707 | compatible = "nvidia,tegra30-hsuart"; |
| 708 | }; |
| 709 | |
| 710 | serial@70006300 { |
| 711 | compatible = "nvidia,tegra30-hsuart"; |
| 712 | }; |
| 713 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 714 | hdmiddc: i2c@7000c700 { |
Marcel Ziswiler | 1c3389e | 2018-02-10 02:36:36 +0100 | [diff] [blame] | 715 | clock-frequency = <10000>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 716 | }; |
| 717 | |
| 718 | /* |
| 719 | * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and |
| 720 | * touch screen controller |
| 721 | */ |
| 722 | i2c@7000d000 { |
| 723 | status = "okay"; |
| 724 | clock-frequency = <100000>; |
| 725 | |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 726 | /* SGTL5000 audio codec */ |
| 727 | sgtl5000: codec@a { |
| 728 | compatible = "fsl,sgtl5000"; |
| 729 | reg = <0x0a>; |
Marcel Ziswiler | a03fb63 | 2018-09-01 10:12:18 +0200 | [diff] [blame] | 730 | VDDA-supply = <®_module_3v3_audio>; |
| 731 | VDDD-supply = <®_1v8_vio>; |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 732 | VDDIO-supply = <®_module_3v3>; |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 733 | clocks = <&tegra_car TEGRA30_CLK_EXTERN1>; |
| 734 | }; |
| 735 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 736 | pmic: tps65911@2d { |
| 737 | compatible = "ti,tps65911"; |
| 738 | reg = <0x2d>; |
| 739 | |
| 740 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 741 | #interrupt-cells = <2>; |
| 742 | interrupt-controller; |
| 743 | |
| 744 | ti,system-power-controller; |
| 745 | |
| 746 | #gpio-cells = <2>; |
| 747 | gpio-controller; |
| 748 | |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 749 | vcc1-supply = <®_module_3v3>; |
| 750 | vcc2-supply = <®_module_3v3>; |
| 751 | vcc3-supply = <®_1v8_vio>; |
| 752 | vcc4-supply = <®_module_3v3>; |
| 753 | vcc5-supply = <®_module_3v3>; |
| 754 | vcc6-supply = <®_1v8_vio>; |
| 755 | vcc7-supply = <®_5v0_charge_pump>; |
| 756 | vccio-supply = <®_module_3v3>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 757 | |
| 758 | regulators { |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 759 | vdd1_reg: vdd1 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 760 | regulator-name = "+V1.35_VDDIO_DDR"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 761 | regulator-min-microvolt = <1350000>; |
| 762 | regulator-max-microvolt = <1350000>; |
| 763 | regulator-always-on; |
| 764 | }; |
| 765 | |
| 766 | /* SW2: unused */ |
| 767 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 768 | vddctrl_reg: vddctrl { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 769 | regulator-name = "+V1.0_VDD_CPU"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 770 | regulator-min-microvolt = <1150000>; |
| 771 | regulator-max-microvolt = <1150000>; |
| 772 | regulator-always-on; |
| 773 | }; |
| 774 | |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 775 | reg_1v8_vio: vio { |
| 776 | regulator-name = "+V1.8"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 777 | regulator-min-microvolt = <1800000>; |
| 778 | regulator-max-microvolt = <1800000>; |
| 779 | regulator-always-on; |
| 780 | }; |
| 781 | |
| 782 | /* LDO1: unused */ |
| 783 | |
| 784 | /* |
| 785 | * EN_+V3.3 switching via FET: |
| 786 | * +V3.3_AUDIO_AVDD_S, +V3.3 and +V1.8_VDD_LAN |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 787 | * see also +V3.3 fixed supply |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 788 | */ |
| 789 | ldo2_reg: ldo2 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 790 | regulator-name = "EN_+V3.3"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 791 | regulator-min-microvolt = <3300000>; |
| 792 | regulator-max-microvolt = <3300000>; |
| 793 | regulator-always-on; |
| 794 | }; |
| 795 | |
| 796 | /* LDO3: unused */ |
| 797 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 798 | ldo4_reg: ldo4 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 799 | regulator-name = "+V1.2_VDD_RTC"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 800 | regulator-min-microvolt = <1200000>; |
| 801 | regulator-max-microvolt = <1200000>; |
| 802 | regulator-always-on; |
| 803 | }; |
| 804 | |
| 805 | /* |
| 806 | * +V2.8_AVDD_VDAC: |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 807 | * only required for (unsupported) analog RGB |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 808 | */ |
| 809 | ldo5_reg: ldo5 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 810 | regulator-name = "+V2.8_AVDD_VDAC"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 811 | regulator-min-microvolt = <2800000>; |
| 812 | regulator-max-microvolt = <2800000>; |
| 813 | regulator-always-on; |
| 814 | }; |
| 815 | |
| 816 | /* |
| 817 | * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V |
| 818 | * but LDO6 can't set voltage in 50mV |
| 819 | * granularity |
| 820 | */ |
| 821 | ldo6_reg: ldo6 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 822 | regulator-name = "+V1.05_AVDD_PLLE"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 823 | regulator-min-microvolt = <1100000>; |
| 824 | regulator-max-microvolt = <1100000>; |
| 825 | }; |
| 826 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 827 | ldo7_reg: ldo7 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 828 | regulator-name = "+V1.2_AVDD_PLL"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 829 | regulator-min-microvolt = <1200000>; |
| 830 | regulator-max-microvolt = <1200000>; |
| 831 | regulator-always-on; |
| 832 | }; |
| 833 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 834 | ldo8_reg: ldo8 { |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 835 | regulator-name = "+V1.0_VDD_DDR_HS"; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 836 | regulator-min-microvolt = <1000000>; |
| 837 | regulator-max-microvolt = <1000000>; |
| 838 | regulator-always-on; |
| 839 | }; |
| 840 | }; |
| 841 | }; |
| 842 | |
Marcel Ziswiler | 737a7c2 | 2015-08-28 17:59:42 +0200 | [diff] [blame] | 843 | /* STMPE811 touch screen controller */ |
| 844 | stmpe811@41 { |
| 845 | compatible = "st,stmpe811"; |
Marcel Ziswiler | 737a7c2 | 2015-08-28 17:59:42 +0200 | [diff] [blame] | 846 | reg = <0x41>; |
| 847 | interrupts = <TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>; |
| 848 | interrupt-parent = <&gpio>; |
| 849 | interrupt-controller; |
| 850 | id = <0>; |
| 851 | blocks = <0x5>; |
| 852 | irq-trigger = <0x1>; |
| 853 | |
| 854 | stmpe_touchscreen { |
| 855 | compatible = "st,stmpe-ts"; |
Marcel Ziswiler | 737a7c2 | 2015-08-28 17:59:42 +0200 | [diff] [blame] | 856 | /* 3.25 MHz ADC clock speed */ |
| 857 | st,adc-freq = <1>; |
| 858 | /* 8 sample average control */ |
| 859 | st,ave-ctrl = <3>; |
| 860 | /* 7 length fractional part in z */ |
| 861 | st,fraction-z = <7>; |
| 862 | /* |
| 863 | * 50 mA typical 80 mA max touchscreen drivers |
| 864 | * current limit value |
| 865 | */ |
| 866 | st,i-drive = <1>; |
| 867 | /* 12-bit ADC */ |
| 868 | st,mod-12b = <1>; |
| 869 | /* internal ADC reference */ |
| 870 | st,ref-sel = <0>; |
| 871 | /* ADC converstion time: 80 clocks */ |
| 872 | st,sample-time = <4>; |
| 873 | /* 1 ms panel driver settling time */ |
| 874 | st,settling = <3>; |
| 875 | /* 5 ms touch detect interrupt delay */ |
| 876 | st,touch-det-delay = <5>; |
| 877 | }; |
| 878 | }; |
| 879 | |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 880 | /* |
| 881 | * LM95245 temperature sensor |
| 882 | * Note: OVERT_N directly connected to PMIC PWRDN |
| 883 | */ |
| 884 | temp-sensor@4c { |
| 885 | compatible = "national,lm95245"; |
| 886 | reg = <0x4c>; |
| 887 | }; |
| 888 | |
| 889 | /* SW: +V1.2_VDD_CORE */ |
| 890 | tps62362@60 { |
| 891 | compatible = "ti,tps62362"; |
| 892 | reg = <0x60>; |
| 893 | |
| 894 | regulator-name = "tps62362-vout"; |
| 895 | regulator-min-microvolt = <900000>; |
| 896 | regulator-max-microvolt = <1400000>; |
| 897 | regulator-boot-on; |
| 898 | regulator-always-on; |
| 899 | ti,vsel0-state-low; |
| 900 | /* VSEL1: EN_CORE_DVFS_N low for DVFS */ |
| 901 | ti,vsel1-state-low; |
| 902 | }; |
| 903 | }; |
| 904 | |
| 905 | pmc@7000e400 { |
| 906 | nvidia,invert-interrupt; |
| 907 | nvidia,suspend-mode = <1>; |
| 908 | nvidia,cpu-pwr-good-time = <5000>; |
| 909 | nvidia,cpu-pwr-off-time = <5000>; |
| 910 | nvidia,core-pwr-good-time = <3845 3845>; |
| 911 | nvidia,core-pwr-off-time = <0>; |
| 912 | nvidia,core-power-req-active-high; |
| 913 | nvidia,sys-clock-req-active-high; |
| 914 | }; |
| 915 | |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 916 | ahub@70080000 { |
| 917 | i2s@70080500 { |
| 918 | status = "okay"; |
| 919 | }; |
| 920 | }; |
| 921 | |
Marcel Ziswiler | 3791d1c | 2015-08-28 17:59:43 +0200 | [diff] [blame] | 922 | /* eMMC */ |
| 923 | sdhci@78000600 { |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 924 | status = "okay"; |
| 925 | bus-width = <8>; |
| 926 | non-removable; |
| 927 | }; |
| 928 | |
| 929 | /* EHCI instance 1: USB2_DP/N -> AX88772B */ |
| 930 | usb@7d004000 { |
| 931 | status = "okay"; |
Marcel Ziswiler | a5db2da | 2018-09-01 10:12:15 +0200 | [diff] [blame] | 932 | #address-cells = <1>; |
| 933 | #size-cells = <0>; |
| 934 | |
| 935 | asix@1 { |
| 936 | reg = <1>; |
| 937 | local-mac-address = [00 00 00 00 00 00]; |
| 938 | }; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 939 | }; |
| 940 | |
| 941 | usb-phy@7d004000 { |
| 942 | status = "okay"; |
| 943 | nvidia,is-wired = <1>; |
Marcel Ziswiler | a03fb63 | 2018-09-01 10:12:18 +0200 | [diff] [blame] | 944 | vbus-supply = <®_lan_v_bus>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 945 | }; |
| 946 | |
| 947 | clocks { |
| 948 | compatible = "simple-bus"; |
| 949 | #address-cells = <1>; |
| 950 | #size-cells = <0>; |
| 951 | |
| 952 | clk32k_in: clk@0 { |
| 953 | compatible = "fixed-clock"; |
Thierry Reding | 4ec2e60 | 2016-06-10 18:55:24 +0200 | [diff] [blame] | 954 | reg = <0>; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 955 | #clock-cells = <0>; |
| 956 | clock-frequency = <32768>; |
| 957 | }; |
| 958 | }; |
| 959 | |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 960 | reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll { |
| 961 | compatible = "regulator-fixed"; |
| 962 | regulator-name = "+V1.8_AVDD_HDMI_PLL"; |
| 963 | regulator-min-microvolt = <1800000>; |
| 964 | regulator-max-microvolt = <1800000>; |
| 965 | enable-active-high; |
| 966 | gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; |
| 967 | vin-supply = <®_1v8_vio>; |
| 968 | }; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 969 | |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 970 | reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi { |
| 971 | compatible = "regulator-fixed"; |
| 972 | regulator-name = "+V3.3_AVDD_HDMI"; |
| 973 | regulator-min-microvolt = <3300000>; |
| 974 | regulator-max-microvolt = <3300000>; |
| 975 | enable-active-high; |
| 976 | gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; |
| 977 | vin-supply = <®_module_3v3>; |
| 978 | }; |
Marcel Ziswiler | 312d373 | 2015-08-28 17:59:37 +0200 | [diff] [blame] | 979 | |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 980 | reg_5v0_charge_pump: regulator-5v0-charge-pump { |
| 981 | compatible = "regulator-fixed"; |
| 982 | regulator-name = "+V5.0"; |
| 983 | regulator-min-microvolt = <5000000>; |
| 984 | regulator-max-microvolt = <5000000>; |
| 985 | regulator-always-on; |
| 986 | }; |
Marcel Ziswiler | caa9eac | 2014-08-22 13:25:10 -0600 | [diff] [blame] | 987 | |
Marcel Ziswiler | a03fb63 | 2018-09-01 10:12:18 +0200 | [diff] [blame] | 988 | reg_lan_v_bus: regulator-lan-v-bus { |
| 989 | compatible = "regulator-fixed"; |
| 990 | regulator-name = "LAN_V_BUS"; |
| 991 | regulator-min-microvolt = <5000000>; |
| 992 | regulator-max-microvolt = <5000000>; |
| 993 | enable-active-high; |
| 994 | gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>; |
| 995 | }; |
| 996 | |
Marcel Ziswiler | 584a9e5 | 2018-09-01 10:12:17 +0200 | [diff] [blame] | 997 | reg_module_3v3: regulator-module-3v3 { |
| 998 | compatible = "regulator-fixed"; |
| 999 | regulator-name = "+V3.3"; |
| 1000 | regulator-min-microvolt = <3300000>; |
| 1001 | regulator-max-microvolt = <3300000>; |
| 1002 | regulator-always-on; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 1003 | }; |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 1004 | |
Marcel Ziswiler | a03fb63 | 2018-09-01 10:12:18 +0200 | [diff] [blame] | 1005 | reg_module_3v3_audio: regulator-module-3v3-audio { |
| 1006 | compatible = "regulator-fixed"; |
| 1007 | regulator-name = "+V3.3_AUDIO_AVDD_S"; |
| 1008 | regulator-min-microvolt = <3300000>; |
| 1009 | regulator-max-microvolt = <3300000>; |
| 1010 | regulator-always-on; |
| 1011 | }; |
| 1012 | |
Marcel Ziswiler | 8948e74 | 2016-06-19 03:00:01 +0200 | [diff] [blame] | 1013 | sound { |
| 1014 | compatible = "toradex,tegra-audio-sgtl5000-colibri_t30", |
| 1015 | "nvidia,tegra-audio-sgtl5000"; |
| 1016 | nvidia,model = "Toradex Colibri T30"; |
| 1017 | nvidia,audio-routing = |
| 1018 | "Headphone Jack", "HP_OUT", |
| 1019 | "LINE_IN", "Line In Jack", |
| 1020 | "MIC_IN", "Mic Jack"; |
| 1021 | nvidia,i2s-controller = <&tegra_i2s2>; |
| 1022 | nvidia,audio-codec = <&sgtl5000>; |
| 1023 | clocks = <&tegra_car TEGRA30_CLK_PLL_A>, |
| 1024 | <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, |
| 1025 | <&tegra_car TEGRA30_CLK_EXTERN1>; |
| 1026 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
| 1027 | }; |
Stefan Agner | 446e9c6 | 2014-05-14 23:45:58 +0200 | [diff] [blame] | 1028 | }; |