kmcoge4.dts 4.3 KB

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