blob: 6565429867e949cf397a3d669633b1240361e548 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Bin Menga65b25d2015-05-07 21:34:08 +08002/*
3 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
Bin Menga65b25d2015-05-07 21:34:08 +08004 */
5
6/dts-v1/;
7
Bin Meng5c564222015-06-03 09:20:06 +08008#include <dt-bindings/interrupt-router/intel-irq.h>
9
Bin Menga65b25d2015-05-07 21:34:08 +080010/include/ "skeleton.dtsi"
11/include/ "serial.dtsi"
Bin Mengb6ff6ce2015-11-12 05:33:06 -080012/include/ "keyboard.dtsi"
Bin Meng93f8a312015-07-15 16:23:39 +080013/include/ "rtc.dtsi"
Bin Meng80af3982015-11-13 00:11:22 -080014/include/ "tsc_timer.dtsi"
Bin Menga65b25d2015-05-07 21:34:08 +080015
16/ {
Bin Meng683b09d2015-06-03 09:20:04 +080017 model = "QEMU x86 (I440FX)";
Bin Menga65b25d2015-05-07 21:34:08 +080018 compatible = "qemu,x86";
19
20 config {
21 silent_console = <0>;
22 };
23
24 chosen {
25 stdout-path = "/serial";
26 };
27
Bin Menga8ebf282015-07-22 01:21:13 -070028 cpus {
29 #address-cells = <1>;
30 #size-cells = <0>;
Bin Meng2cffd902017-01-18 03:32:57 -080031 u-boot,dm-pre-reloc;
Bin Menga8ebf282015-07-22 01:21:13 -070032
33 cpu@0 {
34 device_type = "cpu";
Miao Yan5a694052016-01-07 01:32:01 -080035 compatible = "cpu-qemu";
Bin Meng2cffd902017-01-18 03:32:57 -080036 u-boot,dm-pre-reloc;
Bin Menga8ebf282015-07-22 01:21:13 -070037 reg = <0>;
38 intel,apic-id = <0>;
39 };
40 };
41
Bin Meng80af3982015-11-13 00:11:22 -080042 tsc-timer {
43 clock-frequency = <1000000000>;
44 };
45
Bin Menga65b25d2015-05-07 21:34:08 +080046 pci {
47 compatible = "pci-x86";
48 #address-cells = <3>;
49 #size-cells = <2>;
50 u-boot,dm-pre-reloc;
51 ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
52 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
53 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
Bin Meng5c564222015-06-03 09:20:06 +080054
Simon Glassf2b85ab2016-01-18 20:19:21 -070055 pch@1,0 {
Bin Meng5c564222015-06-03 09:20:06 +080056 reg = <0x00000800 0 0 0 0>;
Simon Glassf2b85ab2016-01-18 20:19:21 -070057 compatible = "intel,pch7";
Bin Meng2cffd902017-01-18 03:32:57 -080058 u-boot,dm-pre-reloc;
Simon Glassf2b85ab2016-01-18 20:19:21 -070059
60 irq-router {
61 compatible = "intel,irq-router";
Bin Meng2cffd902017-01-18 03:32:57 -080062 u-boot,dm-pre-reloc;
Simon Glassf2b85ab2016-01-18 20:19:21 -070063 intel,pirq-config = "pci";
64 intel,pirq-link = <0x60 4>;
65 intel,pirq-mask = <0x0e40>;
66 intel,pirq-routing = <
67 /* PIIX UHCI */
68 PCI_BDF(0, 1, 2) INTD PIRQD
69 /* e1000 NIC */
70 PCI_BDF(0, 3, 0) INTA PIRQC
71 >;
72 };
Bin Meng5c564222015-06-03 09:20:06 +080073 };
Bin Menga65b25d2015-05-07 21:34:08 +080074 };
75
76};