xref: /freebsd/sys/contrib/device-tree/Bindings/misc/pvpanic-mmio.txt (revision a90b9d0159070121c221b966469c3e36d912bf82)
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