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 16#include "tsc_timer.dtsi" 17#include "smbios.dtsi" 18 19/ { 20 model = "QEMU x86 (I440FX)"; 21 compatible = "qemu,x86"; 22 23 config { 24 silent_console = <0>; 25 }; 26 27 chosen { 28 stdout-path = "/serial"; 29 }; 30 31 cpus { 32 #address-cells = <1>; 33 #size-cells = <0>; 34 bootph-all; 35 36 cpu@0 { 37 device_type = "cpu"; 38 compatible = "cpu-qemu"; 39 bootph-all; 40 reg = <0>; 41 intel,apic-id = <0>; 42 }; 43 }; 44 45 pci { 46 compatible = "pci-x86"; 47 #address-cells = <3>; 48 #size-cells = <2>; 49 bootph-all; 50 ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000 51 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000 52 0x01000000 0x0 0x2000 0x2000 0 0xe000>; 53 54 pch@1,0 { 55 reg = <0x00000800 0 0 0 0>; 56 compatible = "intel,pch7"; 57 bootph-all; 58 59 irq-router { 60 compatible = "intel,irq-router"; 61 bootph-all; 62 intel,pirq-config = "pci"; 63 intel,pirq-link = <0x60 4>; 64 intel,pirq-mask = <0x0e40>; 65 intel,pirq-routing = < 66 /* PIIX UHCI */ 67 PCI_BDF(0, 1, 2) INTD PIRQD 68 /* e1000 NIC */ 69 PCI_BDF(0, 3, 0) INTA PIRQC 70 >; 71 }; 72 }; 73 }; 74 75}; 76