qemu-x86_i440fx.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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-x86";
  28. reg = <0>;
  29. intel,apic-id = <0>;
  30. };
  31. cpu@1 {
  32. device_type = "cpu";
  33. compatible = "cpu-x86";
  34. reg = <1>;
  35. intel,apic-id = <1>;
  36. };
  37. };
  38. tsc-timer {
  39. clock-frequency = <1000000000>;
  40. };
  41. pci {
  42. compatible = "pci-x86";
  43. #address-cells = <3>;
  44. #size-cells = <2>;
  45. u-boot,dm-pre-reloc;
  46. ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
  47. 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
  48. 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
  49. irq-router@1,0 {
  50. reg = <0x00000800 0 0 0 0>;
  51. compatible = "intel,irq-router";
  52. intel,pirq-config = "pci";
  53. intel,pirq-link = <0x60 4>;
  54. intel,pirq-mask = <0x0e40>;
  55. intel,pirq-routing = <
  56. /* PIIX UHCI */
  57. PCI_BDF(0, 1, 2) INTD PIRQD
  58. /* e1000 NIC */
  59. PCI_BDF(0, 3, 0) INTA PIRQC
  60. >;
  61. };
  62. };
  63. };