![]() ![]() The following kernel output (or similar) shows the EEPROM driver was started. If the sys file system is not mounted (no /sys dir), then the following commands will create and mount it. The file, eeprom, is a file that can be read and written from user space. Test Procedure SysFs InterfaceThe EEPROM driver allows the contents of the EEPROM to be seen in the sys file system at /sys/bus/spi/devices/spi32766.0/eeprom. This field is required, but has not been tested with other values.Ĭompatible = "xlnx,axi-quad-spi-3.2", "xlnx,xps-spi-2.00.a" The value in the spi-max-frequency is the bus frequency. The value of 0 in the reg entry is the chip select for the EEPROM. The device-tree generator for the EDK does not create the EEPROM device on the SPI bus. This example was used to access an SPI EEPROM on the Aardvark board. From the device drivers menu, select SPI supportĭevicetree Settings Adding An SPI EEPROM to the Device TreeThe following example shows adding an SPI EEPROM to a device tree.The following steps may be used to enable the driver in the kernel configuration. There are higher layer drivers that allow the SPI driver to be used to access other devices such as an SPI serial EEPROM. Using An SPI EEPROM Driver As A Higher Layer: ![]() Kernel ConfigurationSPI may not be enabled in the default kernel configuration. Missing features, Known Issues and Limitations Configurable Slave Memories in dual and quad modes are: Mixed, Micron, Winbond, and.Configurable FIFO depth (16 or 256 element deep in Dual/Quad/Standard SPI mode) and.Programmable SPI clock phase and polarity.Connects as a 32-bit slave on either AXI4-Lite or AXI4 interface.Configurable eXecute In Place (XIP) mode of operation.Configurable AXI4 interface for burst mode operation for the Data Receive Register (DRR)Īnd the Data Transmit Register (DTR) FIFO.Configurable AXI4 interface when configured with an AXI4-Lite interface the core is backwardĬompatible with version 1.00 of the core (legacy mode).With the device tree and also finds nodes on the SPI such as an EEPROM. It's in the development branch as a patch has been submitted to the mainline kernel so that it works This driver is also in the master branch, but not updated for device tree there. OverviewThis information corresponds to the axi spi and axi quad-spi driver that's in the development branch of the GIT tree. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |