1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot#include "tegra30.dtsi" 3*f126890aSEmmanuel Vadot 4*f126890aSEmmanuel Vadot/* 5*f126890aSEmmanuel Vadot * Toradex Apalis T30 Module Device Tree 6*f126890aSEmmanuel Vadot * Compatible for Revisions 1GB: V1.0A; 2GB: V1.0B, V1.0C, V1.0E 7*f126890aSEmmanuel Vadot */ 8*f126890aSEmmanuel Vadot/ { 9*f126890aSEmmanuel Vadot memory@80000000 { 10*f126890aSEmmanuel Vadot reg = <0x80000000 0x40000000>; 11*f126890aSEmmanuel Vadot }; 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot pcie@3000 { 14*f126890aSEmmanuel Vadot status = "okay"; 15*f126890aSEmmanuel Vadot avdd-pexa-supply = <&vdd2_reg>; 16*f126890aSEmmanuel Vadot avdd-pexb-supply = <&vdd2_reg>; 17*f126890aSEmmanuel Vadot avdd-pex-pll-supply = <&vdd2_reg>; 18*f126890aSEmmanuel Vadot avdd-plle-supply = <&ldo6_reg>; 19*f126890aSEmmanuel Vadot hvdd-pex-supply = <®_module_3v3>; 20*f126890aSEmmanuel Vadot vddio-pex-ctl-supply = <®_module_3v3>; 21*f126890aSEmmanuel Vadot vdd-pexa-supply = <&vdd2_reg>; 22*f126890aSEmmanuel Vadot vdd-pexb-supply = <&vdd2_reg>; 23*f126890aSEmmanuel Vadot 24*f126890aSEmmanuel Vadot /* Apalis type specific */ 25*f126890aSEmmanuel Vadot pci@1,0 { 26*f126890aSEmmanuel Vadot nvidia,num-lanes = <4>; 27*f126890aSEmmanuel Vadot }; 28*f126890aSEmmanuel Vadot 29*f126890aSEmmanuel Vadot /* Apalis PCIe */ 30*f126890aSEmmanuel Vadot pci@2,0 { 31*f126890aSEmmanuel Vadot nvidia,num-lanes = <1>; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot /* I210/I211 Gigabit Ethernet Controller (on-module) */ 35*f126890aSEmmanuel Vadot pci@3,0 { 36*f126890aSEmmanuel Vadot status = "okay"; 37*f126890aSEmmanuel Vadot nvidia,num-lanes = <1>; 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel Vadot ethernet@0,0 { 40*f126890aSEmmanuel Vadot reg = <0 0 0 0 0>; 41*f126890aSEmmanuel Vadot local-mac-address = [00 00 00 00 00 00]; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot }; 44*f126890aSEmmanuel Vadot }; 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel Vadot host1x@50000000 { 47*f126890aSEmmanuel Vadot hdmi@54280000 { 48*f126890aSEmmanuel Vadot nvidia,ddc-i2c-bus = <&hdmi_ddc>; 49*f126890aSEmmanuel Vadot nvidia,hpd-gpio = 50*f126890aSEmmanuel Vadot <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 51*f126890aSEmmanuel Vadot pll-supply = <®_1v8_avdd_hdmi_pll>; 52*f126890aSEmmanuel Vadot vdd-supply = <®_3v3_avdd_hdmi>; 53*f126890aSEmmanuel Vadot }; 54*f126890aSEmmanuel Vadot }; 55*f126890aSEmmanuel Vadot 56*f126890aSEmmanuel Vadot pinmux@70000868 { 57*f126890aSEmmanuel Vadot pinctrl-names = "default"; 58*f126890aSEmmanuel Vadot pinctrl-0 = <&state_default>; 59*f126890aSEmmanuel Vadot 60*f126890aSEmmanuel Vadot state_default: pinmux { 61*f126890aSEmmanuel Vadot /* Analogue Audio (On-module) */ 62*f126890aSEmmanuel Vadot clk1-out-pw4 { 63*f126890aSEmmanuel Vadot nvidia,pins = "clk1_out_pw4"; 64*f126890aSEmmanuel Vadot nvidia,function = "extperiph1"; 65*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 66*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 67*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 68*f126890aSEmmanuel Vadot }; 69*f126890aSEmmanuel Vadot dap3-fs-pp0 { 70*f126890aSEmmanuel Vadot nvidia,pins = "dap3_fs_pp0", 71*f126890aSEmmanuel Vadot "dap3_sclk_pp3", 72*f126890aSEmmanuel Vadot "dap3_din_pp1", 73*f126890aSEmmanuel Vadot "dap3_dout_pp2"; 74*f126890aSEmmanuel Vadot nvidia,function = "i2s2"; 75*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 76*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 77*f126890aSEmmanuel Vadot }; 78*f126890aSEmmanuel Vadot 79*f126890aSEmmanuel Vadot /* Apalis BKL1_ON */ 80*f126890aSEmmanuel Vadot pv2 { 81*f126890aSEmmanuel Vadot nvidia,pins = "pv2"; 82*f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 83*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 84*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 85*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel Vadot /* Apalis BKL1_PWM */ 89*f126890aSEmmanuel Vadot uart3-rts-n-pc0 { 90*f126890aSEmmanuel Vadot nvidia,pins = "uart3_rts_n_pc0"; 91*f126890aSEmmanuel Vadot nvidia,function = "pwm0"; 92*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 93*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 94*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 95*f126890aSEmmanuel Vadot }; 96*f126890aSEmmanuel Vadot /* BKL1_PWM_EN#, disable TPS65911 PMIC PWM backlight */ 97*f126890aSEmmanuel Vadot uart3-cts-n-pa1 { 98*f126890aSEmmanuel Vadot nvidia,pins = "uart3_cts_n_pa1"; 99*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 100*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 101*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 102*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot /* Apalis CAN1 on SPI6 */ 106*f126890aSEmmanuel Vadot spi2-cs0-n-px3 { 107*f126890aSEmmanuel Vadot nvidia,pins = "spi2_cs0_n_px3", 108*f126890aSEmmanuel Vadot "spi2_miso_px1", 109*f126890aSEmmanuel Vadot "spi2_mosi_px0", 110*f126890aSEmmanuel Vadot "spi2_sck_px2"; 111*f126890aSEmmanuel Vadot nvidia,function = "spi6"; 112*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 113*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 114*f126890aSEmmanuel Vadot }; 115*f126890aSEmmanuel Vadot /* CAN_INT1 */ 116*f126890aSEmmanuel Vadot spi2-cs1-n-pw2 { 117*f126890aSEmmanuel Vadot nvidia,pins = "spi2_cs1_n_pw2"; 118*f126890aSEmmanuel Vadot nvidia,function = "spi3"; 119*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 120*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 121*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot /* Apalis CAN2 on SPI4 */ 125*f126890aSEmmanuel Vadot gmi-a16-pj7 { 126*f126890aSEmmanuel Vadot nvidia,pins = "gmi_a16_pj7", 127*f126890aSEmmanuel Vadot "gmi_a17_pb0", 128*f126890aSEmmanuel Vadot "gmi_a18_pb1", 129*f126890aSEmmanuel Vadot "gmi_a19_pk7"; 130*f126890aSEmmanuel Vadot nvidia,function = "spi4"; 131*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 132*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 133*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 134*f126890aSEmmanuel Vadot }; 135*f126890aSEmmanuel Vadot /* CAN_INT2 */ 136*f126890aSEmmanuel Vadot spi2-cs2-n-pw3 { 137*f126890aSEmmanuel Vadot nvidia,pins = "spi2_cs2_n_pw3"; 138*f126890aSEmmanuel Vadot nvidia,function = "spi3"; 139*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 140*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 141*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 142*f126890aSEmmanuel Vadot }; 143*f126890aSEmmanuel Vadot 144*f126890aSEmmanuel Vadot /* Apalis Digital Audio */ 145*f126890aSEmmanuel Vadot clk1-req-pee2 { 146*f126890aSEmmanuel Vadot nvidia,pins = "clk1_req_pee2"; 147*f126890aSEmmanuel Vadot nvidia,function = "hda"; 148*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 149*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 150*f126890aSEmmanuel Vadot }; 151*f126890aSEmmanuel Vadot clk2-out-pw5 { 152*f126890aSEmmanuel Vadot nvidia,pins = "clk2_out_pw5"; 153*f126890aSEmmanuel Vadot nvidia,function = "extperiph2"; 154*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 155*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 156*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 157*f126890aSEmmanuel Vadot }; 158*f126890aSEmmanuel Vadot dap1-fs-pn0 { 159*f126890aSEmmanuel Vadot nvidia,pins = "dap1_fs_pn0", 160*f126890aSEmmanuel Vadot "dap1_din_pn1", 161*f126890aSEmmanuel Vadot "dap1_dout_pn2", 162*f126890aSEmmanuel Vadot "dap1_sclk_pn3"; 163*f126890aSEmmanuel Vadot nvidia,function = "hda"; 164*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 165*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 166*f126890aSEmmanuel Vadot }; 167*f126890aSEmmanuel Vadot 168*f126890aSEmmanuel Vadot /* Apalis GPIO */ 169*f126890aSEmmanuel Vadot kb-col0-pq0 { 170*f126890aSEmmanuel Vadot nvidia,pins = "kb_col0_pq0", 171*f126890aSEmmanuel Vadot "kb_col1_pq1", 172*f126890aSEmmanuel Vadot "kb_row10_ps2", 173*f126890aSEmmanuel Vadot "kb_row11_ps3", 174*f126890aSEmmanuel Vadot "kb_row12_ps4", 175*f126890aSEmmanuel Vadot "kb_row13_ps5", 176*f126890aSEmmanuel Vadot "kb_row14_ps6", 177*f126890aSEmmanuel Vadot "kb_row15_ps7"; 178*f126890aSEmmanuel Vadot nvidia,function = "kbc"; 179*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 180*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 181*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 182*f126890aSEmmanuel Vadot }; 183*f126890aSEmmanuel Vadot /* Multiplexed and therefore disabled */ 184*f126890aSEmmanuel Vadot owr { 185*f126890aSEmmanuel Vadot nvidia,pins = "owr"; 186*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 187*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 188*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 189*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 190*f126890aSEmmanuel Vadot }; 191*f126890aSEmmanuel Vadot 192*f126890aSEmmanuel Vadot /* Apalis HDMI1 */ 193*f126890aSEmmanuel Vadot hdmi-cec-pee3 { 194*f126890aSEmmanuel Vadot nvidia,pins = "hdmi_cec_pee3"; 195*f126890aSEmmanuel Vadot nvidia,function = "cec"; 196*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 197*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 198*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 199*f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_DISABLE>; 200*f126890aSEmmanuel Vadot }; 201*f126890aSEmmanuel Vadot hdmi-int-pn7 { 202*f126890aSEmmanuel Vadot nvidia,pins = "hdmi_int_pn7"; 203*f126890aSEmmanuel Vadot nvidia,function = "hdmi"; 204*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 205*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 206*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 207*f126890aSEmmanuel Vadot }; 208*f126890aSEmmanuel Vadot 209*f126890aSEmmanuel Vadot /* Apalis I2C1 */ 210*f126890aSEmmanuel Vadot gen1-i2c-scl-pc4 { 211*f126890aSEmmanuel Vadot nvidia,pins = "gen1_i2c_scl_pc4", 212*f126890aSEmmanuel Vadot "gen1_i2c_sda_pc5"; 213*f126890aSEmmanuel Vadot nvidia,function = "i2c1"; 214*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 215*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 216*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 217*f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 218*f126890aSEmmanuel Vadot }; 219*f126890aSEmmanuel Vadot 220*f126890aSEmmanuel Vadot /* Apalis I2C2 (DDC) */ 221*f126890aSEmmanuel Vadot ddc-scl-pv4 { 222*f126890aSEmmanuel Vadot nvidia,pins = "ddc_scl_pv4", 223*f126890aSEmmanuel Vadot "ddc_sda_pv5"; 224*f126890aSEmmanuel Vadot nvidia,function = "i2c4"; 225*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 226*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 227*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 228*f126890aSEmmanuel Vadot }; 229*f126890aSEmmanuel Vadot 230*f126890aSEmmanuel Vadot /* Apalis I2C3 (CAM) */ 231*f126890aSEmmanuel Vadot cam-i2c-scl-pbb1 { 232*f126890aSEmmanuel Vadot nvidia,pins = "cam_i2c_scl_pbb1", 233*f126890aSEmmanuel Vadot "cam_i2c_sda_pbb2"; 234*f126890aSEmmanuel Vadot nvidia,function = "i2c3"; 235*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 236*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 237*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 238*f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 239*f126890aSEmmanuel Vadot }; 240*f126890aSEmmanuel Vadot 241*f126890aSEmmanuel Vadot /* Apalis LCD1 */ 242*f126890aSEmmanuel Vadot lcd-d0-pe0 { 243*f126890aSEmmanuel Vadot nvidia,pins = "lcd_d0_pe0", 244*f126890aSEmmanuel Vadot "lcd_d1_pe1", 245*f126890aSEmmanuel Vadot "lcd_d2_pe2", 246*f126890aSEmmanuel Vadot "lcd_d3_pe3", 247*f126890aSEmmanuel Vadot "lcd_d4_pe4", 248*f126890aSEmmanuel Vadot "lcd_d5_pe5", 249*f126890aSEmmanuel Vadot "lcd_d6_pe6", 250*f126890aSEmmanuel Vadot "lcd_d7_pe7", 251*f126890aSEmmanuel Vadot "lcd_d8_pf0", 252*f126890aSEmmanuel Vadot "lcd_d9_pf1", 253*f126890aSEmmanuel Vadot "lcd_d10_pf2", 254*f126890aSEmmanuel Vadot "lcd_d11_pf3", 255*f126890aSEmmanuel Vadot "lcd_d12_pf4", 256*f126890aSEmmanuel Vadot "lcd_d13_pf5", 257*f126890aSEmmanuel Vadot "lcd_d14_pf6", 258*f126890aSEmmanuel Vadot "lcd_d15_pf7", 259*f126890aSEmmanuel Vadot "lcd_d16_pm0", 260*f126890aSEmmanuel Vadot "lcd_d17_pm1", 261*f126890aSEmmanuel Vadot "lcd_d18_pm2", 262*f126890aSEmmanuel Vadot "lcd_d19_pm3", 263*f126890aSEmmanuel Vadot "lcd_d20_pm4", 264*f126890aSEmmanuel Vadot "lcd_d21_pm5", 265*f126890aSEmmanuel Vadot "lcd_d22_pm6", 266*f126890aSEmmanuel Vadot "lcd_d23_pm7", 267*f126890aSEmmanuel Vadot "lcd_de_pj1", 268*f126890aSEmmanuel Vadot "lcd_hsync_pj3", 269*f126890aSEmmanuel Vadot "lcd_pclk_pb3", 270*f126890aSEmmanuel Vadot "lcd_vsync_pj4"; 271*f126890aSEmmanuel Vadot nvidia,function = "displaya"; 272*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 273*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 274*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 275*f126890aSEmmanuel Vadot }; 276*f126890aSEmmanuel Vadot 277*f126890aSEmmanuel Vadot /* Apalis MMC1 */ 278*f126890aSEmmanuel Vadot sdmmc3-clk-pa6 { 279*f126890aSEmmanuel Vadot nvidia,pins = "sdmmc3_clk_pa6"; 280*f126890aSEmmanuel Vadot nvidia,function = "sdmmc3"; 281*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 282*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 283*f126890aSEmmanuel Vadot }; 284*f126890aSEmmanuel Vadot sdmmc3-dat0-pb7 { 285*f126890aSEmmanuel Vadot nvidia,pins = "sdmmc3_cmd_pa7", 286*f126890aSEmmanuel Vadot "sdmmc3_dat0_pb7", 287*f126890aSEmmanuel Vadot "sdmmc3_dat1_pb6", 288*f126890aSEmmanuel Vadot "sdmmc3_dat2_pb5", 289*f126890aSEmmanuel Vadot "sdmmc3_dat3_pb4", 290*f126890aSEmmanuel Vadot "sdmmc3_dat4_pd1", 291*f126890aSEmmanuel Vadot "sdmmc3_dat5_pd0", 292*f126890aSEmmanuel Vadot "sdmmc3_dat6_pd3", 293*f126890aSEmmanuel Vadot "sdmmc3_dat7_pd4"; 294*f126890aSEmmanuel Vadot nvidia,function = "sdmmc3"; 295*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 296*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 297*f126890aSEmmanuel Vadot }; 298*f126890aSEmmanuel Vadot /* Apalis MMC1_CD# */ 299*f126890aSEmmanuel Vadot pv3 { 300*f126890aSEmmanuel Vadot nvidia,pins = "pv3"; 301*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 302*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 303*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 304*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 305*f126890aSEmmanuel Vadot }; 306*f126890aSEmmanuel Vadot 307*f126890aSEmmanuel Vadot /* Apalis Parallel Camera */ 308*f126890aSEmmanuel Vadot cam-mclk-pcc0 { 309*f126890aSEmmanuel Vadot nvidia,pins = "cam_mclk_pcc0"; 310*f126890aSEmmanuel Vadot nvidia,function = "vi_alt3"; 311*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 312*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 313*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 314*f126890aSEmmanuel Vadot }; 315*f126890aSEmmanuel Vadot vi-vsync-pd6 { 316*f126890aSEmmanuel Vadot nvidia,pins = "vi_d0_pt4", 317*f126890aSEmmanuel Vadot "vi_d1_pd5", 318*f126890aSEmmanuel Vadot "vi_d2_pl0", 319*f126890aSEmmanuel Vadot "vi_d3_pl1", 320*f126890aSEmmanuel Vadot "vi_d4_pl2", 321*f126890aSEmmanuel Vadot "vi_d5_pl3", 322*f126890aSEmmanuel Vadot "vi_d6_pl4", 323*f126890aSEmmanuel Vadot "vi_d7_pl5", 324*f126890aSEmmanuel Vadot "vi_d8_pl6", 325*f126890aSEmmanuel Vadot "vi_d9_pl7", 326*f126890aSEmmanuel Vadot "vi_d10_pt2", 327*f126890aSEmmanuel Vadot "vi_d11_pt3", 328*f126890aSEmmanuel Vadot "vi_hsync_pd7", 329*f126890aSEmmanuel Vadot "vi_pclk_pt0", 330*f126890aSEmmanuel Vadot "vi_vsync_pd6"; 331*f126890aSEmmanuel Vadot nvidia,function = "vi"; 332*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 333*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 334*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 335*f126890aSEmmanuel Vadot }; 336*f126890aSEmmanuel Vadot /* Multiplexed and therefore disabled */ 337*f126890aSEmmanuel Vadot kb-col2-pq2 { 338*f126890aSEmmanuel Vadot nvidia,pins = "kb_col2_pq2", 339*f126890aSEmmanuel Vadot "kb_col3_pq3", 340*f126890aSEmmanuel Vadot "kb_col4_pq4", 341*f126890aSEmmanuel Vadot "kb_row4_pr4"; 342*f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 343*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 344*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 345*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 346*f126890aSEmmanuel Vadot }; 347*f126890aSEmmanuel Vadot kb-row0-pr0 { 348*f126890aSEmmanuel Vadot nvidia,pins = "kb_row0_pr0", 349*f126890aSEmmanuel Vadot "kb_row1_pr1", 350*f126890aSEmmanuel Vadot "kb_row2_pr2", 351*f126890aSEmmanuel Vadot "kb_row3_pr3"; 352*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 353*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 354*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 355*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 356*f126890aSEmmanuel Vadot }; 357*f126890aSEmmanuel Vadot kb-row5-pr5 { 358*f126890aSEmmanuel Vadot nvidia,pins = "kb_row5_pr5", 359*f126890aSEmmanuel Vadot "kb_row6_pr6", 360*f126890aSEmmanuel Vadot "kb_row7_pr7"; 361*f126890aSEmmanuel Vadot nvidia,function = "kbc"; 362*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 363*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 364*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 365*f126890aSEmmanuel Vadot }; 366*f126890aSEmmanuel Vadot /* 367*f126890aSEmmanuel Vadot * VI level-shifter direction 368*f126890aSEmmanuel Vadot * (pull-down => default direction input) 369*f126890aSEmmanuel Vadot */ 370*f126890aSEmmanuel Vadot vi-mclk-pt1 { 371*f126890aSEmmanuel Vadot nvidia,pins = "vi_mclk_pt1"; 372*f126890aSEmmanuel Vadot nvidia,function = "vi_alt3"; 373*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 374*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 375*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 376*f126890aSEmmanuel Vadot }; 377*f126890aSEmmanuel Vadot 378*f126890aSEmmanuel Vadot /* Apalis PWM1 */ 379*f126890aSEmmanuel Vadot pu6 { 380*f126890aSEmmanuel Vadot nvidia,pins = "pu6"; 381*f126890aSEmmanuel Vadot nvidia,function = "pwm3"; 382*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 383*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 384*f126890aSEmmanuel Vadot }; 385*f126890aSEmmanuel Vadot 386*f126890aSEmmanuel Vadot /* Apalis PWM2 */ 387*f126890aSEmmanuel Vadot pu5 { 388*f126890aSEmmanuel Vadot nvidia,pins = "pu5"; 389*f126890aSEmmanuel Vadot nvidia,function = "pwm2"; 390*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 391*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 392*f126890aSEmmanuel Vadot }; 393*f126890aSEmmanuel Vadot 394*f126890aSEmmanuel Vadot /* Apalis PWM3 */ 395*f126890aSEmmanuel Vadot pu4 { 396*f126890aSEmmanuel Vadot nvidia,pins = "pu4"; 397*f126890aSEmmanuel Vadot nvidia,function = "pwm1"; 398*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 399*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 400*f126890aSEmmanuel Vadot }; 401*f126890aSEmmanuel Vadot 402*f126890aSEmmanuel Vadot /* Apalis PWM4 */ 403*f126890aSEmmanuel Vadot pu3 { 404*f126890aSEmmanuel Vadot nvidia,pins = "pu3"; 405*f126890aSEmmanuel Vadot nvidia,function = "pwm0"; 406*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 407*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 408*f126890aSEmmanuel Vadot }; 409*f126890aSEmmanuel Vadot 410*f126890aSEmmanuel Vadot /* Apalis RESET_MOCI# */ 411*f126890aSEmmanuel Vadot gmi-rst-n-pi4 { 412*f126890aSEmmanuel Vadot nvidia,pins = "gmi_rst_n_pi4"; 413*f126890aSEmmanuel Vadot nvidia,function = "gmi"; 414*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 415*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 416*f126890aSEmmanuel Vadot }; 417*f126890aSEmmanuel Vadot 418*f126890aSEmmanuel Vadot /* Apalis SATA1_ACT# */ 419*f126890aSEmmanuel Vadot pex-l0-prsnt-n-pdd0 { 420*f126890aSEmmanuel Vadot nvidia,pins = "pex_l0_prsnt_n_pdd0"; 421*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 422*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 423*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 424*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 425*f126890aSEmmanuel Vadot }; 426*f126890aSEmmanuel Vadot 427*f126890aSEmmanuel Vadot /* Apalis SD1 */ 428*f126890aSEmmanuel Vadot sdmmc1-clk-pz0 { 429*f126890aSEmmanuel Vadot nvidia,pins = "sdmmc1_clk_pz0"; 430*f126890aSEmmanuel Vadot nvidia,function = "sdmmc1"; 431*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 432*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 433*f126890aSEmmanuel Vadot }; 434*f126890aSEmmanuel Vadot sdmmc1-cmd-pz1 { 435*f126890aSEmmanuel Vadot nvidia,pins = "sdmmc1_cmd_pz1", 436*f126890aSEmmanuel Vadot "sdmmc1_dat0_py7", 437*f126890aSEmmanuel Vadot "sdmmc1_dat1_py6", 438*f126890aSEmmanuel Vadot "sdmmc1_dat2_py5", 439*f126890aSEmmanuel Vadot "sdmmc1_dat3_py4"; 440*f126890aSEmmanuel Vadot nvidia,function = "sdmmc1"; 441*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 442*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 443*f126890aSEmmanuel Vadot }; 444*f126890aSEmmanuel Vadot /* Apalis SD1_CD# */ 445*f126890aSEmmanuel Vadot clk2-req-pcc5 { 446*f126890aSEmmanuel Vadot nvidia,pins = "clk2_req_pcc5"; 447*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 448*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 449*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 450*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 451*f126890aSEmmanuel Vadot }; 452*f126890aSEmmanuel Vadot 453*f126890aSEmmanuel Vadot /* Apalis SPDIF1 */ 454*f126890aSEmmanuel Vadot spdif-out-pk5 { 455*f126890aSEmmanuel Vadot nvidia,pins = "spdif_out_pk5", 456*f126890aSEmmanuel Vadot "spdif_in_pk6"; 457*f126890aSEmmanuel Vadot nvidia,function = "spdif"; 458*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 459*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 460*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 461*f126890aSEmmanuel Vadot }; 462*f126890aSEmmanuel Vadot 463*f126890aSEmmanuel Vadot /* Apalis SPI1 */ 464*f126890aSEmmanuel Vadot spi1-sck-px5 { 465*f126890aSEmmanuel Vadot nvidia,pins = "spi1_sck_px5", 466*f126890aSEmmanuel Vadot "spi1_mosi_px4", 467*f126890aSEmmanuel Vadot "spi1_miso_px7", 468*f126890aSEmmanuel Vadot "spi1_cs0_n_px6"; 469*f126890aSEmmanuel Vadot nvidia,function = "spi1"; 470*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 471*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 472*f126890aSEmmanuel Vadot }; 473*f126890aSEmmanuel Vadot 474*f126890aSEmmanuel Vadot /* Apalis SPI2 */ 475*f126890aSEmmanuel Vadot lcd-sck-pz4 { 476*f126890aSEmmanuel Vadot nvidia,pins = "lcd_sck_pz4", 477*f126890aSEmmanuel Vadot "lcd_sdout_pn5", 478*f126890aSEmmanuel Vadot "lcd_sdin_pz2", 479*f126890aSEmmanuel Vadot "lcd_cs0_n_pn4"; 480*f126890aSEmmanuel Vadot nvidia,function = "spi5"; 481*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 482*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 483*f126890aSEmmanuel Vadot }; 484*f126890aSEmmanuel Vadot 485*f126890aSEmmanuel Vadot /* 486*f126890aSEmmanuel Vadot * Apalis TS (Low-speed type specific) 487*f126890aSEmmanuel Vadot * pins may be used as GPIOs 488*f126890aSEmmanuel Vadot */ 489*f126890aSEmmanuel Vadot kb-col5-pq5 { 490*f126890aSEmmanuel Vadot nvidia,pins = "kb_col5_pq5"; 491*f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 492*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 493*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 494*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 495*f126890aSEmmanuel Vadot }; 496*f126890aSEmmanuel Vadot kb-col6-pq6 { 497*f126890aSEmmanuel Vadot nvidia,pins = "kb_col6_pq6", 498*f126890aSEmmanuel Vadot "kb_col7_pq7", 499*f126890aSEmmanuel Vadot "kb_row8_ps0", 500*f126890aSEmmanuel Vadot "kb_row9_ps1"; 501*f126890aSEmmanuel Vadot nvidia,function = "kbc"; 502*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 503*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 504*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 505*f126890aSEmmanuel Vadot }; 506*f126890aSEmmanuel Vadot 507*f126890aSEmmanuel Vadot /* Apalis UART1 */ 508*f126890aSEmmanuel Vadot ulpi-data0 { 509*f126890aSEmmanuel Vadot nvidia,pins = "ulpi_data0_po1", 510*f126890aSEmmanuel Vadot "ulpi_data1_po2", 511*f126890aSEmmanuel Vadot "ulpi_data2_po3", 512*f126890aSEmmanuel Vadot "ulpi_data3_po4", 513*f126890aSEmmanuel Vadot "ulpi_data4_po5", 514*f126890aSEmmanuel Vadot "ulpi_data5_po6", 515*f126890aSEmmanuel Vadot "ulpi_data6_po7", 516*f126890aSEmmanuel Vadot "ulpi_data7_po0"; 517*f126890aSEmmanuel Vadot nvidia,function = "uarta"; 518*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 519*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 520*f126890aSEmmanuel Vadot }; 521*f126890aSEmmanuel Vadot 522*f126890aSEmmanuel Vadot /* Apalis UART2 */ 523*f126890aSEmmanuel Vadot ulpi-clk-py0 { 524*f126890aSEmmanuel Vadot nvidia,pins = "ulpi_clk_py0", 525*f126890aSEmmanuel Vadot "ulpi_dir_py1", 526*f126890aSEmmanuel Vadot "ulpi_nxt_py2", 527*f126890aSEmmanuel Vadot "ulpi_stp_py3"; 528*f126890aSEmmanuel Vadot nvidia,function = "uartd"; 529*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 530*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 531*f126890aSEmmanuel Vadot }; 532*f126890aSEmmanuel Vadot 533*f126890aSEmmanuel Vadot /* Apalis UART3 */ 534*f126890aSEmmanuel Vadot uart2-rxd-pc3 { 535*f126890aSEmmanuel Vadot nvidia,pins = "uart2_rxd_pc3", 536*f126890aSEmmanuel Vadot "uart2_txd_pc2"; 537*f126890aSEmmanuel Vadot nvidia,function = "uartb"; 538*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 539*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 540*f126890aSEmmanuel Vadot }; 541*f126890aSEmmanuel Vadot 542*f126890aSEmmanuel Vadot /* Apalis UART4 */ 543*f126890aSEmmanuel Vadot uart3-rxd-pw7 { 544*f126890aSEmmanuel Vadot nvidia,pins = "uart3_rxd_pw7", 545*f126890aSEmmanuel Vadot "uart3_txd_pw6"; 546*f126890aSEmmanuel Vadot nvidia,function = "uartc"; 547*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 548*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 549*f126890aSEmmanuel Vadot }; 550*f126890aSEmmanuel Vadot 551*f126890aSEmmanuel Vadot /* Apalis USBH_EN */ 552*f126890aSEmmanuel Vadot pex-l0-rst-n-pdd1 { 553*f126890aSEmmanuel Vadot nvidia,pins = "pex_l0_rst_n_pdd1"; 554*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 555*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 556*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 557*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 558*f126890aSEmmanuel Vadot }; 559*f126890aSEmmanuel Vadot 560*f126890aSEmmanuel Vadot /* Apalis USBH_OC# */ 561*f126890aSEmmanuel Vadot pex-l0-clkreq-n-pdd2 { 562*f126890aSEmmanuel Vadot nvidia,pins = "pex_l0_clkreq_n_pdd2"; 563*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 564*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 565*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 566*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 567*f126890aSEmmanuel Vadot }; 568*f126890aSEmmanuel Vadot 569*f126890aSEmmanuel Vadot /* Apalis USBO1_EN */ 570*f126890aSEmmanuel Vadot gen2-i2c-scl-pt5 { 571*f126890aSEmmanuel Vadot nvidia,pins = "gen2_i2c_scl_pt5"; 572*f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 573*f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_DISABLE>; 574*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 575*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 576*f126890aSEmmanuel Vadot }; 577*f126890aSEmmanuel Vadot 578*f126890aSEmmanuel Vadot /* Apalis USBO1_OC# */ 579*f126890aSEmmanuel Vadot gen2-i2c-sda-pt6 { 580*f126890aSEmmanuel Vadot nvidia,pins = "gen2_i2c_sda_pt6"; 581*f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 582*f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_DISABLE>; 583*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 584*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 585*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 586*f126890aSEmmanuel Vadot }; 587*f126890aSEmmanuel Vadot 588*f126890aSEmmanuel Vadot /* Apalis VGA1 not supported and therefore disabled */ 589*f126890aSEmmanuel Vadot crt-hsync-pv6 { 590*f126890aSEmmanuel Vadot nvidia,pins = "crt_hsync_pv6", 591*f126890aSEmmanuel Vadot "crt_vsync_pv7"; 592*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 593*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 594*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 595*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 596*f126890aSEmmanuel Vadot }; 597*f126890aSEmmanuel Vadot 598*f126890aSEmmanuel Vadot /* Apalis WAKE1_MICO */ 599*f126890aSEmmanuel Vadot pv1 { 600*f126890aSEmmanuel Vadot nvidia,pins = "pv1"; 601*f126890aSEmmanuel Vadot nvidia,function = "rsvd1"; 602*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 603*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 604*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 605*f126890aSEmmanuel Vadot }; 606*f126890aSEmmanuel Vadot 607*f126890aSEmmanuel Vadot /* eMMC (On-module) */ 608*f126890aSEmmanuel Vadot sdmmc4-clk-pcc4 { 609*f126890aSEmmanuel Vadot nvidia,pins = "sdmmc4_clk_pcc4", 610*f126890aSEmmanuel Vadot "sdmmc4_cmd_pt7", 611*f126890aSEmmanuel Vadot "sdmmc4_rst_n_pcc3"; 612*f126890aSEmmanuel Vadot nvidia,function = "sdmmc4"; 613*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 614*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 615*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 616*f126890aSEmmanuel Vadot }; 617*f126890aSEmmanuel Vadot sdmmc4-dat0-paa0 { 618*f126890aSEmmanuel Vadot nvidia,pins = "sdmmc4_dat0_paa0", 619*f126890aSEmmanuel Vadot "sdmmc4_dat1_paa1", 620*f126890aSEmmanuel Vadot "sdmmc4_dat2_paa2", 621*f126890aSEmmanuel Vadot "sdmmc4_dat3_paa3", 622*f126890aSEmmanuel Vadot "sdmmc4_dat4_paa4", 623*f126890aSEmmanuel Vadot "sdmmc4_dat5_paa5", 624*f126890aSEmmanuel Vadot "sdmmc4_dat6_paa6", 625*f126890aSEmmanuel Vadot "sdmmc4_dat7_paa7"; 626*f126890aSEmmanuel Vadot nvidia,function = "sdmmc4"; 627*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 628*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 629*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 630*f126890aSEmmanuel Vadot }; 631*f126890aSEmmanuel Vadot 632*f126890aSEmmanuel Vadot /* LAN i210/i211 DEV_OFF_N, PE_RST_N (On-module) */ 633*f126890aSEmmanuel Vadot pex-l2-prsnt-n-pdd7 { 634*f126890aSEmmanuel Vadot nvidia,pins = "pex_l2_prsnt_n_pdd7", 635*f126890aSEmmanuel Vadot "pex_l2_rst_n_pcc6"; 636*f126890aSEmmanuel Vadot nvidia,function = "pcie"; 637*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 638*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 639*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 640*f126890aSEmmanuel Vadot }; 641*f126890aSEmmanuel Vadot /* LAN i210/i211 PE_WAKE_N, SDP3 (On-module) */ 642*f126890aSEmmanuel Vadot pex-wake-n-pdd3 { 643*f126890aSEmmanuel Vadot nvidia,pins = "pex_wake_n_pdd3", 644*f126890aSEmmanuel Vadot "pex_l2_clkreq_n_pcc7"; 645*f126890aSEmmanuel Vadot nvidia,function = "pcie"; 646*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 647*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 648*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 649*f126890aSEmmanuel Vadot }; 650*f126890aSEmmanuel Vadot /* LAN i210/i211 SMB_ALERT_N (On-module) */ 651*f126890aSEmmanuel Vadot sys-clk-req-pz5 { 652*f126890aSEmmanuel Vadot nvidia,pins = "sys_clk_req_pz5"; 653*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 654*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 655*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 656*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 657*f126890aSEmmanuel Vadot }; 658*f126890aSEmmanuel Vadot 659*f126890aSEmmanuel Vadot /* LVDS Transceiver Configuration */ 660*f126890aSEmmanuel Vadot pbb0 { 661*f126890aSEmmanuel Vadot nvidia,pins = "pbb0", 662*f126890aSEmmanuel Vadot "pbb7", 663*f126890aSEmmanuel Vadot "pcc1", 664*f126890aSEmmanuel Vadot "pcc2"; 665*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 666*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 667*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 668*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 669*f126890aSEmmanuel Vadot }; 670*f126890aSEmmanuel Vadot pbb3 { 671*f126890aSEmmanuel Vadot nvidia,pins = "pbb3", 672*f126890aSEmmanuel Vadot "pbb4", 673*f126890aSEmmanuel Vadot "pbb5", 674*f126890aSEmmanuel Vadot "pbb6"; 675*f126890aSEmmanuel Vadot nvidia,function = "displayb"; 676*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 677*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 678*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 679*f126890aSEmmanuel Vadot }; 680*f126890aSEmmanuel Vadot 681*f126890aSEmmanuel Vadot /* Not connected and therefore disabled */ 682*f126890aSEmmanuel Vadot clk-32k-out-pa0 { 683*f126890aSEmmanuel Vadot nvidia,pins = "clk3_out_pee0", 684*f126890aSEmmanuel Vadot "clk3_req_pee1", 685*f126890aSEmmanuel Vadot "clk_32k_out_pa0", 686*f126890aSEmmanuel Vadot "dap4_din_pp5", 687*f126890aSEmmanuel Vadot "dap4_dout_pp6", 688*f126890aSEmmanuel Vadot "dap4_fs_pp4", 689*f126890aSEmmanuel Vadot "dap4_sclk_pp7"; 690*f126890aSEmmanuel Vadot nvidia,function = "rsvd2"; 691*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 692*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 693*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 694*f126890aSEmmanuel Vadot }; 695*f126890aSEmmanuel Vadot dap2-fs-pa2 { 696*f126890aSEmmanuel Vadot nvidia,pins = "dap2_fs_pa2", 697*f126890aSEmmanuel Vadot "dap2_sclk_pa3", 698*f126890aSEmmanuel Vadot "dap2_din_pa4", 699*f126890aSEmmanuel Vadot "dap2_dout_pa5", 700*f126890aSEmmanuel Vadot "lcd_dc0_pn6", 701*f126890aSEmmanuel Vadot "lcd_m1_pw1", 702*f126890aSEmmanuel Vadot "lcd_pwr1_pc1", 703*f126890aSEmmanuel Vadot "pex_l1_clkreq_n_pdd6", 704*f126890aSEmmanuel Vadot "pex_l1_prsnt_n_pdd4", 705*f126890aSEmmanuel Vadot "pex_l1_rst_n_pdd5"; 706*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 707*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 708*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 709*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 710*f126890aSEmmanuel Vadot }; 711*f126890aSEmmanuel Vadot gmi-ad0-pg0 { 712*f126890aSEmmanuel Vadot nvidia,pins = "gmi_ad0_pg0", 713*f126890aSEmmanuel Vadot "gmi_ad2_pg2", 714*f126890aSEmmanuel Vadot "gmi_ad3_pg3", 715*f126890aSEmmanuel Vadot "gmi_ad4_pg4", 716*f126890aSEmmanuel Vadot "gmi_ad5_pg5", 717*f126890aSEmmanuel Vadot "gmi_ad6_pg6", 718*f126890aSEmmanuel Vadot "gmi_ad7_pg7", 719*f126890aSEmmanuel Vadot "gmi_ad8_ph0", 720*f126890aSEmmanuel Vadot "gmi_ad9_ph1", 721*f126890aSEmmanuel Vadot "gmi_ad10_ph2", 722*f126890aSEmmanuel Vadot "gmi_ad11_ph3", 723*f126890aSEmmanuel Vadot "gmi_ad12_ph4", 724*f126890aSEmmanuel Vadot "gmi_ad13_ph5", 725*f126890aSEmmanuel Vadot "gmi_ad14_ph6", 726*f126890aSEmmanuel Vadot "gmi_ad15_ph7", 727*f126890aSEmmanuel Vadot "gmi_adv_n_pk0", 728*f126890aSEmmanuel Vadot "gmi_clk_pk1", 729*f126890aSEmmanuel Vadot "gmi_cs4_n_pk2", 730*f126890aSEmmanuel Vadot "gmi_cs2_n_pk3", 731*f126890aSEmmanuel Vadot "gmi_dqs_pi2", 732*f126890aSEmmanuel Vadot "gmi_iordy_pi5", 733*f126890aSEmmanuel Vadot "gmi_oe_n_pi1", 734*f126890aSEmmanuel Vadot "gmi_wait_pi7", 735*f126890aSEmmanuel Vadot "gmi_wr_n_pi0", 736*f126890aSEmmanuel Vadot "lcd_cs1_n_pw0", 737*f126890aSEmmanuel Vadot "pu0", 738*f126890aSEmmanuel Vadot "pu1", 739*f126890aSEmmanuel Vadot "pu2"; 740*f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 741*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 742*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 743*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 744*f126890aSEmmanuel Vadot }; 745*f126890aSEmmanuel Vadot gmi-cs0-n-pj0 { 746*f126890aSEmmanuel Vadot nvidia,pins = "gmi_cs0_n_pj0", 747*f126890aSEmmanuel Vadot "gmi_cs1_n_pj2", 748*f126890aSEmmanuel Vadot "gmi_cs3_n_pk4"; 749*f126890aSEmmanuel Vadot nvidia,function = "rsvd1"; 750*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 751*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 752*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 753*f126890aSEmmanuel Vadot }; 754*f126890aSEmmanuel Vadot gmi-cs6-n-pi3 { 755*f126890aSEmmanuel Vadot nvidia,pins = "gmi_cs6_n_pi3"; 756*f126890aSEmmanuel Vadot nvidia,function = "sata"; 757*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 758*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 759*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 760*f126890aSEmmanuel Vadot }; 761*f126890aSEmmanuel Vadot gmi-cs7-n-pi6 { 762*f126890aSEmmanuel Vadot nvidia,pins = "gmi_cs7_n_pi6"; 763*f126890aSEmmanuel Vadot nvidia,function = "gmi_alt"; 764*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 765*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 766*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 767*f126890aSEmmanuel Vadot }; 768*f126890aSEmmanuel Vadot lcd-pwr0-pb2 { 769*f126890aSEmmanuel Vadot nvidia,pins = "lcd_pwr0_pb2", 770*f126890aSEmmanuel Vadot "lcd_pwr2_pc6", 771*f126890aSEmmanuel Vadot "lcd_wr_n_pz3"; 772*f126890aSEmmanuel Vadot nvidia,function = "hdcp"; 773*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 774*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 775*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 776*f126890aSEmmanuel Vadot }; 777*f126890aSEmmanuel Vadot uart2-cts-n-pj5 { 778*f126890aSEmmanuel Vadot nvidia,pins = "uart2_cts_n_pj5", 779*f126890aSEmmanuel Vadot "uart2_rts_n_pj6"; 780*f126890aSEmmanuel Vadot nvidia,function = "gmi"; 781*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 782*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 783*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 784*f126890aSEmmanuel Vadot }; 785*f126890aSEmmanuel Vadot 786*f126890aSEmmanuel Vadot /* Power I2C (On-module) */ 787*f126890aSEmmanuel Vadot pwr-i2c-scl-pz6 { 788*f126890aSEmmanuel Vadot nvidia,pins = "pwr_i2c_scl_pz6", 789*f126890aSEmmanuel Vadot "pwr_i2c_sda_pz7"; 790*f126890aSEmmanuel Vadot nvidia,function = "i2cpwr"; 791*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 792*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 793*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 794*f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 795*f126890aSEmmanuel Vadot }; 796*f126890aSEmmanuel Vadot 797*f126890aSEmmanuel Vadot /* 798*f126890aSEmmanuel Vadot * THERMD_ALERT#, unlatched I2C address pin of LM95245 799*f126890aSEmmanuel Vadot * temperature sensor therefore requires disabling for 800*f126890aSEmmanuel Vadot * now 801*f126890aSEmmanuel Vadot */ 802*f126890aSEmmanuel Vadot lcd-dc1-pd2 { 803*f126890aSEmmanuel Vadot nvidia,pins = "lcd_dc1_pd2"; 804*f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 805*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 806*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 807*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 808*f126890aSEmmanuel Vadot }; 809*f126890aSEmmanuel Vadot 810*f126890aSEmmanuel Vadot /* TOUCH_PEN_INT# (On-module) */ 811*f126890aSEmmanuel Vadot pv0 { 812*f126890aSEmmanuel Vadot nvidia,pins = "pv0"; 813*f126890aSEmmanuel Vadot nvidia,function = "rsvd1"; 814*f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 815*f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 816*f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 817*f126890aSEmmanuel Vadot }; 818*f126890aSEmmanuel Vadot }; 819*f126890aSEmmanuel Vadot }; 820*f126890aSEmmanuel Vadot 821*f126890aSEmmanuel Vadot serial@70006040 { 822*f126890aSEmmanuel Vadot compatible = "nvidia,tegra30-hsuart"; 823*f126890aSEmmanuel Vadot /delete-property/ reg-shift; 824*f126890aSEmmanuel Vadot }; 825*f126890aSEmmanuel Vadot 826*f126890aSEmmanuel Vadot serial@70006200 { 827*f126890aSEmmanuel Vadot compatible = "nvidia,tegra30-hsuart"; 828*f126890aSEmmanuel Vadot /delete-property/ reg-shift; 829*f126890aSEmmanuel Vadot }; 830*f126890aSEmmanuel Vadot 831*f126890aSEmmanuel Vadot serial@70006300 { 832*f126890aSEmmanuel Vadot compatible = "nvidia,tegra30-hsuart"; 833*f126890aSEmmanuel Vadot /delete-property/ reg-shift; 834*f126890aSEmmanuel Vadot }; 835*f126890aSEmmanuel Vadot 836*f126890aSEmmanuel Vadot hdmi_ddc: i2c@7000c700 { 837*f126890aSEmmanuel Vadot clock-frequency = <10000>; 838*f126890aSEmmanuel Vadot }; 839*f126890aSEmmanuel Vadot 840*f126890aSEmmanuel Vadot /* 841*f126890aSEmmanuel Vadot * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and 842*f126890aSEmmanuel Vadot * touch screen controller 843*f126890aSEmmanuel Vadot */ 844*f126890aSEmmanuel Vadot i2c@7000d000 { 845*f126890aSEmmanuel Vadot status = "okay"; 846*f126890aSEmmanuel Vadot clock-frequency = <100000>; 847*f126890aSEmmanuel Vadot 848*f126890aSEmmanuel Vadot /* SGTL5000 audio codec */ 849*f126890aSEmmanuel Vadot sgtl5000: codec@a { 850*f126890aSEmmanuel Vadot compatible = "fsl,sgtl5000"; 851*f126890aSEmmanuel Vadot reg = <0x0a>; 852*f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 853*f126890aSEmmanuel Vadot VDDA-supply = <®_module_3v3_audio>; 854*f126890aSEmmanuel Vadot VDDD-supply = <®_1v8_vio>; 855*f126890aSEmmanuel Vadot VDDIO-supply = <®_module_3v3>; 856*f126890aSEmmanuel Vadot clocks = <&tegra_car TEGRA30_CLK_EXTERN1>; 857*f126890aSEmmanuel Vadot }; 858*f126890aSEmmanuel Vadot 859*f126890aSEmmanuel Vadot pmic: pmic@2d { 860*f126890aSEmmanuel Vadot compatible = "ti,tps65911"; 861*f126890aSEmmanuel Vadot reg = <0x2d>; 862*f126890aSEmmanuel Vadot 863*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 864*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 865*f126890aSEmmanuel Vadot interrupt-controller; 866*f126890aSEmmanuel Vadot wakeup-source; 867*f126890aSEmmanuel Vadot 868*f126890aSEmmanuel Vadot ti,system-power-controller; 869*f126890aSEmmanuel Vadot 870*f126890aSEmmanuel Vadot #gpio-cells = <2>; 871*f126890aSEmmanuel Vadot gpio-controller; 872*f126890aSEmmanuel Vadot 873*f126890aSEmmanuel Vadot vcc1-supply = <®_module_3v3>; 874*f126890aSEmmanuel Vadot vcc2-supply = <®_module_3v3>; 875*f126890aSEmmanuel Vadot vcc3-supply = <®_1v8_vio>; 876*f126890aSEmmanuel Vadot vcc4-supply = <®_module_3v3>; 877*f126890aSEmmanuel Vadot vcc5-supply = <®_module_3v3>; 878*f126890aSEmmanuel Vadot vcc6-supply = <®_1v8_vio>; 879*f126890aSEmmanuel Vadot vcc7-supply = <®_5v0_charge_pump>; 880*f126890aSEmmanuel Vadot vccio-supply = <®_module_3v3>; 881*f126890aSEmmanuel Vadot 882*f126890aSEmmanuel Vadot regulators { 883*f126890aSEmmanuel Vadot vdd1_reg: vdd1 { 884*f126890aSEmmanuel Vadot regulator-name = "+V1.35_VDDIO_DDR"; 885*f126890aSEmmanuel Vadot regulator-min-microvolt = <1350000>; 886*f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 887*f126890aSEmmanuel Vadot regulator-always-on; 888*f126890aSEmmanuel Vadot }; 889*f126890aSEmmanuel Vadot 890*f126890aSEmmanuel Vadot vdd2_reg: vdd2 { 891*f126890aSEmmanuel Vadot regulator-name = "+V1.05"; 892*f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 893*f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 894*f126890aSEmmanuel Vadot }; 895*f126890aSEmmanuel Vadot 896*f126890aSEmmanuel Vadot vddctrl_reg: vddctrl { 897*f126890aSEmmanuel Vadot regulator-name = "+V1.0_VDD_CPU"; 898*f126890aSEmmanuel Vadot regulator-min-microvolt = <1150000>; 899*f126890aSEmmanuel Vadot regulator-max-microvolt = <1150000>; 900*f126890aSEmmanuel Vadot regulator-always-on; 901*f126890aSEmmanuel Vadot }; 902*f126890aSEmmanuel Vadot 903*f126890aSEmmanuel Vadot reg_1v8_vio: vio { 904*f126890aSEmmanuel Vadot regulator-name = "+V1.8"; 905*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 906*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 907*f126890aSEmmanuel Vadot regulator-always-on; 908*f126890aSEmmanuel Vadot }; 909*f126890aSEmmanuel Vadot 910*f126890aSEmmanuel Vadot /* LDO1: unused */ 911*f126890aSEmmanuel Vadot 912*f126890aSEmmanuel Vadot /* 913*f126890aSEmmanuel Vadot * EN_+V3.3 switching via FET: 914*f126890aSEmmanuel Vadot * +V3.3_AUDIO_AVDD_S, +V3.3 915*f126890aSEmmanuel Vadot * see also +V3.3 fixed supply 916*f126890aSEmmanuel Vadot */ 917*f126890aSEmmanuel Vadot ldo2_reg: ldo2 { 918*f126890aSEmmanuel Vadot regulator-name = "EN_+V3.3"; 919*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 920*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 921*f126890aSEmmanuel Vadot regulator-always-on; 922*f126890aSEmmanuel Vadot }; 923*f126890aSEmmanuel Vadot 924*f126890aSEmmanuel Vadot ldo3_reg: ldo3 { 925*f126890aSEmmanuel Vadot regulator-name = "+V1.2_CSI"; 926*f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 927*f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 928*f126890aSEmmanuel Vadot }; 929*f126890aSEmmanuel Vadot 930*f126890aSEmmanuel Vadot ldo4_reg: ldo4 { 931*f126890aSEmmanuel Vadot regulator-name = "+V1.2_VDD_RTC"; 932*f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 933*f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 934*f126890aSEmmanuel Vadot regulator-always-on; 935*f126890aSEmmanuel Vadot }; 936*f126890aSEmmanuel Vadot 937*f126890aSEmmanuel Vadot /* 938*f126890aSEmmanuel Vadot * +V2.8_AVDD_VDAC: 939*f126890aSEmmanuel Vadot * only required for (unsupported) analog RGB 940*f126890aSEmmanuel Vadot */ 941*f126890aSEmmanuel Vadot ldo5_reg: ldo5 { 942*f126890aSEmmanuel Vadot regulator-name = "+V2.8_AVDD_VDAC"; 943*f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 944*f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 945*f126890aSEmmanuel Vadot regulator-always-on; 946*f126890aSEmmanuel Vadot }; 947*f126890aSEmmanuel Vadot 948*f126890aSEmmanuel Vadot /* 949*f126890aSEmmanuel Vadot * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V 950*f126890aSEmmanuel Vadot * but LDO6 can't set voltage in 50mV 951*f126890aSEmmanuel Vadot * granularity 952*f126890aSEmmanuel Vadot */ 953*f126890aSEmmanuel Vadot ldo6_reg: ldo6 { 954*f126890aSEmmanuel Vadot regulator-name = "+V1.05_AVDD_PLLE"; 955*f126890aSEmmanuel Vadot regulator-min-microvolt = <1100000>; 956*f126890aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 957*f126890aSEmmanuel Vadot }; 958*f126890aSEmmanuel Vadot 959*f126890aSEmmanuel Vadot ldo7_reg: ldo7 { 960*f126890aSEmmanuel Vadot regulator-name = "+V1.2_AVDD_PLL"; 961*f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 962*f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 963*f126890aSEmmanuel Vadot regulator-always-on; 964*f126890aSEmmanuel Vadot }; 965*f126890aSEmmanuel Vadot 966*f126890aSEmmanuel Vadot ldo8_reg: ldo8 { 967*f126890aSEmmanuel Vadot regulator-name = "+V1.0_VDD_DDR_HS"; 968*f126890aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 969*f126890aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 970*f126890aSEmmanuel Vadot regulator-always-on; 971*f126890aSEmmanuel Vadot }; 972*f126890aSEmmanuel Vadot }; 973*f126890aSEmmanuel Vadot }; 974*f126890aSEmmanuel Vadot 975*f126890aSEmmanuel Vadot /* STMPE811 touch screen controller */ 976*f126890aSEmmanuel Vadot touchscreen@41 { 977*f126890aSEmmanuel Vadot compatible = "st,stmpe811"; 978*f126890aSEmmanuel Vadot reg = <0x41>; 979*f126890aSEmmanuel Vadot irq-gpio = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>; 980*f126890aSEmmanuel Vadot interrupt-controller; 981*f126890aSEmmanuel Vadot id = <0>; 982*f126890aSEmmanuel Vadot blocks = <0x5>; 983*f126890aSEmmanuel Vadot irq-trigger = <0x1>; 984*f126890aSEmmanuel Vadot /* 3.25 MHz ADC clock speed */ 985*f126890aSEmmanuel Vadot st,adc-freq = <1>; 986*f126890aSEmmanuel Vadot /* 12-bit ADC */ 987*f126890aSEmmanuel Vadot st,mod-12b = <1>; 988*f126890aSEmmanuel Vadot /* internal ADC reference */ 989*f126890aSEmmanuel Vadot st,ref-sel = <0>; 990*f126890aSEmmanuel Vadot /* ADC converstion time: 80 clocks */ 991*f126890aSEmmanuel Vadot st,sample-time = <4>; 992*f126890aSEmmanuel Vadot 993*f126890aSEmmanuel Vadot stmpe_adc { 994*f126890aSEmmanuel Vadot compatible = "st,stmpe-adc"; 995*f126890aSEmmanuel Vadot /* forbid to use ADC channels 3-0 (touch) */ 996*f126890aSEmmanuel Vadot st,norequest-mask = <0x0F>; 997*f126890aSEmmanuel Vadot }; 998*f126890aSEmmanuel Vadot 999*f126890aSEmmanuel Vadot stmpe_touchscreen { 1000*f126890aSEmmanuel Vadot compatible = "st,stmpe-ts"; 1001*f126890aSEmmanuel Vadot /* 8 sample average control */ 1002*f126890aSEmmanuel Vadot st,ave-ctrl = <3>; 1003*f126890aSEmmanuel Vadot /* 7 length fractional part in z */ 1004*f126890aSEmmanuel Vadot st,fraction-z = <7>; 1005*f126890aSEmmanuel Vadot /* 1006*f126890aSEmmanuel Vadot * 50 mA typical 80 mA max touchscreen drivers 1007*f126890aSEmmanuel Vadot * current limit value 1008*f126890aSEmmanuel Vadot */ 1009*f126890aSEmmanuel Vadot st,i-drive = <1>; 1010*f126890aSEmmanuel Vadot /* 1 ms panel driver settling time */ 1011*f126890aSEmmanuel Vadot st,settling = <3>; 1012*f126890aSEmmanuel Vadot /* 5 ms touch detect interrupt delay */ 1013*f126890aSEmmanuel Vadot st,touch-det-delay = <5>; 1014*f126890aSEmmanuel Vadot }; 1015*f126890aSEmmanuel Vadot }; 1016*f126890aSEmmanuel Vadot 1017*f126890aSEmmanuel Vadot /* 1018*f126890aSEmmanuel Vadot * LM95245 temperature sensor 1019*f126890aSEmmanuel Vadot * Note: OVERT1# directly connected to TPS65911 PMIC PWRDN 1020*f126890aSEmmanuel Vadot */ 1021*f126890aSEmmanuel Vadot temp-sensor@4c { 1022*f126890aSEmmanuel Vadot compatible = "national,lm95245"; 1023*f126890aSEmmanuel Vadot reg = <0x4c>; 1024*f126890aSEmmanuel Vadot }; 1025*f126890aSEmmanuel Vadot 1026*f126890aSEmmanuel Vadot /* SW: +V1.2_VDD_CORE */ 1027*f126890aSEmmanuel Vadot regulator@60 { 1028*f126890aSEmmanuel Vadot compatible = "ti,tps62362"; 1029*f126890aSEmmanuel Vadot reg = <0x60>; 1030*f126890aSEmmanuel Vadot 1031*f126890aSEmmanuel Vadot regulator-name = "tps62362-vout"; 1032*f126890aSEmmanuel Vadot regulator-min-microvolt = <900000>; 1033*f126890aSEmmanuel Vadot regulator-max-microvolt = <1400000>; 1034*f126890aSEmmanuel Vadot regulator-boot-on; 1035*f126890aSEmmanuel Vadot regulator-always-on; 1036*f126890aSEmmanuel Vadot }; 1037*f126890aSEmmanuel Vadot }; 1038*f126890aSEmmanuel Vadot 1039*f126890aSEmmanuel Vadot /* SPI4: CAN2 */ 1040*f126890aSEmmanuel Vadot spi@7000da00 { 1041*f126890aSEmmanuel Vadot status = "okay"; 1042*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 1043*f126890aSEmmanuel Vadot 1044*f126890aSEmmanuel Vadot can@1 { 1045*f126890aSEmmanuel Vadot compatible = "microchip,mcp2515"; 1046*f126890aSEmmanuel Vadot reg = <1>; 1047*f126890aSEmmanuel Vadot clocks = <&clk16m>; 1048*f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 1049*f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>; 1050*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 1051*f126890aSEmmanuel Vadot }; 1052*f126890aSEmmanuel Vadot }; 1053*f126890aSEmmanuel Vadot 1054*f126890aSEmmanuel Vadot /* SPI6: CAN1 */ 1055*f126890aSEmmanuel Vadot spi@7000de00 { 1056*f126890aSEmmanuel Vadot status = "okay"; 1057*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 1058*f126890aSEmmanuel Vadot 1059*f126890aSEmmanuel Vadot can@0 { 1060*f126890aSEmmanuel Vadot compatible = "microchip,mcp2515"; 1061*f126890aSEmmanuel Vadot reg = <0>; 1062*f126890aSEmmanuel Vadot clocks = <&clk16m>; 1063*f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 1064*f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_FALLING>; 1065*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 1066*f126890aSEmmanuel Vadot }; 1067*f126890aSEmmanuel Vadot }; 1068*f126890aSEmmanuel Vadot 1069*f126890aSEmmanuel Vadot pmc@7000e400 { 1070*f126890aSEmmanuel Vadot nvidia,invert-interrupt; 1071*f126890aSEmmanuel Vadot nvidia,suspend-mode = <1>; 1072*f126890aSEmmanuel Vadot nvidia,cpu-pwr-good-time = <5000>; 1073*f126890aSEmmanuel Vadot nvidia,cpu-pwr-off-time = <5000>; 1074*f126890aSEmmanuel Vadot nvidia,core-pwr-good-time = <3845 3845>; 1075*f126890aSEmmanuel Vadot nvidia,core-pwr-off-time = <0>; 1076*f126890aSEmmanuel Vadot nvidia,core-power-req-active-high; 1077*f126890aSEmmanuel Vadot nvidia,sys-clock-req-active-high; 1078*f126890aSEmmanuel Vadot 1079*f126890aSEmmanuel Vadot /* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */ 1080*f126890aSEmmanuel Vadot i2c-thermtrip { 1081*f126890aSEmmanuel Vadot nvidia,i2c-controller-id = <4>; 1082*f126890aSEmmanuel Vadot nvidia,bus-addr = <0x2d>; 1083*f126890aSEmmanuel Vadot nvidia,reg-addr = <0x3f>; 1084*f126890aSEmmanuel Vadot nvidia,reg-data = <0x1>; 1085*f126890aSEmmanuel Vadot }; 1086*f126890aSEmmanuel Vadot }; 1087*f126890aSEmmanuel Vadot 1088*f126890aSEmmanuel Vadot hda@70030000 { 1089*f126890aSEmmanuel Vadot status = "okay"; 1090*f126890aSEmmanuel Vadot }; 1091*f126890aSEmmanuel Vadot 1092*f126890aSEmmanuel Vadot ahub@70080000 { 1093*f126890aSEmmanuel Vadot i2s@70080500 { 1094*f126890aSEmmanuel Vadot status = "okay"; 1095*f126890aSEmmanuel Vadot }; 1096*f126890aSEmmanuel Vadot }; 1097*f126890aSEmmanuel Vadot 1098*f126890aSEmmanuel Vadot /* eMMC */ 1099*f126890aSEmmanuel Vadot mmc@78000600 { 1100*f126890aSEmmanuel Vadot status = "okay"; 1101*f126890aSEmmanuel Vadot bus-width = <8>; 1102*f126890aSEmmanuel Vadot non-removable; 1103*f126890aSEmmanuel Vadot vmmc-supply = <®_module_3v3>; /* VCC */ 1104*f126890aSEmmanuel Vadot vqmmc-supply = <®_1v8_vio>; /* VCCQ */ 1105*f126890aSEmmanuel Vadot mmc-ddr-1_8v; 1106*f126890aSEmmanuel Vadot }; 1107*f126890aSEmmanuel Vadot 1108*f126890aSEmmanuel Vadot clk16m: clock-osc4 { 1109*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 1110*f126890aSEmmanuel Vadot #clock-cells = <0>; 1111*f126890aSEmmanuel Vadot clock-frequency = <16000000>; 1112*f126890aSEmmanuel Vadot }; 1113*f126890aSEmmanuel Vadot 1114*f126890aSEmmanuel Vadot clk32k_in: clock-xtal1 { 1115*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 1116*f126890aSEmmanuel Vadot #clock-cells = <0>; 1117*f126890aSEmmanuel Vadot clock-frequency = <32768>; 1118*f126890aSEmmanuel Vadot }; 1119*f126890aSEmmanuel Vadot 1120*f126890aSEmmanuel Vadot reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll { 1121*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1122*f126890aSEmmanuel Vadot regulator-name = "+V1.8_AVDD_HDMI_PLL"; 1123*f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 1124*f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 1125*f126890aSEmmanuel Vadot enable-active-high; 1126*f126890aSEmmanuel Vadot gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 1127*f126890aSEmmanuel Vadot vin-supply = <®_1v8_vio>; 1128*f126890aSEmmanuel Vadot }; 1129*f126890aSEmmanuel Vadot 1130*f126890aSEmmanuel Vadot reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi { 1131*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1132*f126890aSEmmanuel Vadot regulator-name = "+V3.3_AVDD_HDMI"; 1133*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1134*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1135*f126890aSEmmanuel Vadot enable-active-high; 1136*f126890aSEmmanuel Vadot gpio = <&pmic 6 GPIO_ACTIVE_HIGH>; 1137*f126890aSEmmanuel Vadot vin-supply = <®_module_3v3>; 1138*f126890aSEmmanuel Vadot }; 1139*f126890aSEmmanuel Vadot 1140*f126890aSEmmanuel Vadot reg_5v0_charge_pump: regulator-5v0-charge-pump { 1141*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1142*f126890aSEmmanuel Vadot regulator-name = "+V5.0"; 1143*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1144*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1145*f126890aSEmmanuel Vadot regulator-always-on; 1146*f126890aSEmmanuel Vadot }; 1147*f126890aSEmmanuel Vadot 1148*f126890aSEmmanuel Vadot reg_module_3v3: regulator-module-3v3 { 1149*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1150*f126890aSEmmanuel Vadot regulator-name = "+V3.3"; 1151*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1152*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1153*f126890aSEmmanuel Vadot regulator-always-on; 1154*f126890aSEmmanuel Vadot }; 1155*f126890aSEmmanuel Vadot 1156*f126890aSEmmanuel Vadot reg_module_3v3_audio: regulator-module-3v3-audio { 1157*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1158*f126890aSEmmanuel Vadot regulator-name = "+V3.3_AUDIO_AVDD_S"; 1159*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1160*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1161*f126890aSEmmanuel Vadot regulator-always-on; 1162*f126890aSEmmanuel Vadot }; 1163*f126890aSEmmanuel Vadot 1164*f126890aSEmmanuel Vadot sound { 1165*f126890aSEmmanuel Vadot compatible = "toradex,tegra-audio-sgtl5000-apalis_t30", 1166*f126890aSEmmanuel Vadot "nvidia,tegra-audio-sgtl5000"; 1167*f126890aSEmmanuel Vadot nvidia,model = "Toradex Apalis T30"; 1168*f126890aSEmmanuel Vadot nvidia,audio-routing = 1169*f126890aSEmmanuel Vadot "Headphone Jack", "HP_OUT", 1170*f126890aSEmmanuel Vadot "LINE_IN", "Line In Jack", 1171*f126890aSEmmanuel Vadot "MIC_IN", "Mic Jack"; 1172*f126890aSEmmanuel Vadot nvidia,i2s-controller = <&tegra_i2s2>; 1173*f126890aSEmmanuel Vadot nvidia,audio-codec = <&sgtl5000>; 1174*f126890aSEmmanuel Vadot clocks = <&tegra_car TEGRA30_CLK_PLL_A>, 1175*f126890aSEmmanuel Vadot <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 1176*f126890aSEmmanuel Vadot <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 1177*f126890aSEmmanuel Vadot clock-names = "pll_a", "pll_a_out0", "mclk"; 1178*f126890aSEmmanuel Vadot 1179*f126890aSEmmanuel Vadot assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>, 1180*f126890aSEmmanuel Vadot <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 1181*f126890aSEmmanuel Vadot 1182*f126890aSEmmanuel Vadot assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, 1183*f126890aSEmmanuel Vadot <&tegra_car TEGRA30_CLK_EXTERN1>; 1184*f126890aSEmmanuel Vadot }; 1185*f126890aSEmmanuel Vadot}; 1186