xref: /linux/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1* QEMU PVPANIC MMIO Configuration bindings
2
3QEMU's emulation / virtualization targets provide the following PVPANIC
4MMIO Configuration interface on the "virt" machine.
5type:
6
7- a read-write, 16-bit wide data register.
8
9QEMU exposes the data register to guests as memory mapped registers.
10
11Required properties:
12
13- compatible: "qemu,pvpanic-mmio".
14- reg: the MMIO region used by the device.
15  * Bytes 0x0  Write panic event to the reg when guest OS panics.
16  * Bytes 0x1  Reserved.
17
18Example:
19
20/ {
21        #size-cells = <0x2>;
22        #address-cells = <0x2>;
23
24        pvpanic-mmio@9060000 {
25                compatible = "qemu,pvpanic-mmio";
26                reg = <0x0 0x9060000 0x0 0x2>;
27        };
28};
29
30