uniphier-sld8.dtsi 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. /*
  2. * Device Tree Source for UniPhier sLD8 SoC
  3. *
  4. * Copyright (C) 2015-2016 Socionext Inc.
  5. * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  6. *
  7. * SPDX-License-Identifier: GPL-2.0+ X11
  8. */
  9. /include/ "skeleton.dtsi"
  10. / {
  11. compatible = "socionext,uniphier-sld8";
  12. cpus {
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. cpu@0 {
  16. device_type = "cpu";
  17. compatible = "arm,cortex-a9";
  18. reg = <0>;
  19. enable-method = "psci";
  20. next-level-cache = <&l2>;
  21. };
  22. };
  23. psci {
  24. compatible = "arm,psci-0.2";
  25. method = "smc";
  26. };
  27. clocks {
  28. refclk: ref {
  29. compatible = "fixed-clock";
  30. #clock-cells = <0>;
  31. clock-frequency = <25000000>;
  32. };
  33. arm_timer_clk: arm_timer_clk {
  34. #clock-cells = <0>;
  35. compatible = "fixed-clock";
  36. clock-frequency = <50000000>;
  37. };
  38. };
  39. soc {
  40. compatible = "simple-bus";
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. ranges;
  44. interrupt-parent = <&intc>;
  45. u-boot,dm-pre-reloc;
  46. l2: l2-cache@500c0000 {
  47. compatible = "socionext,uniphier-system-cache";
  48. reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
  49. <0x506c0000 0x400>;
  50. interrupts = <0 174 4>, <0 175 4>;
  51. cache-unified;
  52. cache-size = <(256 * 1024)>;
  53. cache-sets = <256>;
  54. cache-line-size = <128>;
  55. cache-level = <2>;
  56. };
  57. serial0: serial@54006800 {
  58. compatible = "socionext,uniphier-uart";
  59. status = "disabled";
  60. reg = <0x54006800 0x40>;
  61. interrupts = <0 33 4>;
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&pinctrl_uart0>;
  64. clocks = <&peri_clk 0>;
  65. clock-frequency = <80000000>;
  66. };
  67. serial1: serial@54006900 {
  68. compatible = "socionext,uniphier-uart";
  69. status = "disabled";
  70. reg = <0x54006900 0x40>;
  71. interrupts = <0 35 4>;
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&pinctrl_uart1>;
  74. clocks = <&peri_clk 1>;
  75. clock-frequency = <80000000>;
  76. };
  77. serial2: serial@54006a00 {
  78. compatible = "socionext,uniphier-uart";
  79. status = "disabled";
  80. reg = <0x54006a00 0x40>;
  81. interrupts = <0 37 4>;
  82. pinctrl-names = "default";
  83. pinctrl-0 = <&pinctrl_uart2>;
  84. clocks = <&peri_clk 2>;
  85. clock-frequency = <80000000>;
  86. };
  87. serial3: serial@54006b00 {
  88. compatible = "socionext,uniphier-uart";
  89. status = "disabled";
  90. reg = <0x54006b00 0x40>;
  91. interrupts = <0 29 4>;
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&pinctrl_uart3>;
  94. clocks = <&peri_clk 3>;
  95. clock-frequency = <80000000>;
  96. };
  97. port0x: gpio@55000008 {
  98. compatible = "socionext,uniphier-gpio";
  99. reg = <0x55000008 0x8>;
  100. gpio-controller;
  101. #gpio-cells = <2>;
  102. };
  103. port1x: gpio@55000010 {
  104. compatible = "socionext,uniphier-gpio";
  105. reg = <0x55000010 0x8>;
  106. gpio-controller;
  107. #gpio-cells = <2>;
  108. };
  109. port2x: gpio@55000018 {
  110. compatible = "socionext,uniphier-gpio";
  111. reg = <0x55000018 0x8>;
  112. gpio-controller;
  113. #gpio-cells = <2>;
  114. };
  115. port3x: gpio@55000020 {
  116. compatible = "socionext,uniphier-gpio";
  117. reg = <0x55000020 0x8>;
  118. gpio-controller;
  119. #gpio-cells = <2>;
  120. };
  121. port4: gpio@55000028 {
  122. compatible = "socionext,uniphier-gpio";
  123. reg = <0x55000028 0x8>;
  124. gpio-controller;
  125. #gpio-cells = <2>;
  126. };
  127. port5x: gpio@55000030 {
  128. compatible = "socionext,uniphier-gpio";
  129. reg = <0x55000030 0x8>;
  130. gpio-controller;
  131. #gpio-cells = <2>;
  132. };
  133. port6x: gpio@55000038 {
  134. compatible = "socionext,uniphier-gpio";
  135. reg = <0x55000038 0x8>;
  136. gpio-controller;
  137. #gpio-cells = <2>;
  138. };
  139. port7x: gpio@55000040 {
  140. compatible = "socionext,uniphier-gpio";
  141. reg = <0x55000040 0x8>;
  142. gpio-controller;
  143. #gpio-cells = <2>;
  144. };
  145. port8x: gpio@55000048 {
  146. compatible = "socionext,uniphier-gpio";
  147. reg = <0x55000048 0x8>;
  148. gpio-controller;
  149. #gpio-cells = <2>;
  150. };
  151. port9x: gpio@55000050 {
  152. compatible = "socionext,uniphier-gpio";
  153. reg = <0x55000050 0x8>;
  154. gpio-controller;
  155. #gpio-cells = <2>;
  156. };
  157. port10x: gpio@55000058 {
  158. compatible = "socionext,uniphier-gpio";
  159. reg = <0x55000058 0x8>;
  160. gpio-controller;
  161. #gpio-cells = <2>;
  162. };
  163. port11x: gpio@55000060 {
  164. compatible = "socionext,uniphier-gpio";
  165. reg = <0x55000060 0x8>;
  166. gpio-controller;
  167. #gpio-cells = <2>;
  168. };
  169. port12x: gpio@55000068 {
  170. compatible = "socionext,uniphier-gpio";
  171. reg = <0x55000068 0x8>;
  172. gpio-controller;
  173. #gpio-cells = <2>;
  174. };
  175. port13x: gpio@55000070 {
  176. compatible = "socionext,uniphier-gpio";
  177. reg = <0x55000070 0x8>;
  178. gpio-controller;
  179. #gpio-cells = <2>;
  180. };
  181. port14x: gpio@55000078 {
  182. compatible = "socionext,uniphier-gpio";
  183. reg = <0x55000078 0x8>;
  184. gpio-controller;
  185. #gpio-cells = <2>;
  186. };
  187. port16x: gpio@55000088 {
  188. compatible = "socionext,uniphier-gpio";
  189. reg = <0x55000088 0x8>;
  190. gpio-controller;
  191. #gpio-cells = <2>;
  192. };
  193. i2c0: i2c@58400000 {
  194. compatible = "socionext,uniphier-i2c";
  195. status = "disabled";
  196. reg = <0x58400000 0x40>;
  197. #address-cells = <1>;
  198. #size-cells = <0>;
  199. interrupts = <0 41 1>;
  200. pinctrl-names = "default";
  201. pinctrl-0 = <&pinctrl_i2c0>;
  202. clocks = <&peri_clk 4>;
  203. clock-frequency = <100000>;
  204. };
  205. i2c1: i2c@58480000 {
  206. compatible = "socionext,uniphier-i2c";
  207. status = "disabled";
  208. reg = <0x58480000 0x40>;
  209. #address-cells = <1>;
  210. #size-cells = <0>;
  211. interrupts = <0 42 1>;
  212. pinctrl-names = "default";
  213. pinctrl-0 = <&pinctrl_i2c1>;
  214. clocks = <&peri_clk 5>;
  215. clock-frequency = <100000>;
  216. };
  217. /* chip-internal connection for DMD */
  218. i2c2: i2c@58500000 {
  219. compatible = "socionext,uniphier-i2c";
  220. reg = <0x58500000 0x40>;
  221. #address-cells = <1>;
  222. #size-cells = <0>;
  223. interrupts = <0 43 1>;
  224. pinctrl-names = "default";
  225. pinctrl-0 = <&pinctrl_i2c2>;
  226. clocks = <&peri_clk 6>;
  227. clock-frequency = <400000>;
  228. };
  229. i2c3: i2c@58580000 {
  230. compatible = "socionext,uniphier-i2c";
  231. status = "disabled";
  232. reg = <0x58580000 0x40>;
  233. #address-cells = <1>;
  234. #size-cells = <0>;
  235. interrupts = <0 44 1>;
  236. pinctrl-names = "default";
  237. pinctrl-0 = <&pinctrl_i2c3>;
  238. clocks = <&peri_clk 7>;
  239. clock-frequency = <100000>;
  240. };
  241. system_bus: system-bus@58c00000 {
  242. compatible = "socionext,uniphier-system-bus";
  243. status = "disabled";
  244. reg = <0x58c00000 0x400>;
  245. #address-cells = <2>;
  246. #size-cells = <1>;
  247. pinctrl-names = "default";
  248. pinctrl-0 = <&pinctrl_system_bus>;
  249. };
  250. smpctrl@59800000 {
  251. compatible = "socionext,uniphier-smpctrl";
  252. reg = <0x59801000 0x400>;
  253. };
  254. mioctrl@59810000 {
  255. compatible = "socionext,uniphier-sld8-mioctrl",
  256. "simple-mfd", "syscon";
  257. reg = <0x59810000 0x800>;
  258. mio_clk: clock {
  259. compatible = "socionext,uniphier-sld8-mio-clock";
  260. #clock-cells = <1>;
  261. };
  262. mio_rst: reset {
  263. compatible = "socionext,uniphier-sld8-mio-reset";
  264. #reset-cells = <1>;
  265. };
  266. };
  267. perictrl@59820000 {
  268. compatible = "socionext,uniphier-sld8-perictrl",
  269. "simple-mfd", "syscon";
  270. reg = <0x59820000 0x200>;
  271. peri_clk: clock {
  272. compatible = "socionext,uniphier-sld8-peri-clock";
  273. #clock-cells = <1>;
  274. };
  275. peri_rst: reset {
  276. compatible = "socionext,uniphier-sld8-peri-reset";
  277. #reset-cells = <1>;
  278. };
  279. };
  280. sd: sdhc@5a400000 {
  281. compatible = "socionext,uniphier-sdhc";
  282. status = "disabled";
  283. reg = <0x5a400000 0x200>;
  284. interrupts = <0 76 4>;
  285. pinctrl-names = "default", "1.8v";
  286. pinctrl-0 = <&pinctrl_sd>;
  287. pinctrl-1 = <&pinctrl_sd_1v8>;
  288. clocks = <&mio_clk 0>;
  289. reset-names = "host", "bridge";
  290. resets = <&mio_rst 0>, <&mio_rst 3>;
  291. bus-width = <4>;
  292. cap-sd-highspeed;
  293. sd-uhs-sdr12;
  294. sd-uhs-sdr25;
  295. sd-uhs-sdr50;
  296. };
  297. emmc: sdhc@5a500000 {
  298. compatible = "socionext,uniphier-sdhc";
  299. status = "disabled";
  300. reg = <0x5a500000 0x200>;
  301. interrupts = <0 78 4>;
  302. pinctrl-names = "default", "1.8v";
  303. pinctrl-0 = <&pinctrl_emmc>;
  304. pinctrl-1 = <&pinctrl_emmc_1v8>;
  305. clocks = <&mio_clk 1>;
  306. reset-names = "host", "bridge";
  307. resets = <&mio_rst 1>, <&mio_rst 4>;
  308. bus-width = <8>;
  309. non-removable;
  310. cap-mmc-highspeed;
  311. cap-mmc-hw-reset;
  312. };
  313. usb0: usb@5a800100 {
  314. compatible = "socionext,uniphier-ehci", "generic-ehci";
  315. status = "disabled";
  316. reg = <0x5a800100 0x100>;
  317. interrupts = <0 80 4>;
  318. pinctrl-names = "default";
  319. pinctrl-0 = <&pinctrl_usb0>;
  320. clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
  321. resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
  322. <&mio_rst 12>;
  323. };
  324. usb1: usb@5a810100 {
  325. compatible = "socionext,uniphier-ehci", "generic-ehci";
  326. status = "disabled";
  327. reg = <0x5a810100 0x100>;
  328. interrupts = <0 81 4>;
  329. pinctrl-names = "default";
  330. pinctrl-0 = <&pinctrl_usb1>;
  331. clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
  332. resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
  333. <&mio_rst 13>;
  334. };
  335. usb2: usb@5a820100 {
  336. compatible = "socionext,uniphier-ehci", "generic-ehci";
  337. status = "disabled";
  338. reg = <0x5a820100 0x100>;
  339. interrupts = <0 82 4>;
  340. pinctrl-names = "default";
  341. pinctrl-0 = <&pinctrl_usb2>;
  342. clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
  343. resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
  344. <&mio_rst 14>;
  345. };
  346. soc-glue@5f800000 {
  347. compatible = "socionext,uniphier-sld8-soc-glue",
  348. "simple-mfd", "syscon";
  349. reg = <0x5f800000 0x2000>;
  350. u-boot,dm-pre-reloc;
  351. pinctrl: pinctrl {
  352. compatible = "socionext,uniphier-sld8-pinctrl";
  353. u-boot,dm-pre-reloc;
  354. };
  355. };
  356. timer@60000200 {
  357. compatible = "arm,cortex-a9-global-timer";
  358. reg = <0x60000200 0x20>;
  359. interrupts = <1 11 0x104>;
  360. clocks = <&arm_timer_clk>;
  361. };
  362. timer@60000600 {
  363. compatible = "arm,cortex-a9-twd-timer";
  364. reg = <0x60000600 0x20>;
  365. interrupts = <1 13 0x104>;
  366. clocks = <&arm_timer_clk>;
  367. };
  368. intc: interrupt-controller@60001000 {
  369. compatible = "arm,cortex-a9-gic";
  370. reg = <0x60001000 0x1000>,
  371. <0x60000100 0x100>;
  372. #interrupt-cells = <3>;
  373. interrupt-controller;
  374. };
  375. aidet@61830000 {
  376. compatible = "simple-mfd", "syscon";
  377. reg = <0x61830000 0x200>;
  378. };
  379. sysctrl@61840000 {
  380. compatible = "socionext,uniphier-sld8-sysctrl",
  381. "simple-mfd", "syscon";
  382. reg = <0x61840000 0x10000>;
  383. sys_clk: clock {
  384. compatible = "socionext,uniphier-sld8-clock";
  385. #clock-cells = <1>;
  386. };
  387. sys_rst: reset {
  388. compatible = "socionext,uniphier-sld8-reset";
  389. #reset-cells = <1>;
  390. };
  391. };
  392. nand: nand@68000000 {
  393. compatible = "socionext,denali-nand-v5a";
  394. status = "disabled";
  395. reg-names = "nand_data", "denali_reg";
  396. reg = <0x68000000 0x20>, <0x68100000 0x1000>;
  397. interrupts = <0 65 4>;
  398. pinctrl-names = "default";
  399. pinctrl-0 = <&pinctrl_nand>;
  400. clocks = <&sys_clk 2>;
  401. nand-ecc-strength = <8>;
  402. };
  403. };
  404. };
  405. /include/ "uniphier-pinctrl.dtsi"