Adrian Chadd
0bd5971780
Add AR934x specific GPIO functions and output MUX configuration.
...
Obtained from: Linux OpenWRT
2015-01-03 06:35:53 +00:00
Adrian Chadd
e2fa3a330a
Add AR934x GPIO function configuration.
...
Obtained from: Linux OpenWRT
2015-01-03 06:30:30 +00:00
Eitan Adler
7a22215c53
Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
...
shifts into the sign bit. Instead use (1U << 31) which gets the
expected result.
This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.
A similar change was made in OpenBSD.
Discussed with: -arch, rdivacky
Reviewed by: cperciva
2013-11-30 22:17:27 +00:00
Adrian Chadd
1ba1edb39d
Add the rest of the AR934x SoC reset register definitions.
...
Obtained from: Linux/OpenWRT
2013-10-14 23:58:52 +00:00
Adrian Chadd
490cbcd9cb
Add some missing AR934x register definitions.
...
These are needed for ethernet bootstrap.
Approved by: re@ (gjb)
2013-10-09 03:19:05 +00:00
Adrian Chadd
93286afa73
Import the initial SoC register definitions for the AR934x MIPS74k SoC.
...
Obtained from: Linux/OpenWRT
2013-07-08 06:12:38 +00:00