// SPDX-License-Identifier: GPL-2.0-only /* * Device-tree overlay for tegra210-jetson-tx1-p2597-2180-a01-devkit * 40-pin Expansion Header. * * Copyright (c) 2019-2021 NVIDIA CORPORATION. All rights reserved. * */ /dts-v1/; /plugin/; #include #include / { overlay-name = "Jetson 40pin Header"; compatible = JETSON_COMPATIBLE; fragment@0 { target = <&pinmux>; __overlay__ { pinctrl-names = "default"; pinctrl-0 = <&jetson_io_pinmux>; jetson_io_pinmux: exp-header-pinmux { hdr40-pin3 { nvidia,pins = "gen1_i2c_sda_pj0"; }; hdr40-pin5 { nvidia,pins = "gen1_i2c_scl_pj1"; }; hdr40-pin7 { nvidia,pins = "aud_mclk_pbb0"; nvidia,function = "aud"; nvidia,pin-group = "aud_mclk"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin8 { nvidia,pins = "uart1_tx_pu0"; }; hdr40-pin10 { nvidia,pins = "uart1_rx_pu1"; }; hdr40-pin11 { nvidia,pins = "uart1_rts_pu2"; nvidia,function = "uarta"; nvidia,pin-group = "uarta-cts/rts"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin12 { nvidia,pins = "dap1_sclk_pb3"; nvidia,function = "i2s1"; nvidia,pin-label = "i2s1_sclk"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin13 { nvidia,pins = "pe6"; nvidia,function = "pwm2"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin16 { nvidia,pins = "dmic3_dat_pe5"; nvidia,function = "dmic3"; nvidia,pin-label = "dmic3_dat"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin19 { nvidia,pins = "spi1_mosi_pc0"; nvidia,function = "spi1"; nvidia,pin-label = "spi1_dout"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin21 { nvidia,pins = "spi1_miso_pc1"; nvidia,function = "spi1"; nvidia,pin-label = "spi1_din"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin23 { nvidia,pins = "spi1_sck_pc2"; nvidia,function = "spi1"; nvidia,pin-label = "spi1_sck"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin24 { nvidia,pins = "spi1_cs0_pc3"; nvidia,function = "spi1"; nvidia,pin-label = "spi1_cs0"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin26 { nvidia,pins = "spi1_cs1_pc4"; nvidia,function = "spi1"; nvidia,pin-label = "spi1_cs1"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin27 { nvidia,pins = "gen2_i2c_sda_pj3"; }; hdr40-pin28 { nvidia,pins = "gen2_i2c_scl_pj2"; }; hdr40-pin32 { nvidia,pins = "dmic3_clk_pe4"; nvidia,function = "dmic3"; nvidia,pin-label = "dmic3_clk"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin35 { nvidia,pins = "dap1_fs_pb0"; nvidia,function = "i2s1"; nvidia,pin-label = "i2s1_fs"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin36 { nvidia,pins = "uart1_cts_pu3"; nvidia,function = "uarta"; nvidia,pin-group = "uarta-cts/rts"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin38 { nvidia,pins = "dap1_din_pb1"; nvidia,function = "i2s1"; nvidia,pin-label = "i2s1_din"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; hdr40-pin40 { nvidia,pins = "dap1_dout_pb2"; nvidia,function = "i2s1"; nvidia,pin-label = "i2s1_dout"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; }; }; }; };