mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 01:17:39 +00:00
9617ceb9cf
Move all the files generated by Quartus into the qts/ subdir of the board/altera/socfpga dir to make them explicitly separate from the generic U-Boot code. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
429 lines
8.5 KiB
C
429 lines
8.5 KiB
C
/* This file is generated by Preloader Generator */
|
|
|
|
#include "pinmux_config.h"
|
|
|
|
#ifdef CONFIG_TARGET_SOCFPGA_CYCLONE5
|
|
/* pin mux configuration data */
|
|
unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = {
|
|
3, /* EMACIO0 */
|
|
3, /* EMACIO1 */
|
|
3, /* EMACIO2 */
|
|
3, /* EMACIO3 */
|
|
3, /* EMACIO4 */
|
|
3, /* EMACIO5 */
|
|
3, /* EMACIO6 */
|
|
3, /* EMACIO7 */
|
|
3, /* EMACIO8 */
|
|
3, /* EMACIO9 */
|
|
3, /* EMACIO10 */
|
|
3, /* EMACIO11 */
|
|
3, /* EMACIO12 */
|
|
3, /* EMACIO13 */
|
|
0, /* EMACIO14 */
|
|
0, /* EMACIO15 */
|
|
0, /* EMACIO16 */
|
|
0, /* EMACIO17 */
|
|
0, /* EMACIO18 */
|
|
0, /* EMACIO19 */
|
|
3, /* FLASHIO0 */
|
|
0, /* FLASHIO1 */
|
|
3, /* FLASHIO2 */
|
|
3, /* FLASHIO3 */
|
|
3, /* FLASHIO4 */
|
|
3, /* FLASHIO5 */
|
|
3, /* FLASHIO6 */
|
|
3, /* FLASHIO7 */
|
|
0, /* FLASHIO8 */
|
|
3, /* FLASHIO9 */
|
|
3, /* FLASHIO10 */
|
|
3, /* FLASHIO11 */
|
|
0, /* GENERALIO0 */
|
|
1, /* GENERALIO1 */
|
|
1, /* GENERALIO2 */
|
|
0, /* GENERALIO3 */
|
|
0, /* GENERALIO4 */
|
|
1, /* GENERALIO5 */
|
|
1, /* GENERALIO6 */
|
|
1, /* GENERALIO7 */
|
|
1, /* GENERALIO8 */
|
|
0, /* GENERALIO9 */
|
|
0, /* GENERALIO10 */
|
|
0, /* GENERALIO11 */
|
|
0, /* GENERALIO12 */
|
|
2, /* GENERALIO13 */
|
|
2, /* GENERALIO14 */
|
|
0, /* GENERALIO15 */
|
|
0, /* GENERALIO16 */
|
|
2, /* GENERALIO17 */
|
|
2, /* GENERALIO18 */
|
|
0, /* GENERALIO19 */
|
|
0, /* GENERALIO20 */
|
|
0, /* GENERALIO21 */
|
|
0, /* GENERALIO22 */
|
|
0, /* GENERALIO23 */
|
|
0, /* GENERALIO24 */
|
|
0, /* GENERALIO25 */
|
|
0, /* GENERALIO26 */
|
|
0, /* GENERALIO27 */
|
|
0, /* GENERALIO28 */
|
|
0, /* GENERALIO29 */
|
|
0, /* GENERALIO30 */
|
|
0, /* GENERALIO31 */
|
|
0, /* MIXED1IO0 */
|
|
1, /* MIXED1IO1 */
|
|
1, /* MIXED1IO2 */
|
|
1, /* MIXED1IO3 */
|
|
1, /* MIXED1IO4 */
|
|
0, /* MIXED1IO5 */
|
|
0, /* MIXED1IO6 */
|
|
0, /* MIXED1IO7 */
|
|
1, /* MIXED1IO8 */
|
|
1, /* MIXED1IO9 */
|
|
1, /* MIXED1IO10 */
|
|
1, /* MIXED1IO11 */
|
|
0, /* MIXED1IO12 */
|
|
0, /* MIXED1IO13 */
|
|
0, /* MIXED1IO14 */
|
|
1, /* MIXED1IO15 */
|
|
1, /* MIXED1IO16 */
|
|
1, /* MIXED1IO17 */
|
|
1, /* MIXED1IO18 */
|
|
0, /* MIXED1IO19 */
|
|
0, /* MIXED1IO20 */
|
|
0, /* MIXED1IO21 */
|
|
0, /* MIXED2IO0 */
|
|
0, /* MIXED2IO1 */
|
|
0, /* MIXED2IO2 */
|
|
0, /* MIXED2IO3 */
|
|
0, /* MIXED2IO4 */
|
|
0, /* MIXED2IO5 */
|
|
0, /* MIXED2IO6 */
|
|
0, /* MIXED2IO7 */
|
|
0, /* GPLINMUX48 */
|
|
0, /* GPLINMUX49 */
|
|
0, /* GPLINMUX50 */
|
|
0, /* GPLINMUX51 */
|
|
0, /* GPLINMUX52 */
|
|
0, /* GPLINMUX53 */
|
|
0, /* GPLINMUX54 */
|
|
0, /* GPLINMUX55 */
|
|
0, /* GPLINMUX56 */
|
|
0, /* GPLINMUX57 */
|
|
0, /* GPLINMUX58 */
|
|
0, /* GPLINMUX59 */
|
|
0, /* GPLINMUX60 */
|
|
0, /* GPLINMUX61 */
|
|
0, /* GPLINMUX62 */
|
|
0, /* GPLINMUX63 */
|
|
0, /* GPLINMUX64 */
|
|
0, /* GPLINMUX65 */
|
|
0, /* GPLINMUX66 */
|
|
0, /* GPLINMUX67 */
|
|
0, /* GPLINMUX68 */
|
|
0, /* GPLINMUX69 */
|
|
0, /* GPLINMUX70 */
|
|
1, /* GPLMUX0 */
|
|
1, /* GPLMUX1 */
|
|
1, /* GPLMUX2 */
|
|
1, /* GPLMUX3 */
|
|
1, /* GPLMUX4 */
|
|
1, /* GPLMUX5 */
|
|
1, /* GPLMUX6 */
|
|
1, /* GPLMUX7 */
|
|
1, /* GPLMUX8 */
|
|
1, /* GPLMUX9 */
|
|
1, /* GPLMUX10 */
|
|
1, /* GPLMUX11 */
|
|
1, /* GPLMUX12 */
|
|
1, /* GPLMUX13 */
|
|
1, /* GPLMUX14 */
|
|
1, /* GPLMUX15 */
|
|
1, /* GPLMUX16 */
|
|
1, /* GPLMUX17 */
|
|
1, /* GPLMUX18 */
|
|
1, /* GPLMUX19 */
|
|
1, /* GPLMUX20 */
|
|
1, /* GPLMUX21 */
|
|
1, /* GPLMUX22 */
|
|
1, /* GPLMUX23 */
|
|
1, /* GPLMUX24 */
|
|
1, /* GPLMUX25 */
|
|
1, /* GPLMUX26 */
|
|
1, /* GPLMUX27 */
|
|
1, /* GPLMUX28 */
|
|
1, /* GPLMUX29 */
|
|
1, /* GPLMUX30 */
|
|
1, /* GPLMUX31 */
|
|
1, /* GPLMUX32 */
|
|
1, /* GPLMUX33 */
|
|
1, /* GPLMUX34 */
|
|
1, /* GPLMUX35 */
|
|
1, /* GPLMUX36 */
|
|
1, /* GPLMUX37 */
|
|
1, /* GPLMUX38 */
|
|
1, /* GPLMUX39 */
|
|
1, /* GPLMUX40 */
|
|
1, /* GPLMUX41 */
|
|
1, /* GPLMUX42 */
|
|
1, /* GPLMUX43 */
|
|
1, /* GPLMUX44 */
|
|
1, /* GPLMUX45 */
|
|
1, /* GPLMUX46 */
|
|
1, /* GPLMUX47 */
|
|
1, /* GPLMUX48 */
|
|
1, /* GPLMUX49 */
|
|
1, /* GPLMUX50 */
|
|
1, /* GPLMUX51 */
|
|
1, /* GPLMUX52 */
|
|
1, /* GPLMUX53 */
|
|
1, /* GPLMUX54 */
|
|
1, /* GPLMUX55 */
|
|
1, /* GPLMUX56 */
|
|
1, /* GPLMUX57 */
|
|
1, /* GPLMUX58 */
|
|
1, /* GPLMUX59 */
|
|
1, /* GPLMUX60 */
|
|
1, /* GPLMUX61 */
|
|
1, /* GPLMUX62 */
|
|
1, /* GPLMUX63 */
|
|
1, /* GPLMUX64 */
|
|
1, /* GPLMUX65 */
|
|
1, /* GPLMUX66 */
|
|
1, /* GPLMUX67 */
|
|
1, /* GPLMUX68 */
|
|
1, /* GPLMUX69 */
|
|
1, /* GPLMUX70 */
|
|
0, /* NANDUSEFPGA */
|
|
0, /* UART0USEFPGA */
|
|
0, /* RGMII1USEFPGA */
|
|
0, /* SPIS0USEFPGA */
|
|
0, /* CAN0USEFPGA */
|
|
0, /* I2C0USEFPGA */
|
|
0, /* SDMMCUSEFPGA */
|
|
0, /* QSPIUSEFPGA */
|
|
0, /* SPIS1USEFPGA */
|
|
0, /* RGMII0USEFPGA */
|
|
0, /* UART1USEFPGA */
|
|
0, /* CAN1USEFPGA */
|
|
0, /* USB1USEFPGA */
|
|
0, /* I2C3USEFPGA */
|
|
0, /* I2C2USEFPGA */
|
|
0, /* I2C1USEFPGA */
|
|
0, /* SPIM1USEFPGA */
|
|
0, /* USB0USEFPGA */
|
|
0 /* SPIM0USEFPGA */
|
|
};
|
|
#endif /* CONFIG_TARGET_SOCFPGA_CYCLONE5 */
|
|
|
|
#ifdef CONFIG_TARGET_SOCFPGA_ARRIA5
|
|
/* pin mux configuration data */
|
|
unsigned long sys_mgr_init_table[CONFIG_HPS_PINMUX_NUM] = {
|
|
0, /* EMACIO0 */
|
|
2, /* EMACIO1 */
|
|
2, /* EMACIO2 */
|
|
2, /* EMACIO3 */
|
|
2, /* EMACIO4 */
|
|
2, /* EMACIO5 */
|
|
2, /* EMACIO6 */
|
|
2, /* EMACIO7 */
|
|
2, /* EMACIO8 */
|
|
0, /* EMACIO9 */
|
|
2, /* EMACIO10 */
|
|
2, /* EMACIO11 */
|
|
2, /* EMACIO12 */
|
|
2, /* EMACIO13 */
|
|
3, /* EMACIO14 */
|
|
3, /* EMACIO15 */
|
|
3, /* EMACIO16 */
|
|
3, /* EMACIO17 */
|
|
3, /* EMACIO18 */
|
|
3, /* EMACIO19 */
|
|
3, /* FLASHIO0 */
|
|
0, /* FLASHIO1 */
|
|
3, /* FLASHIO2 */
|
|
3, /* FLASHIO3 */
|
|
0, /* FLASHIO4 */
|
|
0, /* FLASHIO5 */
|
|
0, /* FLASHIO6 */
|
|
0, /* FLASHIO7 */
|
|
0, /* FLASHIO8 */
|
|
3, /* FLASHIO9 */
|
|
3, /* FLASHIO10 */
|
|
3, /* FLASHIO11 */
|
|
3, /* GENERALIO0 */
|
|
3, /* GENERALIO1 */
|
|
3, /* GENERALIO2 */
|
|
3, /* GENERALIO3 */
|
|
3, /* GENERALIO4 */
|
|
3, /* GENERALIO5 */
|
|
3, /* GENERALIO6 */
|
|
3, /* GENERALIO7 */
|
|
3, /* GENERALIO8 */
|
|
0, /* GENERALIO9 */
|
|
0, /* GENERALIO10 */
|
|
0, /* GENERALIO11 */
|
|
0, /* GENERALIO12 */
|
|
0, /* GENERALIO13 */
|
|
0, /* GENERALIO14 */
|
|
3, /* GENERALIO15 */
|
|
3, /* GENERALIO16 */
|
|
2, /* GENERALIO17 */
|
|
2, /* GENERALIO18 */
|
|
0, /* GENERALIO19 */
|
|
0, /* GENERALIO20 */
|
|
0, /* GENERALIO21 */
|
|
0, /* GENERALIO22 */
|
|
3, /* GENERALIO23 */
|
|
3, /* GENERALIO24 */
|
|
0, /* GENERALIO25 */
|
|
0, /* GENERALIO26 */
|
|
0, /* GENERALIO27 */
|
|
0, /* GENERALIO28 */
|
|
0, /* GENERALIO29 */
|
|
0, /* GENERALIO30 */
|
|
0, /* GENERALIO31 */
|
|
0, /* MIXED1IO0 */
|
|
0, /* MIXED1IO1 */
|
|
0, /* MIXED1IO2 */
|
|
0, /* MIXED1IO3 */
|
|
0, /* MIXED1IO4 */
|
|
0, /* MIXED1IO5 */
|
|
0, /* MIXED1IO6 */
|
|
0, /* MIXED1IO7 */
|
|
0, /* MIXED1IO8 */
|
|
0, /* MIXED1IO9 */
|
|
0, /* MIXED1IO10 */
|
|
0, /* MIXED1IO11 */
|
|
0, /* MIXED1IO12 */
|
|
0, /* MIXED1IO13 */
|
|
0, /* MIXED1IO14 */
|
|
3, /* MIXED1IO15 */
|
|
3, /* MIXED1IO16 */
|
|
3, /* MIXED1IO17 */
|
|
3, /* MIXED1IO18 */
|
|
3, /* MIXED1IO19 */
|
|
3, /* MIXED1IO20 */
|
|
0, /* MIXED1IO21 */
|
|
3, /* MIXED2IO0 */
|
|
3, /* MIXED2IO1 */
|
|
3, /* MIXED2IO2 */
|
|
3, /* MIXED2IO3 */
|
|
3, /* MIXED2IO4 */
|
|
3, /* MIXED2IO5 */
|
|
3, /* MIXED2IO6 */
|
|
3, /* MIXED2IO7 */
|
|
0, /* GPLINMUX48 */
|
|
0, /* GPLINMUX49 */
|
|
0, /* GPLINMUX50 */
|
|
0, /* GPLINMUX51 */
|
|
0, /* GPLINMUX52 */
|
|
0, /* GPLINMUX53 */
|
|
0, /* GPLINMUX54 */
|
|
0, /* GPLINMUX55 */
|
|
0, /* GPLINMUX56 */
|
|
0, /* GPLINMUX57 */
|
|
0, /* GPLINMUX58 */
|
|
0, /* GPLINMUX59 */
|
|
0, /* GPLINMUX60 */
|
|
0, /* GPLINMUX61 */
|
|
0, /* GPLINMUX62 */
|
|
0, /* GPLINMUX63 */
|
|
0, /* GPLINMUX64 */
|
|
0, /* GPLINMUX65 */
|
|
0, /* GPLINMUX66 */
|
|
0, /* GPLINMUX67 */
|
|
0, /* GPLINMUX68 */
|
|
0, /* GPLINMUX69 */
|
|
0, /* GPLINMUX70 */
|
|
1, /* GPLMUX0 */
|
|
1, /* GPLMUX1 */
|
|
1, /* GPLMUX2 */
|
|
1, /* GPLMUX3 */
|
|
1, /* GPLMUX4 */
|
|
1, /* GPLMUX5 */
|
|
1, /* GPLMUX6 */
|
|
1, /* GPLMUX7 */
|
|
1, /* GPLMUX8 */
|
|
1, /* GPLMUX9 */
|
|
1, /* GPLMUX10 */
|
|
1, /* GPLMUX11 */
|
|
1, /* GPLMUX12 */
|
|
1, /* GPLMUX13 */
|
|
1, /* GPLMUX14 */
|
|
1, /* GPLMUX15 */
|
|
1, /* GPLMUX16 */
|
|
1, /* GPLMUX17 */
|
|
1, /* GPLMUX18 */
|
|
1, /* GPLMUX19 */
|
|
1, /* GPLMUX20 */
|
|
1, /* GPLMUX21 */
|
|
1, /* GPLMUX22 */
|
|
1, /* GPLMUX23 */
|
|
1, /* GPLMUX24 */
|
|
1, /* GPLMUX25 */
|
|
1, /* GPLMUX26 */
|
|
1, /* GPLMUX27 */
|
|
1, /* GPLMUX28 */
|
|
1, /* GPLMUX29 */
|
|
1, /* GPLMUX30 */
|
|
1, /* GPLMUX31 */
|
|
1, /* GPLMUX32 */
|
|
1, /* GPLMUX33 */
|
|
1, /* GPLMUX34 */
|
|
1, /* GPLMUX35 */
|
|
1, /* GPLMUX36 */
|
|
1, /* GPLMUX37 */
|
|
1, /* GPLMUX38 */
|
|
1, /* GPLMUX39 */
|
|
1, /* GPLMUX40 */
|
|
1, /* GPLMUX41 */
|
|
1, /* GPLMUX42 */
|
|
1, /* GPLMUX43 */
|
|
1, /* GPLMUX44 */
|
|
1, /* GPLMUX45 */
|
|
1, /* GPLMUX46 */
|
|
1, /* GPLMUX47 */
|
|
1, /* GPLMUX48 */
|
|
1, /* GPLMUX49 */
|
|
1, /* GPLMUX50 */
|
|
1, /* GPLMUX51 */
|
|
1, /* GPLMUX52 */
|
|
1, /* GPLMUX53 */
|
|
1, /* GPLMUX54 */
|
|
1, /* GPLMUX55 */
|
|
1, /* GPLMUX56 */
|
|
1, /* GPLMUX57 */
|
|
1, /* GPLMUX58 */
|
|
1, /* GPLMUX59 */
|
|
1, /* GPLMUX60 */
|
|
1, /* GPLMUX61 */
|
|
1, /* GPLMUX62 */
|
|
1, /* GPLMUX63 */
|
|
1, /* GPLMUX64 */
|
|
1, /* GPLMUX65 */
|
|
1, /* GPLMUX66 */
|
|
1, /* GPLMUX67 */
|
|
1, /* GPLMUX68 */
|
|
1, /* GPLMUX69 */
|
|
1, /* GPLMUX70 */
|
|
0, /* NANDUSEFPGA */
|
|
0, /* UART0USEFPGA */
|
|
0, /* RGMII1USEFPGA */
|
|
0, /* SPIS0USEFPGA */
|
|
0, /* CAN0USEFPGA */
|
|
0, /* I2C0USEFPGA */
|
|
0, /* SDMMCUSEFPGA */
|
|
0, /* QSPIUSEFPGA */
|
|
0, /* SPIS1USEFPGA */
|
|
0, /* RGMII0USEFPGA */
|
|
0, /* UART1USEFPGA */
|
|
0, /* CAN1USEFPGA */
|
|
0, /* USB1USEFPGA */
|
|
0, /* I2C3USEFPGA */
|
|
0, /* I2C2USEFPGA */
|
|
0, /* I2C1USEFPGA */
|
|
0, /* SPIM1USEFPGA */
|
|
0, /* USB0USEFPGA */
|
|
0 /* SPIM0USEFPGA */
|
|
};
|
|
#endif /* CONFIG_TARGET_SOCFPGA_ARRIA5 */
|