uniphier-sld3.dtsi 10 KB

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