blob: 2e5210d4ee6bf46601f3f5260ae8117a801e456e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Bin Meng2229c4c2015-05-07 21:34:08 +08002/*
3 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
Bin Meng2229c4c2015-05-07 21:34:08 +08004 */
5
6/dts-v1/;
7
Bin Mengef37e7b2015-06-03 09:20:06 +08008#include <dt-bindings/interrupt-router/intel-irq.h>
9
Bin Meng2229c4c2015-05-07 21:34:08 +080010/include/ "skeleton.dtsi"
11/include/ "serial.dtsi"
Bin Meng7ca73742015-11-12 05:33:06 -080012/include/ "keyboard.dtsi"
Bin Mengaf5b8d22018-07-19 03:07:33 -070013/include/ "reset.dtsi"
Bin Meng770fd332015-07-15 16:23:39 +080014/include/ "rtc.dtsi"
Bin Meng38de0202015-11-13 00:11:22 -080015/include/ "tsc_timer.dtsi"
Bin Meng2229c4c2015-05-07 21:34:08 +080016
17/ {
Bin Meng000883b2015-06-03 09:20:04 +080018 model = "QEMU x86 (I440FX)";
Bin Meng2229c4c2015-05-07 21:34:08 +080019 compatible = "qemu,x86";
20
21 config {
22 silent_console = <0>;
23 };
24
25 chosen {
26 stdout-path = "/serial";
27 };
28
Bin Meng354dcdd2015-07-22 01:21:13 -070029 cpus {
30 #address-cells = <1>;
31 #size-cells = <0>;
Bin Menged3fd5b2017-01-18 03:32:57 -080032 u-boot,dm-pre-reloc;
Bin Meng354dcdd2015-07-22 01:21:13 -070033
34 cpu@0 {
35 device_type = "cpu";
Miao Yan4336af62016-01-07 01:32:01 -080036 compatible = "cpu-qemu";
Bin Menged3fd5b2017-01-18 03:32:57 -080037 u-boot,dm-pre-reloc;
Bin Meng354dcdd2015-07-22 01:21:13 -070038 reg = <0>;
39 intel,apic-id = <0>;
40 };
41 };
42
Bin Meng38de0202015-11-13 00:11:22 -080043 tsc-timer {
44 clock-frequency = <1000000000>;
45 };
46
Bin Meng2229c4c2015-05-07 21:34:08 +080047 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>;
Bin Mengef37e7b2015-06-03 09:20:06 +080055
Simon Glass32761632016-01-18 20:19:21 -070056 pch@1,0 {
Bin Mengef37e7b2015-06-03 09:20:06 +080057 reg = <0x00000800 0 0 0 0>;
Simon Glass32761632016-01-18 20:19:21 -070058 compatible = "intel,pch7";
Bin Menged3fd5b2017-01-18 03:32:57 -080059 u-boot,dm-pre-reloc;
Simon Glass32761632016-01-18 20:19:21 -070060
61 irq-router {
62 compatible = "intel,irq-router";
Bin Menged3fd5b2017-01-18 03:32:57 -080063 u-boot,dm-pre-reloc;
Simon Glass32761632016-01-18 20:19:21 -070064 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 };
Bin Mengef37e7b2015-06-03 09:20:06 +080074 };
Bin Meng2229c4c2015-05-07 21:34:08 +080075 };
76
77};