The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/arm/fw-cfg.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * QEMU Firmware Configuration bindings for ARM
    2 
    3 QEMU's arm-softmmu and aarch64-softmmu emulation / virtualization targets
    4 provide the following Firmware Configuration interface on the "virt" machine
    5 type:
    6 
    7 - A write-only, 16-bit wide selector (or control) register,
    8 - a read-write, 64-bit wide data register.
    9 
   10 QEMU exposes the control and data register to ARM guests as memory mapped
   11 registers; their location is communicated to the guest's UEFI firmware in the
   12 DTB that QEMU places at the bottom of the guest's DRAM.
   13 
   14 The authoritative guest-side hardware interface documentation to the fw_cfg
   15 device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree.
   16 
   17 
   18 Required properties:
   19 
   20 - compatible: "qemu,fw-cfg-mmio".
   21 
   22 - reg: the MMIO region used by the device.
   23   * Bytes 0x0 to 0x7 cover the data register.
   24   * Bytes 0x8 to 0x9 cover the selector register.
   25   * Further registers may be appended to the region in case of future interface
   26     revisions / feature bits.
   27 
   28 Example:
   29 
   30 / {
   31         #size-cells = <0x2>;
   32         #address-cells = <0x2>;
   33 
   34         fw-cfg@9020000 {
   35                 compatible = "qemu,fw-cfg-mmio";
   36                 reg = <0x0 0x9020000 0x0 0xa>;
   37         };
   38 };

Cache object: e106f47438c4f568dc601f610a50b8fb


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.