cougarcanyon2.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2016, 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 = "Intel Cougar Canyon 2";
  15. compatible = "intel,cougarcanyon2", "intel,chiefriver";
  16. aliases {
  17. spi0 = &spi0;
  18. };
  19. config {
  20. silent_console = <0>;
  21. };
  22. chosen {
  23. stdout-path = "/serial";
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. cpu@0 {
  29. device_type = "cpu";
  30. compatible = "intel,core-gen3";
  31. reg = <0>;
  32. intel,apic-id = <0>;
  33. };
  34. cpu@1 {
  35. device_type = "cpu";
  36. compatible = "intel,core-gen3";
  37. reg = <1>;
  38. intel,apic-id = <1>;
  39. };
  40. cpu@2 {
  41. device_type = "cpu";
  42. compatible = "intel,core-gen3";
  43. reg = <2>;
  44. intel,apic-id = <2>;
  45. };
  46. cpu@3 {
  47. device_type = "cpu";
  48. compatible = "intel,core-gen3";
  49. reg = <3>;
  50. intel,apic-id = <3>;
  51. };
  52. };
  53. microcode {
  54. update@0 {
  55. #include "microcode/m12306a2_00000008.dtsi"
  56. };
  57. update@1 {
  58. #include "microcode/m12306a4_00000007.dtsi"
  59. };
  60. update@2 {
  61. #include "microcode/m12306a5_00000007.dtsi"
  62. };
  63. update@3 {
  64. #include "microcode/m12306a8_00000010.dtsi"
  65. };
  66. update@4 {
  67. #include "microcode/m12306a9_0000001b.dtsi"
  68. };
  69. };
  70. fsp {
  71. compatible = "intel,ivybridge-fsp";
  72. fsp,enable-ht;
  73. };
  74. pci {
  75. #address-cells = <3>;
  76. #size-cells = <2>;
  77. compatible = "pci-x86";
  78. u-boot,dm-pre-reloc;
  79. ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000
  80. 0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
  81. 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
  82. pch@1f,0 {
  83. reg = <0x0000f800 0 0 0 0>;
  84. compatible = "intel,bd82x6x";
  85. u-boot,dm-pre-reloc;
  86. #address-cells = <1>;
  87. #size-cells = <1>;
  88. irq-router {
  89. compatible = "intel,irq-router";
  90. intel,pirq-config = "pci";
  91. intel,actl-8bit;
  92. intel,actl-addr = <0x44>;
  93. intel,pirq-link = <0x60 8>;
  94. intel,pirq-regmap = <
  95. PIRQA 0
  96. PIRQB 1
  97. PIRQC 2
  98. PIRQD 3
  99. PIRQE 8
  100. PIRQF 9
  101. PIRQG 10
  102. PIRQH 11
  103. >;
  104. intel,pirq-mask = <0xcee0>;
  105. intel,pirq-routing = <
  106. /* Panther Point PCI devices */
  107. PCI_BDF(0, 2, 0) INTA PIRQA
  108. PCI_BDF(0, 20, 0) INTA PIRQA
  109. PCI_BDF(0, 22, 0) INTA PIRQA
  110. PCI_BDF(0, 22, 1) INTB PIRQB
  111. PCI_BDF(0, 22, 2) INTC PIRQC
  112. PCI_BDF(0, 22, 3) INTD PIRQD
  113. PCI_BDF(0, 25, 0) INTA PIRQA
  114. PCI_BDF(0, 26, 0) INTA PIRQA
  115. PCI_BDF(0, 27, 0) INTB PIRQA
  116. PCI_BDF(0, 28, 0) INTA PIRQA
  117. PCI_BDF(0, 28, 1) INTB PIRQB
  118. PCI_BDF(0, 28, 2) INTC PIRQC
  119. PCI_BDF(0, 28, 3) INTD PIRQD
  120. PCI_BDF(0, 28, 4) INTA PIRQA
  121. PCI_BDF(0, 28, 5) INTB PIRQB
  122. PCI_BDF(0, 28, 6) INTC PIRQC
  123. PCI_BDF(0, 28, 7) INTD PIRQD
  124. PCI_BDF(0, 29, 0) INTA PIRQA
  125. PCI_BDF(0, 31, 2) INTB PIRQB
  126. PCI_BDF(0, 31, 3) INTC PIRQC
  127. PCI_BDF(0, 31, 5) INTB PIRQB
  128. PCI_BDF(0, 31, 6) INTC PIRQC
  129. >;
  130. };
  131. spi0: spi {
  132. #address-cells = <1>;
  133. #size-cells = <0>;
  134. compatible = "intel,ich9-spi";
  135. intel,spi-lock-down;
  136. spi-flash@0 {
  137. reg = <0>;
  138. compatible = "winbond,w25q64bv", "spi-flash";
  139. memory-map = <0xff800000 0x00800000>;
  140. };
  141. };
  142. gpioa {
  143. compatible = "intel,ich6-gpio";
  144. u-boot,dm-pre-reloc;
  145. reg = <0 0x10>;
  146. bank-name = "A";
  147. };
  148. gpiob {
  149. compatible = "intel,ich6-gpio";
  150. u-boot,dm-pre-reloc;
  151. reg = <0x30 0x10>;
  152. bank-name = "B";
  153. };
  154. gpioc {
  155. compatible = "intel,ich6-gpio";
  156. u-boot,dm-pre-reloc;
  157. reg = <0x40 0x10>;
  158. bank-name = "C";
  159. };
  160. };
  161. };
  162. };