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 9#include <dt-bindings/interrupt-router/intel-irq.h> 10 11/include/ "skeleton.dtsi" 12/include/ "serial.dtsi" 13/include/ "keyboard.dtsi" 14/include/ "rtc.dtsi" 15 16/ { 17 model = "QEMU x86 (I440FX)"; 18 compatible = "qemu,x86"; 19 20 config { 21 silent_console = <0>; 22 }; 23 24 chosen { 25 stdout-path = "/serial"; 26 }; 27 28 cpus { 29 #address-cells = <1>; 30 #size-cells = <0>; 31 32 cpu@0 { 33 device_type = "cpu"; 34 compatible = "cpu-x86"; 35 reg = <0>; 36 intel,apic-id = <0>; 37 }; 38 39 cpu@1 { 40 device_type = "cpu"; 41 compatible = "cpu-x86"; 42 reg = <1>; 43 intel,apic-id = <1>; 44 }; 45 }; 46 47 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>; 55 56 irq-router@1,0 { 57 reg = <0x00000800 0 0 0 0>; 58 compatible = "intel,irq-router"; 59 intel,pirq-config = "pci"; 60 intel,pirq-link = <0x60 4>; 61 intel,pirq-mask = <0x0e40>; 62 intel,pirq-routing = < 63 /* PIIX UHCI */ 64 PCI_BDF(0, 1, 2) INTD PIRQD 65 /* e1000 NIC */ 66 PCI_BDF(0, 3, 0) INTA PIRQC 67 >; 68 }; 69 }; 70 71}; 72