qemu-x86_i440fx.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. /dts-v1/;
  7. #include <dt-bindings/interrupt-router/intel-irq.h>
  8. /include/ "skeleton.dtsi"
  9. /include/ "serial.dtsi"
  10. /include/ "keyboard.dtsi"
  11. /include/ "rtc.dtsi"
  12. /include/ "tsc_timer.dtsi"
  13. / {
  14. model = "QEMU x86 (I440FX)";
  15. compatible = "qemu,x86";
  16. config {
  17. silent_console = <0>;
  18. };
  19. chosen {
  20. stdout-path = "/serial";
  21. };
  22. cpus {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. cpu@0 {
  26. device_type = "cpu";
  27. compatible = "cpu-qemu";
  28. reg = <0>;
  29. intel,apic-id = <0>;
  30. };
  31. };
  32. tsc-timer {
  33. clock-frequency = <1000000000>;
  34. };
  35. pci {
  36. compatible = "pci-x86";
  37. #address-cells = <3>;
  38. #size-cells = <2>;
  39. u-boot,dm-pre-reloc;
  40. ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
  41. 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
  42. 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
  43. pch@1,0 {
  44. reg = <0x00000800 0 0 0 0>;
  45. compatible = "intel,pch7";
  46. irq-router {
  47. compatible = "intel,irq-router";
  48. intel,pirq-config = "pci";
  49. intel,pirq-link = <0x60 4>;
  50. intel,pirq-mask = <0x0e40>;
  51. intel,pirq-routing = <
  52. /* PIIX UHCI */
  53. PCI_BDF(0, 1, 2) INTD PIRQD
  54. /* e1000 NIC */
  55. PCI_BDF(0, 3, 0) INTA PIRQC
  56. >;
  57. };
  58. };
  59. };
  60. };