2023-06-30 07:29:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
#include "tegra30.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
stdout-path = &uartd;
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
i2c0 = &pwr_i2c;
|
|
|
|
i2c1 = &gen2_i2c;
|
|
|
|
|
|
|
|
mmc0 = &sdmmc4; /* eMMC */
|
|
|
|
|
|
|
|
rtc0 = &pmic;
|
|
|
|
rtc1 = "/rtc@7000e000";
|
|
|
|
|
|
|
|
spi0 = &dsi_spi;
|
|
|
|
|
|
|
|
usb0 = µ_usb;
|
|
|
|
};
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
host1x@50000000 {
|
|
|
|
dc@54200000 {
|
|
|
|
rgb {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
nvidia,panel = <&bridge>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-27 17:08:32 +00:00
|
|
|
pinmux@70000868 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&state_default>;
|
|
|
|
|
|
|
|
state_default: pinmux {
|
|
|
|
/* WLAN SDIO pinmux */
|
|
|
|
sdmmc1_clk {
|
|
|
|
nvidia,pins = "sdmmc1_clk_pz0";
|
|
|
|
nvidia,function = "sdmmc1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
sdmmc1_cmd {
|
|
|
|
nvidia,pins = "sdmmc1_cmd_pz1",
|
|
|
|
"sdmmc1_dat3_py4",
|
|
|
|
"sdmmc1_dat2_py5",
|
|
|
|
"sdmmc1_dat1_py6",
|
|
|
|
"sdmmc1_dat0_py7";
|
|
|
|
nvidia,function = "sdmmc1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
wlan_reset {
|
|
|
|
nvidia,pins = "pv3";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
wlan_host_wake {
|
|
|
|
nvidia,pins = "pu6";
|
|
|
|
nvidia,function = "pwm3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* GNSS UART-B pinmux */
|
|
|
|
gps_pwr_en {
|
|
|
|
nvidia,pins = "kb_row6_pr6";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
gps_ldo_en {
|
|
|
|
nvidia,pins = "ulpi_dir_py1";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
gps_clk_ref {
|
|
|
|
nvidia,pins = "gmi_ad8_ph0";
|
|
|
|
nvidia,function = "gmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Bluetooth UART-C pinmux */
|
|
|
|
uartc_cts_rxd {
|
|
|
|
nvidia,pins = "uart3_cts_n_pa1",
|
|
|
|
"uart3_rxd_pw7";
|
|
|
|
nvidia,function = "uartc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
uartc_rts_txd {
|
|
|
|
nvidia,pins = "uart3_rts_n_pc0",
|
|
|
|
"uart3_txd_pw6";
|
|
|
|
nvidia,function = "uartc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
bt_reset {
|
|
|
|
nvidia,pins = "clk2_req_pcc5";
|
|
|
|
nvidia,function = "dap";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
bt_dev_wake {
|
|
|
|
nvidia,pins = "kb_row11_ps3";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
bt_host_wake {
|
|
|
|
nvidia,pins = "kb_row12_ps4";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
bt_pcm_dap4 {
|
|
|
|
nvidia,pins = "dap4_fs_pp4",
|
|
|
|
"dap4_din_pp5",
|
|
|
|
"dap4_dout_pp6",
|
|
|
|
"dap4_sclk_pp7";
|
|
|
|
nvidia,function = "i2s3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* EMMC pinmux */
|
|
|
|
sdmmc4_clk {
|
|
|
|
nvidia,pins = "sdmmc4_clk_pcc4";
|
|
|
|
nvidia,function = "sdmmc4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
sdmmc4_data {
|
|
|
|
nvidia,pins = "sdmmc4_cmd_pt7",
|
|
|
|
"sdmmc4_dat0_paa0",
|
|
|
|
"sdmmc4_dat1_paa1",
|
|
|
|
"sdmmc4_dat2_paa2",
|
|
|
|
"sdmmc4_dat3_paa3",
|
|
|
|
"sdmmc4_dat4_paa4",
|
|
|
|
"sdmmc4_dat5_paa5",
|
|
|
|
"sdmmc4_dat6_paa6",
|
|
|
|
"sdmmc4_dat7_paa7";
|
|
|
|
nvidia,function = "sdmmc4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
sdmmc4_reset {
|
|
|
|
nvidia,pins = "sdmmc4_rst_n_pcc3";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* I2C pinmux */
|
|
|
|
gen1_i2c {
|
|
|
|
nvidia,pins = "gen1_i2c_scl_pc4",
|
|
|
|
"gen1_i2c_sda_pc5";
|
|
|
|
nvidia,function = "i2c1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,open-drain = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,lock = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gen2_i2c {
|
|
|
|
nvidia,pins = "gen2_i2c_scl_pt5",
|
|
|
|
"gen2_i2c_sda_pt6";
|
|
|
|
nvidia,function = "i2c2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,open-drain = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,lock = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cam_i2c {
|
|
|
|
nvidia,pins = "cam_i2c_scl_pbb1",
|
|
|
|
"cam_i2c_sda_pbb2";
|
|
|
|
nvidia,function = "i2c3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,open-drain = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,lock = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ddc_i2c {
|
|
|
|
nvidia,pins = "ddc_scl_pv4",
|
|
|
|
"ddc_sda_pv5";
|
|
|
|
nvidia,function = "i2c4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,lock = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pwr_i2c {
|
|
|
|
nvidia,pins = "pwr_i2c_scl_pz6",
|
|
|
|
"pwr_i2c_sda_pz7";
|
|
|
|
nvidia,function = "i2cpwr";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,open-drain = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,lock = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
mhl_i2c {
|
|
|
|
nvidia,pins = "kb_col6_pq6",
|
|
|
|
"kb_col7_pq7";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* GPIO keys pinmux */
|
|
|
|
power_key {
|
|
|
|
nvidia,pins = "gmi_wp_n_pc7";
|
|
|
|
nvidia,function = "gmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
volume_down {
|
|
|
|
nvidia,pins = "ulpi_data3_po4";
|
|
|
|
nvidia,function = "spi3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Sensors pinmux */
|
|
|
|
sen_vdd {
|
|
|
|
nvidia,pins = "spi1_miso_px7";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
proxi_vdd {
|
|
|
|
nvidia,pins = "spi2_miso_px1";
|
|
|
|
nvidia,function = "gmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
sen_vio {
|
|
|
|
nvidia,pins = "lcd_dc1_pd2";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
nct_irq {
|
|
|
|
nvidia,pins = "gmi_iordy_pi5";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
bat_irq {
|
|
|
|
nvidia,pins = "kb_row8_ps0";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
charger_irq {
|
|
|
|
nvidia,pins = "gmi_cs1_n_pj2";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
mpu_irq {
|
|
|
|
nvidia,pins = "gmi_ad12_ph4";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
compass_irq {
|
|
|
|
nvidia,pins = "gmi_ad13_ph5";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
light_irq {
|
|
|
|
nvidia,pins = "gmi_cs4_n_pk2";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* LED pinmux */
|
|
|
|
backlight_en {
|
|
|
|
nvidia,pins = "lcd_dc0_pn6";
|
|
|
|
nvidia,function = "rsvd3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
flash_led_en {
|
|
|
|
nvidia,pins = "pbb3";
|
|
|
|
nvidia,function = "vgp3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
keypad_led {
|
|
|
|
nvidia,pins = "kb_row2_pr2",
|
|
|
|
"kb_row3_pr3";
|
|
|
|
nvidia,function = "rsvd3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* NFC pinmux */
|
|
|
|
nfc_irq {
|
|
|
|
nvidia,pins = "spi2_cs1_n_pw2";
|
|
|
|
nvidia,function = "spi2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
nfc_ven {
|
|
|
|
nvidia,pins = "spi1_sck_px5";
|
|
|
|
nvidia,function = "spi1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
nfc_firm {
|
|
|
|
nvidia,pins = "kb_row0_pr0";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* DC pinmux */
|
|
|
|
lcd_pwr {
|
|
|
|
nvidia,pins = "lcd_pwr0_pb2",
|
|
|
|
"lcd_pwr1_pc1";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
lcd_wr_n {
|
|
|
|
nvidia,pins = "lcd_wr_n_pz3";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
lcd_id {
|
|
|
|
nvidia,pins = "lcd_m1_pw1";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
lcd_pclk {
|
|
|
|
nvidia,pins = "lcd_pclk_pb3",
|
|
|
|
"lcd_de_pj1",
|
|
|
|
"lcd_hsync_pj3",
|
|
|
|
"lcd_vsync_pj4";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
lcd_rgb_blue {
|
|
|
|
nvidia,pins = "lcd_d0_pe0",
|
|
|
|
"lcd_d1_pe1",
|
|
|
|
"lcd_d2_pe2",
|
|
|
|
"lcd_d3_pe3",
|
|
|
|
"lcd_d4_pe4",
|
|
|
|
"lcd_d5_pe5",
|
|
|
|
"lcd_d18_pm2",
|
|
|
|
"lcd_d19_pm3";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
lcd_rgb_green {
|
|
|
|
nvidia,pins = "lcd_d6_pe6",
|
|
|
|
"lcd_d7_pe7",
|
|
|
|
"lcd_d8_pf0",
|
|
|
|
"lcd_d9_pf1",
|
|
|
|
"lcd_d10_pf2",
|
|
|
|
"lcd_d11_pf3",
|
|
|
|
"lcd_d20_pm4",
|
|
|
|
"lcd_d21_pm5";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
lcd_rgb_red {
|
|
|
|
nvidia,pins = "lcd_d12_pf4",
|
|
|
|
"lcd_d13_pf5",
|
|
|
|
"lcd_d14_pf6",
|
|
|
|
"lcd_d15_pf7",
|
|
|
|
"lcd_d16_pm0",
|
|
|
|
"lcd_d17_pm1",
|
|
|
|
"lcd_d22_pm6",
|
|
|
|
"lcd_d23_pm7";
|
|
|
|
nvidia,function = "displaya";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Bridge pinmux */
|
|
|
|
bridge_reset {
|
|
|
|
nvidia,pins = "ulpi_data1_po2";
|
|
|
|
nvidia,function = "spi3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
rgb_ic_en {
|
|
|
|
nvidia,pins = "gmi_a18_pb1";
|
|
|
|
nvidia,function = "uartd";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
bridge_clk {
|
|
|
|
nvidia,pins = "clk3_out_pee0";
|
|
|
|
nvidia,function = "extperiph3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
rgb_bridge {
|
|
|
|
nvidia,pins = "lcd_sdin_pz2",
|
|
|
|
"lcd_sdout_pn5",
|
|
|
|
"lcd_cs0_n_pn4",
|
|
|
|
"lcd_sck_pz4";
|
|
|
|
nvidia,function = "spi5";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Panel pinmux */
|
|
|
|
panel_reset {
|
|
|
|
nvidia,pins = "lcd_cs1_n_pw0";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
panel_vio {
|
|
|
|
nvidia,pins = "ulpi_clk_py0";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Touchscreen pinmux */
|
|
|
|
touch_vdd {
|
|
|
|
nvidia,pins = "kb_col1_pq1";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
touch_vio {
|
|
|
|
nvidia,pins = "spi1_mosi_px4";
|
|
|
|
nvidia,function = "spi2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
touch_int_n {
|
|
|
|
nvidia,pins = "kb_col3_pq3";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
touch_rst_n {
|
|
|
|
nvidia,pins = "ulpi_data0_po1";
|
|
|
|
nvidia,function = "spi3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
touch_maker_id {
|
|
|
|
nvidia,pins = "kb_col2_pq2";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* MHL pinmux */
|
|
|
|
mhl_vio {
|
|
|
|
nvidia,pins = "pv2";
|
|
|
|
nvidia,function = "owr";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
mhl_rst_n {
|
|
|
|
nvidia,pins = "clk3_req_pee1";
|
|
|
|
nvidia,function = "dev3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
mhl_int {
|
|
|
|
nvidia,pins = "crt_vsync_pv7";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
mhl_sel {
|
|
|
|
nvidia,pins = "kb_row10_ps2";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
hdmi_hpd {
|
|
|
|
nvidia,pins = "hdmi_int_pn7";
|
|
|
|
nvidia,function = "hdmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* AUDIO pinmux */
|
|
|
|
hp_detect {
|
|
|
|
nvidia,pins = "pbb6";
|
|
|
|
nvidia,function = "vgp6";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
hp_hook {
|
|
|
|
nvidia,pins = "ulpi_data4_po5";
|
|
|
|
nvidia,function = "ulpi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
ear_mic_en {
|
|
|
|
nvidia,pins = "spi2_mosi_px0";
|
|
|
|
nvidia,function = "spi2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
audio_irq {
|
|
|
|
nvidia,pins = "spi2_cs2_n_pw3";
|
|
|
|
nvidia,function = "spi3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
audio_mclk {
|
|
|
|
nvidia,pins = "clk1_out_pw4";
|
|
|
|
nvidia,function = "extperiph1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
dap_i2s0 {
|
|
|
|
nvidia,pins = "dap1_fs_pn0",
|
|
|
|
"dap1_din_pn1",
|
|
|
|
"dap1_dout_pn2",
|
|
|
|
"dap1_sclk_pn3";
|
|
|
|
nvidia,function = "i2s0";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
dap_i2s1 {
|
|
|
|
nvidia,pins = "dap2_fs_pa2",
|
|
|
|
"dap2_sclk_pa3",
|
|
|
|
"dap2_din_pa4",
|
|
|
|
"dap2_dout_pa5";
|
|
|
|
nvidia,function = "i2s1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* MUIC pinmux */
|
|
|
|
muic_irq {
|
|
|
|
nvidia,pins = "gmi_cs0_n_pj0";
|
|
|
|
nvidia,function = "gmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
muic_dp2t {
|
|
|
|
nvidia,pins = "pcc2";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
muic_usif {
|
|
|
|
nvidia,pins = "ulpi_stp_py3";
|
|
|
|
nvidia,function = "spi1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
ifx_usb_vbus_en {
|
|
|
|
nvidia,pins = "kb_row4_pr4";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
pcb_rev {
|
|
|
|
nvidia,pins = "gmi_wait_pi7",
|
|
|
|
"gmi_rst_n_pi4";
|
|
|
|
nvidia,function = "gmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
jtag_rtck {
|
|
|
|
nvidia,pins = "jtag_rtck_pu7";
|
|
|
|
nvidia,function = "rtck";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Camera pinmux */
|
|
|
|
cam_mclk {
|
|
|
|
nvidia,pins = "cam_mclk_pcc0";
|
|
|
|
nvidia,function = "vi_alt3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
cam_pmic_en {
|
|
|
|
nvidia,pins = "pbb4";
|
|
|
|
nvidia,function = "vgp4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
front_cam_rst {
|
|
|
|
nvidia,pins = "pbb5";
|
|
|
|
nvidia,function = "vgp5";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
front_cam_vio {
|
|
|
|
nvidia,pins = "ulpi_nxt_py2";
|
|
|
|
nvidia,function = "rsvd2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
rear_cam_rst {
|
|
|
|
nvidia,pins = "gmi_cs3_n_pk4";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
rear_cam_eprom_pr {
|
|
|
|
nvidia,pins = "gmi_cs2_n_pk3";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
rear_cam_vcm_pwdn {
|
|
|
|
nvidia,pins = "kb_row1_pr1";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Haptic pinmux */
|
|
|
|
haptic_en {
|
|
|
|
nvidia,pins = "gmi_ad9_ph1";
|
|
|
|
nvidia,function = "gmi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
haptic_osc {
|
|
|
|
nvidia,pins = "gmi_ad11_ph3";
|
|
|
|
nvidia,function = "pwm3";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Modem pinmux */
|
|
|
|
cp2ap_ack1_host_active {
|
|
|
|
nvidia,pins = "pu5";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
cp2ap_ack2_host_wakeup {
|
|
|
|
nvidia,pins = "pv0";
|
|
|
|
nvidia,function = "rsvd4";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
ap2cp_ack2_suspend_req {
|
|
|
|
nvidia,pins = "kb_row14_ps6";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
ap2cp_ack1_slave_wakeup {
|
|
|
|
nvidia,pins = "kb_row15_ps7";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cp_kkp {
|
|
|
|
nvidia,pins = "kb_col0_pq0";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
cp_crash_irq {
|
|
|
|
nvidia,pins = "kb_row13_ps5";
|
|
|
|
nvidia,function = "kbc";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ap2cp_uarta_tx_ipc {
|
|
|
|
nvidia,pins = "pu0";
|
|
|
|
nvidia,function = "uarta";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
ap2cp_uarta_rx_ipc {
|
|
|
|
nvidia,pins = "pu1";
|
|
|
|
nvidia,function = "uarta";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
fota_ap_cts_cp_rts {
|
|
|
|
nvidia,pins = "pu2";
|
|
|
|
nvidia,function = "uarta";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
fota_ap_rts_cp_cts {
|
|
|
|
nvidia,pins = "pu3";
|
|
|
|
nvidia,function = "uarta";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
modem_enable {
|
|
|
|
nvidia,pins = "ulpi_data7_po0";
|
|
|
|
nvidia,function = "hsi";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
modem_reset {
|
|
|
|
nvidia,pins = "pv1";
|
|
|
|
nvidia,function = "rsvd1";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dap_i2s2 {
|
|
|
|
nvidia,pins = "dap3_fs_pp0",
|
|
|
|
"dap3_din_pp1",
|
|
|
|
"dap3_dout_pp2",
|
|
|
|
"dap3_sclk_pp3";
|
|
|
|
nvidia,function = "i2s2";
|
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* GPIO power/drive control */
|
|
|
|
drive_i2c {
|
|
|
|
nvidia,pins = "drive_dbg",
|
|
|
|
"drive_at5",
|
|
|
|
"drive_gme",
|
|
|
|
"drive_ddc",
|
|
|
|
"drive_ao1";
|
|
|
|
nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,schmitt = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
|
|
|
|
nvidia,pull-down-strength = <31>;
|
|
|
|
nvidia,pull-up-strength = <31>;
|
|
|
|
nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
|
|
|
|
nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
|
|
|
|
};
|
|
|
|
|
|
|
|
drive_uart3 {
|
|
|
|
nvidia,pins = "drive_uart3";
|
|
|
|
nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,schmitt = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
|
|
|
|
nvidia,pull-down-strength = <31>;
|
|
|
|
nvidia,pull-up-strength = <31>;
|
|
|
|
nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
|
|
|
|
nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
|
|
|
|
};
|
|
|
|
|
|
|
|
drive_gmi {
|
|
|
|
nvidia,pins = "drive_at3";
|
|
|
|
nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,schmitt = <TEGRA_PIN_ENABLE>;
|
|
|
|
nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
|
|
|
|
nvidia,pull-down-strength = <31>;
|
|
|
|
nvidia,pull-up-strength = <31>;
|
|
|
|
nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
|
|
|
|
nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FASTEST>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-06-30 07:29:05 +00:00
|
|
|
uartd: serial@70006300 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
gen2_i2c: i2c@7000c400 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
backlight: lm3533@36 {
|
|
|
|
compatible = "ti,lm3533";
|
|
|
|
reg = <0x36>;
|
|
|
|
|
|
|
|
enable-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_HIGH>;
|
|
|
|
default-brightness-level = <128>;
|
|
|
|
};
|
|
|
|
|
|
|
|
muic@44 {
|
|
|
|
compatible = "maxim,max14526-muic";
|
|
|
|
reg = <0x44>;
|
|
|
|
|
|
|
|
maxim,ap-usb;
|
|
|
|
|
|
|
|
usif-gpios = <&gpio TEGRA_GPIO(Y, 3) GPIO_ACTIVE_HIGH>;
|
|
|
|
dp2t-gpios = <&gpio TEGRA_GPIO(CC, 2) GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwr_i2c: i2c@7000d000 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
|
|
|
|
pmic: max77663@1c {
|
|
|
|
compatible = "maxim,max77663";
|
|
|
|
reg = <0x1c>;
|
|
|
|
|
|
|
|
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
|
|
|
|
system-power-controller;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
vdd_1v8_vio: sd2 {
|
|
|
|
regulator-name = "vdd_1v8_gen";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2023-10-03 06:36:40 +00:00
|
|
|
avdd_3v3_periph: ldo2 {
|
|
|
|
regulator-name = "avdd_usb";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
2023-06-30 07:29:05 +00:00
|
|
|
vdd_usd: ldo3 {
|
|
|
|
regulator-name = "vdd_sdmmc3";
|
|
|
|
regulator-min-microvolt = <3000000>;
|
|
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vcore_emmc: ldo5 {
|
|
|
|
regulator-name = "vdd_ddr_rx";
|
|
|
|
regulator-min-microvolt = <2850000>;
|
|
|
|
regulator-max-microvolt = <2850000>;
|
2023-08-26 15:32:55 +00:00
|
|
|
regulator-boot-on;
|
2023-06-30 07:29:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
dsi_spi: spi@7000dc00 {
|
|
|
|
status = "okay";
|
|
|
|
spi-max-frequency = <25000000>;
|
|
|
|
|
|
|
|
bridge: bridge-spi@2 {
|
|
|
|
compatible = "solomon,ssd2825";
|
|
|
|
reg = <2>;
|
|
|
|
|
|
|
|
spi-cpol;
|
|
|
|
spi-cpha;
|
|
|
|
|
|
|
|
spi-max-frequency = <1000000>;
|
|
|
|
|
|
|
|
power-gpios = <&gpio TEGRA_GPIO(B, 1) GPIO_ACTIVE_HIGH>;
|
|
|
|
reset-gpios = <&gpio TEGRA_GPIO(O, 2) GPIO_ACTIVE_HIGH>;
|
|
|
|
|
|
|
|
clocks = <&ssd2825_refclk>;
|
|
|
|
clock-names = "tx_clk";
|
|
|
|
|
|
|
|
panel = <&panel>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
sdmmc4: sdhci@78000600 {
|
|
|
|
status = "okay";
|
|
|
|
bus-width = <8>;
|
|
|
|
non-removable;
|
|
|
|
|
|
|
|
vmmc-supply = <&vcore_emmc>;
|
|
|
|
vqmmc-supply = <&vdd_1v8_vio>;
|
|
|
|
};
|
|
|
|
|
|
|
|
micro_usb: usb@7d000000 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "otg";
|
|
|
|
};
|
|
|
|
|
2023-08-25 17:23:14 +00:00
|
|
|
usb-phy@7d000000 {
|
|
|
|
status = "okay";
|
|
|
|
nvidia,hssync-start-delay = <0>;
|
|
|
|
nvidia,xcvr-lsfslew = <2>;
|
|
|
|
nvidia,xcvr-lsrslew = <2>;
|
|
|
|
vbus-supply = <&avdd_3v3_periph>;
|
|
|
|
};
|
|
|
|
|
2023-06-30 07:29:05 +00:00
|
|
|
/* PMIC has a built-in 32KHz oscillator which is used by PMC */
|
|
|
|
clk32k_in: clock-32k {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
clock-output-names = "pmic-oscillator";
|
|
|
|
};
|
|
|
|
|
|
|
|
ssd2825_refclk: clock-ssd2825 {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
clock-output-names = "ssd2825-refclk";
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
key-power {
|
|
|
|
label = "Power";
|
|
|
|
gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_ENTER>;
|
|
|
|
};
|
|
|
|
|
|
|
|
key-volume-down {
|
|
|
|
label = "Volume Down";
|
|
|
|
gpios = <&gpio TEGRA_GPIO(O, 4) GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_DOWN>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|