18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/dts-v1/; 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#include <dt-bindings/input/input.h> 58c2ecf20Sopenharmony_ci#include "tegra132.dtsi" 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci/ { 88c2ecf20Sopenharmony_ci model = "NVIDIA Tegra132 Norrin"; 98c2ecf20Sopenharmony_ci compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124"; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci aliases { 128c2ecf20Sopenharmony_ci rtc0 = "/i2c@7000d000/as3722@40"; 138c2ecf20Sopenharmony_ci rtc1 = "/rtc@7000e000"; 148c2ecf20Sopenharmony_ci serial0 = &uarta; 158c2ecf20Sopenharmony_ci }; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci chosen { 188c2ecf20Sopenharmony_ci stdout-path = "serial0:115200n8"; 198c2ecf20Sopenharmony_ci }; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci memory@80000000 { 228c2ecf20Sopenharmony_ci device_type = "memory"; 238c2ecf20Sopenharmony_ci reg = <0x0 0x80000000 0x0 0x80000000>; 248c2ecf20Sopenharmony_ci }; 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci host1x@50000000 { 278c2ecf20Sopenharmony_ci hdmi@54280000 { 288c2ecf20Sopenharmony_ci status = "disabled"; 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci vdd-supply = <&vdd_3v3_hdmi>; 318c2ecf20Sopenharmony_ci pll-supply = <&vdd_hdmi_pll>; 328c2ecf20Sopenharmony_ci hdmi-supply = <&vdd_5v0_hdmi>; 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci nvidia,ddc-i2c-bus = <&hdmi_ddc>; 358c2ecf20Sopenharmony_ci nvidia,hpd-gpio = 368c2ecf20Sopenharmony_ci <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>; 378c2ecf20Sopenharmony_ci }; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci sor@54540000 { 408c2ecf20Sopenharmony_ci status = "okay"; 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; 438c2ecf20Sopenharmony_ci vdd-hdmi-dp-pll-supply = <&vdd_hdmi_pll>; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci nvidia,dpaux = <&dpaux>; 468c2ecf20Sopenharmony_ci nvidia,panel = <&panel>; 478c2ecf20Sopenharmony_ci }; 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci dpaux: dpaux@545c0000 { 508c2ecf20Sopenharmony_ci vdd-supply = <&vdd_3v3_panel>; 518c2ecf20Sopenharmony_ci status = "okay"; 528c2ecf20Sopenharmony_ci }; 538c2ecf20Sopenharmony_ci }; 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci gpu@57000000 { 568c2ecf20Sopenharmony_ci status = "okay"; 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci vdd-supply = <&vdd_gpu>; 598c2ecf20Sopenharmony_ci }; 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci pinmux@70000868 { 628c2ecf20Sopenharmony_ci pinctrl-names = "default"; 638c2ecf20Sopenharmony_ci pinctrl-0 = <&pinmux_default>; 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci pinmux_default: pinmux@0 { 668c2ecf20Sopenharmony_ci dap_mclk1_pw4 { 678c2ecf20Sopenharmony_ci nvidia,pins = "dap_mclk1_pw4"; 688c2ecf20Sopenharmony_ci nvidia,function = "extperiph1"; 698c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 708c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 718c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 728c2ecf20Sopenharmony_ci }; 738c2ecf20Sopenharmony_ci dap2_din_pa4 { 748c2ecf20Sopenharmony_ci nvidia,pins = "dap2_din_pa4"; 758c2ecf20Sopenharmony_ci nvidia,function = "i2s1"; 768c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 778c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 788c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 798c2ecf20Sopenharmony_ci }; 808c2ecf20Sopenharmony_ci dap2_dout_pa5 { 818c2ecf20Sopenharmony_ci nvidia,pins = "dap2_dout_pa5", 828c2ecf20Sopenharmony_ci "dap2_fs_pa2", 838c2ecf20Sopenharmony_ci "dap2_sclk_pa3"; 848c2ecf20Sopenharmony_ci nvidia,function = "i2s1"; 858c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 868c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 878c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 888c2ecf20Sopenharmony_ci }; 898c2ecf20Sopenharmony_ci dap3_dout_pp2 { 908c2ecf20Sopenharmony_ci nvidia,pins = "dap3_dout_pp2"; 918c2ecf20Sopenharmony_ci nvidia,function = "i2s2"; 928c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 938c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 948c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 958c2ecf20Sopenharmony_ci }; 968c2ecf20Sopenharmony_ci dvfs_pwm_px0 { 978c2ecf20Sopenharmony_ci nvidia,pins = "dvfs_pwm_px0", 988c2ecf20Sopenharmony_ci "dvfs_clk_px2"; 998c2ecf20Sopenharmony_ci nvidia,function = "cldvfs"; 1008c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1018c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1028c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1038c2ecf20Sopenharmony_ci }; 1048c2ecf20Sopenharmony_ci ulpi_clk_py0 { 1058c2ecf20Sopenharmony_ci nvidia,pins = "ulpi_clk_py0", 1068c2ecf20Sopenharmony_ci "ulpi_nxt_py2", 1078c2ecf20Sopenharmony_ci "ulpi_stp_py3"; 1088c2ecf20Sopenharmony_ci nvidia,function = "spi1"; 1098c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1108c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1118c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1128c2ecf20Sopenharmony_ci }; 1138c2ecf20Sopenharmony_ci ulpi_dir_py1 { 1148c2ecf20Sopenharmony_ci nvidia,pins = "ulpi_dir_py1"; 1158c2ecf20Sopenharmony_ci nvidia,function = "spi1"; 1168c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1178c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1188c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1198c2ecf20Sopenharmony_ci }; 1208c2ecf20Sopenharmony_ci cam_i2c_scl_pbb1 { 1218c2ecf20Sopenharmony_ci nvidia,pins = "cam_i2c_scl_pbb1", 1228c2ecf20Sopenharmony_ci "cam_i2c_sda_pbb2"; 1238c2ecf20Sopenharmony_ci nvidia,function = "i2c3"; 1248c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1258c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1268c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1278c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 1288c2ecf20Sopenharmony_ci nvidia,open-drain = <TEGRA_PIN_ENABLE>; 1298c2ecf20Sopenharmony_ci }; 1308c2ecf20Sopenharmony_ci gen2_i2c_scl_pt5 { 1318c2ecf20Sopenharmony_ci nvidia,pins = "gen2_i2c_scl_pt5", 1328c2ecf20Sopenharmony_ci "gen2_i2c_sda_pt6"; 1338c2ecf20Sopenharmony_ci nvidia,function = "i2c2"; 1348c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1358c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1368c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1378c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 1388c2ecf20Sopenharmony_ci nvidia,open-drain = <TEGRA_PIN_ENABLE>; 1398c2ecf20Sopenharmony_ci }; 1408c2ecf20Sopenharmony_ci pj7 { 1418c2ecf20Sopenharmony_ci nvidia,pins = "pj7"; 1428c2ecf20Sopenharmony_ci nvidia,function = "uartd"; 1438c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1448c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1458c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1468c2ecf20Sopenharmony_ci }; 1478c2ecf20Sopenharmony_ci spdif_in_pk6 { 1488c2ecf20Sopenharmony_ci nvidia,pins = "spdif_in_pk6"; 1498c2ecf20Sopenharmony_ci nvidia,function = "spdif"; 1508c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 1518c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1528c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1538c2ecf20Sopenharmony_ci }; 1548c2ecf20Sopenharmony_ci pk7 { 1558c2ecf20Sopenharmony_ci nvidia,pins = "pk7"; 1568c2ecf20Sopenharmony_ci nvidia,function = "uartd"; 1578c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1588c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1598c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1608c2ecf20Sopenharmony_ci }; 1618c2ecf20Sopenharmony_ci pg4 { 1628c2ecf20Sopenharmony_ci nvidia,pins = "pg4", 1638c2ecf20Sopenharmony_ci "pg5", 1648c2ecf20Sopenharmony_ci "pg6", 1658c2ecf20Sopenharmony_ci "pi3"; 1668c2ecf20Sopenharmony_ci nvidia,function = "spi4"; 1678c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1688c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1698c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1708c2ecf20Sopenharmony_ci }; 1718c2ecf20Sopenharmony_ci pg7 { 1728c2ecf20Sopenharmony_ci nvidia,pins = "pg7"; 1738c2ecf20Sopenharmony_ci nvidia,function = "spi4"; 1748c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1758c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1768c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1778c2ecf20Sopenharmony_ci }; 1788c2ecf20Sopenharmony_ci ph1 { 1798c2ecf20Sopenharmony_ci nvidia,pins = "ph1"; 1808c2ecf20Sopenharmony_ci nvidia,function = "pwm1"; 1818c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1828c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1838c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 1848c2ecf20Sopenharmony_ci }; 1858c2ecf20Sopenharmony_ci pk0 { 1868c2ecf20Sopenharmony_ci nvidia,pins = "pk0", 1878c2ecf20Sopenharmony_ci "kb_row15_ps7", 1888c2ecf20Sopenharmony_ci "clk_32k_out_pa0"; 1898c2ecf20Sopenharmony_ci nvidia,function = "soc"; 1908c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 1918c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1928c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 1938c2ecf20Sopenharmony_ci }; 1948c2ecf20Sopenharmony_ci sdmmc1_clk_pz0 { 1958c2ecf20Sopenharmony_ci nvidia,pins = "sdmmc1_clk_pz0"; 1968c2ecf20Sopenharmony_ci nvidia,function = "sdmmc1"; 1978c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 1988c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 1998c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2008c2ecf20Sopenharmony_ci }; 2018c2ecf20Sopenharmony_ci sdmmc1_cmd_pz1 { 2028c2ecf20Sopenharmony_ci nvidia,pins = "sdmmc1_cmd_pz1", 2038c2ecf20Sopenharmony_ci "sdmmc1_dat0_py7", 2048c2ecf20Sopenharmony_ci "sdmmc1_dat1_py6", 2058c2ecf20Sopenharmony_ci "sdmmc1_dat2_py5", 2068c2ecf20Sopenharmony_ci "sdmmc1_dat3_py4"; 2078c2ecf20Sopenharmony_ci nvidia,function = "sdmmc1"; 2088c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 2098c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2108c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2118c2ecf20Sopenharmony_ci }; 2128c2ecf20Sopenharmony_ci sdmmc3_clk_pa6 { 2138c2ecf20Sopenharmony_ci nvidia,pins = "sdmmc3_clk_pa6"; 2148c2ecf20Sopenharmony_ci nvidia,function = "sdmmc3"; 2158c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2168c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2178c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2188c2ecf20Sopenharmony_ci }; 2198c2ecf20Sopenharmony_ci sdmmc3_cmd_pa7 { 2208c2ecf20Sopenharmony_ci nvidia,pins = "sdmmc3_cmd_pa7", 2218c2ecf20Sopenharmony_ci "sdmmc3_dat0_pb7", 2228c2ecf20Sopenharmony_ci "sdmmc3_dat1_pb6", 2238c2ecf20Sopenharmony_ci "sdmmc3_dat2_pb5", 2248c2ecf20Sopenharmony_ci "sdmmc3_dat3_pb4", 2258c2ecf20Sopenharmony_ci "kb_col4_pq4", 2268c2ecf20Sopenharmony_ci "sdmmc3_clk_lb_out_pee4", 2278c2ecf20Sopenharmony_ci "sdmmc3_clk_lb_in_pee5", 2288c2ecf20Sopenharmony_ci "sdmmc3_cd_n_pv2"; 2298c2ecf20Sopenharmony_ci nvidia,function = "sdmmc3"; 2308c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 2318c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2328c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2338c2ecf20Sopenharmony_ci }; 2348c2ecf20Sopenharmony_ci sdmmc4_clk_pcc4 { 2358c2ecf20Sopenharmony_ci nvidia,pins = "sdmmc4_clk_pcc4"; 2368c2ecf20Sopenharmony_ci nvidia,function = "sdmmc4"; 2378c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2388c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2398c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2408c2ecf20Sopenharmony_ci }; 2418c2ecf20Sopenharmony_ci sdmmc4_cmd_pt7 { 2428c2ecf20Sopenharmony_ci nvidia,pins = "sdmmc4_cmd_pt7", 2438c2ecf20Sopenharmony_ci "sdmmc4_dat0_paa0", 2448c2ecf20Sopenharmony_ci "sdmmc4_dat1_paa1", 2458c2ecf20Sopenharmony_ci "sdmmc4_dat2_paa2", 2468c2ecf20Sopenharmony_ci "sdmmc4_dat3_paa3", 2478c2ecf20Sopenharmony_ci "sdmmc4_dat4_paa4", 2488c2ecf20Sopenharmony_ci "sdmmc4_dat5_paa5", 2498c2ecf20Sopenharmony_ci "sdmmc4_dat6_paa6", 2508c2ecf20Sopenharmony_ci "sdmmc4_dat7_paa7"; 2518c2ecf20Sopenharmony_ci nvidia,function = "sdmmc4"; 2528c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 2538c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2548c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2558c2ecf20Sopenharmony_ci }; 2568c2ecf20Sopenharmony_ci mic_det_l { 2578c2ecf20Sopenharmony_ci nvidia,pins = "kb_row7_pr7"; 2588c2ecf20Sopenharmony_ci nvidia,function = "rsvd2"; 2598c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 2608c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2618c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2628c2ecf20Sopenharmony_ci }; 2638c2ecf20Sopenharmony_ci kb_row10_ps2 { 2648c2ecf20Sopenharmony_ci nvidia,pins = "kb_row10_ps2"; 2658c2ecf20Sopenharmony_ci nvidia,function = "uarta"; 2668c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 2678c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2688c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2698c2ecf20Sopenharmony_ci }; 2708c2ecf20Sopenharmony_ci kb_row9_ps1 { 2718c2ecf20Sopenharmony_ci nvidia,pins = "kb_row9_ps1"; 2728c2ecf20Sopenharmony_ci nvidia,function = "uarta"; 2738c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2748c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2758c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 2768c2ecf20Sopenharmony_ci }; 2778c2ecf20Sopenharmony_ci pwr_i2c_scl_pz6 { 2788c2ecf20Sopenharmony_ci nvidia,pins = "pwr_i2c_scl_pz6", 2798c2ecf20Sopenharmony_ci "pwr_i2c_sda_pz7"; 2808c2ecf20Sopenharmony_ci nvidia,function = "i2cpwr"; 2818c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2828c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2838c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 2848c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 2858c2ecf20Sopenharmony_ci nvidia,open-drain = <TEGRA_PIN_ENABLE>; 2868c2ecf20Sopenharmony_ci }; 2878c2ecf20Sopenharmony_ci jtag_rtck { 2888c2ecf20Sopenharmony_ci nvidia,pins = "jtag_rtck"; 2898c2ecf20Sopenharmony_ci nvidia,function = "rtck"; 2908c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 2918c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2928c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 2938c2ecf20Sopenharmony_ci }; 2948c2ecf20Sopenharmony_ci clk_32k_in { 2958c2ecf20Sopenharmony_ci nvidia,pins = "clk_32k_in"; 2968c2ecf20Sopenharmony_ci nvidia,function = "clk"; 2978c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 2988c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 2998c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3008c2ecf20Sopenharmony_ci }; 3018c2ecf20Sopenharmony_ci core_pwr_req { 3028c2ecf20Sopenharmony_ci nvidia,pins = "core_pwr_req"; 3038c2ecf20Sopenharmony_ci nvidia,function = "pwron"; 3048c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3058c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3068c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3078c2ecf20Sopenharmony_ci }; 3088c2ecf20Sopenharmony_ci cpu_pwr_req { 3098c2ecf20Sopenharmony_ci nvidia,pins = "cpu_pwr_req"; 3108c2ecf20Sopenharmony_ci nvidia,function = "cpu"; 3118c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3128c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3138c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3148c2ecf20Sopenharmony_ci }; 3158c2ecf20Sopenharmony_ci kb_col0_ap { 3168c2ecf20Sopenharmony_ci nvidia,pins = "kb_col0_pq0"; 3178c2ecf20Sopenharmony_ci nvidia,function = "rsvd4"; 3188c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 3198c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3208c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3218c2ecf20Sopenharmony_ci }; 3228c2ecf20Sopenharmony_ci en_vdd_sd { 3238c2ecf20Sopenharmony_ci nvidia,pins = "kb_row0_pr0"; 3248c2ecf20Sopenharmony_ci nvidia,function = "rsvd4"; 3258c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3268c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3278c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3288c2ecf20Sopenharmony_ci }; 3298c2ecf20Sopenharmony_ci lid_open { 3308c2ecf20Sopenharmony_ci nvidia,pins = "kb_row4_pr4"; 3318c2ecf20Sopenharmony_ci nvidia,function = "rsvd3"; 3328c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 3338c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3348c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3358c2ecf20Sopenharmony_ci }; 3368c2ecf20Sopenharmony_ci pwr_int_n { 3378c2ecf20Sopenharmony_ci nvidia,pins = "pwr_int_n"; 3388c2ecf20Sopenharmony_ci nvidia,function = "pmi"; 3398c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 3408c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3418c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3428c2ecf20Sopenharmony_ci }; 3438c2ecf20Sopenharmony_ci reset_out_n { 3448c2ecf20Sopenharmony_ci nvidia,pins = "reset_out_n"; 3458c2ecf20Sopenharmony_ci nvidia,function = "reset_out_n"; 3468c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3478c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3488c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3498c2ecf20Sopenharmony_ci }; 3508c2ecf20Sopenharmony_ci clk3_out_pee0 { 3518c2ecf20Sopenharmony_ci nvidia,pins = "clk3_out_pee0"; 3528c2ecf20Sopenharmony_ci nvidia,function = "extperiph3"; 3538c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3548c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3558c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 3568c2ecf20Sopenharmony_ci }; 3578c2ecf20Sopenharmony_ci gen1_i2c_scl_pc4 { 3588c2ecf20Sopenharmony_ci nvidia,pins = "gen1_i2c_scl_pc4", 3598c2ecf20Sopenharmony_ci "gen1_i2c_sda_pc5"; 3608c2ecf20Sopenharmony_ci nvidia,function = "i2c1"; 3618c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3628c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3638c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3648c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 3658c2ecf20Sopenharmony_ci nvidia,open-drain = <TEGRA_PIN_ENABLE>; 3668c2ecf20Sopenharmony_ci }; 3678c2ecf20Sopenharmony_ci hdmi_cec_pee3 { 3688c2ecf20Sopenharmony_ci nvidia,pins = "hdmi_cec_pee3"; 3698c2ecf20Sopenharmony_ci nvidia,function = "cec"; 3708c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 3718c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3728c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3738c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 3748c2ecf20Sopenharmony_ci nvidia,open-drain = <TEGRA_PIN_DISABLE>; 3758c2ecf20Sopenharmony_ci }; 3768c2ecf20Sopenharmony_ci hdmi_int_pn7 { 3778c2ecf20Sopenharmony_ci nvidia,pins = "hdmi_int_pn7"; 3788c2ecf20Sopenharmony_ci nvidia,function = "rsvd1"; 3798c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 3808c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3818c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3828c2ecf20Sopenharmony_ci }; 3838c2ecf20Sopenharmony_ci ddc_scl_pv4 { 3848c2ecf20Sopenharmony_ci nvidia,pins = "ddc_scl_pv4", 3858c2ecf20Sopenharmony_ci "ddc_sda_pv5"; 3868c2ecf20Sopenharmony_ci nvidia,function = "i2c4"; 3878c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 3888c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 3898c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 3908c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 3918c2ecf20Sopenharmony_ci nvidia,rcv-sel = <TEGRA_PIN_ENABLE>; 3928c2ecf20Sopenharmony_ci }; 3938c2ecf20Sopenharmony_ci usb_vbus_en0_pn4 { 3948c2ecf20Sopenharmony_ci nvidia,pins = "usb_vbus_en0_pn4", 3958c2ecf20Sopenharmony_ci "usb_vbus_en1_pn5", 3968c2ecf20Sopenharmony_ci "usb_vbus_en2_pff1"; 3978c2ecf20Sopenharmony_ci nvidia,function = "usb"; 3988c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 3998c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_ENABLE>; 4008c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4018c2ecf20Sopenharmony_ci nvidia,lock = <TEGRA_PIN_DISABLE>; 4028c2ecf20Sopenharmony_ci nvidia,open-drain = <TEGRA_PIN_DISABLE>; 4038c2ecf20Sopenharmony_ci }; 4048c2ecf20Sopenharmony_ci drive_sdio1 { 4058c2ecf20Sopenharmony_ci nvidia,pins = "drive_sdio1"; 4068c2ecf20Sopenharmony_ci nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 4078c2ecf20Sopenharmony_ci nvidia,schmitt = <TEGRA_PIN_DISABLE>; 4088c2ecf20Sopenharmony_ci nvidia,pull-down-strength = <36>; 4098c2ecf20Sopenharmony_ci nvidia,pull-up-strength = <20>; 4108c2ecf20Sopenharmony_ci nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOW>; 4118c2ecf20Sopenharmony_ci nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOW>; 4128c2ecf20Sopenharmony_ci }; 4138c2ecf20Sopenharmony_ci drive_sdio3 { 4148c2ecf20Sopenharmony_ci nvidia,pins = "drive_sdio3"; 4158c2ecf20Sopenharmony_ci nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 4168c2ecf20Sopenharmony_ci nvidia,schmitt = <TEGRA_PIN_DISABLE>; 4178c2ecf20Sopenharmony_ci nvidia,pull-down-strength = <22>; 4188c2ecf20Sopenharmony_ci nvidia,pull-up-strength = <36>; 4198c2ecf20Sopenharmony_ci nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4208c2ecf20Sopenharmony_ci nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4218c2ecf20Sopenharmony_ci }; 4228c2ecf20Sopenharmony_ci drive_gma { 4238c2ecf20Sopenharmony_ci nvidia,pins = "drive_gma"; 4248c2ecf20Sopenharmony_ci nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 4258c2ecf20Sopenharmony_ci nvidia,schmitt = <TEGRA_PIN_DISABLE>; 4268c2ecf20Sopenharmony_ci nvidia,pull-down-strength = <2>; 4278c2ecf20Sopenharmony_ci nvidia,pull-up-strength = <1>; 4288c2ecf20Sopenharmony_ci nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4298c2ecf20Sopenharmony_ci nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>; 4308c2ecf20Sopenharmony_ci nvidia,drive-type = <1>; 4318c2ecf20Sopenharmony_ci }; 4328c2ecf20Sopenharmony_ci ac_ok { 4338c2ecf20Sopenharmony_ci nvidia,pins = "pj0"; 4348c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4358c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 4368c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_ENABLE>; 4378c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4388c2ecf20Sopenharmony_ci }; 4398c2ecf20Sopenharmony_ci codec_irq_l { 4408c2ecf20Sopenharmony_ci nvidia,pins = "ph4"; 4418c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4428c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4438c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4448c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4458c2ecf20Sopenharmony_ci }; 4468c2ecf20Sopenharmony_ci lcd_bl_en { 4478c2ecf20Sopenharmony_ci nvidia,pins = "ph2"; 4488c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4498c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 4508c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4518c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 4528c2ecf20Sopenharmony_ci }; 4538c2ecf20Sopenharmony_ci touch_irq_l { 4548c2ecf20Sopenharmony_ci nvidia,pins = "gpio_w3_aud_pw3"; 4558c2ecf20Sopenharmony_ci nvidia,function = "spi6"; 4568c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4578c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4588c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4598c2ecf20Sopenharmony_ci }; 4608c2ecf20Sopenharmony_ci tpm_davint_l { 4618c2ecf20Sopenharmony_ci nvidia,pins = "ph6"; 4628c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4638c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4648c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4658c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4668c2ecf20Sopenharmony_ci }; 4678c2ecf20Sopenharmony_ci ts_irq_l { 4688c2ecf20Sopenharmony_ci nvidia,pins = "pk2"; 4698c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4708c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4718c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4728c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4738c2ecf20Sopenharmony_ci }; 4748c2ecf20Sopenharmony_ci ts_reset_l { 4758c2ecf20Sopenharmony_ci nvidia,pins = "pk4"; 4768c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4778c2ecf20Sopenharmony_ci nvidia,pull = <1>; 4788c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4798c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 4808c2ecf20Sopenharmony_ci }; 4818c2ecf20Sopenharmony_ci ts_shdn_l { 4828c2ecf20Sopenharmony_ci nvidia,pins = "pk1"; 4838c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4848c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 4858c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4868c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 4878c2ecf20Sopenharmony_ci }; 4888c2ecf20Sopenharmony_ci ph7 { 4898c2ecf20Sopenharmony_ci nvidia,pins = "ph7"; 4908c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4918c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4928c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 4938c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 4948c2ecf20Sopenharmony_ci }; 4958c2ecf20Sopenharmony_ci sensor_irq_l { 4968c2ecf20Sopenharmony_ci nvidia,pins = "pi6"; 4978c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 4988c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 4998c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 5008c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 5018c2ecf20Sopenharmony_ci }; 5028c2ecf20Sopenharmony_ci wifi_en { 5038c2ecf20Sopenharmony_ci nvidia,pins = "gpio_x7_aud_px7"; 5048c2ecf20Sopenharmony_ci nvidia,function = "rsvd4"; 5058c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 5068c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 5078c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 5088c2ecf20Sopenharmony_ci }; 5098c2ecf20Sopenharmony_ci chromeos_write_protect { 5108c2ecf20Sopenharmony_ci nvidia,pins = "kb_row1_pr1"; 5118c2ecf20Sopenharmony_ci nvidia,function = "rsvd4"; 5128c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 5138c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 5148c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 5158c2ecf20Sopenharmony_ci }; 5168c2ecf20Sopenharmony_ci hp_det_l { 5178c2ecf20Sopenharmony_ci nvidia,pins = "pi7"; 5188c2ecf20Sopenharmony_ci nvidia,function = "rsvd1"; 5198c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_NONE>; 5208c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 5218c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_ENABLE>; 5228c2ecf20Sopenharmony_ci }; 5238c2ecf20Sopenharmony_ci soc_warm_reset_l { 5248c2ecf20Sopenharmony_ci nvidia,pins = "pi5"; 5258c2ecf20Sopenharmony_ci nvidia,function = "gmi"; 5268c2ecf20Sopenharmony_ci nvidia,pull = <TEGRA_PIN_PULL_UP>; 5278c2ecf20Sopenharmony_ci nvidia,tristate = <TEGRA_PIN_DISABLE>; 5288c2ecf20Sopenharmony_ci nvidia,enable-input = <TEGRA_PIN_DISABLE>; 5298c2ecf20Sopenharmony_ci }; 5308c2ecf20Sopenharmony_ci }; 5318c2ecf20Sopenharmony_ci }; 5328c2ecf20Sopenharmony_ci 5338c2ecf20Sopenharmony_ci serial@70006000 { 5348c2ecf20Sopenharmony_ci status = "okay"; 5358c2ecf20Sopenharmony_ci }; 5368c2ecf20Sopenharmony_ci 5378c2ecf20Sopenharmony_ci pwm: pwm@7000a000 { 5388c2ecf20Sopenharmony_ci status = "okay"; 5398c2ecf20Sopenharmony_ci }; 5408c2ecf20Sopenharmony_ci 5418c2ecf20Sopenharmony_ci /* HDMI DDC */ 5428c2ecf20Sopenharmony_ci hdmi_ddc: i2c@7000c700 { 5438c2ecf20Sopenharmony_ci status = "okay"; 5448c2ecf20Sopenharmony_ci clock-frequency = <100000>; 5458c2ecf20Sopenharmony_ci }; 5468c2ecf20Sopenharmony_ci 5478c2ecf20Sopenharmony_ci i2c@7000d000 { 5488c2ecf20Sopenharmony_ci status = "okay"; 5498c2ecf20Sopenharmony_ci clock-frequency = <400000>; 5508c2ecf20Sopenharmony_ci 5518c2ecf20Sopenharmony_ci as3722: pmic@40 { 5528c2ecf20Sopenharmony_ci compatible = "ams,as3722"; 5538c2ecf20Sopenharmony_ci reg = <0x40>; 5548c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 5558c2ecf20Sopenharmony_ci 5568c2ecf20Sopenharmony_ci ams,system-power-controller; 5578c2ecf20Sopenharmony_ci 5588c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 5598c2ecf20Sopenharmony_ci interrupt-controller; 5608c2ecf20Sopenharmony_ci 5618c2ecf20Sopenharmony_ci #gpio-cells = <2>; 5628c2ecf20Sopenharmony_ci gpio-controller; 5638c2ecf20Sopenharmony_ci 5648c2ecf20Sopenharmony_ci pinctrl-names = "default"; 5658c2ecf20Sopenharmony_ci pinctrl-0 = <&as3722_default>; 5668c2ecf20Sopenharmony_ci 5678c2ecf20Sopenharmony_ci as3722_default: pinmux@0 { 5688c2ecf20Sopenharmony_ci gpio0 { 5698c2ecf20Sopenharmony_ci pins = "gpio0"; 5708c2ecf20Sopenharmony_ci function = "gpio"; 5718c2ecf20Sopenharmony_ci bias-pull-down; 5728c2ecf20Sopenharmony_ci }; 5738c2ecf20Sopenharmony_ci 5748c2ecf20Sopenharmony_ci gpio1 { 5758c2ecf20Sopenharmony_ci pins = "gpio1"; 5768c2ecf20Sopenharmony_ci function = "gpio"; 5778c2ecf20Sopenharmony_ci bias-pull-up; 5788c2ecf20Sopenharmony_ci }; 5798c2ecf20Sopenharmony_ci 5808c2ecf20Sopenharmony_ci gpio2_4_7 { 5818c2ecf20Sopenharmony_ci pins = "gpio2", "gpio4", "gpio7"; 5828c2ecf20Sopenharmony_ci function = "gpio"; 5838c2ecf20Sopenharmony_ci bias-pull-up; 5848c2ecf20Sopenharmony_ci }; 5858c2ecf20Sopenharmony_ci 5868c2ecf20Sopenharmony_ci gpio3 { 5878c2ecf20Sopenharmony_ci pins = "gpio3"; 5888c2ecf20Sopenharmony_ci function = "gpio"; 5898c2ecf20Sopenharmony_ci bias-high-impedance; 5908c2ecf20Sopenharmony_ci }; 5918c2ecf20Sopenharmony_ci 5928c2ecf20Sopenharmony_ci gpio5 { 5938c2ecf20Sopenharmony_ci pins = "gpio5"; 5948c2ecf20Sopenharmony_ci function = "clk32k-out"; 5958c2ecf20Sopenharmony_ci bias-pull-down; 5968c2ecf20Sopenharmony_ci }; 5978c2ecf20Sopenharmony_ci 5988c2ecf20Sopenharmony_ci gpio6 { 5998c2ecf20Sopenharmony_ci pins = "gpio6"; 6008c2ecf20Sopenharmony_ci function = "clk32k-out"; 6018c2ecf20Sopenharmony_ci bias-pull-down; 6028c2ecf20Sopenharmony_ci }; 6038c2ecf20Sopenharmony_ci }; 6048c2ecf20Sopenharmony_ci 6058c2ecf20Sopenharmony_ci regulators { 6068c2ecf20Sopenharmony_ci vsup-sd2-supply = <&vdd_5v0_sys>; 6078c2ecf20Sopenharmony_ci vsup-sd3-supply = <&vdd_5v0_sys>; 6088c2ecf20Sopenharmony_ci vsup-sd4-supply = <&vdd_5v0_sys>; 6098c2ecf20Sopenharmony_ci vsup-sd5-supply = <&vdd_5v0_sys>; 6108c2ecf20Sopenharmony_ci vin-ldo0-supply = <&vdd_1v35_lp0>; 6118c2ecf20Sopenharmony_ci vin-ldo1-6-supply = <&vdd_3v3_sys>; 6128c2ecf20Sopenharmony_ci vin-ldo2-5-7-supply = <&vddio_1v8>; 6138c2ecf20Sopenharmony_ci vin-ldo3-4-supply = <&vdd_3v3_sys>; 6148c2ecf20Sopenharmony_ci vin-ldo9-10-supply = <&vdd_5v0_sys>; 6158c2ecf20Sopenharmony_ci vin-ldo11-supply = <&vdd_3v3_run>; 6168c2ecf20Sopenharmony_ci 6178c2ecf20Sopenharmony_ci sd0 { 6188c2ecf20Sopenharmony_ci regulator-name = "+VDD_CPU_AP"; 6198c2ecf20Sopenharmony_ci regulator-min-microvolt = <700000>; 6208c2ecf20Sopenharmony_ci regulator-max-microvolt = <1350000>; 6218c2ecf20Sopenharmony_ci regulator-max-microamp = <3500000>; 6228c2ecf20Sopenharmony_ci regulator-always-on; 6238c2ecf20Sopenharmony_ci regulator-boot-on; 6248c2ecf20Sopenharmony_ci ams,ext-control = <2>; 6258c2ecf20Sopenharmony_ci }; 6268c2ecf20Sopenharmony_ci 6278c2ecf20Sopenharmony_ci sd1 { 6288c2ecf20Sopenharmony_ci regulator-name = "+VDD_CORE"; 6298c2ecf20Sopenharmony_ci regulator-min-microvolt = <700000>; 6308c2ecf20Sopenharmony_ci regulator-max-microvolt = <1350000>; 6318c2ecf20Sopenharmony_ci regulator-max-microamp = <4000000>; 6328c2ecf20Sopenharmony_ci regulator-always-on; 6338c2ecf20Sopenharmony_ci regulator-boot-on; 6348c2ecf20Sopenharmony_ci ams,ext-control = <1>; 6358c2ecf20Sopenharmony_ci }; 6368c2ecf20Sopenharmony_ci 6378c2ecf20Sopenharmony_ci vdd_1v35_lp0: sd2 { 6388c2ecf20Sopenharmony_ci regulator-name = "+1.35V_LP0(sd2)"; 6398c2ecf20Sopenharmony_ci regulator-min-microvolt = <1350000>; 6408c2ecf20Sopenharmony_ci regulator-max-microvolt = <1350000>; 6418c2ecf20Sopenharmony_ci regulator-always-on; 6428c2ecf20Sopenharmony_ci regulator-boot-on; 6438c2ecf20Sopenharmony_ci }; 6448c2ecf20Sopenharmony_ci 6458c2ecf20Sopenharmony_ci sd3 { 6468c2ecf20Sopenharmony_ci regulator-name = "+1.35V_LP0(sd3)"; 6478c2ecf20Sopenharmony_ci regulator-min-microvolt = <1350000>; 6488c2ecf20Sopenharmony_ci regulator-max-microvolt = <1350000>; 6498c2ecf20Sopenharmony_ci regulator-always-on; 6508c2ecf20Sopenharmony_ci regulator-boot-on; 6518c2ecf20Sopenharmony_ci }; 6528c2ecf20Sopenharmony_ci 6538c2ecf20Sopenharmony_ci vdd_1v05_run: sd4 { 6548c2ecf20Sopenharmony_ci regulator-name = "+1.05V_RUN"; 6558c2ecf20Sopenharmony_ci regulator-min-microvolt = <1050000>; 6568c2ecf20Sopenharmony_ci regulator-max-microvolt = <1050000>; 6578c2ecf20Sopenharmony_ci }; 6588c2ecf20Sopenharmony_ci 6598c2ecf20Sopenharmony_ci vddio_1v8: sd5 { 6608c2ecf20Sopenharmony_ci regulator-name = "+1.8V_VDDIO"; 6618c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 6628c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 6638c2ecf20Sopenharmony_ci regulator-always-on; 6648c2ecf20Sopenharmony_ci regulator-boot-on; 6658c2ecf20Sopenharmony_ci }; 6668c2ecf20Sopenharmony_ci 6678c2ecf20Sopenharmony_ci vdd_gpu: sd6 { 6688c2ecf20Sopenharmony_ci regulator-name = "+VDD_GPU_AP"; 6698c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 6708c2ecf20Sopenharmony_ci regulator-max-microvolt = <1200000>; 6718c2ecf20Sopenharmony_ci regulator-min-microamp = <3500000>; 6728c2ecf20Sopenharmony_ci regulator-max-microamp = <3500000>; 6738c2ecf20Sopenharmony_ci regulator-always-on; 6748c2ecf20Sopenharmony_ci regulator-boot-on; 6758c2ecf20Sopenharmony_ci }; 6768c2ecf20Sopenharmony_ci 6778c2ecf20Sopenharmony_ci avdd_1v05_run: ldo0 { 6788c2ecf20Sopenharmony_ci regulator-name = "+1.05_RUN_AVDD"; 6798c2ecf20Sopenharmony_ci regulator-min-microvolt = <1050000>; 6808c2ecf20Sopenharmony_ci regulator-max-microvolt = <1050000>; 6818c2ecf20Sopenharmony_ci regulator-always-on; 6828c2ecf20Sopenharmony_ci regulator-boot-on; 6838c2ecf20Sopenharmony_ci ams,ext-control = <1>; 6848c2ecf20Sopenharmony_ci }; 6858c2ecf20Sopenharmony_ci 6868c2ecf20Sopenharmony_ci ldo1 { 6878c2ecf20Sopenharmony_ci regulator-name = "+1.8V_RUN_CAM"; 6888c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 6898c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 6908c2ecf20Sopenharmony_ci }; 6918c2ecf20Sopenharmony_ci 6928c2ecf20Sopenharmony_ci ldo2 { 6938c2ecf20Sopenharmony_ci regulator-name = "+1.2V_GEN_AVDD"; 6948c2ecf20Sopenharmony_ci regulator-min-microvolt = <1200000>; 6958c2ecf20Sopenharmony_ci regulator-max-microvolt = <1200000>; 6968c2ecf20Sopenharmony_ci regulator-always-on; 6978c2ecf20Sopenharmony_ci regulator-boot-on; 6988c2ecf20Sopenharmony_ci }; 6998c2ecf20Sopenharmony_ci 7008c2ecf20Sopenharmony_ci ldo3 { 7018c2ecf20Sopenharmony_ci regulator-name = "+1.00V_LP0_VDD_RTC"; 7028c2ecf20Sopenharmony_ci regulator-min-microvolt = <1000000>; 7038c2ecf20Sopenharmony_ci regulator-max-microvolt = <1000000>; 7048c2ecf20Sopenharmony_ci regulator-always-on; 7058c2ecf20Sopenharmony_ci regulator-boot-on; 7068c2ecf20Sopenharmony_ci ams,enable-tracking; 7078c2ecf20Sopenharmony_ci }; 7088c2ecf20Sopenharmony_ci 7098c2ecf20Sopenharmony_ci vdd_run_cam: ldo4 { 7108c2ecf20Sopenharmony_ci regulator-name = "+2.8V_RUN_CAM"; 7118c2ecf20Sopenharmony_ci regulator-min-microvolt = <2800000>; 7128c2ecf20Sopenharmony_ci regulator-max-microvolt = <2800000>; 7138c2ecf20Sopenharmony_ci }; 7148c2ecf20Sopenharmony_ci 7158c2ecf20Sopenharmony_ci ldo5 { 7168c2ecf20Sopenharmony_ci regulator-name = "+1.2V_RUN_CAM_FRONT"; 7178c2ecf20Sopenharmony_ci regulator-min-microvolt = <1200000>; 7188c2ecf20Sopenharmony_ci regulator-max-microvolt = <1200000>; 7198c2ecf20Sopenharmony_ci }; 7208c2ecf20Sopenharmony_ci 7218c2ecf20Sopenharmony_ci vddio_sdmmc3: ldo6 { 7228c2ecf20Sopenharmony_ci regulator-name = "+VDDIO_SDMMC3"; 7238c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 7248c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 7258c2ecf20Sopenharmony_ci }; 7268c2ecf20Sopenharmony_ci 7278c2ecf20Sopenharmony_ci ldo7 { 7288c2ecf20Sopenharmony_ci regulator-name = "+1.05V_RUN_CAM_REAR"; 7298c2ecf20Sopenharmony_ci regulator-min-microvolt = <1050000>; 7308c2ecf20Sopenharmony_ci regulator-max-microvolt = <1050000>; 7318c2ecf20Sopenharmony_ci }; 7328c2ecf20Sopenharmony_ci 7338c2ecf20Sopenharmony_ci ldo9 { 7348c2ecf20Sopenharmony_ci regulator-name = "+2.8V_RUN_TOUCH"; 7358c2ecf20Sopenharmony_ci regulator-min-microvolt = <2800000>; 7368c2ecf20Sopenharmony_ci regulator-max-microvolt = <2800000>; 7378c2ecf20Sopenharmony_ci }; 7388c2ecf20Sopenharmony_ci 7398c2ecf20Sopenharmony_ci ldo10 { 7408c2ecf20Sopenharmony_ci regulator-name = "+2.8V_RUN_CAM_AF"; 7418c2ecf20Sopenharmony_ci regulator-min-microvolt = <2800000>; 7428c2ecf20Sopenharmony_ci regulator-max-microvolt = <2800000>; 7438c2ecf20Sopenharmony_ci }; 7448c2ecf20Sopenharmony_ci 7458c2ecf20Sopenharmony_ci ldo11 { 7468c2ecf20Sopenharmony_ci regulator-name = "+1.8V_RUN_VPP_FUSE"; 7478c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 7488c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 7498c2ecf20Sopenharmony_ci }; 7508c2ecf20Sopenharmony_ci }; 7518c2ecf20Sopenharmony_ci }; 7528c2ecf20Sopenharmony_ci }; 7538c2ecf20Sopenharmony_ci 7548c2ecf20Sopenharmony_ci spi@7000d400 { 7558c2ecf20Sopenharmony_ci status = "okay"; 7568c2ecf20Sopenharmony_ci 7578c2ecf20Sopenharmony_ci ec: cros-ec@0 { 7588c2ecf20Sopenharmony_ci compatible = "google,cros-ec-spi"; 7598c2ecf20Sopenharmony_ci spi-max-frequency = <3000000>; 7608c2ecf20Sopenharmony_ci interrupt-parent = <&gpio>; 7618c2ecf20Sopenharmony_ci interrupts = <TEGRA_GPIO(C, 7) IRQ_TYPE_LEVEL_LOW>; 7628c2ecf20Sopenharmony_ci reg = <0>; 7638c2ecf20Sopenharmony_ci 7648c2ecf20Sopenharmony_ci google,cros-ec-spi-msg-delay = <2000>; 7658c2ecf20Sopenharmony_ci 7668c2ecf20Sopenharmony_ci i2c_20: i2c-tunnel { 7678c2ecf20Sopenharmony_ci compatible = "google,cros-ec-i2c-tunnel"; 7688c2ecf20Sopenharmony_ci #address-cells = <1>; 7698c2ecf20Sopenharmony_ci #size-cells = <0>; 7708c2ecf20Sopenharmony_ci 7718c2ecf20Sopenharmony_ci google,remote-bus = <0>; 7728c2ecf20Sopenharmony_ci 7738c2ecf20Sopenharmony_ci charger: bq24735 { 7748c2ecf20Sopenharmony_ci compatible = "ti,bq24735"; 7758c2ecf20Sopenharmony_ci reg = <0x9>; 7768c2ecf20Sopenharmony_ci interrupt-parent = <&gpio>; 7778c2ecf20Sopenharmony_ci interrupts = <TEGRA_GPIO(J, 0) 7788c2ecf20Sopenharmony_ci GPIO_ACTIVE_HIGH>; 7798c2ecf20Sopenharmony_ci ti,ac-detect-gpios = <&gpio 7808c2ecf20Sopenharmony_ci TEGRA_GPIO(J, 0) 7818c2ecf20Sopenharmony_ci GPIO_ACTIVE_HIGH>; 7828c2ecf20Sopenharmony_ci }; 7838c2ecf20Sopenharmony_ci 7848c2ecf20Sopenharmony_ci battery: smart-battery { 7858c2ecf20Sopenharmony_ci compatible = "sbs,sbs-battery"; 7868c2ecf20Sopenharmony_ci reg = <0xb>; 7878c2ecf20Sopenharmony_ci sbs,i2c-retry-count = <2>; 7888c2ecf20Sopenharmony_ci sbs,poll-retry-count = <10>; 7898c2ecf20Sopenharmony_ci /* power-supplies = <&charger>; */ 7908c2ecf20Sopenharmony_ci }; 7918c2ecf20Sopenharmony_ci }; 7928c2ecf20Sopenharmony_ci 7938c2ecf20Sopenharmony_ci keyboard-controller { 7948c2ecf20Sopenharmony_ci compatible = "google,cros-ec-keyb"; 7958c2ecf20Sopenharmony_ci keypad,num-rows = <8>; 7968c2ecf20Sopenharmony_ci keypad,num-columns = <13>; 7978c2ecf20Sopenharmony_ci google,needs-ghost-filter; 7988c2ecf20Sopenharmony_ci linux,keymap = 7998c2ecf20Sopenharmony_ci <MATRIX_KEY(0x00, 0x01, KEY_LEFTMETA) 8008c2ecf20Sopenharmony_ci MATRIX_KEY(0x00, 0x02, KEY_F1) 8018c2ecf20Sopenharmony_ci MATRIX_KEY(0x00, 0x03, KEY_B) 8028c2ecf20Sopenharmony_ci MATRIX_KEY(0x00, 0x04, KEY_F10) 8038c2ecf20Sopenharmony_ci MATRIX_KEY(0x00, 0x06, KEY_N) 8048c2ecf20Sopenharmony_ci MATRIX_KEY(0x00, 0x08, KEY_EQUAL) 8058c2ecf20Sopenharmony_ci MATRIX_KEY(0x00, 0x0a, KEY_RIGHTALT) 8068c2ecf20Sopenharmony_ci 8078c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x01, KEY_ESC) 8088c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x02, KEY_F4) 8098c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x03, KEY_G) 8108c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x04, KEY_F7) 8118c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x06, KEY_H) 8128c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x08, KEY_APOSTROPHE) 8138c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x09, KEY_F9) 8148c2ecf20Sopenharmony_ci MATRIX_KEY(0x01, 0x0b, KEY_BACKSPACE) 8158c2ecf20Sopenharmony_ci 8168c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x00, KEY_LEFTCTRL) 8178c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x01, KEY_TAB) 8188c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x02, KEY_F3) 8198c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x03, KEY_T) 8208c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x04, KEY_F6) 8218c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x05, KEY_RIGHTBRACE) 8228c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x06, KEY_Y) 8238c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x07, KEY_102ND) 8248c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x08, KEY_LEFTBRACE) 8258c2ecf20Sopenharmony_ci MATRIX_KEY(0x02, 0x09, KEY_F8) 8268c2ecf20Sopenharmony_ci 8278c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x01, KEY_GRAVE) 8288c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x02, KEY_F2) 8298c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x03, KEY_5) 8308c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x04, KEY_F5) 8318c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x06, KEY_6) 8328c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x08, KEY_MINUS) 8338c2ecf20Sopenharmony_ci MATRIX_KEY(0x03, 0x0b, KEY_BACKSLASH) 8348c2ecf20Sopenharmony_ci 8358c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x00, KEY_RIGHTCTRL) 8368c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x01, KEY_A) 8378c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x02, KEY_D) 8388c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x03, KEY_F) 8398c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x04, KEY_S) 8408c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x05, KEY_K) 8418c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x06, KEY_J) 8428c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x08, KEY_SEMICOLON) 8438c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x09, KEY_L) 8448c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x0a, KEY_BACKSLASH) 8458c2ecf20Sopenharmony_ci MATRIX_KEY(0x04, 0x0b, KEY_ENTER) 8468c2ecf20Sopenharmony_ci 8478c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x01, KEY_Z) 8488c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x02, KEY_C) 8498c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x03, KEY_V) 8508c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x04, KEY_X) 8518c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x05, KEY_COMMA) 8528c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x06, KEY_M) 8538c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x07, KEY_LEFTSHIFT) 8548c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x08, KEY_SLASH) 8558c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x09, KEY_DOT) 8568c2ecf20Sopenharmony_ci MATRIX_KEY(0x05, 0x0b, KEY_SPACE) 8578c2ecf20Sopenharmony_ci 8588c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x01, KEY_1) 8598c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x02, KEY_3) 8608c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x03, KEY_4) 8618c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x04, KEY_2) 8628c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x05, KEY_8) 8638c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x06, KEY_7) 8648c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x08, KEY_0) 8658c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x09, KEY_9) 8668c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x0a, KEY_LEFTALT) 8678c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x0b, KEY_DOWN) 8688c2ecf20Sopenharmony_ci MATRIX_KEY(0x06, 0x0c, KEY_RIGHT) 8698c2ecf20Sopenharmony_ci 8708c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x01, KEY_Q) 8718c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x02, KEY_E) 8728c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x03, KEY_R) 8738c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x04, KEY_W) 8748c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x05, KEY_I) 8758c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x06, KEY_U) 8768c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x07, KEY_RIGHTSHIFT) 8778c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x08, KEY_P) 8788c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x09, KEY_O) 8798c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x0b, KEY_UP) 8808c2ecf20Sopenharmony_ci MATRIX_KEY(0x07, 0x0c, KEY_LEFT)>; 8818c2ecf20Sopenharmony_ci }; 8828c2ecf20Sopenharmony_ci }; 8838c2ecf20Sopenharmony_ci }; 8848c2ecf20Sopenharmony_ci 8858c2ecf20Sopenharmony_ci pmc@7000e400 { 8868c2ecf20Sopenharmony_ci nvidia,invert-interrupt; 8878c2ecf20Sopenharmony_ci nvidia,suspend-mode = <0>; 8888c2ecf20Sopenharmony_ci #wake-cells = <3>; 8898c2ecf20Sopenharmony_ci nvidia,cpu-pwr-good-time = <500>; 8908c2ecf20Sopenharmony_ci nvidia,cpu-pwr-off-time = <300>; 8918c2ecf20Sopenharmony_ci nvidia,core-pwr-good-time = <641 3845>; 8928c2ecf20Sopenharmony_ci nvidia,core-pwr-off-time = <61036>; 8938c2ecf20Sopenharmony_ci nvidia,core-power-req-active-high; 8948c2ecf20Sopenharmony_ci nvidia,sys-clock-req-active-high; 8958c2ecf20Sopenharmony_ci nvidia,reset-gpio = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 8968c2ecf20Sopenharmony_ci }; 8978c2ecf20Sopenharmony_ci 8988c2ecf20Sopenharmony_ci usb@70090000 { 8998c2ecf20Sopenharmony_ci phys = <&{/padctl@7009f000/pads/usb2/lanes/usb2-0}>, /* 1st USB A */ 9008c2ecf20Sopenharmony_ci <&{/padctl@7009f000/pads/usb2/lanes/usb2-1}>, /* Internal USB */ 9018c2ecf20Sopenharmony_ci <&{/padctl@7009f000/pads/usb2/lanes/usb2-2}>, /* 2nd USB A */ 9028c2ecf20Sopenharmony_ci <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, /* 1st USB A */ 9038c2ecf20Sopenharmony_ci <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>; /* 2nd USB A */ 9048c2ecf20Sopenharmony_ci phy-names = "usb2-0", "usb2-1", "usb2-2", "usb3-0", "usb3-1"; 9058c2ecf20Sopenharmony_ci 9068c2ecf20Sopenharmony_ci avddio-pex-supply = <&vdd_1v05_run>; 9078c2ecf20Sopenharmony_ci dvddio-pex-supply = <&vdd_1v05_run>; 9088c2ecf20Sopenharmony_ci avdd-usb-supply = <&vdd_3v3_lp0>; 9098c2ecf20Sopenharmony_ci hvdd-usb-ss-supply = <&vdd_3v3_lp0>; 9108c2ecf20Sopenharmony_ci 9118c2ecf20Sopenharmony_ci status = "okay"; 9128c2ecf20Sopenharmony_ci }; 9138c2ecf20Sopenharmony_ci 9148c2ecf20Sopenharmony_ci padctl@7009f000 { 9158c2ecf20Sopenharmony_ci avdd-pll-utmip-supply = <&vddio_1v8>; 9168c2ecf20Sopenharmony_ci avdd-pll-erefe-supply = <&avdd_1v05_run>; 9178c2ecf20Sopenharmony_ci avdd-pex-pll-supply = <&vdd_1v05_run>; 9188c2ecf20Sopenharmony_ci hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>; 9198c2ecf20Sopenharmony_ci 9208c2ecf20Sopenharmony_ci pads { 9218c2ecf20Sopenharmony_ci usb2 { 9228c2ecf20Sopenharmony_ci status = "okay"; 9238c2ecf20Sopenharmony_ci 9248c2ecf20Sopenharmony_ci lanes { 9258c2ecf20Sopenharmony_ci usb2-0 { 9268c2ecf20Sopenharmony_ci nvidia,function = "xusb"; 9278c2ecf20Sopenharmony_ci status = "okay"; 9288c2ecf20Sopenharmony_ci }; 9298c2ecf20Sopenharmony_ci 9308c2ecf20Sopenharmony_ci usb2-1 { 9318c2ecf20Sopenharmony_ci nvidia,function = "xusb"; 9328c2ecf20Sopenharmony_ci status = "okay"; 9338c2ecf20Sopenharmony_ci }; 9348c2ecf20Sopenharmony_ci 9358c2ecf20Sopenharmony_ci usb2-2 { 9368c2ecf20Sopenharmony_ci nvidia,function = "xusb"; 9378c2ecf20Sopenharmony_ci status = "okay"; 9388c2ecf20Sopenharmony_ci }; 9398c2ecf20Sopenharmony_ci }; 9408c2ecf20Sopenharmony_ci }; 9418c2ecf20Sopenharmony_ci 9428c2ecf20Sopenharmony_ci pcie { 9438c2ecf20Sopenharmony_ci status = "okay"; 9448c2ecf20Sopenharmony_ci 9458c2ecf20Sopenharmony_ci lanes { 9468c2ecf20Sopenharmony_ci pcie-0 { 9478c2ecf20Sopenharmony_ci nvidia,function = "usb3-ss"; 9488c2ecf20Sopenharmony_ci status = "okay"; 9498c2ecf20Sopenharmony_ci }; 9508c2ecf20Sopenharmony_ci 9518c2ecf20Sopenharmony_ci pcie-1 { 9528c2ecf20Sopenharmony_ci nvidia,function = "usb3-ss"; 9538c2ecf20Sopenharmony_ci status = "okay"; 9548c2ecf20Sopenharmony_ci }; 9558c2ecf20Sopenharmony_ci }; 9568c2ecf20Sopenharmony_ci }; 9578c2ecf20Sopenharmony_ci }; 9588c2ecf20Sopenharmony_ci 9598c2ecf20Sopenharmony_ci ports { 9608c2ecf20Sopenharmony_ci usb2-0 { 9618c2ecf20Sopenharmony_ci status = "okay"; 9628c2ecf20Sopenharmony_ci mode = "otg"; 9638c2ecf20Sopenharmony_ci 9648c2ecf20Sopenharmony_ci vbus-supply = <&vdd_usb1_vbus>; 9658c2ecf20Sopenharmony_ci }; 9668c2ecf20Sopenharmony_ci 9678c2ecf20Sopenharmony_ci usb2-1 { 9688c2ecf20Sopenharmony_ci status = "okay"; 9698c2ecf20Sopenharmony_ci mode = "host"; 9708c2ecf20Sopenharmony_ci 9718c2ecf20Sopenharmony_ci vbus-supply = <&vdd_run_cam>; 9728c2ecf20Sopenharmony_ci }; 9738c2ecf20Sopenharmony_ci 9748c2ecf20Sopenharmony_ci usb2-2 { 9758c2ecf20Sopenharmony_ci status = "okay"; 9768c2ecf20Sopenharmony_ci mode = "host"; 9778c2ecf20Sopenharmony_ci 9788c2ecf20Sopenharmony_ci vbus-supply = <&vdd_usb3_vbus>; 9798c2ecf20Sopenharmony_ci }; 9808c2ecf20Sopenharmony_ci 9818c2ecf20Sopenharmony_ci usb3-0 { 9828c2ecf20Sopenharmony_ci nvidia,usb2-companion = <0>; 9838c2ecf20Sopenharmony_ci status = "okay"; 9848c2ecf20Sopenharmony_ci }; 9858c2ecf20Sopenharmony_ci 9868c2ecf20Sopenharmony_ci usb3-1 { 9878c2ecf20Sopenharmony_ci nvidia,usb2-companion = <2>; 9888c2ecf20Sopenharmony_ci status = "okay"; 9898c2ecf20Sopenharmony_ci }; 9908c2ecf20Sopenharmony_ci }; 9918c2ecf20Sopenharmony_ci }; 9928c2ecf20Sopenharmony_ci 9938c2ecf20Sopenharmony_ci /* WIFI/BT module */ 9948c2ecf20Sopenharmony_ci mmc@700b0000 { 9958c2ecf20Sopenharmony_ci status = "disabled"; 9968c2ecf20Sopenharmony_ci }; 9978c2ecf20Sopenharmony_ci 9988c2ecf20Sopenharmony_ci /* external SD/MMC */ 9998c2ecf20Sopenharmony_ci mmc@700b0400 { 10008c2ecf20Sopenharmony_ci cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; 10018c2ecf20Sopenharmony_ci power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; 10028c2ecf20Sopenharmony_ci wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>; 10038c2ecf20Sopenharmony_ci status = "okay"; 10048c2ecf20Sopenharmony_ci bus-width = <4>; 10058c2ecf20Sopenharmony_ci vqmmc-supply = <&vddio_sdmmc3>; 10068c2ecf20Sopenharmony_ci }; 10078c2ecf20Sopenharmony_ci 10088c2ecf20Sopenharmony_ci /* EMMC 4.51 */ 10098c2ecf20Sopenharmony_ci mmc@700b0600 { 10108c2ecf20Sopenharmony_ci status = "okay"; 10118c2ecf20Sopenharmony_ci bus-width = <8>; 10128c2ecf20Sopenharmony_ci non-removable; 10138c2ecf20Sopenharmony_ci }; 10148c2ecf20Sopenharmony_ci 10158c2ecf20Sopenharmony_ci backlight: backlight { 10168c2ecf20Sopenharmony_ci compatible = "pwm-backlight"; 10178c2ecf20Sopenharmony_ci 10188c2ecf20Sopenharmony_ci enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>; 10198c2ecf20Sopenharmony_ci power-supply = <&vdd_led>; 10208c2ecf20Sopenharmony_ci pwms = <&pwm 1 1000000>; 10218c2ecf20Sopenharmony_ci 10228c2ecf20Sopenharmony_ci brightness-levels = <0 4 8 16 32 64 128 255>; 10238c2ecf20Sopenharmony_ci default-brightness-level = <6>; 10248c2ecf20Sopenharmony_ci 10258c2ecf20Sopenharmony_ci backlight-boot-off; 10268c2ecf20Sopenharmony_ci }; 10278c2ecf20Sopenharmony_ci 10288c2ecf20Sopenharmony_ci clk32k_in: clock@0 { 10298c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 10308c2ecf20Sopenharmony_ci clock-frequency = <32768>; 10318c2ecf20Sopenharmony_ci #clock-cells = <0>; 10328c2ecf20Sopenharmony_ci }; 10338c2ecf20Sopenharmony_ci 10348c2ecf20Sopenharmony_ci gpio-keys { 10358c2ecf20Sopenharmony_ci compatible = "gpio-keys"; 10368c2ecf20Sopenharmony_ci 10378c2ecf20Sopenharmony_ci lid { 10388c2ecf20Sopenharmony_ci label = "Lid"; 10398c2ecf20Sopenharmony_ci gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>; 10408c2ecf20Sopenharmony_ci linux,input-type = <5>; 10418c2ecf20Sopenharmony_ci linux,code = <0>; 10428c2ecf20Sopenharmony_ci debounce-interval = <1>; 10438c2ecf20Sopenharmony_ci wakeup-source; 10448c2ecf20Sopenharmony_ci }; 10458c2ecf20Sopenharmony_ci 10468c2ecf20Sopenharmony_ci power { 10478c2ecf20Sopenharmony_ci label = "Power"; 10488c2ecf20Sopenharmony_ci gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 10498c2ecf20Sopenharmony_ci linux,code = <KEY_POWER>; 10508c2ecf20Sopenharmony_ci debounce-interval = <10>; 10518c2ecf20Sopenharmony_ci wakeup-source; 10528c2ecf20Sopenharmony_ci }; 10538c2ecf20Sopenharmony_ci }; 10548c2ecf20Sopenharmony_ci 10558c2ecf20Sopenharmony_ci panel: panel { 10568c2ecf20Sopenharmony_ci compatible = "innolux,n116bge"; 10578c2ecf20Sopenharmony_ci power-supply = <&vdd_3v3_panel>; 10588c2ecf20Sopenharmony_ci backlight = <&backlight>; 10598c2ecf20Sopenharmony_ci ddc-i2c-bus = <&dpaux>; 10608c2ecf20Sopenharmony_ci }; 10618c2ecf20Sopenharmony_ci 10628c2ecf20Sopenharmony_ci vdd_mux: regulator@0 { 10638c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 10648c2ecf20Sopenharmony_ci regulator-name = "+VDD_MUX"; 10658c2ecf20Sopenharmony_ci regulator-min-microvolt = <19000000>; 10668c2ecf20Sopenharmony_ci regulator-max-microvolt = <19000000>; 10678c2ecf20Sopenharmony_ci regulator-always-on; 10688c2ecf20Sopenharmony_ci regulator-boot-on; 10698c2ecf20Sopenharmony_ci }; 10708c2ecf20Sopenharmony_ci 10718c2ecf20Sopenharmony_ci vdd_5v0_sys: regulator@1 { 10728c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 10738c2ecf20Sopenharmony_ci regulator-name = "+5V_SYS"; 10748c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 10758c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 10768c2ecf20Sopenharmony_ci regulator-always-on; 10778c2ecf20Sopenharmony_ci regulator-boot-on; 10788c2ecf20Sopenharmony_ci vin-supply = <&vdd_mux>; 10798c2ecf20Sopenharmony_ci }; 10808c2ecf20Sopenharmony_ci 10818c2ecf20Sopenharmony_ci vdd_3v3_sys: regulator@2 { 10828c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 10838c2ecf20Sopenharmony_ci regulator-name = "+3.3V_SYS"; 10848c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 10858c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 10868c2ecf20Sopenharmony_ci regulator-always-on; 10878c2ecf20Sopenharmony_ci regulator-boot-on; 10888c2ecf20Sopenharmony_ci vin-supply = <&vdd_mux>; 10898c2ecf20Sopenharmony_ci }; 10908c2ecf20Sopenharmony_ci 10918c2ecf20Sopenharmony_ci vdd_3v3_run: regulator@3 { 10928c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 10938c2ecf20Sopenharmony_ci regulator-name = "+3.3V_RUN"; 10948c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 10958c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 10968c2ecf20Sopenharmony_ci regulator-always-on; 10978c2ecf20Sopenharmony_ci regulator-boot-on; 10988c2ecf20Sopenharmony_ci gpio = <&as3722 1 GPIO_ACTIVE_HIGH>; 10998c2ecf20Sopenharmony_ci enable-active-high; 11008c2ecf20Sopenharmony_ci vin-supply = <&vdd_3v3_sys>; 11018c2ecf20Sopenharmony_ci }; 11028c2ecf20Sopenharmony_ci 11038c2ecf20Sopenharmony_ci vdd_3v3_hdmi: regulator@4 { 11048c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11058c2ecf20Sopenharmony_ci regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; 11068c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 11078c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 11088c2ecf20Sopenharmony_ci vin-supply = <&vdd_3v3_run>; 11098c2ecf20Sopenharmony_ci }; 11108c2ecf20Sopenharmony_ci 11118c2ecf20Sopenharmony_ci vdd_led: regulator@5 { 11128c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11138c2ecf20Sopenharmony_ci regulator-name = "+VDD_LED"; 11148c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 11158c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 11168c2ecf20Sopenharmony_ci gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; 11178c2ecf20Sopenharmony_ci enable-active-high; 11188c2ecf20Sopenharmony_ci vin-supply = <&vdd_mux>; 11198c2ecf20Sopenharmony_ci }; 11208c2ecf20Sopenharmony_ci 11218c2ecf20Sopenharmony_ci vdd_usb1_vbus: regulator@6 { 11228c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11238c2ecf20Sopenharmony_ci regulator-name = "+5V_USB_HS"; 11248c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 11258c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 11268c2ecf20Sopenharmony_ci gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 11278c2ecf20Sopenharmony_ci enable-active-high; 11288c2ecf20Sopenharmony_ci gpio-open-drain; 11298c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v0_sys>; 11308c2ecf20Sopenharmony_ci }; 11318c2ecf20Sopenharmony_ci 11328c2ecf20Sopenharmony_ci vdd_usb3_vbus: regulator@7 { 11338c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11348c2ecf20Sopenharmony_ci regulator-name = "+5V_USB_SS"; 11358c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 11368c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 11378c2ecf20Sopenharmony_ci gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; 11388c2ecf20Sopenharmony_ci enable-active-high; 11398c2ecf20Sopenharmony_ci gpio-open-drain; 11408c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v0_sys>; 11418c2ecf20Sopenharmony_ci }; 11428c2ecf20Sopenharmony_ci 11438c2ecf20Sopenharmony_ci vdd_3v3_panel: regulator@8 { 11448c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11458c2ecf20Sopenharmony_ci regulator-name = "+3.3V_PANEL"; 11468c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 11478c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 11488c2ecf20Sopenharmony_ci gpio = <&as3722 4 GPIO_ACTIVE_HIGH>; 11498c2ecf20Sopenharmony_ci enable-active-high; 11508c2ecf20Sopenharmony_ci vin-supply = <&vdd_3v3_sys>; 11518c2ecf20Sopenharmony_ci }; 11528c2ecf20Sopenharmony_ci 11538c2ecf20Sopenharmony_ci vdd_hdmi_pll: regulator@9 { 11548c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11558c2ecf20Sopenharmony_ci regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL_AP_GATE"; 11568c2ecf20Sopenharmony_ci regulator-min-microvolt = <1050000>; 11578c2ecf20Sopenharmony_ci regulator-max-microvolt = <1050000>; 11588c2ecf20Sopenharmony_ci gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; 11598c2ecf20Sopenharmony_ci vin-supply = <&vdd_1v05_run>; 11608c2ecf20Sopenharmony_ci }; 11618c2ecf20Sopenharmony_ci 11628c2ecf20Sopenharmony_ci vdd_5v0_hdmi: regulator@10 { 11638c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11648c2ecf20Sopenharmony_ci regulator-name = "+5V_HDMI_CON"; 11658c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 11668c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 11678c2ecf20Sopenharmony_ci gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 11688c2ecf20Sopenharmony_ci enable-active-high; 11698c2ecf20Sopenharmony_ci vin-supply = <&vdd_5v0_sys>; 11708c2ecf20Sopenharmony_ci }; 11718c2ecf20Sopenharmony_ci 11728c2ecf20Sopenharmony_ci vdd_5v0_ts: regulator@11 { 11738c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11748c2ecf20Sopenharmony_ci regulator-name = "+5V_VDD_TS"; 11758c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 11768c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 11778c2ecf20Sopenharmony_ci regulator-always-on; 11788c2ecf20Sopenharmony_ci regulator-boot-on; 11798c2ecf20Sopenharmony_ci gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; 11808c2ecf20Sopenharmony_ci enable-active-high; 11818c2ecf20Sopenharmony_ci }; 11828c2ecf20Sopenharmony_ci 11838c2ecf20Sopenharmony_ci vdd_3v3_lp0: regulator@12 { 11848c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 11858c2ecf20Sopenharmony_ci regulator-name = "+3.3V_LP0"; 11868c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 11878c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 11888c2ecf20Sopenharmony_ci /* 11898c2ecf20Sopenharmony_ci * TODO: find a way to wire this up with the USB EHCI 11908c2ecf20Sopenharmony_ci * controllers so that it can be enabled on demand. 11918c2ecf20Sopenharmony_ci */ 11928c2ecf20Sopenharmony_ci regulator-always-on; 11938c2ecf20Sopenharmony_ci gpio = <&as3722 2 GPIO_ACTIVE_HIGH>; 11948c2ecf20Sopenharmony_ci enable-active-high; 11958c2ecf20Sopenharmony_ci vin-supply = <&vdd_3v3_sys>; 11968c2ecf20Sopenharmony_ci }; 11978c2ecf20Sopenharmony_ci}; 1198