1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0 20f279ebdSThierry Reding/dts-v1/; 30f279ebdSThierry Reding 40f279ebdSThierry Reding#include <dt-bindings/input/input.h> 50f279ebdSThierry Reding#include "tegra132.dtsi" 60f279ebdSThierry Reding 70f279ebdSThierry Reding/ { 80f279ebdSThierry Reding model = "NVIDIA Tegra132 Norrin"; 90f279ebdSThierry Reding compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124"; 100f279ebdSThierry Reding 110f279ebdSThierry Reding aliases { 12*49c23519SKrzysztof Kozlowski rtc0 = &as3722; 13*49c23519SKrzysztof Kozlowski rtc1 = &tegra_rtc; 1469e29bd1SJon Hunter serial0 = &uarta; 150f279ebdSThierry Reding }; 160f279ebdSThierry Reding 1769e29bd1SJon Hunter chosen { 1869e29bd1SJon Hunter stdout-path = "serial0:115200n8"; 1969e29bd1SJon Hunter }; 2043acf831SJon Hunter 21772a6a7bSThierry Reding memory@80000000 { 220f279ebdSThierry Reding device_type = "memory"; 230f279ebdSThierry Reding reg = <0x0 0x80000000 0x0 0x80000000>; 240f279ebdSThierry Reding }; 250f279ebdSThierry Reding 26be70771dSThierry Reding host1x@50000000 { 27be70771dSThierry Reding hdmi@54280000 { 280f279ebdSThierry Reding status = "disabled"; 290f279ebdSThierry Reding 300f279ebdSThierry Reding vdd-supply = <&vdd_3v3_hdmi>; 310f279ebdSThierry Reding pll-supply = <&vdd_hdmi_pll>; 320f279ebdSThierry Reding hdmi-supply = <&vdd_5v0_hdmi>; 330f279ebdSThierry Reding 340f279ebdSThierry Reding nvidia,ddc-i2c-bus = <&hdmi_ddc>; 350f279ebdSThierry Reding nvidia,hpd-gpio = 360f279ebdSThierry Reding <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 370f279ebdSThierry Reding }; 380f279ebdSThierry Reding 39be70771dSThierry Reding sor@54540000 { 400f279ebdSThierry Reding status = "okay"; 410f279ebdSThierry Reding 42eb93bd8dSThierry Reding avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; 43eb93bd8dSThierry Reding vdd-hdmi-dp-pll-supply = <&vdd_hdmi_pll>; 44eb93bd8dSThierry Reding 450f279ebdSThierry Reding nvidia,dpaux = <&dpaux>; 460f279ebdSThierry Reding nvidia,panel = <&panel>; 470f279ebdSThierry Reding }; 480f279ebdSThierry Reding 49be70771dSThierry Reding dpaux: dpaux@545c0000 { 500f279ebdSThierry Reding vdd-supply = <&vdd_3v3_panel>; 510f279ebdSThierry Reding status = "okay"; 520f279ebdSThierry Reding }; 530f279ebdSThierry Reding }; 540f279ebdSThierry Reding 55be70771dSThierry Reding gpu@57000000 { 560f279ebdSThierry Reding status = "okay"; 570f279ebdSThierry Reding 580f279ebdSThierry Reding vdd-supply = <&vdd_gpu>; 590f279ebdSThierry Reding }; 600f279ebdSThierry Reding 61be70771dSThierry Reding pinmux@70000868 { 620f279ebdSThierry Reding pinctrl-names = "default"; 630f279ebdSThierry Reding pinctrl-0 = <&pinmux_default>; 640f279ebdSThierry Reding 65efe499d8SThierry Reding pinmux_default: pinmux { 660f279ebdSThierry Reding dap_mclk1_pw4 { 670f279ebdSThierry Reding nvidia,pins = "dap_mclk1_pw4"; 680f279ebdSThierry Reding nvidia,function = "extperiph1"; 690f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 700f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 710f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 720f279ebdSThierry Reding }; 730f279ebdSThierry Reding dap2_din_pa4 { 740f279ebdSThierry Reding nvidia,pins = "dap2_din_pa4"; 750f279ebdSThierry Reding nvidia,function = "i2s1"; 760f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 770f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 780f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 790f279ebdSThierry Reding }; 800f279ebdSThierry Reding dap2_dout_pa5 { 810f279ebdSThierry Reding nvidia,pins = "dap2_dout_pa5", 820f279ebdSThierry Reding "dap2_fs_pa2", 830f279ebdSThierry Reding "dap2_sclk_pa3"; 840f279ebdSThierry Reding nvidia,function = "i2s1"; 850f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 860f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 870f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 880f279ebdSThierry Reding }; 890f279ebdSThierry Reding dap3_dout_pp2 { 900f279ebdSThierry Reding nvidia,pins = "dap3_dout_pp2"; 910f279ebdSThierry Reding nvidia,function = "i2s2"; 920f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 930f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 940f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 950f279ebdSThierry Reding }; 960f279ebdSThierry Reding dvfs_pwm_px0 { 970f279ebdSThierry Reding nvidia,pins = "dvfs_pwm_px0", 980f279ebdSThierry Reding "dvfs_clk_px2"; 990f279ebdSThierry Reding nvidia,function = "cldvfs"; 1000f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1010f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1020f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1030f279ebdSThierry Reding }; 1040f279ebdSThierry Reding ulpi_clk_py0 { 1050f279ebdSThierry Reding nvidia,pins = "ulpi_clk_py0", 1060f279ebdSThierry Reding "ulpi_nxt_py2", 1070f279ebdSThierry Reding "ulpi_stp_py3"; 1080f279ebdSThierry Reding nvidia,function = "spi1"; 1090f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1100f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1110f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1120f279ebdSThierry Reding }; 1130f279ebdSThierry Reding ulpi_dir_py1 { 1140f279ebdSThierry Reding nvidia,pins = "ulpi_dir_py1"; 1150f279ebdSThierry Reding nvidia,function = "spi1"; 1160f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1170f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1180f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1190f279ebdSThierry Reding }; 1200f279ebdSThierry Reding cam_i2c_scl_pbb1 { 1210f279ebdSThierry Reding nvidia,pins = "cam_i2c_scl_pbb1", 1220f279ebdSThierry Reding "cam_i2c_sda_pbb2"; 1230f279ebdSThierry Reding nvidia,function = "i2c3"; 1240f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1250f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1260f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1270f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 1280f279ebdSThierry Reding nvidia,open-drain = <TEGRA_PIN_ENABLE>; 1290f279ebdSThierry Reding }; 1300f279ebdSThierry Reding gen2_i2c_scl_pt5 { 1310f279ebdSThierry Reding nvidia,pins = "gen2_i2c_scl_pt5", 1320f279ebdSThierry Reding "gen2_i2c_sda_pt6"; 1330f279ebdSThierry Reding nvidia,function = "i2c2"; 1340f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1350f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1360f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1370f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 1380f279ebdSThierry Reding nvidia,open-drain = <TEGRA_PIN_ENABLE>; 1390f279ebdSThierry Reding }; 1400f279ebdSThierry Reding pj7 { 1410f279ebdSThierry Reding nvidia,pins = "pj7"; 1420f279ebdSThierry Reding nvidia,function = "uartd"; 1430f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1440f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1450f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1460f279ebdSThierry Reding }; 1470f279ebdSThierry Reding spdif_in_pk6 { 1480f279ebdSThierry Reding nvidia,pins = "spdif_in_pk6"; 1490f279ebdSThierry Reding nvidia,function = "spdif"; 1500f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1510f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1520f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1530f279ebdSThierry Reding }; 1540f279ebdSThierry Reding pk7 { 1550f279ebdSThierry Reding nvidia,pins = "pk7"; 1560f279ebdSThierry Reding nvidia,function = "uartd"; 1570f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1580f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1590f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1600f279ebdSThierry Reding }; 1610f279ebdSThierry Reding pg4 { 1620f279ebdSThierry Reding nvidia,pins = "pg4", 1630f279ebdSThierry Reding "pg5", 1640f279ebdSThierry Reding "pg6", 1650f279ebdSThierry Reding "pi3"; 1660f279ebdSThierry Reding nvidia,function = "spi4"; 1670f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1680f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1690f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1700f279ebdSThierry Reding }; 1710f279ebdSThierry Reding pg7 { 1720f279ebdSThierry Reding nvidia,pins = "pg7"; 1730f279ebdSThierry Reding nvidia,function = "spi4"; 1740f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1750f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1760f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1770f279ebdSThierry Reding }; 1780f279ebdSThierry Reding ph1 { 1790f279ebdSThierry Reding nvidia,pins = "ph1"; 1800f279ebdSThierry Reding nvidia,function = "pwm1"; 1810f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1820f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1830f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1840f279ebdSThierry Reding }; 1850f279ebdSThierry Reding pk0 { 1860f279ebdSThierry Reding nvidia,pins = "pk0", 1870f279ebdSThierry Reding "kb_row15_ps7", 1880f279ebdSThierry Reding "clk_32k_out_pa0"; 1890f279ebdSThierry Reding nvidia,function = "soc"; 1900f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 1910f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1920f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1930f279ebdSThierry Reding }; 1940f279ebdSThierry Reding sdmmc1_clk_pz0 { 1950f279ebdSThierry Reding nvidia,pins = "sdmmc1_clk_pz0"; 1960f279ebdSThierry Reding nvidia,function = "sdmmc1"; 1970f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1980f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 1990f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2000f279ebdSThierry Reding }; 2010f279ebdSThierry Reding sdmmc1_cmd_pz1 { 2020f279ebdSThierry Reding nvidia,pins = "sdmmc1_cmd_pz1", 2030f279ebdSThierry Reding "sdmmc1_dat0_py7", 2040f279ebdSThierry Reding "sdmmc1_dat1_py6", 2050f279ebdSThierry Reding "sdmmc1_dat2_py5", 2060f279ebdSThierry Reding "sdmmc1_dat3_py4"; 2070f279ebdSThierry Reding nvidia,function = "sdmmc1"; 2080f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 2090f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2100f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2110f279ebdSThierry Reding }; 2120f279ebdSThierry Reding sdmmc3_clk_pa6 { 2130f279ebdSThierry Reding nvidia,pins = "sdmmc3_clk_pa6"; 2140f279ebdSThierry Reding nvidia,function = "sdmmc3"; 2150f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2160f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2170f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2180f279ebdSThierry Reding }; 2190f279ebdSThierry Reding sdmmc3_cmd_pa7 { 2200f279ebdSThierry Reding nvidia,pins = "sdmmc3_cmd_pa7", 2210f279ebdSThierry Reding "sdmmc3_dat0_pb7", 2220f279ebdSThierry Reding "sdmmc3_dat1_pb6", 2230f279ebdSThierry Reding "sdmmc3_dat2_pb5", 2240f279ebdSThierry Reding "sdmmc3_dat3_pb4", 2250f279ebdSThierry Reding "kb_col4_pq4", 2260f279ebdSThierry Reding "sdmmc3_clk_lb_out_pee4", 2270f279ebdSThierry Reding "sdmmc3_clk_lb_in_pee5", 2280f279ebdSThierry Reding "sdmmc3_cd_n_pv2"; 2290f279ebdSThierry Reding nvidia,function = "sdmmc3"; 2300f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 2310f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2320f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2330f279ebdSThierry Reding }; 2340f279ebdSThierry Reding sdmmc4_clk_pcc4 { 2350f279ebdSThierry Reding nvidia,pins = "sdmmc4_clk_pcc4"; 2360f279ebdSThierry Reding nvidia,function = "sdmmc4"; 2370f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2380f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2390f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2400f279ebdSThierry Reding }; 2410f279ebdSThierry Reding sdmmc4_cmd_pt7 { 2420f279ebdSThierry Reding nvidia,pins = "sdmmc4_cmd_pt7", 2430f279ebdSThierry Reding "sdmmc4_dat0_paa0", 2440f279ebdSThierry Reding "sdmmc4_dat1_paa1", 2450f279ebdSThierry Reding "sdmmc4_dat2_paa2", 2460f279ebdSThierry Reding "sdmmc4_dat3_paa3", 2470f279ebdSThierry Reding "sdmmc4_dat4_paa4", 2480f279ebdSThierry Reding "sdmmc4_dat5_paa5", 2490f279ebdSThierry Reding "sdmmc4_dat6_paa6", 2500f279ebdSThierry Reding "sdmmc4_dat7_paa7"; 2510f279ebdSThierry Reding nvidia,function = "sdmmc4"; 2520f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 2530f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2540f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2550f279ebdSThierry Reding }; 2560f279ebdSThierry Reding mic_det_l { 2570f279ebdSThierry Reding nvidia,pins = "kb_row7_pr7"; 2580f279ebdSThierry Reding nvidia,function = "rsvd2"; 2590f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 2600f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2610f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2620f279ebdSThierry Reding }; 2630f279ebdSThierry Reding kb_row10_ps2 { 2640f279ebdSThierry Reding nvidia,pins = "kb_row10_ps2"; 2650f279ebdSThierry Reding nvidia,function = "uarta"; 2660f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 2670f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2680f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2690f279ebdSThierry Reding }; 2700f279ebdSThierry Reding kb_row9_ps1 { 2710f279ebdSThierry Reding nvidia,pins = "kb_row9_ps1"; 2720f279ebdSThierry Reding nvidia,function = "uarta"; 2730f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2740f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2750f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 2760f279ebdSThierry Reding }; 2770f279ebdSThierry Reding pwr_i2c_scl_pz6 { 2780f279ebdSThierry Reding nvidia,pins = "pwr_i2c_scl_pz6", 2790f279ebdSThierry Reding "pwr_i2c_sda_pz7"; 2800f279ebdSThierry Reding nvidia,function = "i2cpwr"; 2810f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2820f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2830f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2840f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 2850f279ebdSThierry Reding nvidia,open-drain = <TEGRA_PIN_ENABLE>; 2860f279ebdSThierry Reding }; 2870f279ebdSThierry Reding jtag_rtck { 2880f279ebdSThierry Reding nvidia,pins = "jtag_rtck"; 2890f279ebdSThierry Reding nvidia,function = "rtck"; 2900f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 2910f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2920f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 2930f279ebdSThierry Reding }; 2940f279ebdSThierry Reding clk_32k_in { 2950f279ebdSThierry Reding nvidia,pins = "clk_32k_in"; 2960f279ebdSThierry Reding nvidia,function = "clk"; 2970f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2980f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 2990f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3000f279ebdSThierry Reding }; 3010f279ebdSThierry Reding core_pwr_req { 3020f279ebdSThierry Reding nvidia,pins = "core_pwr_req"; 3030f279ebdSThierry Reding nvidia,function = "pwron"; 3040f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3050f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3060f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3070f279ebdSThierry Reding }; 3080f279ebdSThierry Reding cpu_pwr_req { 3090f279ebdSThierry Reding nvidia,pins = "cpu_pwr_req"; 3100f279ebdSThierry Reding nvidia,function = "cpu"; 3110f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3120f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3130f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3140f279ebdSThierry Reding }; 3150f279ebdSThierry Reding kb_col0_ap { 3160f279ebdSThierry Reding nvidia,pins = "kb_col0_pq0"; 3170f279ebdSThierry Reding nvidia,function = "rsvd4"; 3180f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 3190f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3200f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3210f279ebdSThierry Reding }; 3220f279ebdSThierry Reding en_vdd_sd { 3230f279ebdSThierry Reding nvidia,pins = "kb_row0_pr0"; 3240f279ebdSThierry Reding nvidia,function = "rsvd4"; 3250f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3260f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3270f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3280f279ebdSThierry Reding }; 3290f279ebdSThierry Reding lid_open { 3300f279ebdSThierry Reding nvidia,pins = "kb_row4_pr4"; 3310f279ebdSThierry Reding nvidia,function = "rsvd3"; 3320f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 3330f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3340f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3350f279ebdSThierry Reding }; 3360f279ebdSThierry Reding pwr_int_n { 3370f279ebdSThierry Reding nvidia,pins = "pwr_int_n"; 3380f279ebdSThierry Reding nvidia,function = "pmi"; 3390f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 3400f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3410f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3420f279ebdSThierry Reding }; 3430f279ebdSThierry Reding reset_out_n { 3440f279ebdSThierry Reding nvidia,pins = "reset_out_n"; 3450f279ebdSThierry Reding nvidia,function = "reset_out_n"; 3460f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3470f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3480f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3490f279ebdSThierry Reding }; 3500f279ebdSThierry Reding clk3_out_pee0 { 3510f279ebdSThierry Reding nvidia,pins = "clk3_out_pee0"; 3520f279ebdSThierry Reding nvidia,function = "extperiph3"; 3530f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3540f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3550f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3560f279ebdSThierry Reding }; 3570f279ebdSThierry Reding gen1_i2c_scl_pc4 { 3580f279ebdSThierry Reding nvidia,pins = "gen1_i2c_scl_pc4", 3590f279ebdSThierry Reding "gen1_i2c_sda_pc5"; 3600f279ebdSThierry Reding nvidia,function = "i2c1"; 3610f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3620f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3630f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3640f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 3650f279ebdSThierry Reding nvidia,open-drain = <TEGRA_PIN_ENABLE>; 3660f279ebdSThierry Reding }; 3670f279ebdSThierry Reding hdmi_cec_pee3 { 3680f279ebdSThierry Reding nvidia,pins = "hdmi_cec_pee3"; 3690f279ebdSThierry Reding nvidia,function = "cec"; 3700f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3710f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3720f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3730f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 3740f279ebdSThierry Reding nvidia,open-drain = <TEGRA_PIN_DISABLE>; 3750f279ebdSThierry Reding }; 3760f279ebdSThierry Reding hdmi_int_pn7 { 3770f279ebdSThierry Reding nvidia,pins = "hdmi_int_pn7"; 3780f279ebdSThierry Reding nvidia,function = "rsvd1"; 3790f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 3800f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3810f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3820f279ebdSThierry Reding }; 3830f279ebdSThierry Reding ddc_scl_pv4 { 3840f279ebdSThierry Reding nvidia,pins = "ddc_scl_pv4", 3850f279ebdSThierry Reding "ddc_sda_pv5"; 3860f279ebdSThierry Reding nvidia,function = "i2c4"; 3870f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 3880f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 3890f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3900f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 3910f279ebdSThierry Reding nvidia,rcv-sel = <TEGRA_PIN_ENABLE>; 3920f279ebdSThierry Reding }; 3930f279ebdSThierry Reding usb_vbus_en0_pn4 { 3940f279ebdSThierry Reding nvidia,pins = "usb_vbus_en0_pn4", 3950f279ebdSThierry Reding "usb_vbus_en1_pn5", 3960f279ebdSThierry Reding "usb_vbus_en2_pff1"; 3970f279ebdSThierry Reding nvidia,function = "usb"; 3980f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 3990f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_ENABLE>; 4000f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4010f279ebdSThierry Reding nvidia,lock = <TEGRA_PIN_DISABLE>; 4020f279ebdSThierry Reding nvidia,open-drain = <TEGRA_PIN_DISABLE>; 4030f279ebdSThierry Reding }; 4040f279ebdSThierry Reding drive_sdio1 { 4050f279ebdSThierry Reding nvidia,pins = "drive_sdio1"; 4060f279ebdSThierry Reding nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 4070f279ebdSThierry Reding nvidia,schmitt = <TEGRA_PIN_DISABLE>; 4080f279ebdSThierry Reding nvidia,pull-down-strength = <36>; 4090f279ebdSThierry Reding nvidia,pull-up-strength = <20>; 4100f279ebdSThierry Reding nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOW>; 4110f279ebdSThierry Reding nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOW>; 4120f279ebdSThierry Reding }; 4130f279ebdSThierry Reding drive_sdio3 { 4140f279ebdSThierry Reding nvidia,pins = "drive_sdio3"; 4150f279ebdSThierry Reding nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 4160f279ebdSThierry Reding nvidia,schmitt = <TEGRA_PIN_DISABLE>; 4170f279ebdSThierry Reding nvidia,pull-down-strength = <22>; 4180f279ebdSThierry Reding nvidia,pull-up-strength = <36>; 4190f279ebdSThierry Reding nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4200f279ebdSThierry Reding nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4210f279ebdSThierry Reding }; 4220f279ebdSThierry Reding drive_gma { 4230f279ebdSThierry Reding nvidia,pins = "drive_gma"; 4240f279ebdSThierry Reding nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 4250f279ebdSThierry Reding nvidia,schmitt = <TEGRA_PIN_DISABLE>; 4260f279ebdSThierry Reding nvidia,pull-down-strength = <2>; 4270f279ebdSThierry Reding nvidia,pull-up-strength = <1>; 4280f279ebdSThierry Reding nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4290f279ebdSThierry Reding nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4300f279ebdSThierry Reding nvidia,drive-type = <1>; 4310f279ebdSThierry Reding }; 4320f279ebdSThierry Reding ac_ok { 4330f279ebdSThierry Reding nvidia,pins = "pj0"; 4340f279ebdSThierry Reding nvidia,function = "gmi"; 4350f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 4360f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_ENABLE>; 4370f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4380f279ebdSThierry Reding }; 4390f279ebdSThierry Reding codec_irq_l { 4400f279ebdSThierry Reding nvidia,pins = "ph4"; 4410f279ebdSThierry Reding nvidia,function = "gmi"; 4420f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4430f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4440f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4450f279ebdSThierry Reding }; 4460f279ebdSThierry Reding lcd_bl_en { 4470f279ebdSThierry Reding nvidia,pins = "ph2"; 4480f279ebdSThierry Reding nvidia,function = "gmi"; 4490f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 4500f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4510f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 4520f279ebdSThierry Reding }; 4530f279ebdSThierry Reding touch_irq_l { 4540f279ebdSThierry Reding nvidia,pins = "gpio_w3_aud_pw3"; 4550f279ebdSThierry Reding nvidia,function = "spi6"; 4560f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4570f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4580f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4590f279ebdSThierry Reding }; 4600f279ebdSThierry Reding tpm_davint_l { 4610f279ebdSThierry Reding nvidia,pins = "ph6"; 4620f279ebdSThierry Reding nvidia,function = "gmi"; 4630f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4640f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4650f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4660f279ebdSThierry Reding }; 4670f279ebdSThierry Reding ts_irq_l { 4680f279ebdSThierry Reding nvidia,pins = "pk2"; 4690f279ebdSThierry Reding nvidia,function = "gmi"; 4700f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4710f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4720f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4730f279ebdSThierry Reding }; 4740f279ebdSThierry Reding ts_reset_l { 4750f279ebdSThierry Reding nvidia,pins = "pk4"; 4760f279ebdSThierry Reding nvidia,function = "gmi"; 4770f279ebdSThierry Reding nvidia,pull = <1>; 4780f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4790f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 4800f279ebdSThierry Reding }; 4810f279ebdSThierry Reding ts_shdn_l { 4820f279ebdSThierry Reding nvidia,pins = "pk1"; 4830f279ebdSThierry Reding nvidia,function = "gmi"; 4840f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 4850f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4860f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 4870f279ebdSThierry Reding }; 4880f279ebdSThierry Reding ph7 { 4890f279ebdSThierry Reding nvidia,pins = "ph7"; 4900f279ebdSThierry Reding nvidia,function = "gmi"; 4910f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4920f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 4930f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4940f279ebdSThierry Reding }; 4950f279ebdSThierry Reding sensor_irq_l { 4960f279ebdSThierry Reding nvidia,pins = "pi6"; 4970f279ebdSThierry Reding nvidia,function = "gmi"; 4980f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4990f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 5000f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 5010f279ebdSThierry Reding }; 5020f279ebdSThierry Reding wifi_en { 5030f279ebdSThierry Reding nvidia,pins = "gpio_x7_aud_px7"; 5040f279ebdSThierry Reding nvidia,function = "rsvd4"; 5050f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 5060f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 5070f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 5080f279ebdSThierry Reding }; 5090f279ebdSThierry Reding chromeos_write_protect { 5100f279ebdSThierry Reding nvidia,pins = "kb_row1_pr1"; 5110f279ebdSThierry Reding nvidia,function = "rsvd4"; 5120f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 5130f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 5140f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 5150f279ebdSThierry Reding }; 5160f279ebdSThierry Reding hp_det_l { 5170f279ebdSThierry Reding nvidia,pins = "pi7"; 5180f279ebdSThierry Reding nvidia,function = "rsvd1"; 5190f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_NONE>; 5200f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 5210f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_ENABLE>; 5220f279ebdSThierry Reding }; 5230f279ebdSThierry Reding soc_warm_reset_l { 5240f279ebdSThierry Reding nvidia,pins = "pi5"; 5250f279ebdSThierry Reding nvidia,function = "gmi"; 5260f279ebdSThierry Reding nvidia,pull = <TEGRA_PIN_PULL_UP>; 5270f279ebdSThierry Reding nvidia,tristate = <TEGRA_PIN_DISABLE>; 5280f279ebdSThierry Reding nvidia,enable-input = <TEGRA_PIN_DISABLE>; 5290f279ebdSThierry Reding }; 5300f279ebdSThierry Reding }; 5310f279ebdSThierry Reding }; 5320f279ebdSThierry Reding 533be70771dSThierry Reding serial@70006000 { 5346b53039eSThierry Reding /delete-property/ dmas; 5356b53039eSThierry Reding /delete-property/ dma-names; 5360f279ebdSThierry Reding status = "okay"; 5370f279ebdSThierry Reding }; 5380f279ebdSThierry Reding 539be70771dSThierry Reding pwm: pwm@7000a000 { 5400f279ebdSThierry Reding status = "okay"; 5410f279ebdSThierry Reding }; 5420f279ebdSThierry Reding 5430f279ebdSThierry Reding /* HDMI DDC */ 544be70771dSThierry Reding hdmi_ddc: i2c@7000c700 { 5450f279ebdSThierry Reding status = "okay"; 5460f279ebdSThierry Reding clock-frequency = <100000>; 5470f279ebdSThierry Reding }; 5480f279ebdSThierry Reding 549be70771dSThierry Reding i2c@7000d000 { 5500f279ebdSThierry Reding status = "okay"; 5510f279ebdSThierry Reding clock-frequency = <400000>; 5520f279ebdSThierry Reding 5530f279ebdSThierry Reding as3722: pmic@40 { 5540f279ebdSThierry Reding compatible = "ams,as3722"; 5550f279ebdSThierry Reding reg = <0x40>; 5560f279ebdSThierry Reding interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 5570f279ebdSThierry Reding 5580f279ebdSThierry Reding ams,system-power-controller; 5590f279ebdSThierry Reding 5600f279ebdSThierry Reding #interrupt-cells = <2>; 5610f279ebdSThierry Reding interrupt-controller; 5620f279ebdSThierry Reding 5630f279ebdSThierry Reding #gpio-cells = <2>; 5640f279ebdSThierry Reding gpio-controller; 5650f279ebdSThierry Reding 5660f279ebdSThierry Reding pinctrl-names = "default"; 5670f279ebdSThierry Reding pinctrl-0 = <&as3722_default>; 5680f279ebdSThierry Reding 5692c6fd24dSThierry Reding as3722_default: pinmux { 5700f279ebdSThierry Reding gpio0 { 5710f279ebdSThierry Reding pins = "gpio0"; 5720f279ebdSThierry Reding function = "gpio"; 5730f279ebdSThierry Reding bias-pull-down; 5740f279ebdSThierry Reding }; 5750f279ebdSThierry Reding 5760f279ebdSThierry Reding gpio1 { 5770f279ebdSThierry Reding pins = "gpio1"; 5780f279ebdSThierry Reding function = "gpio"; 5790f279ebdSThierry Reding bias-pull-up; 5800f279ebdSThierry Reding }; 5810f279ebdSThierry Reding 5820f279ebdSThierry Reding gpio2_4_7 { 5830f279ebdSThierry Reding pins = "gpio2", "gpio4", "gpio7"; 5840f279ebdSThierry Reding function = "gpio"; 5850f279ebdSThierry Reding bias-pull-up; 5860f279ebdSThierry Reding }; 5870f279ebdSThierry Reding 5880f279ebdSThierry Reding gpio3 { 5890f279ebdSThierry Reding pins = "gpio3"; 5900f279ebdSThierry Reding function = "gpio"; 5910f279ebdSThierry Reding bias-high-impedance; 5920f279ebdSThierry Reding }; 5930f279ebdSThierry Reding 5940f279ebdSThierry Reding gpio5 { 5950f279ebdSThierry Reding pins = "gpio5"; 5960f279ebdSThierry Reding function = "clk32k-out"; 5970f279ebdSThierry Reding bias-pull-down; 5980f279ebdSThierry Reding }; 5990f279ebdSThierry Reding 6000f279ebdSThierry Reding gpio6 { 6010f279ebdSThierry Reding pins = "gpio6"; 6020f279ebdSThierry Reding function = "clk32k-out"; 6030f279ebdSThierry Reding bias-pull-down; 6040f279ebdSThierry Reding }; 6050f279ebdSThierry Reding }; 6060f279ebdSThierry Reding 6070f279ebdSThierry Reding regulators { 6080f279ebdSThierry Reding vsup-sd2-supply = <&vdd_5v0_sys>; 6090f279ebdSThierry Reding vsup-sd3-supply = <&vdd_5v0_sys>; 6100f279ebdSThierry Reding vsup-sd4-supply = <&vdd_5v0_sys>; 6110f279ebdSThierry Reding vsup-sd5-supply = <&vdd_5v0_sys>; 6120f279ebdSThierry Reding vin-ldo0-supply = <&vdd_1v35_lp0>; 6130f279ebdSThierry Reding vin-ldo1-6-supply = <&vdd_3v3_sys>; 6140f279ebdSThierry Reding vin-ldo2-5-7-supply = <&vddio_1v8>; 6150f279ebdSThierry Reding vin-ldo3-4-supply = <&vdd_3v3_sys>; 6160f279ebdSThierry Reding vin-ldo9-10-supply = <&vdd_5v0_sys>; 6170f279ebdSThierry Reding vin-ldo11-supply = <&vdd_3v3_run>; 6180f279ebdSThierry Reding 6190f279ebdSThierry Reding sd0 { 6200f279ebdSThierry Reding regulator-name = "+VDD_CPU_AP"; 6210f279ebdSThierry Reding regulator-min-microvolt = <700000>; 6220f279ebdSThierry Reding regulator-max-microvolt = <1350000>; 6230f279ebdSThierry Reding regulator-max-microamp = <3500000>; 6240f279ebdSThierry Reding regulator-always-on; 6250f279ebdSThierry Reding regulator-boot-on; 6260f279ebdSThierry Reding ams,ext-control = <2>; 6270f279ebdSThierry Reding }; 6280f279ebdSThierry Reding 6290f279ebdSThierry Reding sd1 { 6300f279ebdSThierry Reding regulator-name = "+VDD_CORE"; 6310f279ebdSThierry Reding regulator-min-microvolt = <700000>; 6320f279ebdSThierry Reding regulator-max-microvolt = <1350000>; 6330f279ebdSThierry Reding regulator-max-microamp = <4000000>; 6340f279ebdSThierry Reding regulator-always-on; 6350f279ebdSThierry Reding regulator-boot-on; 6360f279ebdSThierry Reding ams,ext-control = <1>; 6370f279ebdSThierry Reding }; 6380f279ebdSThierry Reding 6390f279ebdSThierry Reding vdd_1v35_lp0: sd2 { 6400f279ebdSThierry Reding regulator-name = "+1.35V_LP0(sd2)"; 6410f279ebdSThierry Reding regulator-min-microvolt = <1350000>; 6420f279ebdSThierry Reding regulator-max-microvolt = <1350000>; 6430f279ebdSThierry Reding regulator-always-on; 6440f279ebdSThierry Reding regulator-boot-on; 6450f279ebdSThierry Reding }; 6460f279ebdSThierry Reding 6470f279ebdSThierry Reding sd3 { 6480f279ebdSThierry Reding regulator-name = "+1.35V_LP0(sd3)"; 6490f279ebdSThierry Reding regulator-min-microvolt = <1350000>; 6500f279ebdSThierry Reding regulator-max-microvolt = <1350000>; 6510f279ebdSThierry Reding regulator-always-on; 6520f279ebdSThierry Reding regulator-boot-on; 6530f279ebdSThierry Reding }; 6540f279ebdSThierry Reding 6550f279ebdSThierry Reding vdd_1v05_run: sd4 { 6560f279ebdSThierry Reding regulator-name = "+1.05V_RUN"; 6570f279ebdSThierry Reding regulator-min-microvolt = <1050000>; 6580f279ebdSThierry Reding regulator-max-microvolt = <1050000>; 6590f279ebdSThierry Reding }; 6600f279ebdSThierry Reding 6610f279ebdSThierry Reding vddio_1v8: sd5 { 6620f279ebdSThierry Reding regulator-name = "+1.8V_VDDIO"; 6630f279ebdSThierry Reding regulator-min-microvolt = <1800000>; 6640f279ebdSThierry Reding regulator-max-microvolt = <1800000>; 6650f279ebdSThierry Reding regulator-always-on; 6660f279ebdSThierry Reding regulator-boot-on; 6670f279ebdSThierry Reding }; 6680f279ebdSThierry Reding 6690f279ebdSThierry Reding vdd_gpu: sd6 { 6700f279ebdSThierry Reding regulator-name = "+VDD_GPU_AP"; 6710f279ebdSThierry Reding regulator-min-microvolt = <800000>; 6720f279ebdSThierry Reding regulator-max-microvolt = <1200000>; 6730f279ebdSThierry Reding regulator-min-microamp = <3500000>; 6740f279ebdSThierry Reding regulator-max-microamp = <3500000>; 6750f279ebdSThierry Reding regulator-always-on; 6760f279ebdSThierry Reding regulator-boot-on; 6770f279ebdSThierry Reding }; 6780f279ebdSThierry Reding 679574d9cffSThierry Reding avdd_1v05_run: ldo0 { 6800f279ebdSThierry Reding regulator-name = "+1.05_RUN_AVDD"; 6810f279ebdSThierry Reding regulator-min-microvolt = <1050000>; 6820f279ebdSThierry Reding regulator-max-microvolt = <1050000>; 6830f279ebdSThierry Reding regulator-always-on; 6840f279ebdSThierry Reding regulator-boot-on; 6850f279ebdSThierry Reding ams,ext-control = <1>; 6860f279ebdSThierry Reding }; 6870f279ebdSThierry Reding 6880f279ebdSThierry Reding ldo1 { 6890f279ebdSThierry Reding regulator-name = "+1.8V_RUN_CAM"; 6900f279ebdSThierry Reding regulator-min-microvolt = <1800000>; 6910f279ebdSThierry Reding regulator-max-microvolt = <1800000>; 6920f279ebdSThierry Reding }; 6930f279ebdSThierry Reding 6940f279ebdSThierry Reding ldo2 { 6950f279ebdSThierry Reding regulator-name = "+1.2V_GEN_AVDD"; 6960f279ebdSThierry Reding regulator-min-microvolt = <1200000>; 6970f279ebdSThierry Reding regulator-max-microvolt = <1200000>; 6980f279ebdSThierry Reding regulator-always-on; 6990f279ebdSThierry Reding regulator-boot-on; 7000f279ebdSThierry Reding }; 7010f279ebdSThierry Reding 7020f279ebdSThierry Reding ldo3 { 7030f279ebdSThierry Reding regulator-name = "+1.00V_LP0_VDD_RTC"; 7040f279ebdSThierry Reding regulator-min-microvolt = <1000000>; 7050f279ebdSThierry Reding regulator-max-microvolt = <1000000>; 7060f279ebdSThierry Reding regulator-always-on; 7070f279ebdSThierry Reding regulator-boot-on; 7080f279ebdSThierry Reding ams,enable-tracking; 7090f279ebdSThierry Reding }; 7100f279ebdSThierry Reding 7110f279ebdSThierry Reding vdd_run_cam: ldo4 { 7120f279ebdSThierry Reding regulator-name = "+2.8V_RUN_CAM"; 7130f279ebdSThierry Reding regulator-min-microvolt = <2800000>; 7140f279ebdSThierry Reding regulator-max-microvolt = <2800000>; 7150f279ebdSThierry Reding }; 7160f279ebdSThierry Reding 7170f279ebdSThierry Reding ldo5 { 7180f279ebdSThierry Reding regulator-name = "+1.2V_RUN_CAM_FRONT"; 7190f279ebdSThierry Reding regulator-min-microvolt = <1200000>; 7200f279ebdSThierry Reding regulator-max-microvolt = <1200000>; 7210f279ebdSThierry Reding }; 7220f279ebdSThierry Reding 7230f279ebdSThierry Reding vddio_sdmmc3: ldo6 { 7240f279ebdSThierry Reding regulator-name = "+VDDIO_SDMMC3"; 7250f279ebdSThierry Reding regulator-min-microvolt = <1800000>; 7260f279ebdSThierry Reding regulator-max-microvolt = <3300000>; 7270f279ebdSThierry Reding }; 7280f279ebdSThierry Reding 7290f279ebdSThierry Reding ldo7 { 7300f279ebdSThierry Reding regulator-name = "+1.05V_RUN_CAM_REAR"; 7310f279ebdSThierry Reding regulator-min-microvolt = <1050000>; 7320f279ebdSThierry Reding regulator-max-microvolt = <1050000>; 7330f279ebdSThierry Reding }; 7340f279ebdSThierry Reding 7350f279ebdSThierry Reding ldo9 { 7360f279ebdSThierry Reding regulator-name = "+2.8V_RUN_TOUCH"; 7370f279ebdSThierry Reding regulator-min-microvolt = <2800000>; 7380f279ebdSThierry Reding regulator-max-microvolt = <2800000>; 7390f279ebdSThierry Reding }; 7400f279ebdSThierry Reding 7410f279ebdSThierry Reding ldo10 { 7420f279ebdSThierry Reding regulator-name = "+2.8V_RUN_CAM_AF"; 7430f279ebdSThierry Reding regulator-min-microvolt = <2800000>; 7440f279ebdSThierry Reding regulator-max-microvolt = <2800000>; 7450f279ebdSThierry Reding }; 7460f279ebdSThierry Reding 7470f279ebdSThierry Reding ldo11 { 7480f279ebdSThierry Reding regulator-name = "+1.8V_RUN_VPP_FUSE"; 7490f279ebdSThierry Reding regulator-min-microvolt = <1800000>; 7500f279ebdSThierry Reding regulator-max-microvolt = <1800000>; 7510f279ebdSThierry Reding }; 7520f279ebdSThierry Reding }; 7530f279ebdSThierry Reding }; 7540f279ebdSThierry Reding }; 7550f279ebdSThierry Reding 756be70771dSThierry Reding spi@7000d400 { 7570f279ebdSThierry Reding status = "okay"; 7580f279ebdSThierry Reding 7590f279ebdSThierry Reding ec: cros-ec@0 { 7600f279ebdSThierry Reding compatible = "google,cros-ec-spi"; 7610f279ebdSThierry Reding spi-max-frequency = <3000000>; 7620f279ebdSThierry Reding interrupt-parent = <&gpio>; 7630f279ebdSThierry Reding interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>; 7640f279ebdSThierry Reding reg = <0>; 7650f279ebdSThierry Reding 7660f279ebdSThierry Reding google,cros-ec-spi-msg-delay = <2000>; 7670f279ebdSThierry Reding 7680f279ebdSThierry Reding i2c_20: i2c-tunnel { 7690f279ebdSThierry Reding compatible = "google,cros-ec-i2c-tunnel"; 7700f279ebdSThierry Reding #address-cells = <1>; 7710f279ebdSThierry Reding #size-cells = <0>; 7720f279ebdSThierry Reding 7730f279ebdSThierry Reding google,remote-bus = <0>; 7740f279ebdSThierry Reding 7752c6fd24dSThierry Reding charger: bq24735@9 { 7760f279ebdSThierry Reding compatible = "ti,bq24735"; 7770f279ebdSThierry Reding reg = <0x9>; 7780f279ebdSThierry Reding interrupt-parent = <&gpio>; 7790f279ebdSThierry Reding interrupts = <TEGRA_GPIO(J, 0) 7800f279ebdSThierry Reding GPIO_ACTIVE_HIGH>; 7810f279ebdSThierry Reding ti,ac-detect-gpios = <&gpio 7820f279ebdSThierry Reding TEGRA_GPIO(J, 0) 7830f279ebdSThierry Reding GPIO_ACTIVE_HIGH>; 7840f279ebdSThierry Reding }; 7850f279ebdSThierry Reding 7862c6fd24dSThierry Reding battery: smart-battery@b { 7870f279ebdSThierry Reding compatible = "sbs,sbs-battery"; 7880f279ebdSThierry Reding reg = <0xb>; 7890f279ebdSThierry Reding sbs,i2c-retry-count = <2>; 7900f279ebdSThierry Reding sbs,poll-retry-count = <10>; 7910f279ebdSThierry Reding /* power-supplies = <&charger>; */ 7920f279ebdSThierry Reding }; 7930f279ebdSThierry Reding }; 7940f279ebdSThierry Reding 7950f279ebdSThierry Reding keyboard-controller { 7960f279ebdSThierry Reding compatible = "google,cros-ec-keyb"; 7970f279ebdSThierry Reding keypad,num-rows = <8>; 7980f279ebdSThierry Reding keypad,num-columns = <13>; 7990f279ebdSThierry Reding google,needs-ghost-filter; 8000f279ebdSThierry Reding linux,keymap = 8010f279ebdSThierry Reding <MATRIX_KEY(0x00, 0x01, KEY_LEFTMETA) 8020f279ebdSThierry Reding MATRIX_KEY(0x00, 0x02, KEY_F1) 8030f279ebdSThierry Reding MATRIX_KEY(0x00, 0x03, KEY_B) 8040f279ebdSThierry Reding MATRIX_KEY(0x00, 0x04, KEY_F10) 8050f279ebdSThierry Reding MATRIX_KEY(0x00, 0x06, KEY_N) 8060f279ebdSThierry Reding MATRIX_KEY(0x00, 0x08, KEY_EQUAL) 8070f279ebdSThierry Reding MATRIX_KEY(0x00, 0x0a, KEY_RIGHTALT) 8080f279ebdSThierry Reding 8090f279ebdSThierry Reding MATRIX_KEY(0x01, 0x01, KEY_ESC) 8100f279ebdSThierry Reding MATRIX_KEY(0x01, 0x02, KEY_F4) 8110f279ebdSThierry Reding MATRIX_KEY(0x01, 0x03, KEY_G) 8120f279ebdSThierry Reding MATRIX_KEY(0x01, 0x04, KEY_F7) 8130f279ebdSThierry Reding MATRIX_KEY(0x01, 0x06, KEY_H) 8140f279ebdSThierry Reding MATRIX_KEY(0x01, 0x08, KEY_APOSTROPHE) 8150f279ebdSThierry Reding MATRIX_KEY(0x01, 0x09, KEY_F9) 8160f279ebdSThierry Reding MATRIX_KEY(0x01, 0x0b, KEY_BACKSPACE) 8170f279ebdSThierry Reding 8180f279ebdSThierry Reding MATRIX_KEY(0x02, 0x00, KEY_LEFTCTRL) 8190f279ebdSThierry Reding MATRIX_KEY(0x02, 0x01, KEY_TAB) 8200f279ebdSThierry Reding MATRIX_KEY(0x02, 0x02, KEY_F3) 8210f279ebdSThierry Reding MATRIX_KEY(0x02, 0x03, KEY_T) 8220f279ebdSThierry Reding MATRIX_KEY(0x02, 0x04, KEY_F6) 8230f279ebdSThierry Reding MATRIX_KEY(0x02, 0x05, KEY_RIGHTBRACE) 8240f279ebdSThierry Reding MATRIX_KEY(0x02, 0x06, KEY_Y) 8250f279ebdSThierry Reding MATRIX_KEY(0x02, 0x07, KEY_102ND) 8260f279ebdSThierry Reding MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE) 8270f279ebdSThierry Reding MATRIX_KEY(0x02, 0x09, KEY_F8) 8280f279ebdSThierry Reding 8290f279ebdSThierry Reding MATRIX_KEY(0x03, 0x01, KEY_GRAVE) 8300f279ebdSThierry Reding MATRIX_KEY(0x03, 0x02, KEY_F2) 8310f279ebdSThierry Reding MATRIX_KEY(0x03, 0x03, KEY_5) 8320f279ebdSThierry Reding MATRIX_KEY(0x03, 0x04, KEY_F5) 8330f279ebdSThierry Reding MATRIX_KEY(0x03, 0x06, KEY_6) 8340f279ebdSThierry Reding MATRIX_KEY(0x03, 0x08, KEY_MINUS) 8350f279ebdSThierry Reding MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) 8360f279ebdSThierry Reding 8370f279ebdSThierry Reding MATRIX_KEY(0x04, 0x00, KEY_RIGHTCTRL) 8380f279ebdSThierry Reding MATRIX_KEY(0x04, 0x01, KEY_A) 8390f279ebdSThierry Reding MATRIX_KEY(0x04, 0x02, KEY_D) 8400f279ebdSThierry Reding MATRIX_KEY(0x04, 0x03, KEY_F) 8410f279ebdSThierry Reding MATRIX_KEY(0x04, 0x04, KEY_S) 8420f279ebdSThierry Reding MATRIX_KEY(0x04, 0x05, KEY_K) 8430f279ebdSThierry Reding MATRIX_KEY(0x04, 0x06, KEY_J) 8440f279ebdSThierry Reding MATRIX_KEY(0x04, 0x08, KEY_SEMICOLON) 8450f279ebdSThierry Reding MATRIX_KEY(0x04, 0x09, KEY_L) 8460f279ebdSThierry Reding MATRIX_KEY(0x04, 0x0a, KEY_BACKSLASH) 8470f279ebdSThierry Reding MATRIX_KEY(0x04, 0x0b, KEY_ENTER) 8480f279ebdSThierry Reding 8490f279ebdSThierry Reding MATRIX_KEY(0x05, 0x01, KEY_Z) 8500f279ebdSThierry Reding MATRIX_KEY(0x05, 0x02, KEY_C) 8510f279ebdSThierry Reding MATRIX_KEY(0x05, 0x03, KEY_V) 8520f279ebdSThierry Reding MATRIX_KEY(0x05, 0x04, KEY_X) 8530f279ebdSThierry Reding MATRIX_KEY(0x05, 0x05, KEY_COMMA) 8540f279ebdSThierry Reding MATRIX_KEY(0x05, 0x06, KEY_M) 8550f279ebdSThierry Reding MATRIX_KEY(0x05, 0x07, KEY_LEFTSHIFT) 8560f279ebdSThierry Reding MATRIX_KEY(0x05, 0x08, KEY_SLASH) 8570f279ebdSThierry Reding MATRIX_KEY(0x05, 0x09, KEY_DOT) 8580f279ebdSThierry Reding MATRIX_KEY(0x05, 0x0b, KEY_SPACE) 8590f279ebdSThierry Reding 8600f279ebdSThierry Reding MATRIX_KEY(0x06, 0x01, KEY_1) 8610f279ebdSThierry Reding MATRIX_KEY(0x06, 0x02, KEY_3) 8620f279ebdSThierry Reding MATRIX_KEY(0x06, 0x03, KEY_4) 8630f279ebdSThierry Reding MATRIX_KEY(0x06, 0x04, KEY_2) 8640f279ebdSThierry Reding MATRIX_KEY(0x06, 0x05, KEY_8) 8650f279ebdSThierry Reding MATRIX_KEY(0x06, 0x06, KEY_7) 8660f279ebdSThierry Reding MATRIX_KEY(0x06, 0x08, KEY_0) 8670f279ebdSThierry Reding MATRIX_KEY(0x06, 0x09, KEY_9) 8680f279ebdSThierry Reding MATRIX_KEY(0x06, 0x0a, KEY_LEFTALT) 8690f279ebdSThierry Reding MATRIX_KEY(0x06, 0x0b, KEY_DOWN) 8700f279ebdSThierry Reding MATRIX_KEY(0x06, 0x0c, KEY_RIGHT) 8710f279ebdSThierry Reding 8720f279ebdSThierry Reding MATRIX_KEY(0x07, 0x01, KEY_Q) 8730f279ebdSThierry Reding MATRIX_KEY(0x07, 0x02, KEY_E) 8740f279ebdSThierry Reding MATRIX_KEY(0x07, 0x03, KEY_R) 8750f279ebdSThierry Reding MATRIX_KEY(0x07, 0x04, KEY_W) 8760f279ebdSThierry Reding MATRIX_KEY(0x07, 0x05, KEY_I) 8770f279ebdSThierry Reding MATRIX_KEY(0x07, 0x06, KEY_U) 8780f279ebdSThierry Reding MATRIX_KEY(0x07, 0x07, KEY_RIGHTSHIFT) 8790f279ebdSThierry Reding MATRIX_KEY(0x07, 0x08, KEY_P) 8800f279ebdSThierry Reding MATRIX_KEY(0x07, 0x09, KEY_O) 8810f279ebdSThierry Reding MATRIX_KEY(0x07, 0x0b, KEY_UP) 8820f279ebdSThierry Reding MATRIX_KEY(0x07, 0x0c, KEY_LEFT)>; 8830f279ebdSThierry Reding }; 8840f279ebdSThierry Reding }; 8850f279ebdSThierry Reding }; 8860f279ebdSThierry Reding 887be70771dSThierry Reding pmc@7000e400 { 8880f279ebdSThierry Reding nvidia,invert-interrupt; 8890f279ebdSThierry Reding nvidia,suspend-mode = <0>; 8900f279ebdSThierry Reding nvidia,cpu-pwr-good-time = <500>; 8910f279ebdSThierry Reding nvidia,cpu-pwr-off-time = <300>; 8920f279ebdSThierry Reding nvidia,core-pwr-good-time = <641 3845>; 8930f279ebdSThierry Reding nvidia,core-pwr-off-time = <61036>; 8940f279ebdSThierry Reding nvidia,core-power-req-active-high; 8950f279ebdSThierry Reding nvidia,sys-clock-req-active-high; 8960f279ebdSThierry Reding }; 8970f279ebdSThierry Reding 898574d9cffSThierry Reding usb@70090000 { 899574d9cffSThierry Reding phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */ 900574d9cffSThierry Reding <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */ 901574d9cffSThierry Reding <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */ 902574d9cffSThierry Reding <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */ 903574d9cffSThierry Reding <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */ 904574d9cffSThierry Reding phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1"; 905574d9cffSThierry Reding 906574d9cffSThierry Reding avddio-pex-supply = <&vdd_1v05_run>; 907574d9cffSThierry Reding dvddio-pex-supply = <&vdd_1v05_run>; 908574d9cffSThierry Reding avdd-usb-supply = <&vdd_3v3_lp0>; 909574d9cffSThierry Reding hvdd-usb-ss-supply = <&vdd_3v3_lp0>; 910574d9cffSThierry Reding 911574d9cffSThierry Reding status = "okay"; 912574d9cffSThierry Reding }; 913574d9cffSThierry Reding 914574d9cffSThierry Reding padctl@7009f000 { 915574d9cffSThierry Reding avdd-pll-utmip-supply = <&vddio_1v8>; 916574d9cffSThierry Reding avdd-pll-erefe-supply = <&avdd_1v05_run>; 917574d9cffSThierry Reding avdd-pex-pll-supply = <&vdd_1v05_run>; 918574d9cffSThierry Reding hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>; 919574d9cffSThierry Reding 920574d9cffSThierry Reding pads { 921574d9cffSThierry Reding usb2 { 922574d9cffSThierry Reding status = "okay"; 923574d9cffSThierry Reding 924574d9cffSThierry Reding lanes { 925574d9cffSThierry Reding usb2-0 { 926574d9cffSThierry Reding nvidia,function = "xusb"; 927574d9cffSThierry Reding status = "okay"; 928574d9cffSThierry Reding }; 929574d9cffSThierry Reding 930574d9cffSThierry Reding usb2-1 { 931574d9cffSThierry Reding nvidia,function = "xusb"; 932574d9cffSThierry Reding status = "okay"; 933574d9cffSThierry Reding }; 934574d9cffSThierry Reding 935574d9cffSThierry Reding usb2-2 { 936574d9cffSThierry Reding nvidia,function = "xusb"; 937574d9cffSThierry Reding status = "okay"; 938574d9cffSThierry Reding }; 939574d9cffSThierry Reding }; 940574d9cffSThierry Reding }; 941574d9cffSThierry Reding 942574d9cffSThierry Reding pcie { 943574d9cffSThierry Reding status = "okay"; 944574d9cffSThierry Reding 945574d9cffSThierry Reding lanes { 946574d9cffSThierry Reding pcie-0 { 947574d9cffSThierry Reding nvidia,function = "usb3-ss"; 948574d9cffSThierry Reding status = "okay"; 949574d9cffSThierry Reding }; 950574d9cffSThierry Reding 951574d9cffSThierry Reding pcie-1 { 952574d9cffSThierry Reding nvidia,function = "usb3-ss"; 953574d9cffSThierry Reding status = "okay"; 954574d9cffSThierry Reding }; 955574d9cffSThierry Reding }; 956574d9cffSThierry Reding }; 957574d9cffSThierry Reding }; 958574d9cffSThierry Reding 959574d9cffSThierry Reding ports { 960574d9cffSThierry Reding usb2-0 { 961574d9cffSThierry Reding status = "okay"; 962574d9cffSThierry Reding mode = "otg"; 963574d9cffSThierry Reding 964574d9cffSThierry Reding vbus-supply = <&vdd_usb1_vbus>; 965574d9cffSThierry Reding }; 966574d9cffSThierry Reding 967574d9cffSThierry Reding usb2-1 { 968574d9cffSThierry Reding status = "okay"; 969574d9cffSThierry Reding mode = "host"; 970574d9cffSThierry Reding 971574d9cffSThierry Reding vbus-supply = <&vdd_run_cam>; 972574d9cffSThierry Reding }; 973574d9cffSThierry Reding 974574d9cffSThierry Reding usb2-2 { 975574d9cffSThierry Reding status = "okay"; 976574d9cffSThierry Reding mode = "host"; 977574d9cffSThierry Reding 978574d9cffSThierry Reding vbus-supply = <&vdd_usb3_vbus>; 979574d9cffSThierry Reding }; 980574d9cffSThierry Reding 981574d9cffSThierry Reding usb3-0 { 982574d9cffSThierry Reding nvidia,usb2-companion = <0>; 983574d9cffSThierry Reding status = "okay"; 984574d9cffSThierry Reding }; 985574d9cffSThierry Reding 986574d9cffSThierry Reding usb3-1 { 987574d9cffSThierry Reding nvidia,usb2-companion = <2>; 988574d9cffSThierry Reding status = "okay"; 989574d9cffSThierry Reding }; 990574d9cffSThierry Reding }; 991574d9cffSThierry Reding }; 992574d9cffSThierry Reding 9930f279ebdSThierry Reding /* WIFI/BT module */ 99467bb17f6SThierry Reding mmc@700b0000 { 9950f279ebdSThierry Reding status = "disabled"; 9960f279ebdSThierry Reding }; 9970f279ebdSThierry Reding 9980f279ebdSThierry Reding /* external SD/MMC */ 99967bb17f6SThierry Reding mmc@700b0400 { 10000f279ebdSThierry Reding cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 10010f279ebdSThierry Reding power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; 10020f279ebdSThierry Reding wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>; 10030f279ebdSThierry Reding status = "okay"; 10040f279ebdSThierry Reding bus-width = <4>; 10050f279ebdSThierry Reding vqmmc-supply = <&vddio_sdmmc3>; 10060f279ebdSThierry Reding }; 10070f279ebdSThierry Reding 10080f279ebdSThierry Reding /* EMMC 4.51 */ 100967bb17f6SThierry Reding mmc@700b0600 { 10100f279ebdSThierry Reding status = "okay"; 10110f279ebdSThierry Reding bus-width = <8>; 10120f279ebdSThierry Reding non-removable; 10130f279ebdSThierry Reding }; 10140f279ebdSThierry Reding 10150f279ebdSThierry Reding backlight: backlight { 10160f279ebdSThierry Reding compatible = "pwm-backlight"; 10170f279ebdSThierry Reding 10180f279ebdSThierry Reding enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 10190f279ebdSThierry Reding power-supply = <&vdd_led>; 10200f279ebdSThierry Reding pwms = <&pwm 1 1000000>; 10210f279ebdSThierry Reding 10220f279ebdSThierry Reding brightness-levels = <0 4 8 16 32 64 128 255>; 10230f279ebdSThierry Reding default-brightness-level = <6>; 10240f279ebdSThierry Reding }; 10250f279ebdSThierry Reding 10264cc3e3e1SThierry Reding clk32k_in: clock-32k { 10270f279ebdSThierry Reding compatible = "fixed-clock"; 10280f279ebdSThierry Reding clock-frequency = <32768>; 1029393a403eSThierry Reding #clock-cells = <0>; 10300f279ebdSThierry Reding }; 10310f279ebdSThierry Reding 10320f279ebdSThierry Reding gpio-keys { 10330f279ebdSThierry Reding compatible = "gpio-keys"; 10340f279ebdSThierry Reding 103579ed18d9SThierry Reding key-power { 103679ed18d9SThierry Reding label = "Power"; 103779ed18d9SThierry Reding gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 103879ed18d9SThierry Reding linux,code = <KEY_POWER>; 103979ed18d9SThierry Reding debounce-interval = <10>; 104079ed18d9SThierry Reding wakeup-source; 104179ed18d9SThierry Reding }; 104279ed18d9SThierry Reding 1043012877d0SKrzysztof Kozlowski switch-lid { 10440f279ebdSThierry Reding label = "Lid"; 10450f279ebdSThierry Reding gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>; 10460f279ebdSThierry Reding linux,input-type = <5>; 10470f279ebdSThierry Reding linux,code = <0>; 10480f279ebdSThierry Reding debounce-interval = <1>; 104981d22e89SSudeep Holla wakeup-source; 10500f279ebdSThierry Reding }; 10510f279ebdSThierry Reding }; 10520f279ebdSThierry Reding 10530f279ebdSThierry Reding panel: panel { 1054d3cd7d02SRob Herring compatible = "innolux,n116bge"; 10557eb04544SThierry Reding power-supply = <&vdd_3v3_panel>; 10560f279ebdSThierry Reding backlight = <&backlight>; 10570f279ebdSThierry Reding ddc-i2c-bus = <&dpaux>; 10580f279ebdSThierry Reding }; 10590f279ebdSThierry Reding 1060097e01c6SThierry Reding vdd_mux: regulator-vdd-mux { 10610f279ebdSThierry Reding compatible = "regulator-fixed"; 10620f279ebdSThierry Reding regulator-name = "+VDD_MUX"; 10630f279ebdSThierry Reding regulator-min-microvolt = <19000000>; 10640f279ebdSThierry Reding regulator-max-microvolt = <19000000>; 10650f279ebdSThierry Reding regulator-always-on; 10660f279ebdSThierry Reding regulator-boot-on; 10670f279ebdSThierry Reding }; 10680f279ebdSThierry Reding 1069097e01c6SThierry Reding vdd_5v0_sys: regulator-vdd-5v0-sys { 10700f279ebdSThierry Reding compatible = "regulator-fixed"; 10710f279ebdSThierry Reding regulator-name = "+5V_SYS"; 10720f279ebdSThierry Reding regulator-min-microvolt = <5000000>; 10730f279ebdSThierry Reding regulator-max-microvolt = <5000000>; 10740f279ebdSThierry Reding regulator-always-on; 10750f279ebdSThierry Reding regulator-boot-on; 10760f279ebdSThierry Reding vin-supply = <&vdd_mux>; 10770f279ebdSThierry Reding }; 10780f279ebdSThierry Reding 1079097e01c6SThierry Reding vdd_3v3_sys: regulator-vdd-3v3-sys { 10800f279ebdSThierry Reding compatible = "regulator-fixed"; 10810f279ebdSThierry Reding regulator-name = "+3.3V_SYS"; 10820f279ebdSThierry Reding regulator-min-microvolt = <3300000>; 10830f279ebdSThierry Reding regulator-max-microvolt = <3300000>; 10840f279ebdSThierry Reding regulator-always-on; 10850f279ebdSThierry Reding regulator-boot-on; 10860f279ebdSThierry Reding vin-supply = <&vdd_mux>; 10870f279ebdSThierry Reding }; 10880f279ebdSThierry Reding 1089097e01c6SThierry Reding vdd_3v3_run: regulator-vdd-3v3-run { 10900f279ebdSThierry Reding compatible = "regulator-fixed"; 10910f279ebdSThierry Reding regulator-name = "+3.3V_RUN"; 10920f279ebdSThierry Reding regulator-min-microvolt = <3300000>; 10930f279ebdSThierry Reding regulator-max-microvolt = <3300000>; 10940f279ebdSThierry Reding regulator-always-on; 10950f279ebdSThierry Reding regulator-boot-on; 10960f279ebdSThierry Reding gpio = <&as3722 1 GPIO_ACTIVE_HIGH>; 10970f279ebdSThierry Reding enable-active-high; 10980f279ebdSThierry Reding vin-supply = <&vdd_3v3_sys>; 10990f279ebdSThierry Reding }; 11000f279ebdSThierry Reding 1101097e01c6SThierry Reding vdd_3v3_hdmi: regulator-vdd-3v3-hdmi { 11020f279ebdSThierry Reding compatible = "regulator-fixed"; 11030f279ebdSThierry Reding regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 11040f279ebdSThierry Reding regulator-min-microvolt = <3300000>; 11050f279ebdSThierry Reding regulator-max-microvolt = <3300000>; 11060f279ebdSThierry Reding vin-supply = <&vdd_3v3_run>; 11070f279ebdSThierry Reding }; 11080f279ebdSThierry Reding 1109097e01c6SThierry Reding vdd_led: regulator-vdd-led { 11100f279ebdSThierry Reding compatible = "regulator-fixed"; 11110f279ebdSThierry Reding regulator-name = "+VDD_LED"; 11120f279ebdSThierry Reding regulator-min-microvolt = <3300000>; 11130f279ebdSThierry Reding regulator-max-microvolt = <3300000>; 11140f279ebdSThierry Reding gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 11150f279ebdSThierry Reding enable-active-high; 11160f279ebdSThierry Reding vin-supply = <&vdd_mux>; 11170f279ebdSThierry Reding }; 11180f279ebdSThierry Reding 1119097e01c6SThierry Reding vdd_usb1_vbus: regulator-vdd-usb1-vbus { 11200f279ebdSThierry Reding compatible = "regulator-fixed"; 11210f279ebdSThierry Reding regulator-name = "+5V_USB_HS"; 11220f279ebdSThierry Reding regulator-min-microvolt = <5000000>; 11230f279ebdSThierry Reding regulator-max-microvolt = <5000000>; 11240f279ebdSThierry Reding gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 11250f279ebdSThierry Reding enable-active-high; 11260f279ebdSThierry Reding gpio-open-drain; 11270f279ebdSThierry Reding vin-supply = <&vdd_5v0_sys>; 11280f279ebdSThierry Reding }; 11290f279ebdSThierry Reding 1130097e01c6SThierry Reding vdd_usb3_vbus: regulator-vdd-usb3-vbus { 11310f279ebdSThierry Reding compatible = "regulator-fixed"; 11320f279ebdSThierry Reding regulator-name = "+5V_USB_SS"; 11330f279ebdSThierry Reding regulator-min-microvolt = <5000000>; 11340f279ebdSThierry Reding regulator-max-microvolt = <5000000>; 11350f279ebdSThierry Reding gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 11360f279ebdSThierry Reding enable-active-high; 11370f279ebdSThierry Reding gpio-open-drain; 11380f279ebdSThierry Reding vin-supply = <&vdd_5v0_sys>; 11390f279ebdSThierry Reding }; 11400f279ebdSThierry Reding 1141097e01c6SThierry Reding vdd_3v3_panel: regulator-vdd-3v3-panel { 11420f279ebdSThierry Reding compatible = "regulator-fixed"; 11430f279ebdSThierry Reding regulator-name = "+3.3V_PANEL"; 11440f279ebdSThierry Reding regulator-min-microvolt = <3300000>; 11450f279ebdSThierry Reding regulator-max-microvolt = <3300000>; 11460f279ebdSThierry Reding gpio = <&as3722 4 GPIO_ACTIVE_HIGH>; 11470f279ebdSThierry Reding enable-active-high; 11480f279ebdSThierry Reding vin-supply = <&vdd_3v3_sys>; 11490f279ebdSThierry Reding }; 11500f279ebdSThierry Reding 1151097e01c6SThierry Reding vdd_hdmi_pll: regulator-vdd-hdmi-pll { 11520f279ebdSThierry Reding compatible = "regulator-fixed"; 11530f279ebdSThierry Reding regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL_AP_GATE"; 11540f279ebdSThierry Reding regulator-min-microvolt = <1050000>; 11550f279ebdSThierry Reding regulator-max-microvolt = <1050000>; 11560f279ebdSThierry Reding gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 11570f279ebdSThierry Reding vin-supply = <&vdd_1v05_run>; 11580f279ebdSThierry Reding }; 11590f279ebdSThierry Reding 1160097e01c6SThierry Reding vdd_5v0_hdmi: regulator-vdd-5v0-hdmi { 11610f279ebdSThierry Reding compatible = "regulator-fixed"; 11620f279ebdSThierry Reding regulator-name = "+5V_HDMI_CON"; 11630f279ebdSThierry Reding regulator-min-microvolt = <5000000>; 11640f279ebdSThierry Reding regulator-max-microvolt = <5000000>; 11650f279ebdSThierry Reding gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 11660f279ebdSThierry Reding enable-active-high; 11670f279ebdSThierry Reding vin-supply = <&vdd_5v0_sys>; 11680f279ebdSThierry Reding }; 11690f279ebdSThierry Reding 1170097e01c6SThierry Reding vdd_5v0_ts: regulator-vdd-5v0-ts { 11710f279ebdSThierry Reding compatible = "regulator-fixed"; 11720f279ebdSThierry Reding regulator-name = "+5V_VDD_TS"; 11730f279ebdSThierry Reding regulator-min-microvolt = <5000000>; 11740f279ebdSThierry Reding regulator-max-microvolt = <5000000>; 11750f279ebdSThierry Reding regulator-always-on; 11760f279ebdSThierry Reding regulator-boot-on; 11770f279ebdSThierry Reding gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 11780f279ebdSThierry Reding enable-active-high; 11790f279ebdSThierry Reding }; 1180574d9cffSThierry Reding 1181097e01c6SThierry Reding vdd_3v3_lp0: regulator-vdd-3v3-lp0 { 1182574d9cffSThierry Reding compatible = "regulator-fixed"; 1183574d9cffSThierry Reding regulator-name = "+3.3V_LP0"; 1184574d9cffSThierry Reding regulator-min-microvolt = <3300000>; 1185574d9cffSThierry Reding regulator-max-microvolt = <3300000>; 1186574d9cffSThierry Reding /* 1187574d9cffSThierry Reding * TODO: find a way to wire this up with the USB EHCI 1188574d9cffSThierry Reding * controllers so that it can be enabled on demand. 1189574d9cffSThierry Reding */ 1190574d9cffSThierry Reding regulator-always-on; 1191574d9cffSThierry Reding gpio = <&as3722 2 GPIO_ACTIVE_HIGH>; 1192574d9cffSThierry Reding enable-active-high; 1193574d9cffSThierry Reding vin-supply = <&vdd_3v3_sys>; 1194574d9cffSThierry Reding }; 11950f279ebdSThierry Reding}; 1196