cougarcanyon2.dts 3.5 KB

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