Open main menu

DAVE Developer's Wiki β

Enabling SPI1 and SPI3 on Linux (Naon)

Revision as of 09:47, 3 September 2013 by DevWikiAdmin (talk | contribs) (Created page with "{{InfoBoxTop}} {{Applies To Naon}} {{Applies To Linux}} {{InfoBoxBottom}} === Introduction === This article shows how to enable the SPI1 and SPI3 interfaces which can be use...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Info Box

Template:Applies To Naon

Tux.png Applies to Linux

Contents

IntroductionEdit

This article shows how to enable the SPI1 and SPI3 interfaces which can be used in a standard Linux application.

Pin Mux OptionEdit

SPI1 signals are available at different Naon pins. The following configuration can be used:

Option 1Edit

Signal Naon Connector Phisical Pin CPU Ball

U-Boot patchesEdit

The patches below applies to NELK 4.0.0 and above U-Boot source tree.


The files arch/arm/mach-omap2/board-diva.c and arch/arm/mach-omap2/diva_pinmux_table.h must be modified according to the following patches:

U-Boot must be rebuilt to make these modifications effective.


Linux kernel patchesEdit

The patches below applies to NELK 4.0.0 and above Linux source tree.


The files arch/arm/mach-omap2/board-diva.c and arch/arm/mach-omap2/diva_pinmux_table.h must be modified according to the following patches:

The kernel must be rebuilt to make these modifications effective.


Using the interfacesEdit

Users can access the peripherals connected to the SP1 and SPI3 buses through the spidev interface. For further information, please refer to

Patch downloadEdit

  • U-Boot:
  • Linux: