abilis_tb100.dtsi 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Abilis Systems TB100 SOC device tree
  4. *
  5. * Copyright (C) Abilis Systems 2013
  6. *
  7. * Author: Christian Ruppert <[email protected]>
  8. */
  9. /include/ "abilis_tb10x.dtsi"
  10. / {
  11. soc100 {
  12. bus-frequency = <166666666>;
  13. pll0: oscillator {
  14. clock-frequency = <1000000000>;
  15. };
  16. cpu_clk: clkdiv_cpu {
  17. clock-mult = <1>;
  18. clock-div = <2>;
  19. };
  20. ahb_clk: clkdiv_ahb {
  21. clock-mult = <1>;
  22. clock-div = <6>;
  23. };
  24. iomux: iomux@ff10601c {
  25. /* Port 1 */
  26. pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */
  27. abilis,function = "mis0";
  28. };
  29. pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */
  30. abilis,function = "mis1";
  31. };
  32. pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */
  33. abilis,function = "gpioa";
  34. };
  35. pctl_tsin_p1: pctl-tsin-p1 { /* Parallel TS-in 1 */
  36. abilis,function = "mip1";
  37. };
  38. /* Port 2 */
  39. pctl_tsin_s2: pctl-tsin-s2 { /* Serial TS-in 2 */
  40. abilis,function = "mis2";
  41. };
  42. pctl_tsin_s3: pctl-tsin-s3 { /* Serial TS-in 3 */
  43. abilis,function = "mis3";
  44. };
  45. pctl_gpio_c: pctl-gpio-c { /* GPIO bank C */
  46. abilis,function = "gpioc";
  47. };
  48. pctl_tsin_p3: pctl-tsin-p3 { /* Parallel TS-in 3 */
  49. abilis,function = "mip3";
  50. };
  51. /* Port 3 */
  52. pctl_tsin_s4: pctl-tsin-s4 { /* Serial TS-in 4 */
  53. abilis,function = "mis4";
  54. };
  55. pctl_tsin_s5: pctl-tsin-s5 { /* Serial TS-in 5 */
  56. abilis,function = "mis5";
  57. };
  58. pctl_gpio_e: pctl-gpio-e { /* GPIO bank E */
  59. abilis,function = "gpioe";
  60. };
  61. pctl_tsin_p5: pctl-tsin-p5 { /* Parallel TS-in 5 */
  62. abilis,function = "mip5";
  63. };
  64. /* Port 4 */
  65. pctl_tsin_s6: pctl-tsin-s6 { /* Serial TS-in 6 */
  66. abilis,function = "mis6";
  67. };
  68. pctl_tsin_s7: pctl-tsin-s7 { /* Serial TS-in 7 */
  69. abilis,function = "mis7";
  70. };
  71. pctl_gpio_g: pctl-gpio-g { /* GPIO bank G */
  72. abilis,function = "gpiog";
  73. };
  74. pctl_tsin_p7: pctl-tsin-p7 { /* Parallel TS-in 7 */
  75. abilis,function = "mip7";
  76. };
  77. /* Port 5 */
  78. pctl_gpio_j: pctl-gpio-j { /* GPIO bank J */
  79. abilis,function = "gpioj";
  80. };
  81. pctl_gpio_k: pctl-gpio-k { /* GPIO bank K */
  82. abilis,function = "gpiok";
  83. };
  84. pctl_ciplus: pctl-ciplus { /* CI+ interface */
  85. abilis,function = "ciplus";
  86. };
  87. pctl_mcard: pctl-mcard { /* M-Card interface */
  88. abilis,function = "mcard";
  89. };
  90. /* Port 6 */
  91. pctl_tsout_p: pctl-tsout-p { /* Parallel TS-out */
  92. abilis,function = "mop";
  93. };
  94. pctl_tsout_s0: pctl-tsout-s0 { /* Serial TS-out 0 */
  95. abilis,function = "mos0";
  96. };
  97. pctl_tsout_s1: pctl-tsout-s1 { /* Serial TS-out 1 */
  98. abilis,function = "mos1";
  99. };
  100. pctl_tsout_s2: pctl-tsout-s2 { /* Serial TS-out 2 */
  101. abilis,function = "mos2";
  102. };
  103. pctl_tsout_s3: pctl-tsout-s3 { /* Serial TS-out 3 */
  104. abilis,function = "mos3";
  105. };
  106. /* Port 7 */
  107. pctl_uart0: pctl-uart0 { /* UART 0 */
  108. abilis,function = "uart0";
  109. };
  110. pctl_uart1: pctl-uart1 { /* UART 1 */
  111. abilis,function = "uart1";
  112. };
  113. pctl_gpio_l: pctl-gpio-l { /* GPIO bank L */
  114. abilis,function = "gpiol";
  115. };
  116. pctl_gpio_m: pctl-gpio-m { /* GPIO bank M */
  117. abilis,function = "gpiom";
  118. };
  119. /* Port 8 */
  120. pctl_spi3: pctl-spi3 {
  121. abilis,function = "spi3";
  122. };
  123. /* Port 9 */
  124. pctl_spi1: pctl-spi1 {
  125. abilis,function = "spi1";
  126. };
  127. pctl_gpio_n: pctl-gpio-n {
  128. abilis,function = "gpion";
  129. };
  130. /* Unmuxed GPIOs */
  131. pctl_gpio_b: pctl-gpio-b {
  132. abilis,function = "gpiob";
  133. };
  134. pctl_gpio_d: pctl-gpio-d {
  135. abilis,function = "gpiod";
  136. };
  137. pctl_gpio_f: pctl-gpio-f {
  138. abilis,function = "gpiof";
  139. };
  140. pctl_gpio_h: pctl-gpio-h {
  141. abilis,function = "gpioh";
  142. };
  143. pctl_gpio_i: pctl-gpio-i {
  144. abilis,function = "gpioi";
  145. };
  146. };
  147. gpioa: gpio@ff140000 {
  148. compatible = "abilis,tb10x-gpio";
  149. interrupt-controller;
  150. #interrupt-cells = <1>;
  151. interrupt-parent = <&tb10x_ictl>;
  152. interrupts = <27 2>;
  153. reg = <0xff140000 0x1000>;
  154. gpio-controller;
  155. #gpio-cells = <2>;
  156. abilis,ngpio = <3>;
  157. gpio-ranges = <&iomux 0 0 0>;
  158. gpio-ranges-group-names = "gpioa";
  159. };
  160. gpiob: gpio@ff141000 {
  161. compatible = "abilis,tb10x-gpio";
  162. interrupt-controller;
  163. #interrupt-cells = <1>;
  164. interrupt-parent = <&tb10x_ictl>;
  165. interrupts = <27 2>;
  166. reg = <0xff141000 0x1000>;
  167. gpio-controller;
  168. #gpio-cells = <2>;
  169. abilis,ngpio = <2>;
  170. gpio-ranges = <&iomux 0 0 0>;
  171. gpio-ranges-group-names = "gpiob";
  172. };
  173. gpioc: gpio@ff142000 {
  174. compatible = "abilis,tb10x-gpio";
  175. interrupt-controller;
  176. #interrupt-cells = <1>;
  177. interrupt-parent = <&tb10x_ictl>;
  178. interrupts = <27 2>;
  179. reg = <0xff142000 0x1000>;
  180. gpio-controller;
  181. #gpio-cells = <2>;
  182. abilis,ngpio = <3>;
  183. gpio-ranges = <&iomux 0 0 0>;
  184. gpio-ranges-group-names = "gpioc";
  185. };
  186. gpiod: gpio@ff143000 {
  187. compatible = "abilis,tb10x-gpio";
  188. interrupt-controller;
  189. #interrupt-cells = <1>;
  190. interrupt-parent = <&tb10x_ictl>;
  191. interrupts = <27 2>;
  192. reg = <0xff143000 0x1000>;
  193. gpio-controller;
  194. #gpio-cells = <2>;
  195. abilis,ngpio = <2>;
  196. gpio-ranges = <&iomux 0 0 0>;
  197. gpio-ranges-group-names = "gpiod";
  198. };
  199. gpioe: gpio@ff144000 {
  200. compatible = "abilis,tb10x-gpio";
  201. interrupt-controller;
  202. #interrupt-cells = <1>;
  203. interrupt-parent = <&tb10x_ictl>;
  204. interrupts = <27 2>;
  205. reg = <0xff144000 0x1000>;
  206. gpio-controller;
  207. #gpio-cells = <2>;
  208. abilis,ngpio = <3>;
  209. gpio-ranges = <&iomux 0 0 0>;
  210. gpio-ranges-group-names = "gpioe";
  211. };
  212. gpiof: gpio@ff145000 {
  213. compatible = "abilis,tb10x-gpio";
  214. interrupt-controller;
  215. #interrupt-cells = <1>;
  216. interrupt-parent = <&tb10x_ictl>;
  217. interrupts = <27 2>;
  218. reg = <0xff145000 0x1000>;
  219. gpio-controller;
  220. #gpio-cells = <2>;
  221. abilis,ngpio = <2>;
  222. gpio-ranges = <&iomux 0 0 0>;
  223. gpio-ranges-group-names = "gpiof";
  224. };
  225. gpiog: gpio@ff146000 {
  226. compatible = "abilis,tb10x-gpio";
  227. interrupt-controller;
  228. #interrupt-cells = <1>;
  229. interrupt-parent = <&tb10x_ictl>;
  230. interrupts = <27 2>;
  231. reg = <0xff146000 0x1000>;
  232. gpio-controller;
  233. #gpio-cells = <2>;
  234. abilis,ngpio = <3>;
  235. gpio-ranges = <&iomux 0 0 0>;
  236. gpio-ranges-group-names = "gpiog";
  237. };
  238. gpioh: gpio@ff147000 {
  239. compatible = "abilis,tb10x-gpio";
  240. interrupt-controller;
  241. #interrupt-cells = <1>;
  242. interrupt-parent = <&tb10x_ictl>;
  243. interrupts = <27 2>;
  244. reg = <0xff147000 0x1000>;
  245. gpio-controller;
  246. #gpio-cells = <2>;
  247. abilis,ngpio = <2>;
  248. gpio-ranges = <&iomux 0 0 0>;
  249. gpio-ranges-group-names = "gpioh";
  250. };
  251. gpioi: gpio@ff148000 {
  252. compatible = "abilis,tb10x-gpio";
  253. interrupt-controller;
  254. #interrupt-cells = <1>;
  255. interrupt-parent = <&tb10x_ictl>;
  256. interrupts = <27 2>;
  257. reg = <0xff148000 0x1000>;
  258. gpio-controller;
  259. #gpio-cells = <2>;
  260. abilis,ngpio = <12>;
  261. gpio-ranges = <&iomux 0 0 0>;
  262. gpio-ranges-group-names = "gpioi";
  263. };
  264. gpioj: gpio@ff149000 {
  265. compatible = "abilis,tb10x-gpio";
  266. interrupt-controller;
  267. #interrupt-cells = <1>;
  268. interrupt-parent = <&tb10x_ictl>;
  269. interrupts = <27 2>;
  270. reg = <0xff149000 0x1000>;
  271. gpio-controller;
  272. #gpio-cells = <2>;
  273. abilis,ngpio = <32>;
  274. gpio-ranges = <&iomux 0 0 0>;
  275. gpio-ranges-group-names = "gpioj";
  276. };
  277. gpiok: gpio@ff14a000 {
  278. compatible = "abilis,tb10x-gpio";
  279. interrupt-controller;
  280. #interrupt-cells = <1>;
  281. interrupt-parent = <&tb10x_ictl>;
  282. interrupts = <27 2>;
  283. reg = <0xff14a000 0x1000>;
  284. gpio-controller;
  285. #gpio-cells = <2>;
  286. abilis,ngpio = <22>;
  287. gpio-ranges = <&iomux 0 0 0>;
  288. gpio-ranges-group-names = "gpiok";
  289. };
  290. gpiol: gpio@ff14b000 {
  291. compatible = "abilis,tb10x-gpio";
  292. interrupt-controller;
  293. #interrupt-cells = <1>;
  294. interrupt-parent = <&tb10x_ictl>;
  295. interrupts = <27 2>;
  296. reg = <0xff14b000 0x1000>;
  297. gpio-controller;
  298. #gpio-cells = <2>;
  299. abilis,ngpio = <4>;
  300. gpio-ranges = <&iomux 0 0 0>;
  301. gpio-ranges-group-names = "gpiol";
  302. };
  303. gpiom: gpio@ff14c000 {
  304. compatible = "abilis,tb10x-gpio";
  305. interrupt-controller;
  306. #interrupt-cells = <1>;
  307. interrupt-parent = <&tb10x_ictl>;
  308. interrupts = <27 2>;
  309. reg = <0xff14c000 0x1000>;
  310. gpio-controller;
  311. #gpio-cells = <2>;
  312. abilis,ngpio = <4>;
  313. gpio-ranges = <&iomux 0 0 0>;
  314. gpio-ranges-group-names = "gpiom";
  315. };
  316. gpion: gpio@ff14d000 {
  317. compatible = "abilis,tb10x-gpio";
  318. interrupt-controller;
  319. #interrupt-cells = <1>;
  320. interrupt-parent = <&tb10x_ictl>;
  321. interrupts = <27 2>;
  322. reg = <0xff14d000 0x1000>;
  323. gpio-controller;
  324. #gpio-cells = <2>;
  325. abilis,ngpio = <5>;
  326. gpio-ranges = <&iomux 0 0 0>;
  327. gpio-ranges-group-names = "gpion";
  328. };
  329. };
  330. };