diff --git a/arch/arm/dts/am57xx-beagle-x15.dts b/arch/arm/dts/am57xx-beagle-x15.dts index 8d9bdf10a7..a16cc152a9 100644 --- a/arch/arm/dts/am57xx-beagle-x15.dts +++ b/arch/arm/dts/am57xx-beagle-x15.dts @@ -10,7 +10,9 @@ / { /* NOTE: This describes the "original" pre-production A2 revision */ - model = "TI AM5728 BeagleBoard-X15"; + /*model = "TI AM5728 BeagleBoard-X15";*/ + model = "BeagleBoard-X15"; + }; &tpd12s015 { diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index 312f868fbc..4764a1e4c4 100644 --- a/arch/arm/mach-omap2/emif-common.c +++ b/arch/arm/mach-omap2/emif-common.c @@ -1448,7 +1448,7 @@ void dmm_init(u32 base) * memory is mapped on it. Using emif1_enabled * and emif2_enabled variables for this. */ - emif1_enabled = 0; + emif1_enabled = 1; emif2_enabled = 0; for (i = 0; i < 4; i++) { section = __raw_readl(DMM_BASE + i*4); diff --git a/arch/arm/mach-omap2/omap5/hw_data.c b/arch/arm/mach-omap2/omap5/hw_data.c index e6bee48dfc..6afe565342 100644 --- a/arch/arm/mach-omap2/omap5/hw_data.c +++ b/arch/arm/mach-omap2/omap5/hw_data.c @@ -849,13 +849,22 @@ void __weak hw_data_init(void) *dplls_data = &dra72x_dplls; *ctrl = &dra7xx_ctrl; break; - default: printf("\n INVALID OMAP REVISION "); } } - -void get_ioregs(const struct ctrl_ioregs **regs) +/*Newly added as per recommended + * I/O Settings*/ +//const struct ctrl_ioregs AM572x_DDR3L_532MHz_TI_AM572x_IDK_ctrl_ioregs = { +// .ctrl_ddr3ch = 0x80808080, +// .ctrl_ddrch = 0x40404040, +// .ctrl_ddrio_0 = 0x00094A40, +// .ctrl_ddrio_1 = 0x04A52000, +// .ctrl_lpddr2ch = 0x00404000, +// .ctrl_emif_sdram_config_ext = 0x0000C123 +//}; +void __weak get_ioregs(const struct ctrl_ioregs **regs)// changed +//void get_ioregs(const struct ctrl_ioregs **regs) { u32 omap_rev = omap_revision(); diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index c7231d183c..5f2d81dde6 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -5,7 +5,7 @@ * Author: Felipe Balbi * * Based on board/ti/dra7xx/evm.c - */ + **/ #include #include @@ -43,7 +43,7 @@ #include "../common/board_detect.h" #include "mux_data.h" - +//#define board_is_am572x_idk() 1 #ifdef CONFIG_SUPPORT_EMMC_BOOT static int board_bootmode_has_emmc(void); #endif @@ -93,6 +93,135 @@ DECLARE_GLOBAL_DATA_PTR; #define TPS65903X_PRIMARY_SECONDARY_PAD2 0xFB #define TPS65903X_PAD2_POWERHOLD_MASK 0x20 + +/**Added Extra s per EMIF tool ****************/ +/*I / O setting a*/ +const struct ctrl_ioregs AM572x_DDR3L_532MHz_TI_AM572x_IDK_ctrl_ioregs = { + .ctrl_ddr3ch = 0x80808080, + .ctrl_ddrch = 0x40404040, + .ctrl_ddrio_0 = 0x00094A40, + .ctrl_ddrio_1 = 0x04A52000, + .ctrl_lpddr2ch = 0x00404000, + .ctrl_emif_sdram_config_ext = 0x0000C123 +}; +void get_ioregs(const struct ctrl_ioregs **regs) +{ + *regs = &AM572x_DDR3L_532MHz_TI_AM572x_IDK_ctrl_ioregs; +} +/*Lisa register configuration */ +const struct dmm_lisa_map_regs AM572x_DDR3L_532MHz_TI_AM572x_IDK_dmm_regs = { + .dmm_lisa_map_0 = 0x00000000, + .dmm_lisa_map_1 = 0x00000000, + .dmm_lisa_map_2 = 0x80700100, + .dmm_lisa_map_3 = 0xFF020100, + .is_ma_present = 0x1 +}; + +/*EMIF Registers*/ +const struct emif_regs AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif_regs = { + .sdram_config_init = 0x61851BB2, + .sdram_config = 0x61851BB2, + .sdram_config2 = 0x00000000, + .ref_ctrl = 0x000040F1, + .ref_ctrl_final = 0x00001035, + .sdram_tim1 = 0xCEEF2663, + .sdram_tim2 = 0x30BF7FDA, + .sdram_tim3 = 0x407F8BA8, + .read_idle_ctrl = 0x00050000, + .zq_config = 0x5007190B, + .temp_alert_config = 0x00000000, + .emif_rd_wr_lvl_rmp_ctl = 0x80000000, + .emif_rd_wr_lvl_ctl = 0x00000000, + .emif_ddr_phy_ctlr_1_init = 0x0024400B, + .emif_ddr_phy_ctlr_1 = 0x0E24400B, + .emif_rd_wr_exec_thresh = 0x00000305, + +// .emif_ecc_ctrl_reg = 0x00000000, +// .emif_ecc_address_range_1 = 0x3FFF0000, +// .emif_ecc_address_range_2 = 0x00000000, + +// .emif_ecc_ctrl_reg = 0x00000000, +// .emif_ecc_address_range_1 = 0x3FFF0000, +// .emif_ecc_address_range_2 = 0x00000000, + +}; + +/*EMIF1 phy config*/ +const unsigned int AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif1_ext_phy_regs [] = { + 0x04040100, /* EMIF1_EXT_PHY_CTRL_1 */ + 0x006B0086, /* EMIF1_EXT_PHY_CTRL_2 */ + 0x006B0087, /* EMIF1_EXT_PHY_CTRL_3 */ + 0x006B0092, /* EMIF1_EXT_PHY_CTRL_4 */ + 0x006B0091, /* EMIF1_EXT_PHY_CTRL_5 */ + 0x006B006B, /* EMIF1_EXT_PHY_CTRL_6 */ + 0x00320032, /* EMIF1_EXT_PHY_CTRL_7 */ + 0x00320032, /* EMIF1_EXT_PHY_CTRL_8 */ + 0x00320032, /* EMIF1_EXT_PHY_CTRL_9 */ + 0x00320032, /* EMIF1_EXT_PHY_CTRL_10 */ + 0x00320032, /* EMIF1_EXT_PHY_CTRL_11 */ + 0x00600067, /* EMIF1_EXT_PHY_CTRL_12 */ + 0x00600067, /* EMIF1_EXT_PHY_CTRL_13 */ + 0x00600068, /* EMIF1_EXT_PHY_CTRL_14 */ + 0x00600069, /* EMIF1_EXT_PHY_CTRL_15 */ + 0x00600060, /* EMIF1_EXT_PHY_CTRL_16 */ + 0x00400047, /* EMIF1_EXT_PHY_CTRL_17 */ + 0x00400047, /* EMIF1_EXT_PHY_CTRL_18 */ + 0x00400048, /* EMIF1_EXT_PHY_CTRL_19 */ + 0x00400049, /* EMIF1_EXT_PHY_CTRL_20 */ + 0x00400040, /* EMIF1_EXT_PHY_CTRL_21 */ + 0x00800080, /* EMIF1_EXT_PHY_CTRL_22 */ + 0x00800080, /* EMIF1_EXT_PHY_CTRL_23 */ + 0x40010080, /* EMIF1_EXT_PHY_CTRL_24 */ + 0x08102040, /* EMIF1_EXT_PHY_CTRL_25 */ + 0x00000076, /* EMIF1_EXT_PHY_CTRL_26 */ + 0x00000077, /* EMIF1_EXT_PHY_CTRL_27 */ + 0x00000082, /* EMIF1_EXT_PHY_CTRL_28 */ + 0x00000081, /* EMIF1_EXT_PHY_CTRL_29 */ + 0x00000000, /* EMIF1_EXT_PHY_CTRL_30 */ + 0x00000037, /* EMIF1_EXT_PHY_CTRL_31 */ + 0x00000037, /* EMIF1_EXT_PHY_CTRL_32 */ + 0x00000038, /* EMIF1_EXT_PHY_CTRL_33 */ + 0x00000039, /* EMIF1_EXT_PHY_CTRL_34 */ + 0x00000000, /* EMIF1_EXT_PHY_CTRL_35 */ + 0x00000077 /* EMIF1_EXT_PHY_CTRL_36 */ +// 0x04040100, /* EMIF1_EXT_PHY_CTRL_1 */ +// 0x006B0086, /* EMIF1_EXT_PHY_CTRL_2 */ +// 0x006B0087, /* EMIF1_EXT_PHY_CTRL_3 */ +// 0x006B0092, /* EMIF1_EXT_PHY_CTRL_4 */ +// 0x006B0091, /* EMIF1_EXT_PHY_CTRL_5 */ +// 0x006B006B, /* EMIF1_EXT_PHY_CTRL_6 */ +// 0x00320032, /* EMIF1_EXT_PHY_CTRL_7 */ +// 0x00320032, /* EMIF1_EXT_PHY_CTRL_8 */ +// 0x00320032, /* EMIF1_EXT_PHY_CTRL_9 */ +// 0x00320032, /* EMIF1_EXT_PHY_CTRL_10 */ +// 0x00320032, /* EMIF1_EXT_PHY_CTRL_11 */ +// 0x00600067, /* EMIF1_EXT_PHY_CTRL_12 */ +// 0x00600067, /* EMIF1_EXT_PHY_CTRL_13 */ +// 0x00600068, /* EMIF1_EXT_PHY_CTRL_14 */ +// 0x00600069, /* EMIF1_EXT_PHY_CTRL_15 */ +// 0x00600060, /* EMIF1_EXT_PHY_CTRL_16 */ +// 0x00400047, /* EMIF1_EXT_PHY_CTRL_17 */ +// 0x00400047, /* EMIF1_EXT_PHY_CTRL_18 */ +// 0x00400048, /* EMIF1_EXT_PHY_CTRL_19 */ +// 0x00400049, /* EMIF1_EXT_PHY_CTRL_20 */ +// 0x00400040, /* EMIF1_EXT_PHY_CTRL_21 */ +// 0x00800080, /* EMIF1_EXT_PHY_CTRL_22 */ +// 0x00800080, /* EMIF1_EXT_PHY_CTRL_23 */ +// 0x40010080, /* EMIF1_EXT_PHY_CTRL_24 */ +// 0x08102040, /* EMIF1_EXT_PHY_CTRL_25 */ +// 0x00000076, /* EMIF1_EXT_PHY_CTRL_26 */ +// 0x00000077, /* EMIF1_EXT_PHY_CTRL_27 */ +// 0x00000082, /* EMIF1_EXT_PHY_CTRL_28 */ +// 0x00000081, /* EMIF1_EXT_PHY_CTRL_29 */ +// 0x00000000, /* EMIF1_EXT_PHY_CTRL_30 */ +// 0x00000037, /* EMIF1_EXT_PHY_CTRL_31 */ +// 0x00000037, /* EMIF1_EXT_PHY_CTRL_32 */ +// 0x00000038, /* EMIF1_EXT_PHY_CTRL_33 */ +// 0x00000039, /* EMIF1_EXT_PHY_CTRL_34 */ +// 0x00000000, /* EMIF1_EXT_PHY_CTRL_35 */ +// 0x00000077 /* EMIF1_EXT_PHY_CTRL_36 */ +}; +/******************************************************/ const struct omap_sysinfo sysinfo = { "Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN\n" }; @@ -127,7 +256,7 @@ void emif_get_dmm_regs(const struct dmm_lisa_map_regs **dmm_lisa_regs) else if (board_is_bbai()) *dmm_lisa_regs = &bbai_lisa_regs; else - *dmm_lisa_regs = &beagle_x15_lisa_regs; + *dmm_lisa_regs = &AM572x_DDR3L_532MHz_TI_AM572x_IDK_dmm_regs;//&beagle_x15_lisa_regs; } static const struct emif_regs beagle_x15_emif1_ddr3_532mhz_emif_regs = { @@ -310,37 +439,74 @@ static const struct emif_regs am574x_emif1_ddr3_666mhz_emif_ecc_regs = { .emif_ecc_address_range_2 = 0x00000000 }; +/* + * Newly added + * */ void emif_get_reg_dump(u32 emif_nr, const struct emif_regs **regs) { - switch (emif_nr) { +switch (emif_nr) { case 1: - if (board_is_am571x_idk()) - *regs = &am571x_emif1_ddr3_666mhz_emif_regs; - else if (board_is_am574x_idk()) - *regs = &am574x_emif1_ddr3_666mhz_emif_ecc_regs; - else - *regs = &beagle_x15_emif1_ddr3_532mhz_emif_regs; - break; + if (board_is_am571x_idk()) + *regs = &am571x_emif1_ddr3_666mhz_emif_regs; + + else if (board_is_am574x_idk()) + *regs = &am574x_emif1_ddr3_666mhz_emif_ecc_regs; + else + *regs = &AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif_regs; + break; case 2: - if (board_is_am574x_idk()) - *regs = &am571x_emif1_ddr3_666mhz_emif_regs; - else - *regs = &beagle_x15_emif2_ddr3_532mhz_emif_regs; - break; + if (board_is_am574x_idk()) + *regs = &am571x_emif1_ddr3_666mhz_emif_regs; + else + *regs = &AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif_regs; + break; } } - +//void emif_get_reg_dump(u32 emif_nr, const struct emif_regs **regs) +//{ +// switch (emif_nr) { +// case 1: +// if (board_is_am571x_idk()) +// *regs = &am571x_emif1_ddr3_666mhz_emif_regs; +// else if (board_is_am574x_idk()) +// *regs = &am574x_emif1_ddr3_666mhz_emif_ecc_regs; +// else +// *regs = &beagle_x15_emif1_ddr3_532mhz_emif_regs; +// break; +// case 2: +// if (board_is_am574x_idk()) +// *regs = &am571x_emif1_ddr3_666mhz_emif_regs; +// else +// *regs = &beagle_x15_emif2_ddr3_532mhz_emif_regs; +// break; +// } +//} + +//void emif_get_ext_phy_ctrl_const_regs(u32 emif_nr, const u32 **regs, u32 *size) +//{ +// switch (emif_nr) { +// case 1: +// *regs = beagle_x15_emif1_ddr3_ext_phy_ctrl_const_regs; +// *size = ARRAY_SIZE(beagle_x15_emif1_ddr3_ext_phy_ctrl_const_regs); +// break; +// case 2: +// *regs = beagle_x15_emif2_ddr3_ext_phy_ctrl_const_regs; +// *size = ARRAY_SIZE(beagle_x15_emif2_ddr3_ext_phy_ctrl_const_regs); +// break; +// } +//} void emif_get_ext_phy_ctrl_const_regs(u32 emif_nr, const u32 **regs, u32 *size) { - switch (emif_nr) { + switch (emif_nr) + { case 1: - *regs = beagle_x15_emif1_ddr3_ext_phy_ctrl_const_regs; - *size = ARRAY_SIZE(beagle_x15_emif1_ddr3_ext_phy_ctrl_const_regs); - break; + *regs = AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif1_ext_phy_regs; + *size = ARRAY_SIZE(AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif1_ext_phy_regs); + break; case 2: - *regs = beagle_x15_emif2_ddr3_ext_phy_ctrl_const_regs; - *size = ARRAY_SIZE(beagle_x15_emif2_ddr3_ext_phy_ctrl_const_regs); - break; + *regs = AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif1_ext_phy_regs; + *size = ARRAY_SIZE(AM572x_DDR3L_532MHz_TI_AM572x_IDK_emif1_ext_phy_regs); + break; } } @@ -572,10 +738,13 @@ void do_board_detect(void) bname = "AM571x IDK"; else if (board_is_bbai()) bname = "BeagleBone AI"; + printf("\r\n board name %s ::",bname); + printf("Unidentified board claims %s in eeprom header\n", + board_ti_get_name()); if (bname) snprintf(sysinfo.board_string, SYSINFO_BOARD_NAME_MAX_LEN, - "Board: %s REV %s\n", bname, board_ti_get_rev()); + "BoardNameN: %s REV %s\n", bname, board_ti_get_rev()); } static void setup_board_eeprom_env(void) diff --git a/board/ti/am57xx/mux_data.h b/board/ti/am57xx/mux_data.h index 212799c93d..a0f23dff59 100644 --- a/board/ti/am57xx/mux_data.h +++ b/board/ti/am57xx/mux_data.h @@ -209,9 +209,11 @@ const struct pad_conf_entry core_padconf_array_essential_x15[] = { {UART1_RTSN, (M14 | PIN_INPUT)}, /* uart1_rtsn.gpio7_25 */ {UART2_RXD, (M14 | PIN_INPUT_PULLDOWN)}, /* uart2_rxd.gpio7_26 */ {UART2_TXD, (M14 | PIN_INPUT_PULLDOWN)}, /* uart2_txd.gpio7_27 */ - {UART2_CTSN, (M2 | PIN_INPUT_PULLUP)}, /* uart2_ctsn.uart3_rxd */ - {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ +// {UART2_CTSN, (M2 | PIN_INPUT_PULLUP)}, /* uart2_ctsn.uart3_rxd */ +// {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ {I2C1_SDA, (M0 | PIN_INPUT_PULLUP)}, /* i2c1_sda.i2c1_sda */ + {UART3_RXD, (M0 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ + {UART3_TXD, (M0 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ {I2C1_SCL, (M0 | PIN_INPUT_PULLUP)}, /* i2c1_scl.i2c1_scl */ {I2C2_SDA, (M1 | PIN_INPUT_PULLUP)}, /* i2c2_sda.hdmi1_ddc_scl */ {I2C2_SCL, (M1 | PIN_INPUT_PULLUP)}, /* i2c2_scl.hdmi1_ddc_sda */ @@ -752,8 +754,10 @@ const struct pad_conf_entry core_padconf_array_essential_am574x_idk[] = { {UART1_TXD, (M14 | PIN_OUTPUT | SLEWCONTROL)}, /* uart1_txd.gpio7_23 */ {UART2_RXD, (M4 | PIN_INPUT)}, /* uart2_rxd.uart2_rxd */ {UART2_TXD, (M0 | PIN_OUTPUT)}, /* uart2_txd.uart2_txd */ - {UART2_CTSN, (M2 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ - {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ +// {UART2_CTSN, (M2 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ +// {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ + {UART3_RXD, (M0 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ + {UART3_TXD, (M0 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ {I2C1_SDA, (M0 | PIN_INPUT)}, /* i2c1_sda.i2c1_sda */ {I2C1_SCL, (M0 | PIN_INPUT)}, /* i2c1_scl.i2c1_scl */ {I2C2_SDA, (M1 | PIN_INPUT)}, /* i2c2_sda.hdmi1_ddc_scl */ @@ -972,8 +976,10 @@ const struct pad_conf_entry core_padconf_array_essential_am572x_idk[] = { {UART1_TXD, (M14 | PIN_OUTPUT | SLEWCONTROL)}, /* uart1_txd.gpio7_23 */ {UART2_RXD, (M4 | PIN_INPUT)}, /* uart2_rxd.uart2_rxd */ {UART2_TXD, (M0 | PIN_OUTPUT)}, /* uart2_txd.uart2_txd */ - {UART2_CTSN, (M2 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ - {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ +// {UART2_CTSN, (M2 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ +// {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ + {UART3_RXD, (M0 | PIN_INPUT)}, /* uart2_ctsn.uart3_rxd */ + {UART3_TXD, (M0 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ {I2C1_SDA, (M0 | PIN_INPUT)}, /* i2c1_sda.i2c1_sda */ {I2C1_SCL, (M0 | PIN_INPUT)}, /* i2c1_scl.i2c1_scl */ {I2C2_SDA, (M1 | PIN_INPUT)}, /* i2c2_sda.hdmi1_ddc_scl */ @@ -1254,14 +1260,16 @@ const struct pad_conf_entry core_padconf_array_vout_am571x_idk[] = { }; const struct pad_conf_entry early_padconf[] = { - {UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */ - {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ + {UART3_RXD, (M0 | PIN_INPUT_SLEW | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ + {UART3_TXD, (M0 | PIN_INPUT_SLEW | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ +// {UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */ +// {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ {I2C1_SDA, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SDA */ {I2C1_SCL, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SCL */ /* BeagleBone AI: Debug UART */ - {UART1_RXD, (M0 | PIN_INPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ - {UART1_TXD, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ +// {UART1_RXD, (M0 | PIN_INPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ +// {UART1_TXD, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ }; #ifdef CONFIG_SUPPORT_EMMC_BOOT (END) - {UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */ - {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ + {UART3_RXD, (M0 | PIN_INPUT_SLEW | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ + {UART3_TXD, (M0 | PIN_INPUT_SLEW | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ +// {UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */ +// {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ {I2C1_SDA, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SDA */ {I2C1_SCL, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SCL */ /* BeagleBone AI: Debug UART */ - {UART1_RXD, (M0 | PIN_INPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ - {UART1_TXD, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ +// {UART1_RXD, (M0 | PIN_INPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ +// {UART1_TXD, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ }; #ifdef CONFIG_SUPPORT_EMMC_BOOT ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ (END) - {UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */ - {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ + {UART3_RXD, (M0 | PIN_INPUT_SLEW | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ + {UART3_TXD, (M0 | PIN_INPUT_SLEW | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ +// {UART2_CTSN, (M2 | PIN_INPUT_SLEW)}, /* uart2_ctsn.uart3_rxd */ +// {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ {I2C1_SDA, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SDA */ {I2C1_SCL, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SCL */ /* BeagleBone AI: Debug UART */ - {UART1_RXD, (M0 | PIN_INPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ - {UART1_TXD, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ +// {UART1_RXD, (M0 | PIN_INPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ +// {UART1_TXD, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ }; #ifdef CONFIG_SUPPORT_EMMC_BOOT