ganbold
65c312a935
Enable uart driver for A10.
...
Approved by: gonzo@
2013-03-01 01:47:11 +00:00
mav
6cf7cc6e4d
MFcalloutng:
...
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.
2013-02-28 13:46:03 +00:00
ganbold
66b9a88a92
Define gpio constants rather than using enum.
...
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@
2013-02-19 02:01:35 +00:00
gonzo
1da1883208
Enable USB1 (which is EHCI0) for Allwinner A10
...
Tested by: ganbold@
2013-02-15 21:29:03 +00:00
gonzo
230643b5db
Remove debug output
2013-02-12 07:27:40 +00:00
gonzo
3647f040d3
A10 reset mechanism is the same for all boards in this family so remove
...
redundant reset function implementation pointer. We might want to
ressurect it later when support for other Allwinner chips is introduced.
2013-02-11 11:33:56 +00:00
gonzo
b841d961bd
Add watchdog driver for Allwinner A10
2013-02-11 11:31:23 +00:00
ganbold
e1ce6ad8dd
Use and set gpio pin to high to power up usb.
...
Approved by: gonzo@
2013-02-06 01:03:13 +00:00
ganbold
cb0688f6b3
Remove two dead assignments and
...
make use of sc more explicit and clear
Submitted by: Christoph Mallon
Approved by: gonzo@
2013-02-05 04:13:34 +00:00
ganbold
5e7c84227a
Add gpio driver and update dts and kernel config accordingly.
...
Approved by: gonzo@
2013-02-05 02:25:13 +00:00
ganbold
dae46a4471
Add simple clock driver and ehci glue code for a10
...
Update dts and kernel config
Approved by: gonzo@
2013-01-29 07:21:50 +00:00
ganbold
8533809c9b
Fix method of naming compatible string to follow
...
"<manufacturer>,<model>" as described in
http://www.devicetree.org/Device_Tree_Usage
Reviewed by: andrew@
Approved by: gonzo@
2013-01-25 07:21:22 +00:00
ganbold
7b91243db5
Fix timer to support oneshot and periodic mode
...
Use 64 bit high and low counter for timecounter and delay
Reviewed by: mav@, ian@
Approved by: gonzo@
2013-01-24 09:36:50 +00:00
ganbold
cd9a4ba4e7
Fix style bugs
...
Use defined constant instead of variable for reg_shift
Change u_int32_t to uint32_t
Approved by: gonzo
Suggested by: bde, wkoszek
2013-01-16 08:04:55 +00:00
ganbold
471c910190
Add mistakenly removed third clause to license
...
Reviewed by: joel
2013-01-15 09:56:20 +00:00
ganbold
29c90575f9
Fix formatting of license according to share/examples/etc/bsd-style-copyright
...
Reviewed by: joel
2013-01-15 09:39:11 +00:00
ganbold
6cbb1f4892
Fix license to follow standard license template
...
Reviewed by: joel
2013-01-15 09:31:13 +00:00
ganbold
a0e69297d0
Initial support for Allwinner A10 SoC (Cubieboard)
...
Add simple console driver
Add interrupt handling and timer codes
Add kernel config file
Add dts file
Approved by: gonzo
2013-01-15 08:26:16 +00:00