kmcoge4.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Keymile kmcoge4 Device Tree Source, based on the P2041RDB DTS
  4. *
  5. * (C) Copyright 2014
  6. * Valentin Longchamp, Keymile AG, [email protected]
  7. *
  8. * Copyright 2011 Freescale Semiconductor Inc.
  9. */
  10. /include/ "p2041si-pre.dtsi"
  11. / {
  12. model = "keymile,kmcoge4";
  13. compatible = "keymile,kmcoge4", "keymile,kmp204x";
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. interrupt-parent = <&mpic>;
  17. memory {
  18. device_type = "memory";
  19. };
  20. reserved-memory {
  21. #address-cells = <2>;
  22. #size-cells = <2>;
  23. ranges;
  24. bman_fbpr: bman-fbpr {
  25. size = <0 0x1000000>;
  26. alignment = <0 0x1000000>;
  27. };
  28. qman_fqd: qman-fqd {
  29. size = <0 0x400000>;
  30. alignment = <0 0x400000>;
  31. };
  32. qman_pfdr: qman-pfdr {
  33. size = <0 0x2000000>;
  34. alignment = <0 0x2000000>;
  35. };
  36. };
  37. dcsr: dcsr@f00000000 {
  38. ranges = <0x00000000 0xf 0x00000000 0x01008000>;
  39. };
  40. bportals: bman-portals@ff4000000 {
  41. ranges = <0x0 0xf 0xf4000000 0x200000>;
  42. };
  43. qportals: qman-portals@ff4200000 {
  44. ranges = <0x0 0xf 0xf4200000 0x200000>;
  45. };
  46. soc: soc@ffe000000 {
  47. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  48. reg = <0xf 0xfe000000 0 0x00001000>;
  49. spi@110000 {
  50. flash@0 {
  51. #address-cells = <1>;
  52. #size-cells = <1>;
  53. compatible = "spansion,s25fl256s1", "jedec,spi-nor";
  54. reg = <0>;
  55. spi-max-frequency = <20000000>; /* input clock */
  56. };
  57. network_clock@1 {
  58. compatible = "zarlink,zl30343";
  59. reg = <1>;
  60. spi-max-frequency = <8000000>;
  61. };
  62. flash@2 {
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. compatible = "micron,m25p32", "jedec,spi-nor";
  66. reg = <2>;
  67. spi-max-frequency = <15000000>;
  68. };
  69. };
  70. sdhc@114000 {
  71. status = "disabled";
  72. };
  73. i2c@119000 {
  74. status = "disabled";
  75. };
  76. i2c@119100 {
  77. status = "disabled";
  78. };
  79. usb0: usb@210000 {
  80. status = "disabled";
  81. };
  82. usb1: usb@211000 {
  83. status = "disabled";
  84. };
  85. sata@220000 {
  86. status = "disabled";
  87. };
  88. sata@221000 {
  89. status = "disabled";
  90. };
  91. fman0: fman@400000 {
  92. enet0: ethernet@e0000 {
  93. phy-connection-type = "sgmii";
  94. fixed-link {
  95. speed = <1000>;
  96. full-duplex;
  97. };
  98. };
  99. mdio0: mdio@e1120 {
  100. front_phy: ethernet-phy@11 {
  101. reg = <0x11>;
  102. };
  103. };
  104. enet1: ethernet@e2000 {
  105. phy-connection-type = "sgmii";
  106. fixed-link {
  107. speed = <1000>;
  108. full-duplex;
  109. };
  110. };
  111. enet2: ethernet@e4000 {
  112. status = "disabled";
  113. };
  114. enet3: ethernet@e6000 {
  115. status = "disabled";
  116. };
  117. enet4: ethernet@e8000 {
  118. phy-handle = <&front_phy>;
  119. phy-connection-type = "rgmii";
  120. };
  121. enet5: ethernet@f0000 {
  122. status = "disabled";
  123. };
  124. };
  125. };
  126. rio: rapidio@ffe0c0000 {
  127. status = "disabled";
  128. };
  129. lbc: localbus@ffe124000 {
  130. reg = <0xf 0xfe124000 0 0x1000>;
  131. ranges = <0 0 0xf 0xffa00000 0x00040000 /* LB 0 */
  132. 1 0 0xf 0xfb000000 0x00010000 /* LB 1 */
  133. 2 0 0xf 0xd0000000 0x10000000 /* LB 2 */
  134. 3 0 0xf 0xe0000000 0x10000000>; /* LB 3 */
  135. nand@0,0 {
  136. #address-cells = <1>;
  137. #size-cells = <1>;
  138. compatible = "fsl,elbc-fcm-nand";
  139. reg = <0 0 0x40000>;
  140. };
  141. board-control@1,0 {
  142. compatible = "keymile,qriox";
  143. reg = <1 0 0x80>;
  144. };
  145. chassis-mgmt@3,0 {
  146. compatible = "keymile,bfticu";
  147. interrupt-controller;
  148. #interrupt-cells = <2>;
  149. reg = <3 0 0x100>;
  150. interrupt-parent = <&mpic>;
  151. interrupts = <6 1 0 0>;
  152. };
  153. };
  154. pci0: pcie@ffe200000 {
  155. reg = <0xf 0xfe200000 0 0x1000>;
  156. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  157. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  158. pcie@0 {
  159. ranges = <0x02000000 0 0xe0000000
  160. 0x02000000 0 0xe0000000
  161. 0 0x20000000
  162. 0x01000000 0 0x00000000
  163. 0x01000000 0 0x00000000
  164. 0 0x00010000>;
  165. };
  166. };
  167. pci1: pcie@ffe201000 {
  168. status = "disabled";
  169. };
  170. pci2: pcie@ffe202000 {
  171. reg = <0xf 0xfe202000 0 0x1000>;
  172. ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x20000000
  173. 0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>;
  174. pcie@0 {
  175. ranges = <0x02000000 0 0xe0000000
  176. 0x02000000 0 0xe0000000
  177. 0 0x20000000
  178. 0x01000000 0 0x00000000
  179. 0x01000000 0 0x00000000
  180. 0 0x00010000>;
  181. };
  182. };
  183. };
  184. /include/ "p2041si-post.dtsi"