blob: c33a11d593f5721185a6aad601d6fb6d55ee9bfb [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 Mengb37b7b22018-07-19 03:07:33 -070013/include/ "reset.dtsi"
Bin Meng93f8a312015-07-15 16:23:39 +080014/include/ "rtc.dtsi"
Bin Meng80af3982015-11-13 00:11:22 -080015/include/ "tsc_timer.dtsi"
Bin Menga65b25d2015-05-07 21:34:08 +080016
Simon Glass839d66c2020-11-05 06:32:17 -070017#include "smbios.dtsi"
18
Bin Menga65b25d2015-05-07 21:34:08 +080019/ {
Bin Meng683b09d2015-06-03 09:20:04 +080020 model = "QEMU x86 (I440FX)";
Bin Menga65b25d2015-05-07 21:34:08 +080021 compatible = "qemu,x86";
22
23 config {
24 silent_console = <0>;
25 };
26
27 chosen {
28 stdout-path = "/serial";
29 };
30
Bin Menga8ebf282015-07-22 01:21:13 -070031 cpus {
32 #address-cells = <1>;
33 #size-cells = <0>;
Bin Meng2cffd902017-01-18 03:32:57 -080034 u-boot,dm-pre-reloc;
Bin Menga8ebf282015-07-22 01:21:13 -070035
36 cpu@0 {
37 device_type = "cpu";
Miao Yan5a694052016-01-07 01:32:01 -080038 compatible = "cpu-qemu";
Bin Meng2cffd902017-01-18 03:32:57 -080039 u-boot,dm-pre-reloc;
Bin Menga8ebf282015-07-22 01:21:13 -070040 reg = <0>;
41 intel,apic-id = <0>;
42 };
43 };
44
Bin Meng80af3982015-11-13 00:11:22 -080045 tsc-timer {
46 clock-frequency = <1000000000>;
47 };
48
Bin Menga65b25d2015-05-07 21:34:08 +080049 pci {
50 compatible = "pci-x86";
51 #address-cells = <3>;
52 #size-cells = <2>;
53 u-boot,dm-pre-reloc;
54 ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
55 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
56 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
Bin Meng5c564222015-06-03 09:20:06 +080057
Simon Glassf2b85ab2016-01-18 20:19:21 -070058 pch@1,0 {
Bin Meng5c564222015-06-03 09:20:06 +080059 reg = <0x00000800 0 0 0 0>;
Simon Glassf2b85ab2016-01-18 20:19:21 -070060 compatible = "intel,pch7";
Bin Meng2cffd902017-01-18 03:32:57 -080061 u-boot,dm-pre-reloc;
Simon Glassf2b85ab2016-01-18 20:19:21 -070062
63 irq-router {
64 compatible = "intel,irq-router";
Bin Meng2cffd902017-01-18 03:32:57 -080065 u-boot,dm-pre-reloc;
Simon Glassf2b85ab2016-01-18 20:19:21 -070066 intel,pirq-config = "pci";
67 intel,pirq-link = <0x60 4>;
68 intel,pirq-mask = <0x0e40>;
69 intel,pirq-routing = <
70 /* PIIX UHCI */
71 PCI_BDF(0, 1, 2) INTD PIRQD
72 /* e1000 NIC */
73 PCI_BDF(0, 3, 0) INTA PIRQC
74 >;
75 };
Bin Meng5c564222015-06-03 09:20:06 +080076 };
Bin Menga65b25d2015-05-07 21:34:08 +080077 };
78
79};