SPI1 SPI signals are available at different Naon pins. '''The configuration described below is dedicated to the NaonEVB-Mid carrier board''', which provides the SPI1 and SPI3 signals at the '''J21''' connector (please refer to [[NaonEVB-Mid | NaonEVB-Mid wiki page]] for further details). The following is the pin multiplexing configuration can be used:
==== Option 1 ====
{|class="wikitable" style="text-align:right"
!Signal
!Naon Connector Phisical Pin
!CPU Ball
|-
|SPI1_SCLK
|J1.34
|AC3
|-
|SPI1_SCS1n
|J2.112
|W6
|-
|SPI1_D0
|J1.37
|AA6
|-
|SPI1_D1
|J1.90
|AA3
|-
|
|
|-
|SPI3_SCLK|J2.99|AC26
|-
|SPI3_SCS1n|J2.111|AG27
|-
|SPI3_D0|J2.89|V22
|-
|SPI3_D1|J2.87|AA25
|}
=== U-Boot patches patch ===
{{ImportantMessage|text=The patches below applies to NELK 4.0.0 and above U-Boot source tree.}}
The files <code>arch/arm/mach-omap2/board-diva.c</code> and <code>arch/armdave/mach-omap2naon/diva_pinmux_tablepinmux_evb_mid.h</code> must be modified according to the following patchespatch:
U-Boot must be rebuilt to make these modifications effective.
=== Linux kernel patches patch ===
{{ImportantMessage|text=The patches below applies to NELK 4.0.0 and above Linux source tree.}}
The files <code>arch/arm/mach-omap2/board-divanaon.c</code> and <code>archdrivers/armspi/mach-omap2/diva_pinmux_tableomap2_mcspi.hc</code> must be modified according to the following patchespatch: