summaryrefslogtreecommitdiffstats
path: root/sys/arch/beagle/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In the future, we shouldn't have one port port ARM SoC, that's justpatrick2013-09-0431-10141/+0
| | | | | ridiculous. This is the first step for a common and generic ARM port for ARMv7 SoCs.
* Make ommmc interrupts show up in vmstat -i, systat, etc.stsp2013-08-251-3/+2
| | | | | | The interrupt handler used to always return zero, even if it did some work. Since interrupts aren't shared we can always return 1. ok patrick
* Remove useless and ugly (code before decl, wrong indentation) debug printfs.stsp2013-08-251-6/+1
| | | | ok patrick
* Use bus_space_set_region_4 instead of looping over bus_space_write_4,rapha2013-07-151-11/+5
| | | | | | and remove some includes. ok patrick@
* Fix some netbsd-specific things to make this driver work in OpenBSD.rapha2013-07-041-40/+90
| | | | ok bmercer@, patrick@
* Add OpenBSD RCS Tag.patrick2013-06-141-0/+2
|
* Rework beagle's ehci driver and add neccessay code to enable the clocks.patrick2013-06-147-133/+850
| | | | | | Only PandaBoard supported for now. Lots taken from FreeBSD. ok bmercer@
* Rework of the suspend/resume logic.mpi2013-06-121-2/+2
| | | | | | | | | | | | | Do not places the ports into suspend mode now that we detach/attach all USB devicess during a suspend/resume cycle. Emit a reset when reinitializing the controller after resume and try to use the same logic as in ehci_init(). Correctly wait for the controller to set the HCHalted bit to one before attempting a reset. Tested by many and have been in snap for a week.
* Add $OpenBSD$rapha2013-06-114-0/+4
|
* Activate the sitaracm driver. (beaglebone only)rapha2013-06-113-24/+22
| | | | ok bmercer@
* Add files for the sitara (am335x) Control Module driver.rapha2013-06-114-0/+864
| | | | | | From netbsd, almost unchanged for now. ok bmercer@
* Use the correct attach_args, + various detailsrapha2013-06-052-47/+15
| | | | ok bmercer@, patrick@
* Initial port of the cpsw driver from netbsd. This will support ethernetbmercer2013-06-054-2/+1420
| | | | | on the beaglebone. This will be easier to work on in tree. OK florian@ dlg@ "put it in" patrick@
* Add am335x as an omap device.rapha2013-05-223-2/+176
| | | | ok patrick@
* am335x has the mmc registers offset by 0x100, like omap4.rapha2013-05-211-13/+6
| | | | ok patrick@
* Small code clean up. Removing noisy printfs.bmercer2013-05-211-3/+1
|
* Remove some unused defines and make the number of interrupt lines variable.rapha2013-05-212-48/+33
| | | | ok bmercer@
* Add a driver for the am335x timers, to be used by the beaglebone.rapha2013-05-211-0/+414
| | | | | | Derived from the existing omap3 gptimer. ok patrick@
* Add basic prcm support for am335x.rapha2013-05-147-274/+441
| | | | | | | Use separate headers and enable/disablemodule functions for the different boards. A lot of work by patrick@. ok patrick@, bmercer@
* Add board id for beaglebone.rapha2013-05-141-1/+2
| | | | ok patrick@, bmercer@
* whitespacespatrick2013-05-103-43/+39
|
* Add a driver for the OMAP identification registers/fuses,patrick2013-05-093-2/+116
| | | | | | | so that we can adjust the timer frequency for PandaBoard version. From drahn at bitrig. ok bmercer@
* Have the ARM MPCore Timer use the private timer, which will be very usefulpatrick2013-05-091-2/+2
| | | | | | | for SMP on the newer ARMv7 boards. From drahn at dalerahn.com. ok bmercer@
* Fix a shift in the beagle prcm.patrick2013-05-031-2/+2
| | | | ok jsg@
* Don't return before calling splx.patrick2013-05-031-4/+6
| | | | found by and ok jsg@
* Add a cortex bus which represents the ARM MPCore Complex.patrick2013-05-014-974/+2
| | | | | | | | | | It will attach only to ARM Cortex A9 and A15 SoCs. The generic interrupt controller and timer will attach to this bus, later a secondary cache controller can be added. The base address for those controllers are figured out using the periphbase register. ok bmercer@
* Clean up ARM's generic interrupt controller and timer. Add the ability topatrick2013-04-262-30/+62
| | | | | | change the frequency and add match functions. ok bmercer@
* Add GPIO support for the PandaBoard. Disable BeagleBoard's unused interruptpatrick2013-04-251-65/+238
| | | | | | functions for now. ok bmercer@
* Add a terminator to the device list, so that we don't end up havingpatrick2013-04-253-5/+18
| | | | | | unexpected behaviour when a device isn't found. ok bmercer@
* Correctly enable ARM's Generic Interrupt Controller.patrick2013-04-251-2/+5
| | | | ok bmercer@
* more usb typedef removal falloutderaadt2013-04-202-11/+11
|
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-3/+1
| | | | ok guenther millert kettenis
* Let this build again. diff from deraadt "Sure you can commit that" deraadt@bmercer2012-11-031-3/+4
|
* Better clock rate .7% error is much better than 7% error.drahn2011-11-161-2/+2
|
* Remove pointless/debug prints during config.drahn2011-11-151-17/+1
|
* Bring back 'mostly' working omdog support.drahn2011-11-153-4/+25
|
* delay(1) is an extremely short delay, increase this to a measurable amountdrahn2011-11-151-3/+3
| | | | of time. Fixes a race with some upcoming code changes.
* Re-add overro board support. ok drahn@matthieu2011-11-111-1/+22
|
* Assert copyright; spotted by drahn@uwe2011-11-102-0/+36
|
* Missing UART irqs.drahn2011-11-102-11/+27
|
* Missing interrupts on gpio.drahn2011-11-102-0/+26
|
* Reduce autoconf(4) overuse on beagleuwe2011-11-1017-345/+627
| | | | | | | | | | | | Renamed `ahb' to `omap' and extended it to configure the on-chip devices directly, based a board-specific table instead of trying to maintain addresses, interrupt numbers and such for two OMAP variants in the same config file. This may be an intermediate step, but should provide us some relief already. :) Suggestions from deraadt and drahn; ok drahn@
* Fix bug where 'now' recomputation was incorrect,drahn2011-11-101-6/+16
| | | | | | | do not bother subtracting the old 'now' from the 64bit counters to determine which was sooner, add event counters for the clock/stat Do not have timers unless debugging the driver. Switch statclock to multiple of hz;
* Deal with the register offset on omap4430 where the registers moved by 0x100.drahn2011-11-101-21/+22
|
* Add gumstix overo support. It's very similar to be beagleboard at thismatthieu2011-11-1010-10/+20
| | | | | point. So add it's card id and handle it like the beagleboard. ok drahn@, miod@
* Missing argument to error printf()miod2011-11-091-2/+2
|
* Use the new priority as the priority to check against,drahn2011-11-091-3/+4
| | | | not the current (not yet lowered) priority. problem spotted by miod.
* External ampintc interrupts need to add 32 to the interrupt number,drahn2011-11-092-5/+23
| | | | while 'internal' should not. no complaints uwe@ miod@
* Cleanup and make initialization more readable. ok drahn@ uwe@miod2011-11-071-49/+20
|
* Fix GTIMER_STATUS offsetmiod2011-11-061-4/+4
|