2022-03-17 14:28:32 +01:00
|
|
|
#ifndef BSP_EGSE_BOARDCONFIG_BUSCONF_H_
|
|
|
|
#define BSP_EGSE_BOARDCONFIG_BUSCONF_H_
|
|
|
|
|
|
|
|
namespace te0720_1cfa {
|
2022-03-17 19:51:00 +01:00
|
|
|
static constexpr char MPSOC_UART[] = "/dev/ttyPS1";
|
2022-03-17 14:28:32 +01:00
|
|
|
|
2022-05-10 07:48:36 +02:00
|
|
|
static constexpr char UIO_PDEC_REGISTERS[] = "/dev/uio0";
|
|
|
|
static constexpr char UIO_PTME[] = "/dev/uio1";
|
|
|
|
static constexpr char UIO_PDEC_CONFIG_MEMORY[] = "/dev/uio2";
|
|
|
|
static constexpr char UIO_PDEC_RAM[] = "/dev/uio3";
|
|
|
|
static constexpr int MAP_ID_PTME_CONFIG = 3;
|
|
|
|
|
|
|
|
namespace uiomapids {
|
|
|
|
static const int PTME_VC0 = 0;
|
|
|
|
static const int PTME_VC1 = 1;
|
|
|
|
static const int PTME_VC2 = 2;
|
|
|
|
static const int PTME_VC3 = 3;
|
|
|
|
static const int PTME_CONFIG = 4;
|
|
|
|
} // namespace uiomapids
|
|
|
|
|
|
|
|
namespace gpioNames {
|
|
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC0[] = "papb_busy_signal_vc0";
|
|
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC0[] = "papb_empty_signal_vc0";
|
|
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC1[] = "papb_busy_signal_vc1";
|
|
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC1[] = "papb_empty_signal_vc1";
|
|
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC2[] = "papb_busy_signal_vc2";
|
|
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC2[] = "papb_empty_signal_vc2";
|
|
|
|
static constexpr char PAPB_BUSY_SIGNAL_VC3[] = "papb_busy_signal_vc3";
|
|
|
|
static constexpr char PAPB_EMPTY_SIGNAL_VC3[] = "papb_empty_signal_vc3";
|
2022-06-08 07:16:12 +02:00
|
|
|
static constexpr char RS485_EN_TX_CLOCK[] = "tx_clock_enable_ltc2872";
|
|
|
|
static constexpr char RS485_EN_TX_DATA[] = "tx_data_enable_ltc2872";
|
|
|
|
static constexpr char RS485_EN_RX_CLOCK[] = "rx_clock_enable_ltc2872";
|
|
|
|
static constexpr char RS485_EN_RX_DATA[] = "rx_data_enable_ltc2872";
|
2022-05-10 07:48:36 +02:00
|
|
|
static constexpr char PDEC_RESET[] = "pdec_reset";
|
2022-03-17 14:28:32 +01:00
|
|
|
}
|
2022-05-10 07:48:36 +02:00
|
|
|
|
2022-03-17 14:28:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* BSP_EGSE_BOARDCONFIG_BUSCONF_H_ */
|