qemu-x86_i440fx.dts 1.4 KB

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