Showing changes from revision #7 to #8:
Added | Removed | Changed
Currently, only API version 0 is defined. API version 0 is tailored towards OMAP3 machines and exists only to report basic information about the hardware that the OS is running on.
struct gpiodevice { struct device dev; int boardtype; int revision; };
The boardtype and revision entries are used to indicate the type and revision of the board that the OS is running on. This is to allow the GPIO manager to provide the relevant features to the user.
Processor | Board type | Revision | Description | |
---|---|---|---|---|
0 | 0 | 0 | BeagleBoard revision A or B | |
1 | BeagleBoard revision C1, C2 or C3 | |||
2 | BeagleBoard revision C4 | |||
3 | BeagleBoard-xM revision A | |||
4 | BeagleBoard-xM revision B | |||
5 | BeagleBoard-xM revision C | |||
1 | 0 | DevKit8000, unknown revision | ||
2 | 0 | IGEPv2 revision B or C (B compatible) | ||
1 | IGEPv2 revision C (not B compatible) | |||
3 | 0 | Pandora, unknown revision | ||
1 | 0 | 0 | PandaBoard | |
1 | PandaBoardES | |||
2 | 0 | 0 | Raspberry Pi B Revision 1 | |
1 | Raspberry Pi B Revision 2 | |||
2 | Raspberry Pi A Revision 2 | |||
3 | Raspberry Pi B+ | |||
4 | Raspberry Pi Compute Module Revision 1 | |||
5 | Raspberry Pi 2 A (requires confirmation) | |||
6 | Raspberry Pi 2 B |
For API version 0, the dev.Activate, dev.Deactivate, dev.Reset and dev.Sleep entries are dummy entries and don’t need to be used.
There is currently no support for this HAL device in RISC OS. It is only exposed by the HAL to allow third-party programs to make use of the GPIO hardware.
Device ID | Description | Implemented in |
---|---|---|
HALDeviceID_GPIO_OMAP3 | OMAP3 GPIO interface | HAL.OMAP3.s.GPIO |