1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/dts-v1/; 3f126890aSEmmanuel Vadot 4f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 5f126890aSEmmanuel Vadot#include "tegra124.dtsi" 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/ { 8f126890aSEmmanuel Vadot model = "NVIDIA Tegra124 Venice2"; 9f126890aSEmmanuel Vadot compatible = "nvidia,venice2", "nvidia,tegra124"; 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot aliases { 12f126890aSEmmanuel Vadot rtc0 = "/i2c@7000d000/pmic@40"; 13f126890aSEmmanuel Vadot rtc1 = "/rtc@7000e000"; 14f126890aSEmmanuel Vadot serial0 = &uarta; 15f126890aSEmmanuel Vadot }; 16f126890aSEmmanuel Vadot 17f126890aSEmmanuel Vadot chosen { 18f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot memory@80000000 { 22f126890aSEmmanuel Vadot reg = <0x0 0x80000000 0x0 0x80000000>; 23f126890aSEmmanuel Vadot }; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot host1x@50000000 { 26f126890aSEmmanuel Vadot hdmi@54280000 { 27f126890aSEmmanuel Vadot status = "okay"; 28f126890aSEmmanuel Vadot 29f126890aSEmmanuel Vadot vdd-supply = <&vdd_3v3_hdmi>; 30f126890aSEmmanuel Vadot pll-supply = <&vdd_hdmi_pll>; 31f126890aSEmmanuel Vadot hdmi-supply = <&vdd_5v0_hdmi>; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot nvidia,ddc-i2c-bus = <&hdmi_ddc>; 34f126890aSEmmanuel Vadot nvidia,hpd-gpio = 35f126890aSEmmanuel Vadot <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 36f126890aSEmmanuel Vadot }; 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot sor@54540000 { 39f126890aSEmmanuel Vadot status = "okay"; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot avdd-io-hdmi-dp-supply = <&vdd_1v05_run>; 42f126890aSEmmanuel Vadot vdd-hdmi-dp-pll-supply = <&vdd_3v3_run>; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot nvidia,dpaux = <&dpaux>; 45f126890aSEmmanuel Vadot nvidia,panel = <&panel>; 46f126890aSEmmanuel Vadot }; 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot dpaux@545c0000 { 49f126890aSEmmanuel Vadot vdd-supply = <&vdd_3v3_panel>; 50f126890aSEmmanuel Vadot status = "okay"; 51f126890aSEmmanuel Vadot 52f126890aSEmmanuel Vadot aux-bus { 53f126890aSEmmanuel Vadot panel: panel { 54f126890aSEmmanuel Vadot compatible = "lg,lp129qe"; 55f126890aSEmmanuel Vadot power-supply = <&vdd_3v3_panel>; 56f126890aSEmmanuel Vadot backlight = <&backlight>; 57f126890aSEmmanuel Vadot }; 58f126890aSEmmanuel Vadot }; 59f126890aSEmmanuel Vadot }; 60f126890aSEmmanuel Vadot }; 61f126890aSEmmanuel Vadot 62f126890aSEmmanuel Vadot gpu@57000000 { 63f126890aSEmmanuel Vadot /* 64f126890aSEmmanuel Vadot * Node left disabled on purpose - the bootloader will enable 65f126890aSEmmanuel Vadot * it after having set the VPR up 66f126890aSEmmanuel Vadot */ 67f126890aSEmmanuel Vadot vdd-supply = <&vdd_gpu>; 68f126890aSEmmanuel Vadot }; 69f126890aSEmmanuel Vadot 70f126890aSEmmanuel Vadot pinmux: pinmux@70000868 { 71f126890aSEmmanuel Vadot pinctrl-names = "boot"; 72f126890aSEmmanuel Vadot pinctrl-0 = <&pinmux_boot>; 73f126890aSEmmanuel Vadot 74f126890aSEmmanuel Vadot pinmux_boot: pinmux { 75f126890aSEmmanuel Vadot dap_mclk1_pw4 { 76f126890aSEmmanuel Vadot nvidia,pins = "dap_mclk1_pw4"; 77f126890aSEmmanuel Vadot nvidia,function = "extperiph1"; 78f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 79f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 80f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 81f126890aSEmmanuel Vadot }; 82f126890aSEmmanuel Vadot dap1_din_pn1 { 83f126890aSEmmanuel Vadot nvidia,pins = "dap1_din_pn1"; 84f126890aSEmmanuel Vadot nvidia,function = "i2s0"; 85f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 86f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 87f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot dap1_dout_pn2 { 90f126890aSEmmanuel Vadot nvidia,pins = "dap1_dout_pn2", 91f126890aSEmmanuel Vadot "dap1_fs_pn0", 92f126890aSEmmanuel Vadot "dap1_sclk_pn3"; 93f126890aSEmmanuel Vadot nvidia,function = "i2s0"; 94f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 95f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 96f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 97f126890aSEmmanuel Vadot }; 98f126890aSEmmanuel Vadot dap2_din_pa4 { 99f126890aSEmmanuel Vadot nvidia,pins = "dap2_din_pa4"; 100f126890aSEmmanuel Vadot nvidia,function = "i2s1"; 101f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 102f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 103f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 104f126890aSEmmanuel Vadot }; 105f126890aSEmmanuel Vadot dap2_dout_pa5 { 106f126890aSEmmanuel Vadot nvidia,pins = "dap2_dout_pa5", 107f126890aSEmmanuel Vadot "dap2_fs_pa2", 108f126890aSEmmanuel Vadot "dap2_sclk_pa3"; 109f126890aSEmmanuel Vadot nvidia,function = "i2s1"; 110f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 111f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 112f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 113f126890aSEmmanuel Vadot }; 114f126890aSEmmanuel Vadot dvfs_pwm_px0 { 115f126890aSEmmanuel Vadot nvidia,pins = "dvfs_pwm_px0", 116f126890aSEmmanuel Vadot "dvfs_clk_px2"; 117f126890aSEmmanuel Vadot nvidia,function = "cldvfs"; 118f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 119f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 120f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 121f126890aSEmmanuel Vadot }; 122f126890aSEmmanuel Vadot ulpi_clk_py0 { 123f126890aSEmmanuel Vadot nvidia,pins = "ulpi_clk_py0", 124f126890aSEmmanuel Vadot "ulpi_nxt_py2", 125f126890aSEmmanuel Vadot "ulpi_stp_py3"; 126f126890aSEmmanuel Vadot nvidia,function = "spi1"; 127f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 128f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 129f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 130f126890aSEmmanuel Vadot }; 131f126890aSEmmanuel Vadot ulpi_dir_py1 { 132f126890aSEmmanuel Vadot nvidia,pins = "ulpi_dir_py1"; 133f126890aSEmmanuel Vadot nvidia,function = "spi1"; 134f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 135f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 136f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot cam_i2c_scl_pbb1 { 139f126890aSEmmanuel Vadot nvidia,pins = "cam_i2c_scl_pbb1", 140f126890aSEmmanuel Vadot "cam_i2c_sda_pbb2"; 141f126890aSEmmanuel Vadot nvidia,function = "i2c3"; 142f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 143f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 144f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 145f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 146f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot gen2_i2c_scl_pt5 { 149f126890aSEmmanuel Vadot nvidia,pins = "gen2_i2c_scl_pt5", 150f126890aSEmmanuel Vadot "gen2_i2c_sda_pt6"; 151f126890aSEmmanuel Vadot nvidia,function = "i2c2"; 152f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 153f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 154f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 155f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 156f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 157f126890aSEmmanuel Vadot }; 158f126890aSEmmanuel Vadot pg4 { 159f126890aSEmmanuel Vadot nvidia,pins = "pg4", 160f126890aSEmmanuel Vadot "pg5", 161f126890aSEmmanuel Vadot "pg6", 162f126890aSEmmanuel Vadot "pi3"; 163f126890aSEmmanuel Vadot nvidia,function = "spi4"; 164f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 165f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 166f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 167f126890aSEmmanuel Vadot }; 168f126890aSEmmanuel Vadot pg7 { 169f126890aSEmmanuel Vadot nvidia,pins = "pg7"; 170f126890aSEmmanuel Vadot nvidia,function = "spi4"; 171f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 172f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 173f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 174f126890aSEmmanuel Vadot }; 175f126890aSEmmanuel Vadot ph1 { 176f126890aSEmmanuel Vadot nvidia,pins = "ph1"; 177f126890aSEmmanuel Vadot nvidia,function = "pwm1"; 178f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 179f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 180f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 181f126890aSEmmanuel Vadot }; 182f126890aSEmmanuel Vadot pk0 { 183f126890aSEmmanuel Vadot nvidia,pins = "pk0", 184f126890aSEmmanuel Vadot "kb_row15_ps7", 185f126890aSEmmanuel Vadot "clk_32k_out_pa0"; 186f126890aSEmmanuel Vadot nvidia,function = "soc"; 187f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 188f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 189f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 190f126890aSEmmanuel Vadot }; 191f126890aSEmmanuel Vadot sdmmc1_clk_pz0 { 192f126890aSEmmanuel Vadot nvidia,pins = "sdmmc1_clk_pz0"; 193f126890aSEmmanuel Vadot nvidia,function = "sdmmc1"; 194f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 195f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 196f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 197f126890aSEmmanuel Vadot }; 198f126890aSEmmanuel Vadot sdmmc1_cmd_pz1 { 199f126890aSEmmanuel Vadot nvidia,pins = "sdmmc1_cmd_pz1", 200f126890aSEmmanuel Vadot "sdmmc1_dat0_py7", 201f126890aSEmmanuel Vadot "sdmmc1_dat1_py6", 202f126890aSEmmanuel Vadot "sdmmc1_dat2_py5", 203f126890aSEmmanuel Vadot "sdmmc1_dat3_py4"; 204f126890aSEmmanuel Vadot nvidia,function = "sdmmc1"; 205f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 206f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 207f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 208f126890aSEmmanuel Vadot }; 209f126890aSEmmanuel Vadot sdmmc3_clk_pa6 { 210f126890aSEmmanuel Vadot nvidia,pins = "sdmmc3_clk_pa6"; 211f126890aSEmmanuel Vadot nvidia,function = "sdmmc3"; 212f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 213f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 214f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 215f126890aSEmmanuel Vadot }; 216f126890aSEmmanuel Vadot sdmmc3_cmd_pa7 { 217f126890aSEmmanuel Vadot nvidia,pins = "sdmmc3_cmd_pa7", 218f126890aSEmmanuel Vadot "sdmmc3_dat0_pb7", 219f126890aSEmmanuel Vadot "sdmmc3_dat1_pb6", 220f126890aSEmmanuel Vadot "sdmmc3_dat2_pb5", 221f126890aSEmmanuel Vadot "sdmmc3_dat3_pb4", 222f126890aSEmmanuel Vadot "sdmmc3_clk_lb_out_pee4", 223f126890aSEmmanuel Vadot "sdmmc3_clk_lb_in_pee5"; 224f126890aSEmmanuel Vadot nvidia,function = "sdmmc3"; 225f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 226f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 227f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 228f126890aSEmmanuel Vadot }; 229f126890aSEmmanuel Vadot sdmmc4_clk_pcc4 { 230f126890aSEmmanuel Vadot nvidia,pins = "sdmmc4_clk_pcc4"; 231f126890aSEmmanuel Vadot nvidia,function = "sdmmc4"; 232f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 233f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 234f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 235f126890aSEmmanuel Vadot }; 236f126890aSEmmanuel Vadot sdmmc4_cmd_pt7 { 237f126890aSEmmanuel Vadot nvidia,pins = "sdmmc4_cmd_pt7", 238f126890aSEmmanuel Vadot "sdmmc4_dat0_paa0", 239f126890aSEmmanuel Vadot "sdmmc4_dat1_paa1", 240f126890aSEmmanuel Vadot "sdmmc4_dat2_paa2", 241f126890aSEmmanuel Vadot "sdmmc4_dat3_paa3", 242f126890aSEmmanuel Vadot "sdmmc4_dat4_paa4", 243f126890aSEmmanuel Vadot "sdmmc4_dat5_paa5", 244f126890aSEmmanuel Vadot "sdmmc4_dat6_paa6", 245f126890aSEmmanuel Vadot "sdmmc4_dat7_paa7"; 246f126890aSEmmanuel Vadot nvidia,function = "sdmmc4"; 247f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 248f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 249f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 250f126890aSEmmanuel Vadot }; 251f126890aSEmmanuel Vadot pwr_i2c_scl_pz6 { 252f126890aSEmmanuel Vadot nvidia,pins = "pwr_i2c_scl_pz6", 253f126890aSEmmanuel Vadot "pwr_i2c_sda_pz7"; 254f126890aSEmmanuel Vadot nvidia,function = "i2cpwr"; 255f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 256f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 257f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 258f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 259f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 260f126890aSEmmanuel Vadot }; 261f126890aSEmmanuel Vadot jtag_rtck { 262f126890aSEmmanuel Vadot nvidia,pins = "jtag_rtck"; 263f126890aSEmmanuel Vadot nvidia,function = "rtck"; 264f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 265f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 266f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 267f126890aSEmmanuel Vadot }; 268f126890aSEmmanuel Vadot clk_32k_in { 269f126890aSEmmanuel Vadot nvidia,pins = "clk_32k_in"; 270f126890aSEmmanuel Vadot nvidia,function = "clk"; 271f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 272f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 273f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 274f126890aSEmmanuel Vadot }; 275f126890aSEmmanuel Vadot core_pwr_req { 276f126890aSEmmanuel Vadot nvidia,pins = "core_pwr_req"; 277f126890aSEmmanuel Vadot nvidia,function = "pwron"; 278f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 279f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 280f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 281f126890aSEmmanuel Vadot }; 282f126890aSEmmanuel Vadot cpu_pwr_req { 283f126890aSEmmanuel Vadot nvidia,pins = "cpu_pwr_req"; 284f126890aSEmmanuel Vadot nvidia,function = "cpu"; 285f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 286f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 287f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 288f126890aSEmmanuel Vadot }; 289f126890aSEmmanuel Vadot pwr_int_n { 290f126890aSEmmanuel Vadot nvidia,pins = "pwr_int_n"; 291f126890aSEmmanuel Vadot nvidia,function = "pmi"; 292f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 293f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 294f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 295f126890aSEmmanuel Vadot }; 296f126890aSEmmanuel Vadot reset_out_n { 297f126890aSEmmanuel Vadot nvidia,pins = "reset_out_n"; 298f126890aSEmmanuel Vadot nvidia,function = "reset_out_n"; 299f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 300f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 301f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 302f126890aSEmmanuel Vadot }; 303f126890aSEmmanuel Vadot clk3_out_pee0 { 304f126890aSEmmanuel Vadot nvidia,pins = "clk3_out_pee0"; 305f126890aSEmmanuel Vadot nvidia,function = "extperiph3"; 306f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 307f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 308f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot dap4_din_pp5 { 311f126890aSEmmanuel Vadot nvidia,pins = "dap4_din_pp5"; 312f126890aSEmmanuel Vadot nvidia,function = "i2s3"; 313f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 314f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 315f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 316f126890aSEmmanuel Vadot }; 317f126890aSEmmanuel Vadot dap4_dout_pp6 { 318f126890aSEmmanuel Vadot nvidia,pins = "dap4_dout_pp6", 319f126890aSEmmanuel Vadot "dap4_fs_pp4", 320f126890aSEmmanuel Vadot "dap4_sclk_pp7"; 321f126890aSEmmanuel Vadot nvidia,function = "i2s3"; 322f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 323f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 324f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 325f126890aSEmmanuel Vadot }; 326f126890aSEmmanuel Vadot gen1_i2c_sda_pc5 { 327f126890aSEmmanuel Vadot nvidia,pins = "gen1_i2c_sda_pc5", 328f126890aSEmmanuel Vadot "gen1_i2c_scl_pc4"; 329f126890aSEmmanuel Vadot nvidia,function = "i2c1"; 330f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 331f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 332f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 333f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 334f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 335f126890aSEmmanuel Vadot }; 336f126890aSEmmanuel Vadot uart2_cts_n_pj5 { 337f126890aSEmmanuel Vadot nvidia,pins = "uart2_cts_n_pj5"; 338f126890aSEmmanuel Vadot nvidia,function = "uartb"; 339f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 340f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 341f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 342f126890aSEmmanuel Vadot }; 343f126890aSEmmanuel Vadot uart2_rts_n_pj6 { 344f126890aSEmmanuel Vadot nvidia,pins = "uart2_rts_n_pj6"; 345f126890aSEmmanuel Vadot nvidia,function = "uartb"; 346f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 347f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 348f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 349f126890aSEmmanuel Vadot }; 350f126890aSEmmanuel Vadot uart2_rxd_pc3 { 351f126890aSEmmanuel Vadot nvidia,pins = "uart2_rxd_pc3"; 352f126890aSEmmanuel Vadot nvidia,function = "irda"; 353f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 354f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 355f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 356f126890aSEmmanuel Vadot }; 357f126890aSEmmanuel Vadot uart2_txd_pc2 { 358f126890aSEmmanuel Vadot nvidia,pins = "uart2_txd_pc2"; 359f126890aSEmmanuel Vadot nvidia,function = "irda"; 360f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 361f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 362f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 363f126890aSEmmanuel Vadot }; 364f126890aSEmmanuel Vadot uart3_cts_n_pa1 { 365f126890aSEmmanuel Vadot nvidia,pins = "uart3_cts_n_pa1", 366f126890aSEmmanuel Vadot "uart3_rxd_pw7"; 367f126890aSEmmanuel Vadot nvidia,function = "uartc"; 368f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 369f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 370f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 371f126890aSEmmanuel Vadot }; 372f126890aSEmmanuel Vadot uart3_rts_n_pc0 { 373f126890aSEmmanuel Vadot nvidia,pins = "uart3_rts_n_pc0", 374f126890aSEmmanuel Vadot "uart3_txd_pw6"; 375f126890aSEmmanuel Vadot nvidia,function = "uartc"; 376f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 377f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 378f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 379f126890aSEmmanuel Vadot }; 380f126890aSEmmanuel Vadot hdmi_cec_pee3 { 381f126890aSEmmanuel Vadot nvidia,pins = "hdmi_cec_pee3"; 382f126890aSEmmanuel Vadot nvidia,function = "cec"; 383f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 384f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 385f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 386f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 387f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_DISABLE>; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot hdmi_int_pn7 { 390f126890aSEmmanuel Vadot nvidia,pins = "hdmi_int_pn7"; 391f126890aSEmmanuel Vadot nvidia,function = "rsvd1"; 392f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 393f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 394f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 395f126890aSEmmanuel Vadot }; 396f126890aSEmmanuel Vadot ddc_scl_pv4 { 397f126890aSEmmanuel Vadot nvidia,pins = "ddc_scl_pv4", 398f126890aSEmmanuel Vadot "ddc_sda_pv5"; 399f126890aSEmmanuel Vadot nvidia,function = "i2c4"; 400f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 401f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 402f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 403f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 404f126890aSEmmanuel Vadot nvidia,rcv-sel = <TEGRA_PIN_ENABLE>; 405f126890aSEmmanuel Vadot }; 406f126890aSEmmanuel Vadot pj7 { 407f126890aSEmmanuel Vadot nvidia,pins = "pj7", 408f126890aSEmmanuel Vadot "pk7"; 409f126890aSEmmanuel Vadot nvidia,function = "uartd"; 410f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 411f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 412f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 413f126890aSEmmanuel Vadot }; 414f126890aSEmmanuel Vadot pb0 { 415f126890aSEmmanuel Vadot nvidia,pins = "pb0", 416f126890aSEmmanuel Vadot "pb1"; 417f126890aSEmmanuel Vadot nvidia,function = "uartd"; 418f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 419f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 420f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 421f126890aSEmmanuel Vadot }; 422f126890aSEmmanuel Vadot ph0 { 423f126890aSEmmanuel Vadot nvidia,pins = "ph0"; 424f126890aSEmmanuel Vadot nvidia,function = "pwm0"; 425f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 426f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 427f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 428f126890aSEmmanuel Vadot }; 429f126890aSEmmanuel Vadot kb_row10_ps2 { 430f126890aSEmmanuel Vadot nvidia,pins = "kb_row10_ps2"; 431f126890aSEmmanuel Vadot nvidia,function = "uarta"; 432f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 433f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 434f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 435f126890aSEmmanuel Vadot }; 436f126890aSEmmanuel Vadot kb_row9_ps1 { 437f126890aSEmmanuel Vadot nvidia,pins = "kb_row9_ps1"; 438f126890aSEmmanuel Vadot nvidia,function = "uarta"; 439f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 440f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 441f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 442f126890aSEmmanuel Vadot }; 443f126890aSEmmanuel Vadot kb_row6_pr6 { 444f126890aSEmmanuel Vadot nvidia,pins = "kb_row6_pr6"; 445f126890aSEmmanuel Vadot nvidia,function = "displaya_alt"; 446f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 447f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 448f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 449f126890aSEmmanuel Vadot }; 450f126890aSEmmanuel Vadot usb_vbus_en0_pn4 { 451f126890aSEmmanuel Vadot nvidia,pins = "usb_vbus_en0_pn4", 452f126890aSEmmanuel Vadot "usb_vbus_en1_pn5"; 453f126890aSEmmanuel Vadot nvidia,function = "usb"; 454f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 455f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 456f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 457f126890aSEmmanuel Vadot nvidia,lock = <TEGRA_PIN_DISABLE>; 458f126890aSEmmanuel Vadot nvidia,open-drain = <TEGRA_PIN_ENABLE>; 459f126890aSEmmanuel Vadot }; 460f126890aSEmmanuel Vadot drive_sdio1 { 461f126890aSEmmanuel Vadot nvidia,pins = "drive_sdio1"; 462f126890aSEmmanuel Vadot nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 463f126890aSEmmanuel Vadot nvidia,schmitt = <TEGRA_PIN_DISABLE>; 464f126890aSEmmanuel Vadot nvidia,pull-down-strength = <32>; 465f126890aSEmmanuel Vadot nvidia,pull-up-strength = <42>; 466f126890aSEmmanuel Vadot nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 467f126890aSEmmanuel Vadot nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 468f126890aSEmmanuel Vadot }; 469f126890aSEmmanuel Vadot drive_sdio3 { 470f126890aSEmmanuel Vadot nvidia,pins = "drive_sdio3"; 471f126890aSEmmanuel Vadot nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 472f126890aSEmmanuel Vadot nvidia,schmitt = <TEGRA_PIN_DISABLE>; 473f126890aSEmmanuel Vadot nvidia,pull-down-strength = <20>; 474f126890aSEmmanuel Vadot nvidia,pull-up-strength = <36>; 475f126890aSEmmanuel Vadot nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 476f126890aSEmmanuel Vadot nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 477f126890aSEmmanuel Vadot }; 478f126890aSEmmanuel Vadot drive_gma { 479f126890aSEmmanuel Vadot nvidia,pins = "drive_gma"; 480f126890aSEmmanuel Vadot nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 481f126890aSEmmanuel Vadot nvidia,schmitt = <TEGRA_PIN_DISABLE>; 482f126890aSEmmanuel Vadot nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>; 483f126890aSEmmanuel Vadot nvidia,pull-down-strength = <1>; 484f126890aSEmmanuel Vadot nvidia,pull-up-strength = <2>; 485f126890aSEmmanuel Vadot nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 486f126890aSEmmanuel Vadot nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 487f126890aSEmmanuel Vadot nvidia,drive-type = <1>; 488f126890aSEmmanuel Vadot }; 489f126890aSEmmanuel Vadot als_irq_l { 490f126890aSEmmanuel Vadot nvidia,pins = "gpio_x3_aud_px3"; 491f126890aSEmmanuel Vadot nvidia,function = "gmi"; 492f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 493f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 494f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 495f126890aSEmmanuel Vadot }; 496f126890aSEmmanuel Vadot codec_irq_l { 497f126890aSEmmanuel Vadot nvidia,pins = "ph4"; 498f126890aSEmmanuel Vadot nvidia,function = "gmi"; 499f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 500f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 501f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 502f126890aSEmmanuel Vadot }; 503f126890aSEmmanuel Vadot lcd_bl_en { 504f126890aSEmmanuel Vadot nvidia,pins = "ph2"; 505f126890aSEmmanuel Vadot nvidia,function = "gmi"; 506f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 507f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 508f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 509f126890aSEmmanuel Vadot }; 510f126890aSEmmanuel Vadot touch_irq_l { 511f126890aSEmmanuel Vadot nvidia,pins = "gpio_w3_aud_pw3"; 512f126890aSEmmanuel Vadot nvidia,function = "spi6"; 513f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 514f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 515f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 516f126890aSEmmanuel Vadot }; 517f126890aSEmmanuel Vadot tpm_davint_l { 518f126890aSEmmanuel Vadot nvidia,pins = "ph6"; 519f126890aSEmmanuel Vadot nvidia,function = "gmi"; 520f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 521f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 522f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 523f126890aSEmmanuel Vadot }; 524f126890aSEmmanuel Vadot ts_irq_l { 525f126890aSEmmanuel Vadot nvidia,pins = "pk2"; 526f126890aSEmmanuel Vadot nvidia,function = "gmi"; 527f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 528f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 529f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 530f126890aSEmmanuel Vadot }; 531f126890aSEmmanuel Vadot ts_reset_l { 532f126890aSEmmanuel Vadot nvidia,pins = "pk4"; 533f126890aSEmmanuel Vadot nvidia,function = "gmi"; 534f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 535f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 536f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 537f126890aSEmmanuel Vadot }; 538f126890aSEmmanuel Vadot ts_shdn_l { 539f126890aSEmmanuel Vadot nvidia,pins = "pk1"; 540f126890aSEmmanuel Vadot nvidia,function = "gmi"; 541f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 542f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 543f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 544f126890aSEmmanuel Vadot }; 545f126890aSEmmanuel Vadot ph7 { 546f126890aSEmmanuel Vadot nvidia,pins = "ph7"; 547f126890aSEmmanuel Vadot nvidia,function = "gmi"; 548f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 549f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 550f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 551f126890aSEmmanuel Vadot }; 552f126890aSEmmanuel Vadot kb_col0_ap { 553f126890aSEmmanuel Vadot nvidia,pins = "kb_col0_pq0"; 554f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 555f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 556f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 557f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 558f126890aSEmmanuel Vadot }; 559f126890aSEmmanuel Vadot lid_open { 560f126890aSEmmanuel Vadot nvidia,pins = "kb_row4_pr4"; 561f126890aSEmmanuel Vadot nvidia,function = "rsvd3"; 562f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 563f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 564f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 565f126890aSEmmanuel Vadot }; 566f126890aSEmmanuel Vadot en_vdd_sd { 567f126890aSEmmanuel Vadot nvidia,pins = "kb_row0_pr0"; 568f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 569f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 570f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 571f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 572f126890aSEmmanuel Vadot }; 573f126890aSEmmanuel Vadot ac_ok { 574f126890aSEmmanuel Vadot nvidia,pins = "pj0"; 575f126890aSEmmanuel Vadot nvidia,function = "gmi"; 576f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 577f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 578f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 579f126890aSEmmanuel Vadot }; 580f126890aSEmmanuel Vadot sensor_irq_l { 581f126890aSEmmanuel Vadot nvidia,pins = "pi6"; 582f126890aSEmmanuel Vadot nvidia,function = "gmi"; 583f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 584f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 585f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 586f126890aSEmmanuel Vadot }; 587f126890aSEmmanuel Vadot wifi_en { 588f126890aSEmmanuel Vadot nvidia,pins = "gpio_x7_aud_px7"; 589f126890aSEmmanuel Vadot nvidia,function = "rsvd4"; 590f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 591f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 592f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 593f126890aSEmmanuel Vadot }; 594f126890aSEmmanuel Vadot wifi_rst_l { 595f126890aSEmmanuel Vadot nvidia,pins = "clk2_req_pcc5"; 596f126890aSEmmanuel Vadot nvidia,function = "dap"; 597f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 598f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 599f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 600f126890aSEmmanuel Vadot }; 601f126890aSEmmanuel Vadot hp_det_l { 602f126890aSEmmanuel Vadot nvidia,pins = "ulpi_data1_po2"; 603f126890aSEmmanuel Vadot nvidia,function = "spi3"; 604f126890aSEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 605f126890aSEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 606f126890aSEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 607f126890aSEmmanuel Vadot }; 608f126890aSEmmanuel Vadot }; 609f126890aSEmmanuel Vadot }; 610f126890aSEmmanuel Vadot 611f126890aSEmmanuel Vadot serial@70006000 { 612aa1a8ff2SEmmanuel Vadot /delete-property/ dmas; 613aa1a8ff2SEmmanuel Vadot /delete-property/ dma-names; 614f126890aSEmmanuel Vadot status = "okay"; 615f126890aSEmmanuel Vadot }; 616f126890aSEmmanuel Vadot 617f126890aSEmmanuel Vadot pwm@7000a000 { 618f126890aSEmmanuel Vadot status = "okay"; 619f126890aSEmmanuel Vadot }; 620f126890aSEmmanuel Vadot 621f126890aSEmmanuel Vadot i2c@7000c000 { 622f126890aSEmmanuel Vadot status = "okay"; 623f126890aSEmmanuel Vadot clock-frequency = <100000>; 624f126890aSEmmanuel Vadot 625f126890aSEmmanuel Vadot acodec: audio-codec@10 { 626f126890aSEmmanuel Vadot compatible = "maxim,max98090"; 627f126890aSEmmanuel Vadot reg = <0x10>; 628f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 629f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>; 630f126890aSEmmanuel Vadot }; 631f126890aSEmmanuel Vadot }; 632f126890aSEmmanuel Vadot 633f126890aSEmmanuel Vadot i2c@7000c400 { 634f126890aSEmmanuel Vadot status = "okay"; 635f126890aSEmmanuel Vadot clock-frequency = <100000>; 636f126890aSEmmanuel Vadot 637f126890aSEmmanuel Vadot trackpad@4b { 638f126890aSEmmanuel Vadot compatible = "atmel,maxtouch"; 639f126890aSEmmanuel Vadot reg = <0x4b>; 640f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 641f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>; 642f126890aSEmmanuel Vadot linux,gpio-keymap = <0 0 0 BTN_LEFT>; 643f126890aSEmmanuel Vadot }; 644f126890aSEmmanuel Vadot }; 645f126890aSEmmanuel Vadot 646f126890aSEmmanuel Vadot i2c@7000c500 { 647f126890aSEmmanuel Vadot status = "okay"; 648f126890aSEmmanuel Vadot clock-frequency = <100000>; 649f126890aSEmmanuel Vadot }; 650f126890aSEmmanuel Vadot 651f126890aSEmmanuel Vadot hdmi_ddc: i2c@7000c700 { 652f126890aSEmmanuel Vadot status = "okay"; 653f126890aSEmmanuel Vadot clock-frequency = <100000>; 654f126890aSEmmanuel Vadot }; 655f126890aSEmmanuel Vadot 656f126890aSEmmanuel Vadot i2c@7000d000 { 657f126890aSEmmanuel Vadot status = "okay"; 658f126890aSEmmanuel Vadot clock-frequency = <400000>; 659f126890aSEmmanuel Vadot 660f126890aSEmmanuel Vadot pmic: pmic@40 { 661f126890aSEmmanuel Vadot compatible = "ams,as3722"; 662f126890aSEmmanuel Vadot reg = <0x40>; 663f126890aSEmmanuel Vadot interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; 664f126890aSEmmanuel Vadot 665f126890aSEmmanuel Vadot ams,system-power-controller; 666f126890aSEmmanuel Vadot 667f126890aSEmmanuel Vadot #interrupt-cells = <2>; 668f126890aSEmmanuel Vadot interrupt-controller; 669f126890aSEmmanuel Vadot 670f126890aSEmmanuel Vadot gpio-controller; 671f126890aSEmmanuel Vadot #gpio-cells = <2>; 672f126890aSEmmanuel Vadot 673f126890aSEmmanuel Vadot pinctrl-names = "default"; 674f126890aSEmmanuel Vadot pinctrl-0 = <&as3722_default>; 675f126890aSEmmanuel Vadot 676f126890aSEmmanuel Vadot as3722_default: pinmux { 677f126890aSEmmanuel Vadot gpio0 { 678f126890aSEmmanuel Vadot pins = "gpio0"; 679f126890aSEmmanuel Vadot function = "gpio"; 680f126890aSEmmanuel Vadot bias-pull-down; 681f126890aSEmmanuel Vadot }; 682f126890aSEmmanuel Vadot 683f126890aSEmmanuel Vadot gpio1_2_4_7 { 684f126890aSEmmanuel Vadot pins = "gpio1", "gpio2", "gpio4", "gpio7"; 685f126890aSEmmanuel Vadot function = "gpio"; 686f126890aSEmmanuel Vadot bias-pull-up; 687f126890aSEmmanuel Vadot }; 688f126890aSEmmanuel Vadot 689f126890aSEmmanuel Vadot gpio3_6 { 690f126890aSEmmanuel Vadot pins = "gpio3", "gpio6"; 691f126890aSEmmanuel Vadot bias-high-impedance; 692f126890aSEmmanuel Vadot }; 693f126890aSEmmanuel Vadot 694f126890aSEmmanuel Vadot gpio5 { 695f126890aSEmmanuel Vadot pins = "gpio5"; 696f126890aSEmmanuel Vadot function = "clk32k-out"; 697f126890aSEmmanuel Vadot }; 698f126890aSEmmanuel Vadot }; 699f126890aSEmmanuel Vadot 700f126890aSEmmanuel Vadot regulators { 701f126890aSEmmanuel Vadot vsup-sd2-supply = <&vdd_5v0_sys>; 702f126890aSEmmanuel Vadot vsup-sd3-supply = <&vdd_5v0_sys>; 703f126890aSEmmanuel Vadot vsup-sd4-supply = <&vdd_5v0_sys>; 704f126890aSEmmanuel Vadot vsup-sd5-supply = <&vdd_5v0_sys>; 705f126890aSEmmanuel Vadot vin-ldo0-supply = <&vdd_1v35_lp0>; 706f126890aSEmmanuel Vadot vin-ldo1-6-supply = <&vdd_3v3_run>; 707f126890aSEmmanuel Vadot vin-ldo2-5-7-supply = <&vddio_1v8>; 708f126890aSEmmanuel Vadot vin-ldo3-4-supply = <&vdd_3v3_sys>; 709f126890aSEmmanuel Vadot vin-ldo9-10-supply = <&vdd_5v0_sys>; 710f126890aSEmmanuel Vadot vin-ldo11-supply = <&vdd_3v3_run>; 711f126890aSEmmanuel Vadot 712f126890aSEmmanuel Vadot sd0 { 713f126890aSEmmanuel Vadot regulator-name = "+VDD_CPU_AP"; 714f126890aSEmmanuel Vadot regulator-min-microvolt = <700000>; 715f126890aSEmmanuel Vadot regulator-max-microvolt = <1400000>; 716f126890aSEmmanuel Vadot regulator-min-microamp = <3500000>; 717f126890aSEmmanuel Vadot regulator-max-microamp = <3500000>; 718f126890aSEmmanuel Vadot regulator-always-on; 719f126890aSEmmanuel Vadot regulator-boot-on; 720f126890aSEmmanuel Vadot ams,ext-control = <2>; 721f126890aSEmmanuel Vadot }; 722f126890aSEmmanuel Vadot 723f126890aSEmmanuel Vadot sd1 { 724f126890aSEmmanuel Vadot regulator-name = "+VDD_CORE"; 725f126890aSEmmanuel Vadot regulator-min-microvolt = <700000>; 726f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 727f126890aSEmmanuel Vadot regulator-min-microamp = <2500000>; 728f126890aSEmmanuel Vadot regulator-max-microamp = <2500000>; 729f126890aSEmmanuel Vadot regulator-always-on; 730f126890aSEmmanuel Vadot regulator-boot-on; 731f126890aSEmmanuel Vadot ams,ext-control = <1>; 732f126890aSEmmanuel Vadot }; 733f126890aSEmmanuel Vadot 734f126890aSEmmanuel Vadot vdd_1v35_lp0: sd2 { 735f126890aSEmmanuel Vadot regulator-name = "+1.35V_LP0(sd2)"; 736f126890aSEmmanuel Vadot regulator-min-microvolt = <1350000>; 737f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 738f126890aSEmmanuel Vadot regulator-always-on; 739f126890aSEmmanuel Vadot regulator-boot-on; 740f126890aSEmmanuel Vadot }; 741f126890aSEmmanuel Vadot 742f126890aSEmmanuel Vadot sd3 { 743f126890aSEmmanuel Vadot regulator-name = "+1.35V_LP0(sd3)"; 744f126890aSEmmanuel Vadot regulator-min-microvolt = <1350000>; 745f126890aSEmmanuel Vadot regulator-max-microvolt = <1350000>; 746f126890aSEmmanuel Vadot regulator-always-on; 747f126890aSEmmanuel Vadot regulator-boot-on; 748f126890aSEmmanuel Vadot }; 749f126890aSEmmanuel Vadot 750f126890aSEmmanuel Vadot vdd_1v05_run: sd4 { 751f126890aSEmmanuel Vadot regulator-name = "+1.05V_RUN"; 752f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 753f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 754f126890aSEmmanuel Vadot }; 755f126890aSEmmanuel Vadot 756f126890aSEmmanuel Vadot vddio_1v8: sd5 { 757f126890aSEmmanuel Vadot regulator-name = "+1.8V_VDDIO"; 758f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 759f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 760f126890aSEmmanuel Vadot regulator-boot-on; 761f126890aSEmmanuel Vadot regulator-always-on; 762f126890aSEmmanuel Vadot }; 763f126890aSEmmanuel Vadot 764f126890aSEmmanuel Vadot vdd_gpu: sd6 { 765f126890aSEmmanuel Vadot regulator-name = "+VDD_GPU_AP"; 766f126890aSEmmanuel Vadot regulator-min-microvolt = <650000>; 767f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 768f126890aSEmmanuel Vadot regulator-min-microamp = <3500000>; 769f126890aSEmmanuel Vadot regulator-max-microamp = <3500000>; 770f126890aSEmmanuel Vadot regulator-boot-on; 771f126890aSEmmanuel Vadot regulator-always-on; 772f126890aSEmmanuel Vadot }; 773f126890aSEmmanuel Vadot 774f126890aSEmmanuel Vadot avdd_1v05_run: ldo0 { 775f126890aSEmmanuel Vadot regulator-name = "+1.05V_RUN_AVDD"; 776f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 777f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 778f126890aSEmmanuel Vadot regulator-boot-on; 779f126890aSEmmanuel Vadot regulator-always-on; 780f126890aSEmmanuel Vadot ams,ext-control = <1>; 781f126890aSEmmanuel Vadot }; 782f126890aSEmmanuel Vadot 783f126890aSEmmanuel Vadot ldo1 { 784f126890aSEmmanuel Vadot regulator-name = "+1.8V_RUN_CAM"; 785f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 786f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 787f126890aSEmmanuel Vadot }; 788f126890aSEmmanuel Vadot 789f126890aSEmmanuel Vadot ldo2 { 790f126890aSEmmanuel Vadot regulator-name = "+1.2V_GEN_AVDD"; 791f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 792f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 793f126890aSEmmanuel Vadot regulator-boot-on; 794f126890aSEmmanuel Vadot regulator-always-on; 795f126890aSEmmanuel Vadot }; 796f126890aSEmmanuel Vadot 797f126890aSEmmanuel Vadot ldo3 { 798f126890aSEmmanuel Vadot regulator-name = "+1.00V_LP0_VDD_RTC"; 799f126890aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 800f126890aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 801f126890aSEmmanuel Vadot regulator-boot-on; 802f126890aSEmmanuel Vadot regulator-always-on; 803f126890aSEmmanuel Vadot ams,enable-tracking; 804f126890aSEmmanuel Vadot }; 805f126890aSEmmanuel Vadot 806f126890aSEmmanuel Vadot vdd_run_cam: ldo4 { 807f126890aSEmmanuel Vadot regulator-name = "+3.3V_RUN_CAM"; 808f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 809f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 810f126890aSEmmanuel Vadot }; 811f126890aSEmmanuel Vadot 812f126890aSEmmanuel Vadot ldo5 { 813f126890aSEmmanuel Vadot regulator-name = "+1.2V_RUN_CAM_FRONT"; 814f126890aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 815f126890aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 816f126890aSEmmanuel Vadot }; 817f126890aSEmmanuel Vadot 818f126890aSEmmanuel Vadot vddio_sdmmc3: ldo6 { 819f126890aSEmmanuel Vadot regulator-name = "+VDDIO_SDMMC3"; 820f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 821f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 822f126890aSEmmanuel Vadot }; 823f126890aSEmmanuel Vadot 824f126890aSEmmanuel Vadot ldo7 { 825f126890aSEmmanuel Vadot regulator-name = "+1.05V_RUN_CAM_REAR"; 826f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 827f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 828f126890aSEmmanuel Vadot }; 829f126890aSEmmanuel Vadot 830f126890aSEmmanuel Vadot ldo9 { 831f126890aSEmmanuel Vadot regulator-name = "+2.8V_RUN_TOUCH"; 832f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 833f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 834f126890aSEmmanuel Vadot }; 835f126890aSEmmanuel Vadot 836f126890aSEmmanuel Vadot ldo10 { 837f126890aSEmmanuel Vadot regulator-name = "+2.8V_RUN_CAM_AF"; 838f126890aSEmmanuel Vadot regulator-min-microvolt = <2800000>; 839f126890aSEmmanuel Vadot regulator-max-microvolt = <2800000>; 840f126890aSEmmanuel Vadot }; 841f126890aSEmmanuel Vadot 842f126890aSEmmanuel Vadot ldo11 { 843f126890aSEmmanuel Vadot regulator-name = "+1.8V_RUN_VPP_FUSE"; 844f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 845f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 846f126890aSEmmanuel Vadot }; 847f126890aSEmmanuel Vadot }; 848f126890aSEmmanuel Vadot }; 849f126890aSEmmanuel Vadot }; 850f126890aSEmmanuel Vadot 851f126890aSEmmanuel Vadot spi@7000d400 { 852f126890aSEmmanuel Vadot status = "okay"; 853f126890aSEmmanuel Vadot 854f126890aSEmmanuel Vadot cros_ec: cros-ec@0 { 855f126890aSEmmanuel Vadot compatible = "google,cros-ec-spi"; 856f126890aSEmmanuel Vadot spi-max-frequency = <4000000>; 857f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 858f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>; 859f126890aSEmmanuel Vadot reg = <0>; 860*01950c46SEmmanuel Vadot wakeup-source; 861f126890aSEmmanuel Vadot 862f126890aSEmmanuel Vadot google,cros-ec-spi-msg-delay = <2000>; 863f126890aSEmmanuel Vadot 864f126890aSEmmanuel Vadot i2c-tunnel { 865f126890aSEmmanuel Vadot compatible = "google,cros-ec-i2c-tunnel"; 866f126890aSEmmanuel Vadot #address-cells = <1>; 867f126890aSEmmanuel Vadot #size-cells = <0>; 868f126890aSEmmanuel Vadot 869f126890aSEmmanuel Vadot google,remote-bus = <0>; 870f126890aSEmmanuel Vadot 871f126890aSEmmanuel Vadot charger: bq24735@9 { 872f126890aSEmmanuel Vadot compatible = "ti,bq24735"; 873f126890aSEmmanuel Vadot reg = <0x9>; 874f126890aSEmmanuel Vadot interrupt-parent = <&gpio>; 875f126890aSEmmanuel Vadot interrupts = <TEGRA_GPIO(J, 0) 876f126890aSEmmanuel Vadot IRQ_TYPE_EDGE_BOTH>; 877f126890aSEmmanuel Vadot ti,ac-detect-gpios = <&gpio 878f126890aSEmmanuel Vadot TEGRA_GPIO(J, 0) 879f126890aSEmmanuel Vadot GPIO_ACTIVE_HIGH>; 880f126890aSEmmanuel Vadot }; 881f126890aSEmmanuel Vadot 882f126890aSEmmanuel Vadot battery: sbs-battery@b { 883f126890aSEmmanuel Vadot compatible = "sbs,sbs-battery"; 884f126890aSEmmanuel Vadot reg = <0xb>; 885f126890aSEmmanuel Vadot sbs,i2c-retry-count = <2>; 886f126890aSEmmanuel Vadot sbs,poll-retry-count = <1>; 887f126890aSEmmanuel Vadot }; 888f126890aSEmmanuel Vadot }; 889f126890aSEmmanuel Vadot }; 890f126890aSEmmanuel Vadot }; 891f126890aSEmmanuel Vadot 892f126890aSEmmanuel Vadot spi@7000da00 { 893f126890aSEmmanuel Vadot status = "okay"; 894f126890aSEmmanuel Vadot spi-max-frequency = <25000000>; 895f126890aSEmmanuel Vadot 896f126890aSEmmanuel Vadot flash@0 { 897f126890aSEmmanuel Vadot compatible = "winbond,w25q32dw", "jedec,spi-nor"; 898f126890aSEmmanuel Vadot reg = <0>; 899f126890aSEmmanuel Vadot spi-max-frequency = <20000000>; 900f126890aSEmmanuel Vadot }; 901f126890aSEmmanuel Vadot }; 902f126890aSEmmanuel Vadot 903f126890aSEmmanuel Vadot pmc@7000e400 { 904f126890aSEmmanuel Vadot nvidia,invert-interrupt; 905f126890aSEmmanuel Vadot nvidia,suspend-mode = <1>; 906f126890aSEmmanuel Vadot nvidia,cpu-pwr-good-time = <500>; 907f126890aSEmmanuel Vadot nvidia,cpu-pwr-off-time = <300>; 908f126890aSEmmanuel Vadot nvidia,core-pwr-good-time = <641 3845>; 909f126890aSEmmanuel Vadot nvidia,core-pwr-off-time = <61036>; 910f126890aSEmmanuel Vadot nvidia,core-power-req-active-high; 911f126890aSEmmanuel Vadot nvidia,sys-clock-req-active-high; 912f126890aSEmmanuel Vadot }; 913f126890aSEmmanuel Vadot 914f126890aSEmmanuel Vadot hda@70030000 { 915f126890aSEmmanuel Vadot status = "okay"; 916f126890aSEmmanuel Vadot }; 917f126890aSEmmanuel Vadot 918f126890aSEmmanuel Vadot usb@70090000 { 919f126890aSEmmanuel Vadot phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */ 920f126890aSEmmanuel Vadot <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */ 921f126890aSEmmanuel Vadot <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */ 922f126890aSEmmanuel Vadot <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */ 923f126890aSEmmanuel Vadot <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */ 924f126890aSEmmanuel Vadot phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1"; 925f126890aSEmmanuel Vadot 926f126890aSEmmanuel Vadot avddio-pex-supply = <&vdd_1v05_run>; 927f126890aSEmmanuel Vadot dvddio-pex-supply = <&vdd_1v05_run>; 928f126890aSEmmanuel Vadot avdd-usb-supply = <&vdd_3v3_lp0>; 929f126890aSEmmanuel Vadot avdd-pll-utmip-supply = <&vddio_1v8>; 930f126890aSEmmanuel Vadot avdd-pll-erefe-supply = <&avdd_1v05_run>; 931f126890aSEmmanuel Vadot avdd-usb-ss-pll-supply = <&vdd_1v05_run>; 932f126890aSEmmanuel Vadot hvdd-usb-ss-supply = <&vdd_3v3_lp0>; 933f126890aSEmmanuel Vadot hvdd-usb-ss-pll-e-supply = <&vdd_3v3_lp0>; 934f126890aSEmmanuel Vadot 935f126890aSEmmanuel Vadot status = "okay"; 936f126890aSEmmanuel Vadot }; 937f126890aSEmmanuel Vadot 938f126890aSEmmanuel Vadot padctl@7009f000 { 939f126890aSEmmanuel Vadot avdd-pll-utmip-supply = <&vddio_1v8>; 940f126890aSEmmanuel Vadot avdd-pll-erefe-supply = <&avdd_1v05_run>; 941f126890aSEmmanuel Vadot avdd-pex-pll-supply = <&vdd_1v05_run>; 942f126890aSEmmanuel Vadot hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>; 943f126890aSEmmanuel Vadot 944f126890aSEmmanuel Vadot pads { 945f126890aSEmmanuel Vadot usb2 { 946f126890aSEmmanuel Vadot status = "okay"; 947f126890aSEmmanuel Vadot 948f126890aSEmmanuel Vadot lanes { 949f126890aSEmmanuel Vadot usb2-0 { 950f126890aSEmmanuel Vadot nvidia,function = "xusb"; 951f126890aSEmmanuel Vadot status = "okay"; 952f126890aSEmmanuel Vadot }; 953f126890aSEmmanuel Vadot 954f126890aSEmmanuel Vadot usb2-1 { 955f126890aSEmmanuel Vadot nvidia,function = "xusb"; 956f126890aSEmmanuel Vadot status = "okay"; 957f126890aSEmmanuel Vadot }; 958f126890aSEmmanuel Vadot 959f126890aSEmmanuel Vadot usb2-2 { 960f126890aSEmmanuel Vadot nvidia,function = "xusb"; 961f126890aSEmmanuel Vadot status = "okay"; 962f126890aSEmmanuel Vadot }; 963f126890aSEmmanuel Vadot }; 964f126890aSEmmanuel Vadot }; 965f126890aSEmmanuel Vadot 966f126890aSEmmanuel Vadot pcie { 967f126890aSEmmanuel Vadot status = "okay"; 968f126890aSEmmanuel Vadot 969f126890aSEmmanuel Vadot lanes { 970f126890aSEmmanuel Vadot pcie-0 { 971f126890aSEmmanuel Vadot nvidia,function = "usb3-ss"; 972f126890aSEmmanuel Vadot status = "okay"; 973f126890aSEmmanuel Vadot }; 974f126890aSEmmanuel Vadot 975f126890aSEmmanuel Vadot pcie-1 { 976f126890aSEmmanuel Vadot nvidia,function = "usb3-ss"; 977f126890aSEmmanuel Vadot status = "okay"; 978f126890aSEmmanuel Vadot }; 979f126890aSEmmanuel Vadot }; 980f126890aSEmmanuel Vadot }; 981f126890aSEmmanuel Vadot }; 982f126890aSEmmanuel Vadot 983f126890aSEmmanuel Vadot ports { 984f126890aSEmmanuel Vadot usb2-0 { 985f126890aSEmmanuel Vadot status = "okay"; 986f126890aSEmmanuel Vadot mode = "otg"; 987f126890aSEmmanuel Vadot usb-role-switch; 988f126890aSEmmanuel Vadot vbus-supply = <&vdd_usb1_vbus>; 989f126890aSEmmanuel Vadot }; 990f126890aSEmmanuel Vadot 991f126890aSEmmanuel Vadot usb2-1 { 992f126890aSEmmanuel Vadot status = "okay"; 993f126890aSEmmanuel Vadot mode = "host"; 994f126890aSEmmanuel Vadot 995f126890aSEmmanuel Vadot vbus-supply = <&vdd_run_cam>; 996f126890aSEmmanuel Vadot }; 997f126890aSEmmanuel Vadot 998f126890aSEmmanuel Vadot usb2-2 { 999f126890aSEmmanuel Vadot status = "okay"; 1000f126890aSEmmanuel Vadot mode = "host"; 1001f126890aSEmmanuel Vadot 1002f126890aSEmmanuel Vadot vbus-supply = <&vdd_usb3_vbus>; 1003f126890aSEmmanuel Vadot }; 1004f126890aSEmmanuel Vadot 1005f126890aSEmmanuel Vadot usb3-0 { 1006f126890aSEmmanuel Vadot nvidia,usb2-companion = <0>; 1007f126890aSEmmanuel Vadot status = "okay"; 1008f126890aSEmmanuel Vadot }; 1009f126890aSEmmanuel Vadot 1010f126890aSEmmanuel Vadot usb3-1 { 1011f126890aSEmmanuel Vadot nvidia,usb2-companion = <2>; 1012f126890aSEmmanuel Vadot status = "okay"; 1013f126890aSEmmanuel Vadot }; 1014f126890aSEmmanuel Vadot }; 1015f126890aSEmmanuel Vadot }; 1016f126890aSEmmanuel Vadot 1017f126890aSEmmanuel Vadot mmc@700b0400 { 1018f126890aSEmmanuel Vadot cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 1019f126890aSEmmanuel Vadot power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; 1020f126890aSEmmanuel Vadot wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>; 1021f126890aSEmmanuel Vadot status = "okay"; 1022f126890aSEmmanuel Vadot bus-width = <4>; 1023f126890aSEmmanuel Vadot vqmmc-supply = <&vddio_sdmmc3>; 1024f126890aSEmmanuel Vadot }; 1025f126890aSEmmanuel Vadot 1026f126890aSEmmanuel Vadot mmc@700b0600 { 1027f126890aSEmmanuel Vadot status = "okay"; 1028f126890aSEmmanuel Vadot bus-width = <8>; 1029f126890aSEmmanuel Vadot non-removable; 1030f126890aSEmmanuel Vadot }; 1031f126890aSEmmanuel Vadot 1032f126890aSEmmanuel Vadot ahub@70300000 { 1033f126890aSEmmanuel Vadot i2s@70301100 { 1034f126890aSEmmanuel Vadot status = "okay"; 1035f126890aSEmmanuel Vadot }; 1036f126890aSEmmanuel Vadot }; 1037f126890aSEmmanuel Vadot 1038f126890aSEmmanuel Vadot usb@7d000000 { 1039f126890aSEmmanuel Vadot status = "okay"; 1040f126890aSEmmanuel Vadot }; 1041f126890aSEmmanuel Vadot 1042f126890aSEmmanuel Vadot usb-phy@7d000000 { 1043f126890aSEmmanuel Vadot status = "okay"; 1044f126890aSEmmanuel Vadot vbus-supply = <&vdd_usb1_vbus>; 1045f126890aSEmmanuel Vadot }; 1046f126890aSEmmanuel Vadot 1047f126890aSEmmanuel Vadot usb@7d004000 { 1048f126890aSEmmanuel Vadot status = "okay"; 1049f126890aSEmmanuel Vadot }; 1050f126890aSEmmanuel Vadot 1051f126890aSEmmanuel Vadot usb-phy@7d004000 { 1052f126890aSEmmanuel Vadot status = "okay"; 1053f126890aSEmmanuel Vadot vbus-supply = <&vdd_run_cam>; 1054f126890aSEmmanuel Vadot }; 1055f126890aSEmmanuel Vadot 1056f126890aSEmmanuel Vadot usb@7d008000 { 1057f126890aSEmmanuel Vadot status = "okay"; 1058f126890aSEmmanuel Vadot }; 1059f126890aSEmmanuel Vadot 1060f126890aSEmmanuel Vadot usb-phy@7d008000 { 1061f126890aSEmmanuel Vadot status = "okay"; 1062f126890aSEmmanuel Vadot vbus-supply = <&vdd_usb3_vbus>; 1063f126890aSEmmanuel Vadot }; 1064f126890aSEmmanuel Vadot 1065f126890aSEmmanuel Vadot backlight: backlight { 1066f126890aSEmmanuel Vadot compatible = "pwm-backlight"; 1067f126890aSEmmanuel Vadot 1068f126890aSEmmanuel Vadot enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 1069f126890aSEmmanuel Vadot power-supply = <&vdd_led>; 1070f126890aSEmmanuel Vadot pwms = <&pwm 1 1000000>; 1071f126890aSEmmanuel Vadot 1072f126890aSEmmanuel Vadot brightness-levels = <0 4 8 16 32 64 128 255>; 1073f126890aSEmmanuel Vadot default-brightness-level = <6>; 1074f126890aSEmmanuel Vadot }; 1075f126890aSEmmanuel Vadot 1076f126890aSEmmanuel Vadot clk32k_in: clock-32k { 1077f126890aSEmmanuel Vadot compatible = "fixed-clock"; 1078f126890aSEmmanuel Vadot clock-frequency = <32768>; 1079f126890aSEmmanuel Vadot #clock-cells = <0>; 1080f126890aSEmmanuel Vadot }; 1081f126890aSEmmanuel Vadot 1082f126890aSEmmanuel Vadot gpio-keys { 1083f126890aSEmmanuel Vadot compatible = "gpio-keys"; 1084f126890aSEmmanuel Vadot 1085f126890aSEmmanuel Vadot key-power { 1086f126890aSEmmanuel Vadot label = "Power"; 1087f126890aSEmmanuel Vadot gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 1088f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 1089f126890aSEmmanuel Vadot debounce-interval = <10>; 1090f126890aSEmmanuel Vadot wakeup-source; 1091f126890aSEmmanuel Vadot }; 1092f126890aSEmmanuel Vadot }; 1093f126890aSEmmanuel Vadot 1094f126890aSEmmanuel Vadot vdd_mux: regulator-mux { 1095f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1096f126890aSEmmanuel Vadot regulator-name = "+VDD_MUX"; 1097f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 1098f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 1099f126890aSEmmanuel Vadot regulator-always-on; 1100f126890aSEmmanuel Vadot regulator-boot-on; 1101f126890aSEmmanuel Vadot }; 1102f126890aSEmmanuel Vadot 1103f126890aSEmmanuel Vadot vdd_5v0_sys: regulator-5v0sys { 1104f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1105f126890aSEmmanuel Vadot regulator-name = "+5V_SYS"; 1106f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1107f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1108f126890aSEmmanuel Vadot regulator-always-on; 1109f126890aSEmmanuel Vadot regulator-boot-on; 1110f126890aSEmmanuel Vadot vin-supply = <&vdd_mux>; 1111f126890aSEmmanuel Vadot }; 1112f126890aSEmmanuel Vadot 1113f126890aSEmmanuel Vadot vdd_3v3_sys: regulator-3v3sys { 1114f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1115f126890aSEmmanuel Vadot regulator-name = "+3.3V_SYS"; 1116f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1117f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1118f126890aSEmmanuel Vadot regulator-always-on; 1119f126890aSEmmanuel Vadot regulator-boot-on; 1120f126890aSEmmanuel Vadot vin-supply = <&vdd_mux>; 1121f126890aSEmmanuel Vadot }; 1122f126890aSEmmanuel Vadot 1123f126890aSEmmanuel Vadot vdd_3v3_run: regulator-3v3run { 1124f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1125f126890aSEmmanuel Vadot regulator-name = "+3.3V_RUN"; 1126f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1127f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1128f126890aSEmmanuel Vadot regulator-always-on; 1129f126890aSEmmanuel Vadot regulator-boot-on; 1130f126890aSEmmanuel Vadot gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; 1131f126890aSEmmanuel Vadot enable-active-high; 1132f126890aSEmmanuel Vadot vin-supply = <&vdd_3v3_sys>; 1133f126890aSEmmanuel Vadot }; 1134f126890aSEmmanuel Vadot 1135f126890aSEmmanuel Vadot vdd_3v3_hdmi: regulator-hdmi { 1136f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1137f126890aSEmmanuel Vadot regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 1138f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1139f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1140f126890aSEmmanuel Vadot vin-supply = <&vdd_3v3_run>; 1141f126890aSEmmanuel Vadot }; 1142f126890aSEmmanuel Vadot 1143f126890aSEmmanuel Vadot vdd_led: regulator-led { 1144f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1145f126890aSEmmanuel Vadot regulator-name = "+VDD_LED"; 1146f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1147f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1148f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 1149f126890aSEmmanuel Vadot enable-active-high; 1150f126890aSEmmanuel Vadot vin-supply = <&vdd_mux>; 1151f126890aSEmmanuel Vadot }; 1152f126890aSEmmanuel Vadot 1153f126890aSEmmanuel Vadot vdd_5v0_ts: regulator-ts { 1154f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1155f126890aSEmmanuel Vadot regulator-name = "+5V_VDD_TS_SW"; 1156f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1157f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1158f126890aSEmmanuel Vadot regulator-boot-on; 1159f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 1160f126890aSEmmanuel Vadot enable-active-high; 1161f126890aSEmmanuel Vadot vin-supply = <&vdd_5v0_sys>; 1162f126890aSEmmanuel Vadot }; 1163f126890aSEmmanuel Vadot 1164f126890aSEmmanuel Vadot vdd_usb1_vbus: regulator-usb1 { 1165f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1166f126890aSEmmanuel Vadot regulator-name = "+5V_USB_HS"; 1167f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1168f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1169f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1170f126890aSEmmanuel Vadot enable-active-high; 1171f126890aSEmmanuel Vadot gpio-open-drain; 1172f126890aSEmmanuel Vadot vin-supply = <&vdd_5v0_sys>; 1173f126890aSEmmanuel Vadot }; 1174f126890aSEmmanuel Vadot 1175f126890aSEmmanuel Vadot vdd_usb3_vbus: regulator-usb3 { 1176f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1177f126890aSEmmanuel Vadot regulator-name = "+5V_USB_SS"; 1178f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1179f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1180f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 1181f126890aSEmmanuel Vadot enable-active-high; 1182f126890aSEmmanuel Vadot gpio-open-drain; 1183f126890aSEmmanuel Vadot vin-supply = <&vdd_5v0_sys>; 1184f126890aSEmmanuel Vadot }; 1185f126890aSEmmanuel Vadot 1186f126890aSEmmanuel Vadot vdd_3v3_panel: regulator-panel { 1187f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1188f126890aSEmmanuel Vadot regulator-name = "+3.3V_PANEL"; 1189f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1190f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1191f126890aSEmmanuel Vadot gpio = <&pmic 4 GPIO_ACTIVE_HIGH>; 1192f126890aSEmmanuel Vadot enable-active-high; 1193f126890aSEmmanuel Vadot vin-supply = <&vdd_3v3_run>; 1194f126890aSEmmanuel Vadot }; 1195f126890aSEmmanuel Vadot 1196f126890aSEmmanuel Vadot vdd_3v3_lp0: regulator-lp0 { 1197f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1198f126890aSEmmanuel Vadot regulator-name = "+3.3V_LP0"; 1199f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 1200f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 1201f126890aSEmmanuel Vadot /* 1202f126890aSEmmanuel Vadot * TODO: find a way to wire this up with the USB EHCI 1203f126890aSEmmanuel Vadot * controllers so that it can be enabled on demand. 1204f126890aSEmmanuel Vadot */ 1205f126890aSEmmanuel Vadot regulator-always-on; 1206f126890aSEmmanuel Vadot gpio = <&pmic 2 GPIO_ACTIVE_HIGH>; 1207f126890aSEmmanuel Vadot enable-active-high; 1208f126890aSEmmanuel Vadot vin-supply = <&vdd_3v3_sys>; 1209f126890aSEmmanuel Vadot }; 1210f126890aSEmmanuel Vadot 1211f126890aSEmmanuel Vadot vdd_hdmi_pll: regulator-hdmipll { 1212f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1213f126890aSEmmanuel Vadot regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL"; 1214f126890aSEmmanuel Vadot regulator-min-microvolt = <1050000>; 1215f126890aSEmmanuel Vadot regulator-max-microvolt = <1050000>; 1216f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 1217f126890aSEmmanuel Vadot vin-supply = <&vdd_1v05_run>; 1218f126890aSEmmanuel Vadot }; 1219f126890aSEmmanuel Vadot 1220f126890aSEmmanuel Vadot vdd_5v0_hdmi: regulator-hdmicon { 1221f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 1222f126890aSEmmanuel Vadot regulator-name = "+5V_HDMI_CON"; 1223f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 1224f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 1225f126890aSEmmanuel Vadot gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1226f126890aSEmmanuel Vadot enable-active-high; 1227f126890aSEmmanuel Vadot vin-supply = <&vdd_5v0_sys>; 1228f126890aSEmmanuel Vadot }; 1229f126890aSEmmanuel Vadot 1230f126890aSEmmanuel Vadot sound { 1231f126890aSEmmanuel Vadot compatible = "nvidia,tegra-audio-max98090-venice2", 1232f126890aSEmmanuel Vadot "nvidia,tegra-audio-max98090"; 1233f126890aSEmmanuel Vadot nvidia,model = "NVIDIA Tegra Venice2"; 1234f126890aSEmmanuel Vadot 1235f126890aSEmmanuel Vadot nvidia,audio-routing = 1236f126890aSEmmanuel Vadot "Headphones", "HPR", 1237f126890aSEmmanuel Vadot "Headphones", "HPL", 1238f126890aSEmmanuel Vadot "Speakers", "SPKR", 1239f126890aSEmmanuel Vadot "Speakers", "SPKL", 1240f126890aSEmmanuel Vadot "Mic Jack", "MICBIAS", 1241f126890aSEmmanuel Vadot "IN34", "Mic Jack"; 1242f126890aSEmmanuel Vadot 1243f126890aSEmmanuel Vadot nvidia,i2s-controller = <&tegra_i2s1>; 1244f126890aSEmmanuel Vadot nvidia,audio-codec = <&acodec>; 1245f126890aSEmmanuel Vadot 1246f126890aSEmmanuel Vadot clocks = <&tegra_car TEGRA124_CLK_PLL_A>, 1247f126890aSEmmanuel Vadot <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, 1248f126890aSEmmanuel Vadot <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 1249f126890aSEmmanuel Vadot clock-names = "pll_a", "pll_a_out0", "mclk"; 1250f126890aSEmmanuel Vadot 1251f126890aSEmmanuel Vadot assigned-clocks = <&tegra_car TEGRA124_CLK_EXTERN1>, 1252f126890aSEmmanuel Vadot <&tegra_pmc TEGRA_PMC_CLK_OUT_1>; 1253f126890aSEmmanuel Vadot 1254f126890aSEmmanuel Vadot assigned-clock-parents = <&tegra_car TEGRA124_CLK_PLL_A_OUT0>, 1255f126890aSEmmanuel Vadot <&tegra_car TEGRA124_CLK_EXTERN1>; 1256f126890aSEmmanuel Vadot }; 1257f126890aSEmmanuel Vadot}; 1258f126890aSEmmanuel Vadot 1259f126890aSEmmanuel Vadot#include "../cros-ec-keyboard.dtsi" 1260