tegrakernel/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2...

124 lines
3.5 KiB
Plaintext

/*
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Device-tree overlay for tegra210-jetson-tx1-p2597-2180-a01-devkit
* M.2 Key E Slot.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
#include <dt-common/jetson/tegra210-jetson-tx1-p2597-2180-a01-devkit.h>
/ {
overlay-name = "Jetson M.2 Key E Slot";
compatible = JETSON_COMPATIBLE;
fragment@0 {
target = <&pinmux>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&jetson_io_pinmux>;
jetson_io_pinmux: exp-header-pinmux {
m2ke-pin8a {
nvidia,pins = "dmic2_dat_pe3";
nvidia,function = "i2s3";
nvidia,pin-label = "i2s3_sclk";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
};
m2ke-pin8b {
nvidia,pins = "dmic2_dat_pe3";
nvidia,function = "dmic2";
nvidia,pin-label = "dmic2_dat";
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
};
m2ke-pin10a {
nvidia,pins = "dmic1_clk_pe0";
nvidia,function = "i2s3";
nvidia,pin-label = "i2s3_fs";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
};
m2ke-pin10b {
nvidia,pins = "dmic1_clk_pe0";
nvidia,function = "dmic1";
nvidia,pin-label = "dmic1_clk";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
};
m2ke-pin12a {
nvidia,pins = "dmic1_dat_pe1";
nvidia,function = "i2s3";
nvidia,pin-label = "i2s3_din";
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
};
m2ke-pin12b {
nvidia,pins = "dmic1_dat_pe1";
nvidia,function = "dmic1";
nvidia,pin-label = "dmic1_dat";
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
};
m2ke-pin14a {
nvidia,pins = "dmic2_clk_pe2";
nvidia,function = "i2s3";
nvidia,pin-label = "i2s3_dout";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
};
m2ke-pin14b {
nvidia,pins = "dmic2_clk_pe2";
nvidia,function = "dmic2";
nvidia,pin-label = "dmic2_clk";
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
nvidia,tristate = <TEGRA_PIN_DISABLE>;
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
};
m2ke-pin22 {
nvidia,pins = "uart2_rx_pg1";
};
m2ke-pin32 {
nvidia,pins = "uart2_tx_pg0";
};
m2ke-pin34 {
nvidia,pins = "uart2_cts_pg3";
};
m2ke-pin36 {
nvidia,pins = "uart2_rts_pg2";
};
m2ke-pin58 {
nvidia,pins = "gen1_i2c_sda_pj0";
};
m2ke-pin60 {
nvidia,pins = "gen1_i2c_scl_pj1";
};
};
};
};
};