qemu-x86_i440fx.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/ "reset.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. u-boot,dm-pre-reloc;
  26. cpu@0 {
  27. device_type = "cpu";
  28. compatible = "cpu-qemu";
  29. u-boot,dm-pre-reloc;
  30. reg = <0>;
  31. intel,apic-id = <0>;
  32. };
  33. };
  34. tsc-timer {
  35. clock-frequency = <1000000000>;
  36. };
  37. pci {
  38. compatible = "pci-x86";
  39. #address-cells = <3>;
  40. #size-cells = <2>;
  41. u-boot,dm-pre-reloc;
  42. ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
  43. 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
  44. 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
  45. pch@1,0 {
  46. reg = <0x00000800 0 0 0 0>;
  47. compatible = "intel,pch7";
  48. u-boot,dm-pre-reloc;
  49. irq-router {
  50. compatible = "intel,irq-router";
  51. u-boot,dm-pre-reloc;
  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. };
  64. };