summaryrefslogtreecommitdiffstats
path: root/sys/arm/allwinner
Commit message (Collapse)AuthorAgeFilesLines
* Fix undefined behaviour in several gpio_pin_setflags() routines (underdim2013-04-131-2/+2
| | | | | | | | | sys/arm and sys/mips), squelching the clang 3.3 warnings about this. Noticed by: tinderbox and many irate spectators Submitted by: Luiz Otavio O Souza <loos.br@gmail.com> PR: kern/177759 MFC after: 3 days
* Enable uart driver for A10.ganbold2013-03-011-1/+1
| | | | Approved by: gonzo@
* MFcalloutng:mav2013-02-281-22/+13
| | | | | | | Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime even in theory, not speaking about practical inexpediency. This change legitimates the status quo and cleans up the code.
* Define gpio constants rather than using enum.ganbold2013-02-191-11/+7
| | | | | | | | Fix pull-up and pull-down values of gpio. According to A10 user manual possible pull register values are 00 Pull-up/down disable, 01 Pull-up, 10 Pull-down. Approved by: gonzo@
* Enable USB1 (which is EHCI0) for Allwinner A10gonzo2013-02-153-0/+7
| | | | Tested by: ganbold@
* Remove debug outputgonzo2013-02-121-1/+0
|
* A10 reset mechanism is the same for all boards in this family so removegonzo2013-02-111-6/+3
| | | | | redundant reset function implementation pointer. We might want to ressurect it later when support for other Allwinner chips is introduced.
* Add watchdog driver for Allwinner A10gonzo2013-02-113-0/+230
|
* Use and set gpio pin to high to power up usb.ganbold2013-02-061-1/+17
| | | | Approved by: gonzo@
* Remove two dead assignments andganbold2013-02-051-14/+14
| | | | | | | make use of sc more explicit and clear Submitted by: Christoph Mallon Approved by: gonzo@
* Add gpio driver and update dts and kernel config accordingly.ganbold2013-02-052-0/+522
| | | | Approved by: gonzo@
* Add simple clock driver and ehci glue code for a10ganbold2013-01-294-0/+566
| | | | | | Update dts and kernel config Approved by: gonzo@
* Fix method of naming compatible string to followganbold2013-01-253-3/+3
| | | | | | | | "<manufacturer>,<model>" as described in http://www.devicetree.org/Device_Tree_Usage Reviewed by: andrew@ Approved by: gonzo@
* Fix timer to support oneshot and periodic modeganbold2013-01-241-75/+113
| | | | | | | Use 64 bit high and low counter for timecounter and delay Reviewed by: mav@, ian@ Approved by: gonzo@
* Fix style bugsganbold2013-01-161-30/+26
| | | | | | | | Use defined constant instead of variable for reg_shift Change u_int32_t to uint32_t Approved by: gonzo Suggested by: bde, wkoszek
* Add mistakenly removed third clause to licenseganbold2013-01-151-3/+6
| | | | Reviewed by: joel
* Fix formatting of license according to share/examples/etc/bsd-style-copyrightganbold2013-01-155-5/+5
| | | | Reviewed by: joel
* Fix license to follow standard license templateganbold2013-01-155-20/+15
| | | | Reviewed by: joel
* Initial support for Allwinner A10 SoC (Cubieboard)ganbold2013-01-158-0/+1036
Add simple console driver Add interrupt handling and timer codes Add kernel config file Add dts file Approved by: gonzo
OpenPOWER on IntegriCloud