Hello Jerry Chang,
May you explain which Jetson TX2 board’s hardware revision file in the archive correlate to? BOO (c03), BO1(c04)… something else? Because generated pinmux config file and files from 28.1 BSP still have HUGE number of differences (see diff below between tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg and generated one).
## Pinmux version 1.0
-## Input pinmux file name: tegra18x-p3310-1000-c0-cvm-config-pinmux.dtsi
-## Input gpio file name: tegra18x-p3310-1000-c0-cvm-config-gpio-default.dtsi
-## Generation date: 2016-09-06 21:06
+## Input pinmux file name: ./tegra18x-jetson-tx2-config-template-pinmux.dtsi
+## Input gpio file name: ./tegra18x-jetson-tx2-config-template-gpio-default.dtsi
+## Generation date: 2017-09-21 10:53
## PLEASE DO NOT EDIT THIS FILE
## This is autogenerated file using the script pinmux-dts2cfg.py
##
@@ -59,8 +59,6 @@
pinmux.0x0c303000 = 0x00000000; # GPIO can_gpio7_paa7
pinmux.0x02210aa0 = 0x00000001; # CONFIG R5
pinmux.0x0243b028 = 0x00000000; # GPIO qspi_cs_n_pr5
-pinmux.0x02214020 = 0x00000001; # CONFIG P1
-pinmux.0x02440028 = 0x00000000; # GPIO dp_aux_ch1_hpd_pp1
pinmux.0x02214080 = 0x00000001; # CONFIG P4
pinmux.0x02440018 = 0x00000000; # GPIO gpio_edp1_pp4
pinmux.0x022140a0 = 0x00000001; # CONFIG P5
@@ -177,185 +175,155 @@
pinmux.0x0243b000 = 0x00000000; # GPIO qspi_io3_pr4
#### Pinmux for used pins ####
-pinmux.0x02434038 = 0x00000400; # uart4_tx_pb0: uartd, tristate-disable, input-disable
-pinmux.0x02434030 = 0x00000458; # uart4_rx_pb1: uartd, pull-up, tristate-enable, input-enable
-pinmux.0x02434028 = 0x00000400; # uart4_rts_pb2: uartd, tristate-disable, input-disable
-pinmux.0x02434020 = 0x00000458; # uart4_cts_pb3: uartd, pull-up, tristate-enable, input-enable
-pinmux.0x02434018 = 0x00000440; # dap2_sclk_pc1: i2s2, tristate-disable, input-enable
-pinmux.0x02434008 = 0x00000440; # dap2_dout_pc2: i2s2, tristate-disable, input-enable
-pinmux.0x02434000 = 0x00000450; # dap2_din_pc3: i2s2, tristate-enable, input-enable
-pinmux.0x02434010 = 0x00000440; # dap2_fs_pc4: i2s2, tristate-disable, input-enable
+pinmux.0x02434038 = 0x00000400; # uart4_tx_pb0: uartd, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02434030 = 0x00000458; # uart4_rx_pb1: uartd, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02434028 = 0x00000400; # uart4_rts_pb2: uartd, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02434020 = 0x00000458; # uart4_cts_pb3: uartd, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02434018 = 0x00000400; # dap2_sclk_pc1: i2s2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02434008 = 0x00000400; # dap2_dout_pc2: i2s2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02434000 = 0x00000458; # dap2_din_pc3: i2s2, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02434010 = 0x00000400; # dap2_fs_pc4: i2s2, tristate-disable, input-disable, lpdr-disable
pinmux.0x02434060 = 0x00000460; # gen1_i2c_scl_pc5: i2c1, tristate-disable, input-enable, io_high_voltage-enable, lpdr-disable
pinmux.0x02434068 = 0x00000460; # gen1_i2c_sda_pc6: i2c1, tristate-disable, input-enable, io_high_voltage-enable, lpdr-disable
-pinmux.0x02431040 = 0x00000440; # dap1_sclk_pj0: i2s1, tristate-disable, input-enable
-pinmux.0x02431038 = 0x00000440; # dap1_dout_pj1: i2s1, tristate-disable, input-enable
-pinmux.0x02431030 = 0x00000450; # dap1_din_pj2: i2s1, tristate-enable, input-enable
-pinmux.0x02431028 = 0x00000440; # dap1_fs_pj3: i2s1, tristate-disable, input-enable
-pinmux.0x02431020 = 0x00000400; # aud_mclk_pj4: aud, tristate-disable, input-disable
-pinmux.0x02431008 = 0x00000401; # gpio_aud2_pj7: dspk1, tristate-disable, input-disable
-pinmux.0x02431000 = 0x00000401; # gpio_aud3_pk0: dspk1, tristate-disable, input-disable
-pinmux.0x02432000 = 0x00004441; # dmic1_clk_pm1: i2s3, tristate-disable, input-enable
-pinmux.0x02432008 = 0x00004451; # dmic1_dat_pm0: i2s3, tristate-enable, input-enable
-pinmux.0x02432018 = 0x00004441; # dmic2_clk_pm3: i2s3, tristate-disable, input-enable
-pinmux.0x02432010 = 0x00004441; # dmic2_dat_pm2: i2s3, tristate-disable, input-enable
-pinmux.0x02432048 = 0x00004440; # dap4_sclk_pcc0: i2s4, tristate-disable, input-enable
-pinmux.0x02432040 = 0x00004440; # dap4_dout_pcc1: i2s4, tristate-disable, input-enable
-pinmux.0x02432038 = 0x00004450; # dap4_din_pcc2: i2s4, tristate-enable, input-enable
-pinmux.0x02432030 = 0x00004440; # dap4_fs_pcc3: i2s4, tristate-disable, input-enable
-pinmux.0x02433000 = 0x00004446; # gpio_pq0_pi0: i2s6, pull-down, tristate-disable, input-enable
-pinmux.0x02433008 = 0x00004446; # gpio_pq1_pi1: i2s6, pull-down, tristate-disable, input-enable
+pinmux.0x02431040 = 0x00000400; # dap1_sclk_pj0: i2s1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02431038 = 0x00000400; # dap1_dout_pj1: i2s1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02431030 = 0x00000458; # dap1_din_pj2: i2s1, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02431028 = 0x00000400; # dap1_fs_pj3: i2s1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02431020 = 0x00000400; # aud_mclk_pj4: aud, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02431008 = 0x00000401; # gpio_aud2_pj7: dspk1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02431000 = 0x00000401; # gpio_aud3_pk0: dspk1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02432000 = 0x00004401; # dmic1_clk_pm1: i2s3, tristate-disable, input-disable
+pinmux.0x02432008 = 0x00004459; # dmic1_dat_pm0: i2s3, pull-up, tristate-enable, input-enable
+pinmux.0x02432018 = 0x00004401; # dmic2_clk_pm3: i2s3, tristate-disable, input-disable
+pinmux.0x02432010 = 0x00004401; # dmic2_dat_pm2: i2s3, tristate-disable, input-disable
+pinmux.0x02432048 = 0x00004400; # dap4_sclk_pcc0: i2s4, tristate-disable, input-disable
+pinmux.0x02432040 = 0x00004400; # dap4_dout_pcc1: i2s4, tristate-disable, input-disable
+pinmux.0x02432038 = 0x00004458; # dap4_din_pcc2: i2s4, pull-up, tristate-enable, input-enable
+pinmux.0x02432030 = 0x00004400; # dap4_fs_pcc3: i2s4, tristate-disable, input-disable
+pinmux.0x02433000 = 0x00004406; # gpio_pq0_pi0: i2s6, pull-down, tristate-disable, input-disable
+pinmux.0x02433008 = 0x00004406; # gpio_pq1_pi1: i2s6, pull-down, tristate-disable, input-disable
pinmux.0x02433010 = 0x00004456; # gpio_pq2_pi2: i2s6, pull-down, tristate-enable, input-enable
-pinmux.0x02433018 = 0x00004446; # gpio_pq3_pi3: i2s6, pull-down, tristate-disable, input-enable
-pinmux.0x02430008 = 0x00000400; # extperiph1_clk_po0: extperiph1, tristate-disable, input-disable
-pinmux.0x02430000 = 0x00000400; # extperiph2_clk_po1: extperiph2, tristate-disable, input-disable
-pinmux.0x02430028 = 0x00000401; # gpio_cam2_pn1: extperiph3, tristate-disable, input-disable
-pinmux.0x02430038 = 0x00000445; # gpio_cam4_pn3: spi4, pull-down, tristate-disable, input-enable
-pinmux.0x02430040 = 0x00000445; # gpio_cam5_pn4: spi4, pull-down, tristate-disable, input-enable
-pinmux.0x02430048 = 0x00000445; # gpio_cam6_pn5: spi4, pull-down, tristate-disable, input-enable
-pinmux.0x02430050 = 0x00000449; # gpio_cam7_pn6: spi4, pull-up, tristate-disable, input-enable
-pinmux.0x02430018 = 0x00000540; # cam_i2c_scl_po2: i2c3, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x02430010 = 0x00000540; # cam_i2c_sda_po3: i2c3, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x02437028 = 0x00000520; # pex_l0_rst_n_pa0: pe0, tristate-disable, input-disable, io_high_voltage-enable
-pinmux.0x02437020 = 0x00000560; # pex_l0_clkreq_n_pa1: pe0, tristate-disable, input-enable, io_high_voltage-enable
-pinmux.0x02437018 = 0x00000520; # pex_l1_rst_n_pa3: pe1, tristate-disable, input-disable, io_high_voltage-enable
-pinmux.0x02437010 = 0x00000560; # pex_l1_clkreq_n_pa4: pe1, tristate-disable, input-enable, io_high_voltage-enable
-pinmux.0x02437030 = 0x00000520; # pex_l2_rst_n_pa5: pe2, tristate-disable, input-disable, io_high_voltage-enable
-pinmux.0x02437000 = 0x00000560; # pex_l2_clkreq_n_pa6: pe2, tristate-disable, input-enable, io_high_voltage-enable
-pinmux.0x02437008 = 0x00000570; # pex_wake_n_pa2: pe, tristate-enable, input-enable, io_high_voltage-enable
-pinmux.0x02438000 = 0x00004460; # sdmmc1_clk_pd0: sdmmc1, tristate-disable, input-enable
+pinmux.0x02433018 = 0x00004406; # gpio_pq3_pi3: i2s6, pull-down, tristate-disable, input-disable
+pinmux.0x02430008 = 0x00000400; # extperiph1_clk_po0: extperiph1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430000 = 0x00000400; # extperiph2_clk_po1: extperiph2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430028 = 0x00000401; # gpio_cam2_pn1: extperiph3, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430038 = 0x00000401; # gpio_cam4_pn3: spi4, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430040 = 0x00000455; # gpio_cam5_pn4: spi4, pull-down, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02430048 = 0x00000401; # gpio_cam6_pn5: spi4, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430050 = 0x00000409; # gpio_cam7_pn6: spi4, pull-up, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430018 = 0x00000440; # cam_i2c_scl_po2: i2c3, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x02430010 = 0x00000440; # cam_i2c_sda_po3: i2c3, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x02437028 = 0x00000420; # pex_l0_rst_n_pa0: pe0, tristate-disable, input-disable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02437020 = 0x00000460; # pex_l0_clkreq_n_pa1: pe0, tristate-disable, input-enable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02437018 = 0x00000420; # pex_l1_rst_n_pa3: pe1, tristate-disable, input-disable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02437010 = 0x00000460; # pex_l1_clkreq_n_pa4: pe1, tristate-disable, input-enable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02437030 = 0x00000420; # pex_l2_rst_n_pa5: pe2, tristate-disable, input-disable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02437000 = 0x00000460; # pex_l2_clkreq_n_pa6: pe2, tristate-disable, input-enable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02437008 = 0x00000470; # pex_wake_n_pa2: pe, tristate-enable, input-enable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02438000 = 0x00004464; # sdmmc1_clk_pd0: sdmmc1, pull-down, tristate-disable, input-enable, loopback-enable
pinmux.0x02438008 = 0x00004448; # sdmmc1_cmd_pd1: sdmmc1, pull-up, tristate-disable, input-enable
pinmux.0x0243802c = 0x00000448; # sdmmc1_dat0_pd2: sdmmc1, pull-up, tristate-disable, input-enable
pinmux.0x02438024 = 0x00004448; # sdmmc1_dat1_pd3: sdmmc1, pull-up, tristate-disable, input-enable
pinmux.0x0243801c = 0x00000448; # sdmmc1_dat2_pd4: sdmmc1, pull-up, tristate-disable, input-enable
pinmux.0x02438014 = 0x00004448; # sdmmc1_dat3_pd5: sdmmc1, pull-up, tristate-disable, input-enable
-pinmux.0x02439054 = 0x00004400; # eqos_txc_pe0: eqos, tristate-disable, input-disable
-pinmux.0x02439018 = 0x00004400; # eqos_td0_pe1: eqos, tristate-disable, input-disable
-pinmux.0x02439010 = 0x00004400; # eqos_td1_pe2: eqos, tristate-disable, input-disable
-pinmux.0x02439008 = 0x00004400; # eqos_td2_pe3: eqos, tristate-disable, input-disable
-pinmux.0x02439000 = 0x00004400; # eqos_td3_pe4: eqos, tristate-disable, input-disable
-pinmux.0x02439064 = 0x00004400; # eqos_tx_ctl_pe5: eqos, tristate-disable, input-disable
-pinmux.0x02439040 = 0x00004450; # eqos_rd0_pe6: eqos, tristate-enable, input-enable
-pinmux.0x02439030 = 0x00004450; # eqos_rd1_pe7: eqos, tristate-enable, input-enable
-pinmux.0x02439028 = 0x00004450; # eqos_rd2_pf0: eqos, tristate-enable, input-enable
-pinmux.0x02439020 = 0x00004450; # eqos_rd3_pf1: eqos, tristate-enable, input-enable, loopback-disable
-pinmux.0x0243906c = 0x00000450; # eqos_rx_ctl_pf2: eqos, tristate-enable, input-enable
-pinmux.0x0243905c = 0x00000450; # eqos_rxc_pf3: eqos, tristate-enable, input-enable
-pinmux.0x02439038 = 0x00004448; # eqos_mdio_pf4: eqos, pull-up, tristate-disable, input-enable
-pinmux.0x02439048 = 0x00004400; # eqos_mdc_pf5: eqos, tristate-disable, input-disable
-pinmux.0x0243a02c = 0x00000440; # sdmmc3_clk_pg0: sdmmc3, tristate-disable, input-enable
+pinmux.0x0243a02c = 0x00000460; # sdmmc3_clk_pg0: sdmmc3, tristate-disable, input-enable, loopback-enable
pinmux.0x0243a024 = 0x00000448; # sdmmc3_cmd_pg1: sdmmc3, pull-up, tristate-disable, input-enable
pinmux.0x0243a018 = 0x00000448; # sdmmc3_dat0_pg2: sdmmc3, pull-up, tristate-disable, input-enable
pinmux.0x0243a010 = 0x00000448; # sdmmc3_dat1_pg3: sdmmc3, pull-up, tristate-disable, input-enable
pinmux.0x0243a008 = 0x00000448; # sdmmc3_dat2_pg4: sdmmc3, pull-up, tristate-disable, input-enable
pinmux.0x0243a000 = 0x00000448; # sdmmc3_dat3_pg5: sdmmc3, pull-up, tristate-disable, input-enable
-pinmux.0x02436004 = 0x00002460; # sdmmc4_clk: tristate-disable, input-enable
-pinmux.0x02436008 = 0x00002448; # sdmmc4_cmd: pull-up, tristate-disable, input-enable
-pinmux.0x0243602c = 0x00000448; # sdmmc4_dat0: pull-up, tristate-disable, input-enable
-pinmux.0x02436028 = 0x00002448; # sdmmc4_dat1: pull-up, tristate-disable, input-enable
-pinmux.0x02436024 = 0x00002448; # sdmmc4_dat2: pull-up, tristate-disable, input-enable
-pinmux.0x02436020 = 0x00002448; # sdmmc4_dat3: pull-up, tristate-disable, input-enable
-pinmux.0x0243601c = 0x00000448; # sdmmc4_dat4: pull-up, tristate-disable, input-enable
-pinmux.0x02436018 = 0x00002448; # sdmmc4_dat5: pull-up, tristate-disable, input-enable
-pinmux.0x02436014 = 0x00002448; # sdmmc4_dat6: pull-up, tristate-disable, input-enable
-pinmux.0x02436010 = 0x00002448; # sdmmc4_dat7: pull-up, tristate-disable, input-enable
-pinmux.0x0243600c = 0x00000450; # sdmmc4_dqs: tristate-enable, input-enable
-pinmux.0x0c301080 = 0x00000401; # gpio_dis0_pu0: gp, tristate-disable, input-disable
-pinmux.0x0c301088 = 0x00000456; # gpio_dis1_pu1: displaya, pull-down, tristate-enable, input-enable
-pinmux.0x0c301090 = 0x00000402; # gpio_dis2_pu2: dca, tristate-disable, input-disable
-pinmux.0x0c3010a0 = 0x00000402; # gpio_dis4_pu4: dca, tristate-disable, input-disable
-pinmux.0x0c3010a8 = 0x00000411; # gpio_dis5_pu5: gp, tristate-enable, input-disable
-pinmux.0x0c301038 = 0x00000458; # vcomp_alert_ps4: soc, pull-up, tristate-enable, input-enable
-pinmux.0x0c301060 = 0x00000440; # pwr_i2c_scl_ps0: i2c5, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0c301068 = 0x00000440; # pwr_i2c_sda_ps1: i2c5, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0c301048 = 0x00000458; # batt_oc_ps2: soc, pull-up, tristate-enable, input-enable
-pinmux.0x0243d020 = 0x00000400; # uart2_tx_px0: uartb, tristate-disable, input-disable
-pinmux.0x0243d028 = 0x00000458; # uart2_rx_px1: uartb, pull-up, tristate-enable, input-enable
-pinmux.0x0243d030 = 0x00000400; # uart2_rts_px2: uartb, tristate-disable, input-disable
-pinmux.0x0243d038 = 0x00000458; # uart2_cts_px3: uartb, pull-up, tristate-enable, input-enable
-pinmux.0x0243d048 = 0x00000452; # uart5_tx_px4: nv, tristate-enable, input-enable
-pinmux.0x0243d040 = 0x00000412; # uart5_rx_px5: gp, tristate-enable, input-disable
-pinmux.0x0243d078 = 0x00000409; # gpio_mdm4_py3: spi1, pull-up, tristate-disable, input-disable
-pinmux.0x0243d0b0 = 0x00000440; # gen7_i2c_scl_pl0: i2c7, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0243d0b8 = 0x00000440; # gen7_i2c_sda_pl1: i2c7, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0243d0c8 = 0x00000440; # gen9_i2c_scl_pl2: i2c9, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0243d0c0 = 0x00000440; # gen9_i2c_sda_pl3: i2c9, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0243d0e8 = 0x00000410; # gp_pwm6_pl6: gp, tristate-enable, input-disable
-pinmux.0x0243d0e0 = 0x00000410; # gp_pwm7_pl7: gp, tristate-enable, input-disable
-pinmux.0x0243d018 = 0x00000446; # gpio_wan5_ph0: spi1, pull-down, tristate-disable, input-enable
-pinmux.0x0243d010 = 0x00000446; # gpio_wan6_ph1: spi1, pull-down, tristate-disable, input-enable
-pinmux.0x0243d008 = 0x00000446; # gpio_wan7_ph2: spi1, pull-down, tristate-disable, input-enable
-pinmux.0x0243d000 = 0x0000044a; # gpio_wan8_ph3: spi1, pull-up, tristate-disable, input-enable
-pinmux.0x02435018 = 0x00000400; # uart1_tx_pt0: uarta, tristate-disable, input-disable
-pinmux.0x02435010 = 0x00000458; # uart1_rx_pt1: uarta, pull-up, tristate-enable, input-enable
-pinmux.0x02435050 = 0x00022400; # directdc1_clk_pq0: directdc1, tristate-disable, input-disable
-pinmux.0x02435048 = 0x00022454; # directdc1_in_pq1: directdc1, pull-down, tristate-enable, input-enable
-pinmux.0x02435040 = 0x00022400; # directdc1_out0_pq2: directdc1, tristate-disable, input-disable
-pinmux.0x02435038 = 0x00022400; # directdc1_out1_pq3: directdc1, tristate-disable, input-disable
-pinmux.0x02435030 = 0x00022400; # directdc1_out2_pq4: directdc1, tristate-disable, input-disable
-pinmux.0x02435028 = 0x00022400; # directdc1_out3_pq5: directdc1, tristate-disable, input-disable
-pinmux.0x0c302020 = 0x00000400; # uart3_tx_pw2: uartc, tristate-disable, input-disable
-pinmux.0x0c302018 = 0x00000458; # uart3_rx_pw3: uartc, pull-up, tristate-enable, input-enable
-pinmux.0x0c302010 = 0x00000400; # uart3_rts_pw4: uartc, tristate-disable, input-disable
-pinmux.0x0c302008 = 0x00000458; # uart3_cts_pw5: uartc, pull-up, tristate-enable, input-enable
-pinmux.0x0c302030 = 0x00000440; # gen8_i2c_scl_pw0: i2c8, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0c302028 = 0x00000440; # gen8_i2c_sda_pw1: i2c8, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0c302040 = 0x00000400; # uart7_tx_pw6: uartg, tristate-disable, input-disable
-pinmux.0x0c302038 = 0x00000458; # uart7_rx_pw7: uartg, pull-up, tristate-enable, input-enable
-pinmux.0x0c302050 = 0x00000444; # gpio_sen1_pv1: spi2, pull-down, tristate-disable, input-enable
-pinmux.0x0c302058 = 0x00000444; # gpio_sen2_pv2: spi2, pull-down, tristate-disable, input-enable
-pinmux.0x0c302060 = 0x00000444; # gpio_sen3_pv3: spi2, pull-down, tristate-disable, input-enable
-pinmux.0x0c302068 = 0x00000448; # gpio_sen4_pv4: spi2, pull-up, tristate-disable, input-enable
-pinmux.0x0c302078 = 0x00000401; # gpio_sen6_pv6: gp, tristate-disable, input-disable
-pinmux.0x0c302080 = 0x00000401; # gpio_sen7_pv7: wdt, tristate-disable, input-disable
-pinmux.0x0c302088 = 0x00000441; # gpio_sen8_pee0: i2c2, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0c302090 = 0x00000441; # gpio_sen9_pee1: i2c2, tristate-disable, input-enable, io_high_voltage-disable
-pinmux.0x0c302000 = 0x00000400; # touch_clk_pee2: touch, tristate-disable, input-disable
+pinmux.0x0c301080 = 0x00000401; # gpio_dis0_pu0: gp, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c301088 = 0x0000045a; # gpio_dis1_pu1: displaya, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301090 = 0x00000402; # gpio_dis2_pu2: dca, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c3010a0 = 0x00000402; # gpio_dis4_pu4: dca, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c3010a8 = 0x00000401; # gpio_dis5_pu5: gp, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c301038 = 0x00000458; # vcomp_alert_ps4: soc, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301060 = 0x00000440; # pwr_i2c_scl_ps0: i2c5, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0c301068 = 0x00000440; # pwr_i2c_sda_ps1: i2c5, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0c301048 = 0x00000458; # batt_oc_ps2: soc, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d020 = 0x00000400; # uart2_tx_px0: uartb, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d028 = 0x00000458; # uart2_rx_px1: uartb, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d030 = 0x00000400; # uart2_rts_px2: uartb, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d038 = 0x00000458; # uart2_cts_px3: uartb, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d048 = 0x00000452; # uart5_tx_px4: nv, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d040 = 0x00000412; # uart5_rx_px5: gp, tristate-enable, input-disable, lpdr-disable
+pinmux.0x0243d078 = 0x00000409; # gpio_mdm4_py3: spi1, pull-up, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d0b0 = 0x00000440; # gen7_i2c_scl_pl0: i2c7, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0243d0b8 = 0x00000440; # gen7_i2c_sda_pl1: i2c7, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0243d0c8 = 0x00000440; # gen9_i2c_scl_pl2: i2c9, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0243d0c0 = 0x00000440; # gen9_i2c_sda_pl3: i2c9, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0243d0e8 = 0x00000410; # gp_pwm6_pl6: gp, tristate-enable, input-disable, lpdr-disable
+pinmux.0x0243d0e0 = 0x00000410; # gp_pwm7_pl7: gp, tristate-enable, input-disable, lpdr-disable
+pinmux.0x0243d018 = 0x00000402; # gpio_wan5_ph0: spi1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d010 = 0x00000456; # gpio_wan6_ph1: spi1, pull-down, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d008 = 0x00000402; # gpio_wan7_ph2: spi1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d000 = 0x0000040a; # gpio_wan8_ph3: spi1, pull-up, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02435018 = 0x00000400; # uart1_tx_pt0: uarta, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02435010 = 0x00000458; # uart1_rx_pt1: uarta, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02435008 = 0x00000400; # uart1_rts_pt2: uarta, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02435000 = 0x00000450; # uart1_cts_pt3: uarta, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c302020 = 0x00000400; # uart3_tx_pw2: uartc, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302018 = 0x00000458; # uart3_rx_pw3: uartc, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c302010 = 0x00000400; # uart3_rts_pw4: uartc, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302008 = 0x00000458; # uart3_cts_pw5: uartc, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c302030 = 0x00000440; # gen8_i2c_scl_pw0: i2c8, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0c302028 = 0x00000440; # gen8_i2c_sda_pw1: i2c8, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0c302040 = 0x00000400; # uart7_tx_pw6: uartg, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302038 = 0x00000458; # uart7_rx_pw7: uartg, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c302050 = 0x00000400; # gpio_sen1_pv1: spi2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302058 = 0x00000454; # gpio_sen2_pv2: spi2, pull-down, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c302060 = 0x00000400; # gpio_sen3_pv3: spi2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302068 = 0x00000408; # gpio_sen4_pv4: spi2, pull-up, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302078 = 0x00000401; # gpio_sen6_pv6: gp, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302080 = 0x00000401; # gpio_sen7_pv7: wdt, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302088 = 0x00000441; # gpio_sen8_pee0: i2c2, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0c302090 = 0x00000441; # gpio_sen9_pee1: i2c2, tristate-disable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x0c302000 = 0x00000400; # touch_clk_pee2: touch, tristate-disable, input-disable, lpdr-disable
pinmux.0x0c303008 = 0x00000400; # can1_dout_pz0: can1, tristate-disable, input-disable
pinmux.0x0c303010 = 0x00000458; # can1_din_pz1: can1, pull-up, tristate-enable, input-enable
pinmux.0x0c303018 = 0x00000400; # can0_dout_pz2: can0, tristate-disable, input-disable
pinmux.0x0c303020 = 0x00000458; # can0_din_pz3: can0, pull-up, tristate-enable, input-enable
pinmux.0x0c303028 = 0x00000452; # can_gpio0_paa0: dmic5, tristate-enable, input-enable
pinmux.0x0c303030 = 0x00000402; # can_gpio1_paa1: dmic5, tristate-disable, input-disable
-pinmux.0x02440020 = 0x00000550; # dp_aux_ch0_hpd_pp0: dp, tristate-enable, input-enable, io_high_voltage-disable
-pinmux.0x02440030 = 0x00000560; # hdmi_cec_pp2: hdmi, tristate-disable, input-enable, io_high_voltage-enable
-pinmux.0x02434058 = 0x00000000; # gpio_wan1_pb4: rsvd0, tristate-disable, input-disable
-pinmux.0x02434050 = 0x00000058; # gpio_wan2_pb5: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x02434048 = 0x00000000; # gpio_wan3_pb6: rsvd0, tristate-disable, input-disable
-pinmux.0x02434040 = 0x00000058; # gpio_wan4_pc0: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x02431018 = 0x00000058; # gpio_aud0_pj5: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x02431010 = 0x00000000; # gpio_aud1_pj6: rsvd0, tristate-disable, input-disable
+pinmux.0x02440020 = 0x00000450; # dp_aux_ch0_hpd_pp0: dp, tristate-enable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x02440030 = 0x00000460; # hdmi_cec_pp2: hdmi, tristate-disable, input-enable, io_high_voltage-enable, lpdr-disable
+pinmux.0x02440028 = 0x00000450; # dp_aux_ch1_hpd_pp1: dp, tristate-enable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x02434058 = 0x00000000; # gpio_wan1_pb4: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02434050 = 0x00000058; # gpio_wan2_pb5: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02434048 = 0x00000000; # gpio_wan3_pb6: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02434040 = 0x00000058; # gpio_wan4_pc0: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02431018 = 0x00000058; # gpio_aud0_pj5: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02431010 = 0x00000000; # gpio_aud1_pj6: rsvd0, tristate-disable, input-disable, lpdr-disable
pinmux.0x02432028 = 0x0000405a; # dmic4_clk_pm5: rsvd2, pull-up, tristate-enable, input-enable
pinmux.0x02432020 = 0x00004002; # dmic4_dat_pm4: rsvd2, tristate-disable, input-disable
pinmux.0x02433020 = 0x00004058; # gpio_pq4_pi4: rsvd0, pull-up, tristate-enable, input-enable
pinmux.0x02433028 = 0x00004000; # gpio_pq5_pi5: rsvd0, tristate-disable, input-disable
pinmux.0x02433030 = 0x00004058; # gpio_pq6_pi6: rsvd0, pull-up, tristate-enable, input-enable
pinmux.0x02433038 = 0x00004054; # gpio_pq7_pi7: rsvd0, pull-down, tristate-enable, input-enable
-pinmux.0x02430020 = 0x00000001; # gpio_cam1_pn0: rsvd1, tristate-disable, input-disable
-pinmux.0x02430030 = 0x00000002; # gpio_cam3_pn2: rsvd2, tristate-disable, input-disable
-pinmux.0x0c301000 = 0x00000058; # gpio_sw1_pff1: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0c301008 = 0x00000058; # gpio_sw2_pff2: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0c301010 = 0x00000058; # gpio_sw3_pff3: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0c301018 = 0x00000058; # gpio_sw4_pff4: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0c301098 = 0x00000000; # gpio_dis3_pu3: rsvd0, tristate-disable, input-disable
-pinmux.0x0c301058 = 0x00000058; # power_on_pff0: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0c301030 = 0x00000001; # safe_state_ps3: rsvd1, tristate-disable, input-disable
-pinmux.0x0243d050 = 0x00000002; # uart5_rts_px6: rsvd2, tristate-disable, input-disable
-pinmux.0x0243d058 = 0x0000005a; # uart5_cts_px7: rsvd2, pull-up, tristate-enable, input-enable
-pinmux.0x0243d060 = 0x00000058; # gpio_mdm1_py0: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0243d068 = 0x00000058; # gpio_mdm2_py1: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0243d070 = 0x00000058; # gpio_mdm3_py2: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0243d080 = 0x00000000; # gpio_mdm5_py4: rsvd0, tristate-disable, input-disable
-pinmux.0x0243d088 = 0x00000059; # gpio_mdm6_py5: rsvd1, pull-up, tristate-enable, input-enable
-pinmux.0x0243d090 = 0x00000058; # gpio_mdm7_py6: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0243d0d0 = 0x00000021; # usb_vbus_en0_pl4: rsvd1, tristate-disable, input-disable, io_high_voltage-enable
-pinmux.0x0243d0d8 = 0x00000021; # usb_vbus_en1_pl5: rsvd1, tristate-disable, input-disable, io_high_voltage-enable
-pinmux.0x0243d098 = 0x00000000; # bcpu_pwr_req_ph4: rsvd0, tristate-disable, input-disable
-pinmux.0x0243d0a0 = 0x00000000; # mcpu_pwr_req_ph5: tristate-disable, input-disable
-pinmux.0x0243d0a8 = 0x00000000; # gpu_pwr_req_ph6: rsvd0, tristate-disable, input-disable
-pinmux.0x02435008 = 0x00000401; # uart1_rts_pt2: rsvd1, tristate-disable, input-disable
-pinmux.0x02435000 = 0x00000401; # uart1_cts_pt3: rsvd1, tristate-disable, input-disable
-pinmux.0x0c302048 = 0x00000058; # gpio_sen0_pv0: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x0c302070 = 0x00000000; # gpio_sen5_pv5: rsvd0, tristate-disable, input-disable
+pinmux.0x02430020 = 0x00000001; # gpio_cam1_pn0: rsvd1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02430030 = 0x00000002; # gpio_cam3_pn2: rsvd2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c301000 = 0x00000058; # gpio_sw1_pff1: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301008 = 0x00000058; # gpio_sw2_pff2: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301010 = 0x00000058; # gpio_sw3_pff3: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301018 = 0x00000058; # gpio_sw4_pff4: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301098 = 0x00000000; # gpio_dis3_pu3: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c301058 = 0x00000058; # power_on_pff0: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c301030 = 0x00000001; # safe_state_ps3: rsvd1, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d050 = 0x00000002; # uart5_rts_px6: rsvd2, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d058 = 0x0000005a; # uart5_cts_px7: rsvd2, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d060 = 0x00000058; # gpio_mdm1_py0: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d068 = 0x00000058; # gpio_mdm2_py1: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d070 = 0x00000058; # gpio_mdm3_py2: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d080 = 0x00000000; # gpio_mdm5_py4: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d088 = 0x00000059; # gpio_mdm6_py5: rsvd1, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d090 = 0x00000058; # gpio_mdm7_py6: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0243d0d0 = 0x00000021; # usb_vbus_en0_pl4: rsvd1, tristate-disable, input-disable, io_high_voltage-enable, lpdr-disable
+pinmux.0x0243d0d8 = 0x00000021; # usb_vbus_en1_pl5: rsvd1, tristate-disable, input-disable, io_high_voltage-enable, lpdr-disable
+pinmux.0x0243d098 = 0x00000000; # bcpu_pwr_req_ph4: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d0a0 = 0x00000000; # mcpu_pwr_req_ph5: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0243d0a8 = 0x00000000; # gpu_pwr_req_ph6: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x0c302048 = 0x00000058; # gpio_sen0_pv0: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x0c302070 = 0x00000000; # gpio_sen5_pv5: rsvd0, tristate-disable, input-disable, lpdr-disable
pinmux.0x0c303038 = 0x00000059; # can_gpio2_paa2: rsvd1, pull-up, tristate-enable, input-enable
pinmux.0x0c303040 = 0x00000040; # can_gpio3_paa3: rsvd0, tristate-disable, input-enable
pinmux.0x0c303048 = 0x00000058; # can_gpio4_paa4: rsvd0, pull-up, tristate-enable, input-enable
@@ -364,15 +332,14 @@
pinmux.0x0c303000 = 0x00000050; # can_gpio7_paa7: rsvd0, tristate-enable, input-enable
pinmux.0x0243b018 = 0x00000001; # qspi_io0_pr1: rsvd1, tristate-disable, input-disable
pinmux.0x0243b010 = 0x00000001; # qspi_io1_pr2: rsvd1, tristate-disable, input-disable
-pinmux.0x0243b020 = 0x00000001; # qspi_sck_pr0: rsvd1, tristate-disable, input-disable
+pinmux.0x0243b020 = 0x00000001; # qspi_sck_pr0: rsvd1, tristate-disable, input-disable, loopback-disable
pinmux.0x0243b028 = 0x00000059; # qspi_cs_n_pr5: rsvd1, pull-up, tristate-enable, input-enable
pinmux.0x0243b008 = 0x00000001; # qspi_io2_pr3: rsvd1, tristate-disable, input-disable
pinmux.0x0243b000 = 0x00000001; # qspi_io3_pr4: rsvd1, tristate-disable, input-disable
-pinmux.0x02440028 = 0x00000151; # dp_aux_ch1_hpd_pp1: rsvd1, tristate-enable, input-enable, io_high_voltage-disable
-pinmux.0x02440010 = 0x00000000; # gpio_edp0_pp3: rsvd0, tristate-disable, input-disable
-pinmux.0x02440018 = 0x00000058; # gpio_edp1_pp4: rsvd0, pull-up, tristate-enable, input-enable
-pinmux.0x02440000 = 0x00000158; # gpio_edp2_pp5: rsvd0, pull-up, tristate-enable, input-enable, io_high_voltage-disable
-pinmux.0x02440008 = 0x00000000; # gpio_edp3_pp6: rsvd0, tristate-disable, input-disable
+pinmux.0x02440010 = 0x00000000; # gpio_edp0_pp3: rsvd0, tristate-disable, input-disable, lpdr-disable
+pinmux.0x02440018 = 0x00000058; # gpio_edp1_pp4: rsvd0, pull-up, tristate-enable, input-enable, lpdr-disable
+pinmux.0x02440000 = 0x00000058; # gpio_edp2_pp5: rsvd0, pull-up, tristate-enable, input-enable, io_high_voltage-disable, lpdr-disable
+pinmux.0x02440008 = 0x00000000; # gpio_edp3_pp6: rsvd0, tristate-disable, input-disable, lpdr-disable
pinmux.0x02441008 = 0x00022001; # ufs0_ref_clk_pbb0: rsvd1, tristate-disable, input-disable
pinmux.0x02441000 = 0x00022001; # ufs0_rst_pbb1: rsvd1, tristate-disable, input-disable
#### Pinmux for unused pins for low-power configuration ####