forked from rrcarlosr/Jetpack
204 lines
6.1 KiB
Plaintext
204 lines
6.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Device-tree overlay for tegra186-quill-p3310-1000-c03-00-base
|
|
* 40-pin Expansion Header.
|
|
*
|
|
* Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
#include <dt-bindings/pinctrl/pinctrl-tegra.h>
|
|
#include <dt-common/jetson/tegra186-quill-p3310-1000-c03-00-base.h>
|
|
|
|
/ {
|
|
overlay-name = "Jetson 40pin Header";
|
|
compatible = JETSON_COMPATIBLE;
|
|
|
|
fragment@0 {
|
|
target = <&pinmux>;
|
|
__overlay__ {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&hdr40_pinmux>;
|
|
hdr40_pinmux: header-40pin-pinmux {
|
|
pin3 {
|
|
nvidia,pins = "gpio_sen9_pee1";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,io-high-voltage = <TEGRA_PIN_DISABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin5 {
|
|
nvidia,pins = "gpio_sen8_pee0";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,io-high-voltage = <TEGRA_PIN_DISABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin7 {
|
|
nvidia,pins = "aud_mclk_pj4";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin8 {
|
|
nvidia,pins = "uart1_tx_pt0";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin10 {
|
|
nvidia,pins = "uart1_rx_pt1";
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin11 {
|
|
nvidia,pins = "uart1_rts_pt2";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin12 {
|
|
nvidia,pins = "dap1_sclk_pj0";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin13 {
|
|
nvidia,pins = "gpio_aud0_pj5";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin16 {
|
|
nvidia,pins = "can_gpio0_paa0";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
};
|
|
pin18 {
|
|
nvidia,pins = "gpio_mdm2_py1";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin19 {
|
|
nvidia,pins = "gpio_cam6_pn5";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin21 {
|
|
nvidia,pins = "gpio_cam5_pn4";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin23 {
|
|
nvidia,pins = "gpio_cam4_pn3";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin24 {
|
|
nvidia,pins = "gpio_cam7_pn6";
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin27 {
|
|
nvidia,pins = "gen1_i2c_sda_pc6";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,io-high-voltage = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin28 {
|
|
nvidia,pins = "gen1_i2c_scl_pc5";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,io-high-voltage = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin29 {
|
|
nvidia,pins = "gpio_aud1_pj6";
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin31 {
|
|
nvidia,pins = "can_gpio2_paa2";
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
};
|
|
pin32 {
|
|
nvidia,pins = "can_gpio1_paa1";
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin33 {
|
|
nvidia,pins = "gpio_pq5_pi5";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
};
|
|
pin35 {
|
|
nvidia,pins = "dap1_fs_pj3";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin36 {
|
|
nvidia,pins = "uart1_cts_pt3";
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin37 {
|
|
nvidia,pins = "gpio_pq4_pi4";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
};
|
|
pin38 {
|
|
nvidia,pins = "dap1_din_pj2";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_ENABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
pin40 {
|
|
nvidia,pins = "dap1_dout_pj1";
|
|
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
|
nvidia,enable-input = <TEGRA_PIN_DISABLE>;
|
|
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|