[pinmux scripts PATCH] Add NVIDIA Jetson Nano Developer Kit board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Thierry Reding <treding@xxxxxxxxxx>

The Jetson Nano Developer Kit is a low-cost Tegra X1 processor module
connected to a small form factor carrier board.

Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
 configs/p3450-0000.board | 173 +++++++++++++++++++++++++++++++++++++++
 csv-to-board.py          |   6 ++
 2 files changed, 179 insertions(+)
 create mode 100644 configs/p3450-0000.board

diff --git a/configs/p3450-0000.board b/configs/p3450-0000.board
new file mode 100644
index 000000000000..64b7b5cf3f0c
--- /dev/null
+++ b/configs/p3450-0000.board
@@ -0,0 +1,173 @@
+soc = 'tegra210'
+
+pins = (
+    #pin,                    mux,          gpio_init, pull,   tri,   e_inp, od,    e_io_hv
+    ('aud_mclk_pbb0',        None,         'in',      'up',   False, True,  False, False),
+    ('dvfs_pwm_pbb1',        'cldvfs',     None,      'none', True,  False, False, False),
+    ('dvfs_clk_pbb2',        'rsvd0',      None,      'down', True,  False, False, False),
+    ('gpio_x1_aud_pbb3',     'rsvd0',      None,      'down', True,  False, False, False),
+    ('gpio_x3_aud_pbb4',     'rsvd0',      None,      'down', True,  False, False, False),
+    ('dap1_din_pb1',         'rsvd1',      None,      'down', True,  False, False, False),
+    ('dap1_dout_pb2',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('dap1_fs_pb0',          'rsvd1',      None,      'down', True,  False, False, False),
+    ('dap1_sclk_pb3',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('spi2_mosi_pb4',        None,         'in',      'down', False, True,  False, False),
+    ('spi2_miso_pb5',        None,         'in',      'down', False, True,  False, False),
+    ('spi2_sck_pb6',         None,         'in',      'down', False, True,  False, False),
+    ('spi2_cs0_pb7',         None,         'in',      'down', False, True,  False, False),
+    ('spi2_cs1_pdd0',        None,         'in',      'down', False, True,  False, False),
+    ('dmic1_clk_pe0',        'i2s3',       None,      'none', False, True,  False, False),
+    ('dmic1_dat_pe1',        'i2s3',       None,      'none', False, True,  False, False),
+    ('dmic2_clk_pe2',        'i2s3',       None,      'none', False, True,  False, False),
+    ('dmic2_dat_pe3',        'i2s3',       None,      'none', False, True,  False, False),
+    ('dmic3_clk_pe4',        'rsvd2',      None,      'down', True,  False, False, False),
+    ('dmic3_dat_pe5',        'rsvd2',      None,      'down', True,  False, False, False),
+    ('pe6',                  None,         'in',      'down', False, True,  False, False),
+    ('pe7',                  'pwm3',       None,      'none', False, False, False, False),
+    ('gen3_i2c_scl_pf0',     'i2c3',       None,      'none', False, True,  False, False),
+    ('gen3_i2c_sda_pf1',     'i2c3',       None,      'none', False, True,  False, False),
+    ('cam_i2c_scl_ps2',      'i2cvi',      None,      'none', False, True,  False, True),
+    ('cam_i2c_sda_ps3',      'i2cvi',      None,      'none', False, True,  False, True),
+    ('cam1_mclk_ps0',        'extperiph3', None,      'none', False, False, False, False),
+    ('cam2_mclk_ps1',        'extperiph3', None,      'none', False, False, False, False),
+    ('cam_rst_ps4',          'rsvd1',      None,      'down', True,  False, False, False),
+    ('cam_af_en_ps5',        None,         'in',      'up',   False, True,  False, False),
+    ('cam_flash_en_ps6',     'rsvd2',      None,      'down', True,  False, False, False),
+    ('cam1_pwdn_ps7',        None,         'out0',    'none', False, False, False, False),
+    ('cam2_pwdn_pt0',        None,         'out0',    'none', False, False, False, False),
+    ('cam1_strobe_pt1',      'rsvd1',      None,      'down', True,  False, False, False),
+    ('pex_l0_clkreq_n_pa1',  'pe0',        None,      'none', False, True,  False, True),
+    ('pex_l0_rst_n_pa0',     'pe0',        None,      'none', False, False, False, True),
+    ('pex_l1_clkreq_n_pa4',  'pe1',        None,      'none', False, True,  False, True),
+    ('pex_l1_rst_n_pa3',     'pe1',        None,      'none', False, False, False, True),
+    ('pex_wake_n_pa2',       'pe',         None,      'none', False, True,  False, True),
+    ('sata_led_active_pa5',  None,         'in',      'up',   False, True,  False, False),
+    ('pa6',                  None,         'out1',    'none', False, False, False, False),
+    ('sdmmc1_clk_pm0',       'sdmmc1',     None,      'none', False, True,  False, False),
+    ('sdmmc1_cmd_pm1',       'sdmmc1',     None,      'up',   False, True,  False, False),
+    ('sdmmc1_dat0_pm5',      'sdmmc1',     None,      'up',   False, True,  False, False),
+    ('sdmmc1_dat1_pm4',      'sdmmc1',     None,      'up',   False, True,  False, False),
+    ('sdmmc1_dat2_pm3',      'sdmmc1',     None,      'up',   False, True,  False, False),
+    ('sdmmc1_dat3_pm2',      'sdmmc1',     None,      'up',   False, True,  False, False),
+    ('sdmmc3_clk_pp0',       'sdmmc3',     None,      'none', False, True,  False, False),
+    ('sdmmc3_cmd_pp1',       'sdmmc3',     None,      'up',   False, True,  False, False),
+    ('sdmmc3_dat0_pp5',      'sdmmc3',     None,      'up',   False, True,  False, False),
+    ('sdmmc3_dat1_pp4',      'sdmmc3',     None,      'up',   False, True,  False, False),
+    ('sdmmc3_dat2_pp3',      'sdmmc3',     None,      'up',   False, True,  False, False),
+    ('sdmmc3_dat3_pp2',      'sdmmc3',     None,      'up',   False, True,  False, False),
+    ('als_prox_int_px3',     None,         'out1',    'none', False, False, False, False),
+    ('temp_alert_px4',       None,         'in',      'up',   False, True,  False, False),
+    ('motion_int_px2',       'rsvd0',      None,      'down', True,  False, False, False),
+    ('touch_rst_pv6',        'rsvd0',      None,      'down', True,  False, False, False),
+    ('touch_clk_pv7',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('touch_int_px1',        'rsvd0',      None,      'down', True,  False, False, False),
+    ('modem_wake_ap_px0',    'rsvd0',      None,      'down', True,  False, False, False),
+    ('shutdown',             'shutdown',   None,      'none', False, False, False, False),
+    ('button_power_on_px5',  None,         'in',      'up',   False, True,  False, False),
+    ('button_vol_up_px6',    None,         'in',      'up',   False, True,  False, False),
+    ('button_vol_down_px7',  'rsvd0',      None,      'down', True,  False, False, False),
+    ('button_slide_sw_py0',  'rsvd0',      None,      'down', True,  False, False, False),
+    ('button_home_py1',      None,         'in',      'up',   False, True,  False, False),
+    ('lcd_te_py2',           None,         'in',      'down', False, True,  False, False),
+    ('lcd_bl_pwm_pv0',       None,         'in',      'down', False, True,  False, False),
+    ('lcd_bl_en_pv1',        None,         'in',      'none', False, True,  False, False),
+    ('lcd_rst_pv2',          'rsvd0',      None,      'down', True,  False, False, False),
+    ('lcd_gpio1_pv3',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('lcd_gpio2_pv4',        'pwm1',       None,      'none', False, False, False, False),
+    ('ap_ready_pv5',         'rsvd0',      None,      'down', True,  False, False, False),
+    ('pwr_i2c_scl_py3',      'i2cpmu',     None,      'none', False, True,  False, False),
+    ('pwr_i2c_sda_py4',      'i2cpmu',     None,      'none', False, True,  False, False),
+    ('clk_32k_in',           'clk',        None,      'none', False, True,  False, False),
+    ('clk_32k_out_py5',      'rsvd2',      None,      'down', True,  False, False, False),
+    ('pz0',                  None,         'in',      'up',   False, True,  False, False),
+    ('pz1',                  'sdmmc1',     None,      'up',   False, True,  False, False),
+    ('pz2',                  None,         'in',      'up',   False, True,  False, False),
+    ('pz3',                  None,         'out0',    'none', False, False, False, False),
+    ('pz4',                  'rsvd1',      None,      'down', True,  False, False, False),
+    ('pz5',                  'soc',        None,      'up',   False, True,  False, False),
+    ('clk_req',              'rsvd1',      None,      'down', True,  False, False, False),
+    ('core_pwr_req',         'core',       None,      'none', False, False, False, False),
+    ('cpu_pwr_req',          'rsvd1',      None,      'down', True,  False, False, False),
+    ('pwr_int_n',            'pmi',        None,      'up',   False, True,  False, False),
+    ('dap4_din_pj5',         None,         'in',      'down', False, True,  False, False),
+    ('dap4_dout_pj6',        None,         'in',      'down', False, True,  False, False),
+    ('dap4_fs_pj4',          None,         'in',      'down', False, True,  False, False),
+    ('dap4_sclk_pj7',        None,         'in',      'down', False, True,  False, False),
+    ('gen1_i2c_scl_pj1',     'i2c1',       None,      'none', False, True,  False, True),
+    ('gen1_i2c_sda_pj0',     'i2c1',       None,      'none', False, True,  False, True),
+    ('gen2_i2c_scl_pj2',     'i2c2',       None,      'none', False, True,  False, True),
+    ('gen2_i2c_sda_pj3',     'i2c2',       None,      'none', False, True,  False, True),
+    ('uart2_tx_pg0',         'uartb',      None,      'none', False, False, False, False),
+    ('uart2_rx_pg1',         'uartb',      None,      'down', False, True,  False, False),
+    ('uart2_rts_pg2',        None,         'in',      'down', False, True,  False, False),
+    ('uart2_cts_pg3',        None,         'in',      'down', False, True,  False, False),
+    ('uart1_tx_pu0',         'uarta',      None,      'none', False, False, False, False),
+    ('uart1_rx_pu1',         'uarta',      None,      'none', False, True,  False, False),
+    ('uart1_rts_pu2',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('uart1_cts_pu3',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('jtag_rtck',            'jtag',       None,      'none', False, False, False, False),
+    ('pk0',                  'rsvd2',      None,      'down', True,  False, False, False),
+    ('pk1',                  'rsvd2',      None,      'down', True,  False, False, False),
+    ('pk2',                  'rsvd2',      None,      'down', True,  False, False, False),
+    ('pk3',                  'rsvd2',      None,      'down', True,  False, False, False),
+    ('pk4',                  'rsvd1',      None,      'down', True,  False, False, False),
+    ('pk5',                  'rsvd1',      None,      'down', True,  False, False, False),
+    ('pk6',                  'rsvd1',      None,      'down', True,  False, False, False),
+    ('pk7',                  'rsvd1',      None,      'down', True,  False, False, False),
+    ('pl0',                  'rsvd0',      None,      'down', True,  False, False, False),
+    ('pl1',                  'rsvd1',      None,      'down', True,  False, False, False),
+    ('spi1_mosi_pc0',        None,         'in',      'down', False, True,  False, False),
+    ('spi1_miso_pc1',        None,         'in',      'down', False, True,  False, False),
+    ('spi1_sck_pc2',         None,         'in',      'down', False, True,  False, False),
+    ('spi1_cs0_pc3',         None,         'in',      'up',   False, True,  False, False),
+    ('spi1_cs1_pc4',         None,         'in',      'up',   False, True,  False, False),
+    ('spi4_mosi_pc7',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('spi4_miso_pd0',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('spi4_sck_pc5',         'rsvd1',      None,      'down', True,  False, False, False),
+    ('spi4_cs0_pc6',         'rsvd1',      None,      'down', True,  False, False, False),
+    ('uart3_tx_pd1',         'uartc',      None,      'none', False, False, False, False),
+    ('uart3_rx_pd2',         'uartc',      None,      'none', False, True,  False, False),
+    ('uart3_rts_pd3',        'uartc',      None,      'up',   False, False, False, False),
+    ('uart3_cts_pd4',        'uartc',      None,      'up',   False, True,  False, False),
+    ('wifi_en_ph0',          None,         'out0',    'none', False, False, False, False),
+    ('wifi_rst_ph1',         'rsvd0',      None,      'down', True,  False, False, False),
+    ('wifi_wake_ap_ph2',     None,         'in',      'down', False, True,  False, False),
+    ('ap_wake_bt_ph3',       None,         'out0',    'none', False, False, False, False),
+    ('bt_rst_ph4',           None,         'out0',    'none', False, False, False, False),
+    ('bt_wake_ap_ph5',       None,         'in',      'up',   False, True,  False, False),
+    ('ph6',                  None,         'in',      'up',   False, True,  False, False),
+    ('ap_wake_nfc_ph7',      None,         'out0',    'none', False, False, False, False),
+    ('nfc_en_pi0',           None,         'out0',    'none', False, False, False, False),
+    ('nfc_int_pi1',          None,         'in',      'down', False, True,  False, False),
+    ('gps_en_pi2',           None,         'out0',    'none', False, False, False, False),
+    ('gps_rst_pi3',          'rsvd0',      None,      'down', True,  False, False, False),
+    ('uart4_tx_pi4',         'uartd',      None,      'none', False, False, False, False),
+    ('uart4_rx_pi5',         'uartd',      None,      'none', False, True,  False, False),
+    ('uart4_rts_pi6',        'uartd',      None,      'none', False, False, False, False),
+    ('uart4_cts_pi7',        'uartd',      None,      'up',   False, True,  False, False),
+    ('qspi_io0_pee2',        'qspi',       None,      'none', False, True,  False, False),
+    ('qspi_io1_pee3',        'qspi',       None,      'none', False, True,  False, False),
+    ('qspi_sck_pee0',        'qspi',       None,      'none', False, True,  False, False),
+    ('qspi_cs_n_pee1',       'qspi',       None,      'none', False, False, False, False),
+    ('qspi_io2_pee4',        'qspi',       None,      'none', False, True,  False, False),
+    ('qspi_io3_pee5',        'qspi',       None,      'none', False, True,  False, False),
+    ('dap2_din_paa2',        'i2s2',       None,      'none', False, True,  False, False),
+    ('dap2_dout_paa3',       'i2s2',       None,      'none', False, True,  False, False),
+    ('dap2_fs_paa0',         'i2s2',       None,      'none', False, True,  False, False),
+    ('dap2_sclk_paa1',       'i2s2',       None,      'none', False, True,  False, False),
+    ('pcc7',                 'rsvd0',      None,      'down', True,  False, False, False),
+    ('spdif_out_pcc2',       'rsvd1',      None,      'down', True,  False, False, False),
+    ('spdif_in_pcc3',        'rsvd1',      None,      'down', True,  False, False, False),
+    ('usb_vbus_en0_pcc4',    None,         'in',      'up',   False, True,  False, False),
+    ('usb_vbus_en1_pcc5',    'rsvd1',      None,      'down', True,  False, False, False),
+    ('dp_hpd0_pcc6',         'dp',         None,      'none', False, True,  False, False),
+    ('hdmi_int_dp_hpd_pcc1', 'dp',         None,      'none', False, True,  False, False),
+    ('hdmi_cec_pcc0',        'cec',        None,      'none', False, True,  False, True),
+)
+
+drive_groups = (
+)
+
+mipi_pad_ctrl_groups = (
+    #pin, mux
+)
diff --git a/csv-to-board.py b/csv-to-board.py
index ff0fcba007d3..a18e867584d0 100755
--- a/csv-to-board.py
+++ b/csv-to-board.py
@@ -96,6 +96,12 @@ supported_boards = {
         'rsvd_base': 0,
         'soc': 'tegra210',
     },
+    'p3450-0000': {
+        # T210_P3448_SKU0_pinmux.xlsm
+        'filename': 'csv/p3450-0000.csv',
+        'rsvd_base': 0,
+        'soc': 'tegra210',
+    },
     'venice2': {
         # Venice2_T124_customer_pinmux_based_on_P4_rev47_2013-07-12.xlsm worksheet Customer_Configuration (0-based rsvd)
         'filename': 'nv-internal-data/Venice2_T124_customer_pinmux_based_on_P4_rev47_2013-07-12.csv',
-- 
2.21.0




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux