1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/interrupt-router/intel-irq.h>
9
10/include/ "skeleton.dtsi"
11/include/ "serial.dtsi"
12/include/ "keyboard.dtsi"
13/include/ "reset.dtsi"
14/include/ "rtc.dtsi"
15/include/ "tsc_timer.dtsi"
16
17/ {
18	model = "QEMU x86 (I440FX)";
19	compatible = "qemu,x86";
20
21	config {
22		silent_console = <0>;
23	};
24
25	chosen {
26		stdout-path = "/serial";
27	};
28
29	cpus {
30		#address-cells = <1>;
31		#size-cells = <0>;
32		u-boot,dm-pre-reloc;
33
34		cpu@0 {
35			device_type = "cpu";
36			compatible = "cpu-qemu";
37			u-boot,dm-pre-reloc;
38			reg = <0>;
39			intel,apic-id = <0>;
40		};
41	};
42
43	tsc-timer {
44		clock-frequency = <1000000000>;
45	};
46
47	pci {
48		compatible = "pci-x86";
49		#address-cells = <3>;
50		#size-cells = <2>;
51		u-boot,dm-pre-reloc;
52		ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
53			0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
54			0x01000000 0x0 0x2000 0x2000 0 0xe000>;
55
56		pch@1,0 {
57			reg = <0x00000800 0 0 0 0>;
58			compatible = "intel,pch7";
59			u-boot,dm-pre-reloc;
60
61			irq-router {
62				compatible = "intel,irq-router";
63				u-boot,dm-pre-reloc;
64				intel,pirq-config = "pci";
65				intel,pirq-link = <0x60 4>;
66				intel,pirq-mask = <0x0e40>;
67				intel,pirq-routing = <
68					/* PIIX UHCI */
69					PCI_BDF(0, 1, 2) INTD PIRQD
70					/* e1000 NIC */
71					PCI_BDF(0, 3, 0) INTA PIRQC
72				>;
73			};
74		};
75	};
76
77};
78