GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing doc.coreboot.org — Adding new devices to a device tree — coreboot 26.09-612-g66e704b166f documentation Adding new devices to a device treeIntroductionACPI exposes a platform-independent interface for operating systems to perform power management and other platform-level functions. Some operating systems also use ACPI to enumerate devices that are not immediately discoverable, such as those behind I2C or SPI buses (in contrast to PCI). This document discusses the way that coreboot uses the concept of a “device tree” to generate ACPI tables for usage by the operating system. Devicetree and overridetree (if applicable)For mainboards that are organized around a “reference board” or “baseboard”
model (see Naming and referencing devicesWhen declaring a device, it can optionally be given an alias that can be
referred to elsewhere. This is particularly useful to declare a device in one
device tree while allowing its configuration to be more easily changed in an
overlay. For instance, the AMD Picasso SoC definition
( chip soc/amd/picasso device domain 0 on ... device pci 00.2 alias iommu off end ... end end A device based on this SoC can override the configuration for the IOMMU without
duplicating addresses, as in
chip soc/amd/picasso device domain 0 ... device ref iommu on end ... end end In this example the override simply enables the IOMMU, but it could also
set additional properties (or even add child devices) inside the IOMMU It is important to note that devices that use chip soc/amd/picasso # NOTE: not inside domain 0! device ref iommu on end end Then this would leave the SoC’s IOMMU disabled, and instead create a new device with no properties as a direct child of the SoC. Device driversPlatform independent device drivers are hooked up via entries in a devicetree. See Driver Devicetree Entries for more info. Notes
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |