summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt
Commit message (Collapse)AuthorAgeFilesLines
* Don't operate on the parent of the PCI node. It's the PCI node itselfmarcel2011-01-291-32/+234
| | | | | | | | | | | | | | | that represents the host controller. This makes the FDT PCI support working an a bare-bones manner. This needs a lot more work, of which the beginning are at the end of the file, compiled-out with #if 0. The intend being that both the Marvell PCIE and Freescale PCI/PCIX/PCIE duplicate the same platform-independent domain initialization, that should be moved into an unified implementation in the FDT code. Handling of resources requires help from the platform. A unified implementation allows us to properly support PCI devices listed in the device tree and configured according to the device tree specification. Sponsored by: Juniper Networks
* Call newbus_device_create() for PCI devices. Call pci_from_fdt_node()marcel2011-01-291-7/+8
| | | | for the newly created device_t, rather than the parent.
* Introduce macro FDT_MAP_IRQ to map from an interrupt controller andmarcel2011-01-291-2/+3
| | | | | interrupt pin pair to a global IRQ number. When multiple PICs exist on a board, the interrupt pin alone is not unique.
* Eliminate FDT_IMMR_VA define.raj2010-07-192-3/+3
| | | | | This removes platform dependencies from <machine>/fdt.h for the benfit of portability.
* Move MRVL FDT fixups and PIC decode routine to a platform specific area.raj2010-07-191-88/+0
| | | | | This allows for better encapsulation (and eliminates generic fdt_arm.c, at least for now).
* Convert Freescale PowerPC platforms to FDT convention.raj2010-07-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The following systems are affected: - MPC8555CDS - MPC8572DS This overhaul covers the following major changes: - All integrated peripherals drivers for Freescale MPC85XX SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values). - This includes: LBC, PCI / PCI-Express, I2C, DS1553, OpenPIC, TSEC, SEC, QUICC, UART, CFI. - Thanks to the common FDT infrastrucutre (fdtbus, simplebus) we retire ocpbus(4) driver, which was based on hard-coded config data. Note that world for these platforms has to be built WITH_FDT. Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Introduce PowerPC-specific helper routines for FDT.raj2010-07-111-0/+168
| | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Save fdtbus trigger / polarity data at their correct index.raj2010-07-111-2/+2
|
* Let simplebus(4) diagnostics be a bit more descriptive.raj2010-07-111-4/+7
|
* Initial FDT infrastructure elements for ARM.raj2010-06-131-0/+88
| | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Provide identify method for the fdtbus(4).raj2010-06-131-0/+10
| | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Import the common Flattened Device Tree infrastructure.raj2010-06-026-0/+2140
o fdtbus(4) - the main abstract bus driver for all FDT-compliant systems. This is a direct replacement for the many incompatible bus drivers grouping integrated peripherals on embedded platforms (like obio(4), ocpbus(4) etc.) o simplebus(4) - bus driver representing ePAPR style 'simple-bus' node, which is an umbrella device for most of the integrated peripherals on a typical system-on-chip device. o Other components (common routines library, PCI node processing helper functions) Reviewed by: imp Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud