diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-02-09 14:24:14 -0800 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-02-15 16:47:46 -0800 |
commit | 66efdcd187473fe461642caf0675dae666c83027 (patch) | |
tree | 0b1d9ce6c97748e4e3f32a94124f8f800b73088a /examples/imx7_colibri_m4/pin_mux.h | |
parent | 0c5d4d438d4118c7931e6168fc59192e5f253762 (diff) |
add defines for Colibri standard SPI
The Colibri standard SPI is connected to the SoCs ECSPI3 instance. Add
defines as BOARD_ECSPI_... Also add board level pinmux and clock
readout support.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/pin_mux.h')
-rw-r--r-- | examples/imx7_colibri_m4/pin_mux.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/pin_mux.h b/examples/imx7_colibri_m4/pin_mux.h index adb5cc7..8ca7a7c 100644 --- a/examples/imx7_colibri_m4/pin_mux.h +++ b/examples/imx7_colibri_m4/pin_mux.h @@ -88,6 +88,18 @@ void configure_i2c_pins(I2C_Type* base); /* ===================================================================*/ void configure_uart_pins(UART_Type* base); +/*! +** @brief +** ECSPI method sets registers according routing settings. Call +** this method code to route desired pins into: +** ECSPI1, ECSPI2, ECSPI3, ECSPI4 +** peripherals. +** @param +** ECSPI_Type* base - ECSPI base address 1..4 +*/ +void configure_ecspi_pins(ECSPI_Type* base); + + #endif /* __PIN_MUX_H__ */ /******************************************************************************* * EOF |