PageRenderTime 219ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/powerpc/boot/dts/uc101.dts

https://bitbucket.org/abioy/linux
Device Tree | 284 lines | 235 code | 36 blank | 13 comment | 0 complexity | 49c69d1ab9fe944d9e84aeec990f42f3 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, GPL-2.0, LGPL-2.0, AGPL-1.0
  1. /*
  2. * Manroland uc101 board Device Tree Source
  3. *
  4. * Copyright (C) 2009 DENX Software Engineering GmbH
  5. * Heiko Schocher <hs@denx.de>
  6. * Copyright 2006-2007 Secret Lab Technologies Ltd.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. /dts-v1/;
  14. / {
  15. model = "manroland,uc101";
  16. compatible = "manroland,uc101";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. interrupt-parent = <&mpc5200_pic>;
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,5200@0 {
  24. device_type = "cpu";
  25. reg = <0>;
  26. d-cache-line-size = <32>;
  27. i-cache-line-size = <32>;
  28. d-cache-size = <0x4000>; // L1, 16K
  29. i-cache-size = <0x4000>; // L1, 16K
  30. timebase-frequency = <0>; // from bootloader
  31. bus-frequency = <0>; // from bootloader
  32. clock-frequency = <0>; // from bootloader
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0x00000000 0x04000000>; // 64MB
  38. };
  39. soc5200@f0000000 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "fsl,mpc5200b-immr";
  43. ranges = <0 0xf0000000 0x0000c000>;
  44. reg = <0xf0000000 0x00000100>;
  45. bus-frequency = <0>; // from bootloader
  46. system-frequency = <0>; // from bootloader
  47. cdm@200 {
  48. compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
  49. reg = <0x200 0x38>;
  50. };
  51. mpc5200_pic: interrupt-controller@500 {
  52. // 5200 interrupts are encoded into two levels;
  53. interrupt-controller;
  54. #interrupt-cells = <3>;
  55. compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
  56. reg = <0x500 0x80>;
  57. };
  58. gpt0: timer@600 { // General Purpose Timer in GPIO mode
  59. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  60. reg = <0x600 0x10>;
  61. interrupts = <1 9 0>;
  62. gpio-controller;
  63. #gpio-cells = <2>;
  64. };
  65. gpt1: timer@610 { // General Purpose Timer in GPIO mode
  66. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  67. reg = <0x610 0x10>;
  68. interrupts = <1 10 0>;
  69. gpio-controller;
  70. #gpio-cells = <2>;
  71. };
  72. gpt2: timer@620 { // General Purpose Timer in GPIO mode
  73. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  74. reg = <0x620 0x10>;
  75. interrupts = <1 11 0>;
  76. gpio-controller;
  77. #gpio-cells = <2>;
  78. };
  79. gpt3: timer@630 { // General Purpose Timer in GPIO mode
  80. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  81. reg = <0x630 0x10>;
  82. interrupts = <1 12 0>;
  83. gpio-controller;
  84. #gpio-cells = <2>;
  85. };
  86. gpt4: timer@640 { // General Purpose Timer in GPIO mode
  87. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  88. reg = <0x640 0x10>;
  89. interrupts = <1 13 0>;
  90. gpio-controller;
  91. #gpio-cells = <2>;
  92. };
  93. gpt5: timer@650 { // General Purpose Timer in GPIO mode
  94. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  95. reg = <0x650 0x10>;
  96. interrupts = <1 14 0>;
  97. gpio-controller;
  98. #gpio-cells = <2>;
  99. };
  100. gpt6: timer@660 { // General Purpose Timer in GPIO mode
  101. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  102. reg = <0x660 0x10>;
  103. interrupts = <1 15 0>;
  104. gpio-controller;
  105. #gpio-cells = <2>;
  106. };
  107. gpt7: timer@670 { // General Purpose Timer in GPIO mode
  108. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  109. reg = <0x670 0x10>;
  110. interrupts = <1 16 0>;
  111. gpio-controller;
  112. #gpio-cells = <2>;
  113. };
  114. gpio_simple: gpio@b00 {
  115. compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
  116. reg = <0xb00 0x40>;
  117. interrupts = <1 7 0>;
  118. gpio-controller;
  119. #gpio-cells = <2>;
  120. };
  121. gpio_wkup: gpio@c00 {
  122. compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
  123. reg = <0xc00 0x40>;
  124. interrupts = <1 8 0 0 3 0>;
  125. gpio-controller;
  126. #gpio-cells = <2>;
  127. };
  128. dma-controller@1200 {
  129. compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
  130. reg = <0x1200 0x80>;
  131. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  132. 3 4 0 3 5 0 3 6 0 3 7 0
  133. 3 8 0 3 9 0 3 10 0 3 11 0
  134. 3 12 0 3 13 0 3 14 0 3 15 0>;
  135. };
  136. xlb@1f00 {
  137. compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
  138. reg = <0x1f00 0x100>;
  139. };
  140. serial@2000 { /* PSC1 in UART mode */
  141. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  142. reg = <0x2000 0x100>;
  143. interrupts = <2 1 0>;
  144. };
  145. serial@2200 { /* PSC2 in UART mode */
  146. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  147. reg = <0x2200 0x100>;
  148. interrupts = <2 2 0>;
  149. };
  150. serial@2c00 { /* PSC6 in UART mode */
  151. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  152. reg = <0x2c00 0x100>;
  153. interrupts = <2 4 0>;
  154. };
  155. ethernet@3000 {
  156. compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
  157. reg = <0x3000 0x400>;
  158. local-mac-address = [ 00 00 00 00 00 00 ];
  159. interrupts = <2 5 0>;
  160. phy-handle = <&phy0>;
  161. };
  162. mdio@3000 {
  163. #address-cells = <1>;
  164. #size-cells = <0>;
  165. compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
  166. reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
  167. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  168. phy0: ethernet-phy@0 {
  169. compatible = "intel,lxt971";
  170. reg = <0>;
  171. };
  172. };
  173. ata@3a00 {
  174. compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
  175. reg = <0x3a00 0x100>;
  176. interrupts = <2 7 0>;
  177. };
  178. i2c@3d40 {
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
  182. reg = <0x3d40 0x40>;
  183. interrupts = <2 16 0>;
  184. fsl,preserve-clocking;
  185. clock-frequency = <400000>;
  186. hwmon@2c {
  187. compatible = "ad,adm9240";
  188. reg = <0x2c>;
  189. };
  190. rtc@51 {
  191. compatible = "nxp,pcf8563";
  192. reg = <0x51>;
  193. };
  194. };
  195. sram@8000 {
  196. compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
  197. reg = <0x8000 0x4000>;
  198. };
  199. };
  200. localbus {
  201. compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus";
  202. #address-cells = <2>;
  203. #size-cells = <1>;
  204. ranges = <0 0 0xff800000 0x00800000
  205. 1 0 0x80000000 0x00800000
  206. 3 0 0x80000000 0x00800000>;
  207. flash@0,0 {
  208. compatible = "cfi-flash";
  209. reg = <0 0 0x00800000>;
  210. bank-width = <2>;
  211. device-width = <2>;
  212. #size-cells = <1>;
  213. #address-cells = <1>;
  214. partition@0 {
  215. label = "DTS";
  216. reg = <0x0 0x00100000>;
  217. };
  218. partition@100000 {
  219. label = "Kernel";
  220. reg = <0x100000 0x00200000>;
  221. };
  222. partition@300000 {
  223. label = "RootFS";
  224. reg = <0x00300000 0x00200000>;
  225. };
  226. partition@500000 {
  227. label = "user";
  228. reg = <0x00500000 0x00200000>;
  229. };
  230. partition@700000 {
  231. label = "U-Boot";
  232. reg = <0x00700000 0x00040000>;
  233. };
  234. partition@740000 {
  235. label = "Env";
  236. reg = <0x00740000 0x00010000>;
  237. };
  238. partition@750000 {
  239. label = "red. Env";
  240. reg = <0x00750000 0x00010000>;
  241. };
  242. partition@760000 {
  243. label = "reserve";
  244. reg = <0x00760000 0x000a0000>;
  245. };
  246. };
  247. };
  248. };