]>
Commit | Line | Data |
---|---|---|
a65b25d1 BM |
1 | /* |
2 | * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0+ | |
5 | */ | |
6 | ||
7 | /dts-v1/; | |
8 | ||
5c564226 BM |
9 | #include <dt-bindings/interrupt-router/intel-irq.h> |
10 | ||
a65b25d1 BM |
11 | /include/ "skeleton.dtsi" |
12 | /include/ "serial.dtsi" | |
b6ff6ce6 | 13 | /include/ "keyboard.dtsi" |
93f8a311 | 14 | /include/ "rtc.dtsi" |
80af3984 | 15 | /include/ "tsc_timer.dtsi" |
a65b25d1 BM |
16 | |
17 | / { | |
683b09d7 | 18 | model = "QEMU x86 (I440FX)"; |
a65b25d1 BM |
19 | compatible = "qemu,x86"; |
20 | ||
21 | config { | |
22 | silent_console = <0>; | |
23 | }; | |
24 | ||
25 | chosen { | |
26 | stdout-path = "/serial"; | |
27 | }; | |
28 | ||
a8ebf283 BM |
29 | cpus { |
30 | #address-cells = <1>; | |
31 | #size-cells = <0>; | |
32 | ||
33 | cpu@0 { | |
34 | device_type = "cpu"; | |
5a694056 | 35 | compatible = "cpu-qemu"; |
a8ebf283 BM |
36 | reg = <0>; |
37 | intel,apic-id = <0>; | |
38 | }; | |
a2eb65fc BM |
39 | |
40 | cpu@1 { | |
41 | device_type = "cpu"; | |
5a694056 | 42 | compatible = "cpu-qemu"; |
a2eb65fc BM |
43 | reg = <1>; |
44 | intel,apic-id = <1>; | |
45 | }; | |
a8ebf283 BM |
46 | }; |
47 | ||
80af3984 BM |
48 | tsc-timer { |
49 | clock-frequency = <1000000000>; | |
50 | }; | |
51 | ||
a65b25d1 BM |
52 | pci { |
53 | compatible = "pci-x86"; | |
54 | #address-cells = <3>; | |
55 | #size-cells = <2>; | |
56 | u-boot,dm-pre-reloc; | |
57 | ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000 | |
58 | 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000 | |
59 | 0x01000000 0x0 0x2000 0x2000 0 0xe000>; | |
5c564226 BM |
60 | |
61 | irq-router@1,0 { | |
62 | reg = <0x00000800 0 0 0 0>; | |
63 | compatible = "intel,irq-router"; | |
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 | }; | |
a65b25d1 BM |
74 | }; |
75 | ||
76 | }; |