]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/x86/dts/qemu-x86_i440fx.dts
x86: Enable DM RTC support for all x86 boards
[karo-tx-uboot.git] / arch / x86 / dts / qemu-x86_i440fx.dts
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/ "rtc.dtsi"
14
15 / {
16         model = "QEMU x86 (I440FX)";
17         compatible = "qemu,x86";
18
19         config {
20                 silent_console = <0>;
21         };
22
23         chosen {
24                 stdout-path = "/serial";
25         };
26
27         pci {
28                 compatible = "pci-x86";
29                 #address-cells = <3>;
30                 #size-cells = <2>;
31                 u-boot,dm-pre-reloc;
32                 ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
33                         0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
34                         0x01000000 0x0 0x2000 0x2000 0 0xe000>;
35
36                 irq-router@1,0 {
37                         reg = <0x00000800 0 0 0 0>;
38                         compatible = "intel,irq-router";
39                         intel,pirq-config = "pci";
40                         intel,pirq-link = <0x60 4>;
41                         intel,pirq-mask = <0x0e40>;
42                         intel,pirq-routing = <
43                                 /* PIIX UHCI */
44                                 PCI_BDF(0, 1, 2) INTD PIRQD
45                                 /* e1000 NIC */
46                                 PCI_BDF(0, 3, 0) INTA PIRQC
47                         >;
48                 };
49         };
50
51 };