loos
1387cdb079
Add alternate descriptors support for if_dwc.
...
This also adds a newbus interface that allows a SoC to override the
following settings:
- if_dwc specific SoC initialization;
- if_dwc descriptor type;
- if_dwc MII clock.
This seems to be an old version of the hardware descriptors but it is
still in use in a few SoCs (namely Allwinner A20 and Amlogic at least).
Tested on Cubieboard2 and Banana pi.
Tested for regressions on Altera Cyclone by br@ (old version).
Obtained from: NetBSD
2015-09-20 14:13:29 +00:00
andrew
502d4577e2
Use the new gic option on all configs that need it.
2015-05-10 12:13:27 +00:00
andrew
5962f57b5d
Include vm/pmap.h for pmap_kextract.
2015-04-04 23:03:11 +00:00
andrew
e636228296
Stop using machine/fdt.h in the arm kernel code when we don't need it.
2015-04-04 21:34:26 +00:00
andrew
9b9d02caf2
Build the cpufunc_asm_* files based on the cpu type, not which config file
...
we happen to be building.
2015-03-29 22:43:39 +00:00
andrew
f3e1f9971a
Remove cpufunc_asm_arm11.S from the ARMv7 configs, it's not used.
2015-03-29 21:45:28 +00:00
andrew
c74b20a769
Stop building unused cpuvunc_* files, we don't need anything from these.
2015-03-29 17:33:03 +00:00
loos
5e1a593992
Implement GPIO_GET_BUS() method for all GPIO drivers.
...
Add helper routines to deal with attach and detach of gpiobus and gpioc
devices that are common to all drivers.
2015-01-31 19:32:14 +00:00
loos
a2924f5fee
Clean up and fix the device detach routine and the failure path on GPIO
...
drivers.
This paves the way for upcoming work.
2015-01-31 12:17:07 +00:00
ian
2a957de5c0
Rename bus_space-v6.c to bus_space_base.c, because it's not v6-specific
...
and now some v5 Marvell systems are using it. Only define fdt_bus_tag
if option FDT is defined.
2015-01-21 03:44:29 +00:00
andrew
1b85e73844
Rename gic_init_secondary to arm_init_secondary_ic to help with the merge
...
of the arm_intrng project branch.
2015-01-11 16:46:43 +00:00
br
76a7fec0c1
Add driver for general-purpose I/O (GPIO).
...
Sponsored by: DARPA, AFRL
2015-01-02 13:15:36 +00:00
ian
3bc3ae6d63
Remove -Wa,-march=armv7a from arm kernel configs, it makes clang 3.5 sad
...
and apparently isn't needed now that we're using the integrated assembler.
2015-01-01 23:21:46 +00:00
ian
4fe84e7e6c
Add -march=armv7a to the kernel compile for all ARM systems which are v7a.
...
Submitted by: Michal Meloun <meloun@miracle.cz>
2014-12-21 23:48:32 +00:00
br
b236515e57
o Add BERI Virtio Networking Frontend (if_vtbe)
...
o Move similar block/networking methods to common file
o Follow r275640 and correct MMIO registers width
o Pass value to MMIO platform_note method.
Sponsored by: DARPA, AFRL
2014-12-09 16:39:21 +00:00
br
bd01596633
Add new devices to the config.
2014-11-25 16:24:31 +00:00
br
58f9305267
o Add PIO and vtblk mmio device info to the tree
...
o Add FPGA memory window to static dev mappings
o Fix whitespace
2014-11-25 16:06:19 +00:00
br
81ed644a59
Provide a character device allowing us to access BERI memory regions.
...
Sponsored by: DARPA, AFRL
2014-10-22 11:30:03 +00:00
br
6d77d39adc
Add driver for Micrel KSZ9021 Gigabit Ethernet Transceiver (PHY).
...
Sponsored by: DARPA, AFRL
2014-10-21 09:14:16 +00:00
br
d6d9ee45cc
Add driver for BERI soft processor 'ring buffer' device.
...
Ring device provides a way for communicate to BERI
peripherals such as BERI debug unit and console.
Sponsored by: DARPA, AFRL
2014-10-19 16:26:49 +00:00
br
e178a5a745
o Add machine-dependent SMP part
...
o Enable SMP
Sponsored by: DARPA, AFRL
2014-10-10 14:35:51 +00:00
br
d607317057
Add driver for Synopsys DesignWare Mobile Storage Host Controller.
...
Sponsored by: DARPA, AFRL
2014-10-07 17:39:30 +00:00
br
0bafc6e378
Add driver for Synopsys DesignWare 3504-0 Universal 10/100/1000
...
Ethernet MAC.
Sponsored by: DARPA, AFRL
2014-09-25 18:03:14 +00:00
br
e32ad75659
Add Reset Manager driver. This driver provides generic way to reset
...
and provides sysctl tunables for enable/disable FPGA<->HPS bridges.
Sponsored by: DARPA, AFRL
2014-09-11 18:12:28 +00:00
br
ac6b458116
o Remove __unused attribute on variables which actually used
...
o Unmagic 'configuration done' bit
o Move probe() to place before attach() for better navigation
o Use bus_read_n instead of bus_space_read_n functions
Pointed out by: andrew
Sponsored by: DARPA, AFRL
2014-09-06 18:08:21 +00:00
br
bca742a609
Add FPGA Manager driver. This driver allows to program FPGA core
...
from FreeBSD userspace running on ARM core.
Sponsored by: DARPA, AFRL
2014-09-06 08:48:57 +00:00
br
f3c6b45c01
Add initial support for Altera SOCFPGA (heterogeneous ARM/FPGA) SoC family.
...
Include board configuration for Terasic SoCKit (Altera Cyclone V).
Sponsored by: DARPA, AFRL
2014-09-04 12:44:40 +00:00